fixing response list diagnosa, tindakan, pasien
This commit is contained in:
+46
-17
@@ -156,7 +156,7 @@ const docTemplate = `{
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/diagnosa.DiagnosaModel"
|
||||
"$ref": "#/definitions/diagnosa.DiagnosaResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -269,7 +269,7 @@ const docTemplate = `{
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/pasien.PasienModel"
|
||||
"$ref": "#/definitions/pasien.PasienResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -374,7 +374,7 @@ const docTemplate = `{
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/tindakan.TindakanModel"
|
||||
"$ref": "#/definitions/tindakan.TindakanResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -626,16 +626,16 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"diagnosa.DiagnosaModel": {
|
||||
"diagnosa.DiagnosaResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"jenisPenyakit": {
|
||||
"keterangan": {
|
||||
"type": "string"
|
||||
},
|
||||
"kodeDiagnosa": {
|
||||
"kodeicd": {
|
||||
"type": "string"
|
||||
},
|
||||
"sebabPenyakit": {
|
||||
"select": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -684,19 +684,22 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"pasien.PasienModel": {
|
||||
"pasien.PasienResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"alamat": {
|
||||
"type": "string"
|
||||
},
|
||||
"alamatKtp": {
|
||||
"alamatktp": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
"dataumur": {
|
||||
"$ref": "#/definitions/pasien.dataUmurResponse"
|
||||
},
|
||||
"jenisKelamin": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"jeniskelamin": {
|
||||
"type": "string"
|
||||
},
|
||||
"nama": {
|
||||
@@ -705,11 +708,34 @@ const docTemplate = `{
|
||||
"nik": {
|
||||
"type": "string"
|
||||
},
|
||||
"noMr": {
|
||||
"nomr": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglLahir": {
|
||||
"select": {
|
||||
"type": "string"
|
||||
},
|
||||
"tgllahir": {
|
||||
"type": "string"
|
||||
},
|
||||
"umur": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pasien.dataUmurResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"bulan": {
|
||||
"type": "integer"
|
||||
},
|
||||
"hari": {
|
||||
"type": "integer"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"tahun": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -787,13 +813,16 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"tindakan.TindakanModel": {
|
||||
"tindakan.TindakanResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"KodeTindakan": {
|
||||
"keterangan": {
|
||||
"type": "string"
|
||||
},
|
||||
"Tindakan": {
|
||||
"kode": {
|
||||
"type": "string"
|
||||
},
|
||||
"select": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user