api reference diagnosa
This commit is contained in:
No files matched your search
+78
-4
@@ -136,6 +136,39 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/reference/diagnosa/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Reference"
|
||||
],
|
||||
"summary": "Get List Diagnosa",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Search keyword",
|
||||
"name": "search",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/diagnosa.DiagnosaModel"
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/reference/dokter/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -325,9 +358,14 @@ const docTemplate = `{
|
||||
"definitions": {
|
||||
"antrianoperasi.CreatePasienOperasiRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosisItems",
|
||||
"tindakanItems"
|
||||
],
|
||||
"properties": {
|
||||
"diagnosisItems": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/definitions/antrianoperasi.DiagnosisItemRequest"
|
||||
}
|
||||
@@ -349,6 +387,7 @@ const docTemplate = `{
|
||||
},
|
||||
"tindakanItems": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/definitions/antrianoperasi.TindakanItemRequest"
|
||||
}
|
||||
@@ -357,6 +396,11 @@ const docTemplate = `{
|
||||
},
|
||||
"antrianoperasi.DiagnosisItemRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosa",
|
||||
"jenisDiagnosa",
|
||||
"kodeDiagnosa"
|
||||
],
|
||||
"properties": {
|
||||
"diagnosa": {
|
||||
"type": "string"
|
||||
@@ -388,6 +432,9 @@ const docTemplate = `{
|
||||
},
|
||||
"antrianoperasi.FormDataRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"nomorTelepon"
|
||||
],
|
||||
"properties": {
|
||||
"alamat": {
|
||||
"type": "string"
|
||||
@@ -406,6 +453,7 @@ const docTemplate = `{
|
||||
},
|
||||
"nomorTelepon": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -422,7 +470,10 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"diagnosa": {
|
||||
"type": "string"
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
@@ -433,9 +484,6 @@ const docTemplate = `{
|
||||
"kategori": {
|
||||
"type": "string"
|
||||
},
|
||||
"kodeDiagnosa": {
|
||||
"type": "string"
|
||||
},
|
||||
"namaPasien": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -465,11 +513,18 @@ const docTemplate = `{
|
||||
},
|
||||
"tglDaftar": {
|
||||
"type": "string"
|
||||
},
|
||||
"tindakan": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"antrianoperasi.RencanaOperasiRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"spesialis",
|
||||
"subSpesialis"
|
||||
],
|
||||
"properties": {
|
||||
"kategoriOperasi": {
|
||||
"type": "integer"
|
||||
@@ -507,6 +562,11 @@ const docTemplate = `{
|
||||
},
|
||||
"antrianoperasi.TindakanItemRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"kodeTindakan",
|
||||
"tindakan",
|
||||
"tindakanTambahan"
|
||||
],
|
||||
"properties": {
|
||||
"kodeTindakan": {
|
||||
"type": "string"
|
||||
@@ -533,6 +593,20 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"diagnosa.DiagnosaModel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"jenisPenyakit": {
|
||||
"type": "string"
|
||||
},
|
||||
"kodeDiagnosa": {
|
||||
"type": "string"
|
||||
},
|
||||
"sebabPenyakit": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dokter.DokterResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
+78
-4
@@ -130,6 +130,39 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/reference/diagnosa/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Reference"
|
||||
],
|
||||
"summary": "Get List Diagnosa",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Search keyword",
|
||||
"name": "search",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/diagnosa.DiagnosaModel"
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/reference/dokter/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -319,9 +352,14 @@
|
||||
"definitions": {
|
||||
"antrianoperasi.CreatePasienOperasiRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosisItems",
|
||||
"tindakanItems"
|
||||
],
|
||||
"properties": {
|
||||
"diagnosisItems": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/definitions/antrianoperasi.DiagnosisItemRequest"
|
||||
}
|
||||
@@ -343,6 +381,7 @@
|
||||
},
|
||||
"tindakanItems": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/definitions/antrianoperasi.TindakanItemRequest"
|
||||
}
|
||||
@@ -351,6 +390,11 @@
|
||||
},
|
||||
"antrianoperasi.DiagnosisItemRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosa",
|
||||
"jenisDiagnosa",
|
||||
"kodeDiagnosa"
|
||||
],
|
||||
"properties": {
|
||||
"diagnosa": {
|
||||
"type": "string"
|
||||
@@ -382,6 +426,9 @@
|
||||
},
|
||||
"antrianoperasi.FormDataRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"nomorTelepon"
|
||||
],
|
||||
"properties": {
|
||||
"alamat": {
|
||||
"type": "string"
|
||||
@@ -400,6 +447,7 @@
|
||||
},
|
||||
"nomorTelepon": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -416,7 +464,10 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"diagnosa": {
|
||||
"type": "string"
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
@@ -427,9 +478,6 @@
|
||||
"kategori": {
|
||||
"type": "string"
|
||||
},
|
||||
"kodeDiagnosa": {
|
||||
"type": "string"
|
||||
},
|
||||
"namaPasien": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -459,11 +507,18 @@
|
||||
},
|
||||
"tglDaftar": {
|
||||
"type": "string"
|
||||
},
|
||||
"tindakan": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"antrianoperasi.RencanaOperasiRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"spesialis",
|
||||
"subSpesialis"
|
||||
],
|
||||
"properties": {
|
||||
"kategoriOperasi": {
|
||||
"type": "integer"
|
||||
@@ -501,6 +556,11 @@
|
||||
},
|
||||
"antrianoperasi.TindakanItemRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"kodeTindakan",
|
||||
"tindakan",
|
||||
"tindakanTambahan"
|
||||
],
|
||||
"properties": {
|
||||
"kodeTindakan": {
|
||||
"type": "string"
|
||||
@@ -527,6 +587,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"diagnosa.DiagnosaModel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"jenisPenyakit": {
|
||||
"type": "string"
|
||||
},
|
||||
"kodeDiagnosa": {
|
||||
"type": "string"
|
||||
},
|
||||
"sebabPenyakit": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dokter.DokterResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
+54
-3
@@ -5,6 +5,7 @@ definitions:
|
||||
diagnosisItems:
|
||||
items:
|
||||
$ref: '#/definitions/antrianoperasi.DiagnosisItemRequest'
|
||||
minItems: 1
|
||||
type: array
|
||||
dokterPelaksanaItems:
|
||||
items:
|
||||
@@ -19,7 +20,11 @@ definitions:
|
||||
tindakanItems:
|
||||
items:
|
||||
$ref: '#/definitions/antrianoperasi.TindakanItemRequest'
|
||||
minItems: 1
|
||||
type: array
|
||||
required:
|
||||
- diagnosisItems
|
||||
- tindakanItems
|
||||
type: object
|
||||
antrianoperasi.DiagnosisItemRequest:
|
||||
properties:
|
||||
@@ -29,6 +34,10 @@ definitions:
|
||||
type: string
|
||||
kodeDiagnosa:
|
||||
type: string
|
||||
required:
|
||||
- diagnosa
|
||||
- jenisDiagnosa
|
||||
- kodeDiagnosa
|
||||
type: object
|
||||
antrianoperasi.DokterPelaksanaItemRequest:
|
||||
properties:
|
||||
@@ -56,24 +65,27 @@ definitions:
|
||||
nomorTelepon:
|
||||
items:
|
||||
type: string
|
||||
minItems: 1
|
||||
type: array
|
||||
tanggalLahir:
|
||||
type: string
|
||||
umur:
|
||||
type: string
|
||||
required:
|
||||
- nomorTelepon
|
||||
type: object
|
||||
antrianoperasi.PasienOperasi:
|
||||
properties:
|
||||
diagnosa:
|
||||
type: string
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
id:
|
||||
type: string
|
||||
jenisKelamin:
|
||||
type: string
|
||||
kategori:
|
||||
type: string
|
||||
kodeDiagnosa:
|
||||
type: string
|
||||
namaPasien:
|
||||
type: string
|
||||
noKtp:
|
||||
@@ -94,6 +106,8 @@ definitions:
|
||||
type: string
|
||||
tglDaftar:
|
||||
type: string
|
||||
tindakan:
|
||||
type: string
|
||||
type: object
|
||||
antrianoperasi.RencanaOperasiRequest:
|
||||
properties:
|
||||
@@ -109,6 +123,9 @@ definitions:
|
||||
type: integer
|
||||
tanggalDaftar:
|
||||
type: string
|
||||
required:
|
||||
- spesialis
|
||||
- subSpesialis
|
||||
type: object
|
||||
antrianoperasi.StatusPasienRequest:
|
||||
properties:
|
||||
@@ -127,6 +144,10 @@ definitions:
|
||||
type: string
|
||||
tindakanTambahan:
|
||||
type: string
|
||||
required:
|
||||
- kodeTindakan
|
||||
- tindakan
|
||||
- tindakanTambahan
|
||||
type: object
|
||||
dashboard.AntrianPerKategori:
|
||||
properties:
|
||||
@@ -137,6 +158,15 @@ definitions:
|
||||
kategori:
|
||||
type: string
|
||||
type: object
|
||||
diagnosa.DiagnosaModel:
|
||||
properties:
|
||||
jenisPenyakit:
|
||||
type: string
|
||||
kodeDiagnosa:
|
||||
type: string
|
||||
sebabPenyakit:
|
||||
type: string
|
||||
type: object
|
||||
dokter.DokterResponse:
|
||||
properties:
|
||||
hfis_code:
|
||||
@@ -319,6 +349,27 @@ paths:
|
||||
summary: Get Antrian Per Kategori
|
||||
tags:
|
||||
- Dashboard
|
||||
/reference/diagnosa/:
|
||||
get:
|
||||
parameters:
|
||||
- description: Search keyword
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/diagnosa.DiagnosaModel'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get List Diagnosa
|
||||
tags:
|
||||
- Reference
|
||||
/reference/dokter/:
|
||||
get:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user