fixing response list diagnosa, tindakan, pasien

This commit is contained in:
renaldybrada
2026-02-05 11:45:44 +07:00
parent 0cbaba6a4d
commit 53242ae2ff
12 changed files with 300 additions and 74 deletions
+46 -17
View File
@@ -150,7 +150,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/diagnosa.DiagnosaModel"
"$ref": "#/definitions/diagnosa.DiagnosaResponse"
}
}
},
@@ -263,7 +263,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/pasien.PasienModel"
"$ref": "#/definitions/pasien.PasienResponse"
}
}
},
@@ -368,7 +368,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/tindakan.TindakanModel"
"$ref": "#/definitions/tindakan.TindakanResponse"
}
}
},
@@ -620,16 +620,16 @@
}
}
},
"diagnosa.DiagnosaModel": {
"diagnosa.DiagnosaResponse": {
"type": "object",
"properties": {
"jenisPenyakit": {
"keterangan": {
"type": "string"
},
"kodeDiagnosa": {
"kodeicd": {
"type": "string"
},
"sebabPenyakit": {
"select": {
"type": "string"
}
}
@@ -678,19 +678,22 @@
}
}
},
"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": {
@@ -699,11 +702,34 @@
"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"
}
}
},
@@ -781,13 +807,16 @@
}
}
},
"tindakan.TindakanModel": {
"tindakan.TindakanResponse": {
"type": "object",
"properties": {
"KodeTindakan": {
"keterangan": {
"type": "string"
},
"Tindakan": {
"kode": {
"type": "string"
},
"select": {
"type": "string"
}
}