API detail antrian operasi
This commit is contained in:
@@ -111,6 +111,37 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/antrian-operasi/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Antrian Operasi"
|
||||
],
|
||||
"summary": "Detail List Antrian Operasi",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "id antrian",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/antrianoperasi.DetailPasienOperasiResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/dashboard/antrian-per-kategori/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -452,6 +483,44 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"antrianoperasi.DetailPasienOperasiResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosisItems",
|
||||
"tindakanItems"
|
||||
],
|
||||
"properties": {
|
||||
"diagnosisItems": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/definitions/antrianoperasi.DiagnosisItemRequest"
|
||||
}
|
||||
},
|
||||
"dokterPelaksanaItems": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/antrianoperasi.DokterPelaksanaItemRequest"
|
||||
}
|
||||
},
|
||||
"formData": {
|
||||
"$ref": "#/definitions/antrianoperasi.FormDataRequest"
|
||||
},
|
||||
"rencanaOperasiData": {
|
||||
"$ref": "#/definitions/antrianoperasi.RencanaOperasiRequest"
|
||||
},
|
||||
"statusPasienData": {
|
||||
"$ref": "#/definitions/antrianoperasi.StatusPasienRequest"
|
||||
},
|
||||
"tindakanItems": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/definitions/antrianoperasi.TindakanItemRequest"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"antrianoperasi.DiagnosisItemRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -596,9 +665,15 @@ const docTemplate = `{
|
||||
"spesialis": {
|
||||
"type": "integer"
|
||||
},
|
||||
"spesialisName": {
|
||||
"type": "string"
|
||||
},
|
||||
"subSpesialis": {
|
||||
"type": "integer"
|
||||
},
|
||||
"subSpesialisName": {
|
||||
"type": "string"
|
||||
},
|
||||
"tanggalDaftar": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user