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": {
|
||||
|
||||
Reference in New Issue
Block a user