endpoint table antrian per subspesialis

This commit is contained in:
renaldybrada
2026-02-12 09:02:09 +07:00
parent 7f917377ea
commit 99733127d2
7 changed files with 281 additions and 0 deletions
+67
View File
@@ -379,6 +379,47 @@ const docTemplate = `{
}
}
},
"/dashboard/table-antrian-per-subspesialis/": {
"get": {
"tags": [
"Dashboard"
],
"summary": "Get Table Antrian per Sub Spesialis",
"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.TableAntreanPerSubSpesialis"
}
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/shared.BaseErrorResponse"
}
}
}
}
},
"/reference/diagnosa/": {
"get": {
"tags": [
@@ -1018,6 +1059,32 @@ const docTemplate = `{
}
}
},
"dashboard.TableAntreanPerSubSpesialis": {
"type": "object",
"properties": {
"batal": {
"type": "integer"
},
"belum": {
"type": "integer"
},
"selesai": {
"type": "integer"
},
"spesialis": {
"type": "string"
},
"subSpesialis": {
"type": "string"
},
"total": {
"type": "integer"
},
"tunda": {
"type": "integer"
}
}
},
"diagnosa.DiagnosaResponse": {
"type": "object",
"properties": {