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"
|
||||
}
|
||||
}
|
||||
|
||||
+46
-17
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
+35
-16
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user