API dashboard perbandingan jumlah status antrian

This commit is contained in:
renaldybrada
2026-02-11 09:51:38 +07:00
parent 22bfdee8e9
commit dd4377c1fb
10 changed files with 379 additions and 4 deletions
+74 -2
View File
@@ -223,6 +223,47 @@ const docTemplate = `{
}
}
},
"/dashboard/perbandingan-status-antrian/": {
"get": {
"tags": [
"Dashboard"
],
"summary": "Get Perbandingan Status Antrean",
"parameters": [
{
"type": "integer",
"description": "tahun dalam int",
"name": "year",
"in": "query",
"required": true
},
{
"type": "integer",
"description": "bulan dalam int",
"name": "month",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/dashboard.PerbandinganStatusAntreanResponse"
}
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/shared.BaseErrorResponse"
}
}
}
}
},
"/reference/diagnosa/": {
"get": {
"tags": [
@@ -591,6 +632,10 @@ const docTemplate = `{
"antrianoperasi.FormDataRequest": {
"type": "object",
"required": [
"jenisKelamin",
"namaPasien",
"noKtp",
"noRekamMedis",
"nomorTelepon"
],
"properties": {
@@ -598,7 +643,11 @@ const docTemplate = `{
"type": "string"
},
"jenisKelamin": {
"type": "string"
"type": "string",
"enum": [
"L",
"P"
]
},
"namaPasien": {
"type": "string"
@@ -715,12 +764,21 @@ const docTemplate = `{
},
"antrianoperasi.StatusPasienRequest": {
"type": "object",
"required": [
"statusOperasi"
],
"properties": {
"keteranganStatus": {
"type": "string"
},
"statusOperasi": {
"type": "string"
"type": "string",
"enum": [
"1",
"2",
"3",
"4"
]
},
"tanggalSelesai": {
"type": "string"
@@ -794,6 +852,20 @@ const docTemplate = `{
}
}
},
"dashboard.PerbandinganStatusAntreanResponse": {
"type": "object",
"properties": {
"idStatus": {
"type": "integer"
},
"jumlah": {
"type": "integer"
},
"status": {
"type": "string"
}
}
},
"diagnosa.DiagnosaResponse": {
"type": "object",
"properties": {