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
+35 -16
View File
@@ -158,13 +158,13 @@ definitions:
kategori:
type: string
type: object
diagnosa.DiagnosaModel:
diagnosa.DiagnosaResponse:
properties:
jenisPenyakit:
keterangan:
type: string
kodeDiagnosa:
kodeicd:
type: string
sebabPenyakit:
select:
type: string
type: object
dokter.DokterResponse:
@@ -196,24 +196,41 @@ definitions:
- published
type: string
type: object
pasien.PasienModel:
pasien.PasienResponse:
properties:
alamat:
type: string
alamatKtp:
alamatktp:
type: string
dataumur:
$ref: '#/definitions/pasien.dataUmurResponse'
id:
type: integer
jenisKelamin:
type: string
jeniskelamin:
type: string
nama:
type: string
nik:
type: string
noMr:
nomr:
type: string
tglLahir:
select:
type: string
tgllahir:
type: string
umur:
type: integer
type: object
pasien.dataUmurResponse:
properties:
bulan:
type: integer
hari:
type: integer
label:
type: string
tahun:
type: integer
type: object
shared.BaseErrorResponse:
properties:
@@ -263,11 +280,13 @@ definitions:
sub_spesialis:
type: string
type: object
tindakan.TindakanModel:
tindakan.TindakanResponse:
properties:
KodeTindakan:
keterangan:
type: string
Tindakan:
kode:
type: string
select:
type: string
type: object
host: localhost:8080
@@ -368,7 +387,7 @@ paths:
description: OK
schema:
items:
$ref: '#/definitions/diagnosa.DiagnosaModel'
$ref: '#/definitions/diagnosa.DiagnosaResponse'
type: array
"500":
description: Internal Server Error
@@ -441,7 +460,7 @@ paths:
description: OK
schema:
items:
$ref: '#/definitions/pasien.PasienModel'
$ref: '#/definitions/pasien.PasienResponse'
type: array
"500":
description: Internal Server Error
@@ -508,7 +527,7 @@ paths:
description: OK
schema:
items:
$ref: '#/definitions/tindakan.TindakanModel'
$ref: '#/definitions/tindakan.TindakanResponse'
type: array
"500":
description: Internal Server Error