{ "swagger": "2.0", "info": { "description": "Dokumentasi API Antrian Operasi", "title": "Antrian Operasi API", "contact": {}, "version": "1.0" }, "host": "10.10.150.184:8080", "basePath": "/api", "paths": { "/access/eligible-menu": { "get": { "tags": [ "Access Role" ], "summary": "Get Pages By Keycloak Id", "parameters": [ { "type": "string", "description": "Keycloak ID", "name": "keycloak_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/access/list-user": { "get": { "tags": [ "Access Role" ], "summary": "Get List User And Role", "parameters": [ { "type": "string", "description": "Search Keyword", "name": "search", "in": "query" }, { "type": "string", "default": "10", "description": "Limit", "name": "limit", "in": "query" }, { "type": "string", "default": "0", "description": "Offset", "name": "offset", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/access.UserRoleResponse" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/access/role-permission": { "get": { "tags": [ "Access Role" ], "summary": "Get List Role Page Settings", "parameters": [ { "type": "string", "description": "Search Keyword", "name": "search", "in": "query" }, { "type": "string", "default": "10", "description": "Limit", "name": "limit", "in": "query" }, { "type": "string", "default": "0", "description": "Offset", "name": "offset", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/access.ListRolePermissionPaginateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/access/role-permission/{id}": { "get": { "tags": [ "Access Role" ], "summary": "Detail Role Page Settings", "parameters": [ { "type": "string", "description": "id role", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/access.DetailRolePageResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } }, "put": { "tags": [ "Access Role" ], "summary": "Update Role Page Settings", "parameters": [ { "type": "string", "description": "id role", "name": "id", "in": "path", "required": true }, { "description": "Body Update Role Page", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/access.UpdateRolePageRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/access/sync-keycloak-role": { "post": { "tags": [ "Access Role" ], "summary": "Sync Keycloak Role", "parameters": [ { "description": "Sync Keycloak Role", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/access.SyncKeycloakRoleRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/antrian-operasi/": { "get": { "tags": [ "Antrian Operasi" ], "summary": "Get List Antrian Operasi", "parameters": [ { "type": "string", "description": "Search Keyword", "name": "search", "in": "query" }, { "type": "string", "description": "Type antrian : all, kategori, spesialis, sub-spesialis", "name": "type", "in": "query" }, { "type": "string", "description": "Type id :id kategori, id spesialis, id sub-spesialis", "name": "type_id", "in": "query" }, { "type": "string", "description": "Status : 1, 2, 3, 4", "name": "status", "in": "query" }, { "type": "string", "default": "10", "description": "Limit", "name": "limit", "in": "query" }, { "type": "string", "default": "0", "description": "Offset", "name": "offset", "in": "query" }, { "type": "string", "description": "Type sort : tanggal_daftar no_urut_kategori no_urut_spesialis", "name": "sort_by", "in": "query" }, { "type": "string", "description": "Type sort order : ASC DESC", "name": "sort_order", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/antrianoperasi.PasienOperasi" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } }, "post": { "tags": [ "Antrian Operasi" ], "summary": "Create Antrian Operasi", "parameters": [ { "description": "Create Pasien Operasi", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/antrianoperasi.CreatePasienOperasiRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/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" } } } }, "put": { "tags": [ "Antrian Operasi" ], "summary": "Update Antrian Operasi", "parameters": [ { "type": "string", "description": "id antrian", "name": "id", "in": "path", "required": true }, { "description": "Update Pasien Operasi", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/antrianoperasi.CreatePasienOperasiRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } }, "delete": { "tags": [ "Antrian Operasi" ], "summary": "Delete Antrian Operasi", "parameters": [ { "type": "string", "description": "id antrian", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/antrian-operasi/{id}/update-status": { "put": { "tags": [ "Antrian Operasi" ], "summary": "Update Status Antrian Operasi", "parameters": [ { "type": "string", "description": "id antrian", "name": "id", "in": "path", "required": true }, { "description": "Update Status Pasien Operasi", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/antrianoperasi.StatusPasienRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/dashboard/antrian-per-hari/": { "get": { "tags": [ "Dashboard" ], "summary": "Get Antrian per Hari", "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.AntrianPerHari" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/dashboard/antrian-per-kategori/": { "get": { "tags": [ "Dashboard" ], "summary": "Get Antrian Per Kategori", "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/dashboard.AntrianPerKategori" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/dashboard/antrian-per-spesialis/": { "get": { "tags": [ "Dashboard" ], "summary": "Get Antrian Per Spesialis", "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/dashboard.AntrianPerSpesialisResponse" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/dashboard/perbandingan-kategori-antrian/": { "get": { "tags": [ "Dashboard" ], "summary": "Get Perbandingan Kategori 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.PerbandinganKategoriAntrean" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/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" } } } } }, "/dashboard/table-antrian-per-spesialis/": { "get": { "tags": [ "Dashboard" ], "summary": "Get Table Antrian per 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.TableAntreanPerSpesialis" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/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" } } } } }, "/keycloak/refresh-token": { "post": { "tags": [ "Keycloak" ], "summary": "Requesting new token to keycloak using refresh token", "parameters": [ { "description": "Valid Refresh Token", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/keycloak.RefreshTokenRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/shared.BaseResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/reference/diagnosa/": { "get": { "tags": [ "Reference" ], "summary": "Get List Diagnosa", "parameters": [ { "type": "string", "description": "Search keyword", "name": "search", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/diagnosa.DiagnosaResponse" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/reference/dokter/": { "get": { "tags": [ "Reference" ], "summary": "Get List Dokter", "parameters": [ { "type": "string", "description": "Search keyword", "name": "search", "in": "query" }, { "type": "string", "default": "10", "description": "Limit", "name": "limit", "in": "query" }, { "type": "string", "default": "0", "description": "Offset", "name": "offset", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/dokter.DokterResponse" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/reference/kategori/": { "get": { "tags": [ "Reference" ], "summary": "Get List Kategori Operasi", "parameters": [ { "type": "string", "description": "Search keyword", "name": "search", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/kategori.KategoriOperasiModel" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/reference/pasien/": { "get": { "tags": [ "Reference" ], "summary": "Get List Pasien", "parameters": [ { "type": "string", "description": "Search keyword", "name": "search", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/pasien.PasienResponse" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/reference/spesialis/": { "get": { "tags": [ "Reference" ], "summary": "Get List Spesialis", "parameters": [ { "type": "string", "description": "Search keyword", "name": "search", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/spesialis.SpesialisModel" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/reference/sub-spesialis/": { "get": { "tags": [ "Reference" ], "summary": "Get List Sub Spesialis", "parameters": [ { "type": "string", "description": "Search keyword", "name": "search", "in": "query" }, { "type": "integer", "description": "Filter by Id Spesialis", "name": "id_spesialis", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/spesialis.SubSpesialisModel" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } }, "/reference/tindakan/": { "get": { "tags": [ "Reference" ], "summary": "Get List Tindakan", "parameters": [ { "type": "string", "description": "Search keyword", "name": "search", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/tindakan.TindakanResponse" } } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/shared.BaseErrorResponse" } } } } } }, "definitions": { "access.AccessPage": { "type": "object", "required": [ "id", "is_active" ], "properties": { "id": { "type": "string" }, "is_active": { "type": "boolean" }, "page": { "type": "string" }, "parent_id": { "type": "string" }, "sort": { "type": "integer" } } }, "access.DetailRolePageResponse": { "type": "object", "required": [ "id" ], "properties": { "access_page": { "type": "array", "items": { "$ref": "#/definitions/access.AccessPage" } }, "id": { "type": "string" }, "name": { "type": "string" }, "status": { "type": "boolean" } } }, "access.ListRolePermissionPaginateResponse": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/access.RolePermissionModel" } }, "paging": { "$ref": "#/definitions/shared.PaginationInfo" } } }, "access.RolePermissionModel": { "type": "object", "properties": { "id": { "type": "string" }, "is_active": { "type": "boolean" }, "name": { "type": "string" } } }, "access.SyncKeycloakRoleRequest": { "type": "object", "required": [ "email", "keycloak_id", "name" ], "properties": { "client_role": { "type": "array", "items": { "type": "string" } }, "email": { "type": "string" }, "keycloak_id": { "type": "string" }, "name": { "type": "string" } } }, "access.UpdateRolePageRequest": { "type": "object", "required": [ "id" ], "properties": { "access_page": { "type": "array", "items": { "$ref": "#/definitions/access.AccessPage" } }, "id": { "type": "string" }, "name": { "type": "string" }, "status": { "type": "boolean" } } }, "access.UserRoleResponse": { "type": "object", "properties": { "email": { "type": "string" }, "hak_akses": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string" }, "name": { "type": "string" } } }, "antrianoperasi.CreatePasienOperasiRequest": { "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.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": [ "diagnosa", "jenisDiagnosa", "kodeDiagnosa" ], "properties": { "diagnosa": { "type": "string" }, "jenisDiagnosa": { "type": "string" }, "kodeDiagnosa": { "type": "string" } } }, "antrianoperasi.DokterPelaksanaItemRequest": { "type": "object", "properties": { "id": { "type": "string" }, "nama": { "type": "string" }, "nip": { "type": "string" }, "satuan_kerja": { "type": "string" } } }, "antrianoperasi.FormDataRequest": { "type": "object", "required": [ "jenisKelamin", "namaPasien", "noKtp", "noRekamMedis" ], "properties": { "alamat": { "type": "string" }, "jenisKelamin": { "type": "string", "enum": [ "L", "P" ] }, "namaPasien": { "type": "string" }, "noKtp": { "type": "string" }, "noRekamMedis": { "type": "string" }, "nomorTelepon": { "type": "array", "items": { "type": "string" } }, "tanggalLahir": { "type": "string" }, "umur": { "type": "string" } } }, "antrianoperasi.PasienOperasi": { "type": "object", "properties": { "diagnosa": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string" }, "jenisKelamin": { "type": "string" }, "kategori": { "type": "string" }, "namaPasien": { "type": "string" }, "noKtp": { "type": "string" }, "noRekamMedis": { "type": "string" }, "noUrutKategori": { "type": "integer" }, "noUrutSpesialis": { "type": "integer" }, "noUrutSubSpesialis": { "type": "integer" }, "spesialis": { "type": "string" }, "statusOperasi": { "type": "string" }, "subSpesialis": { "type": "string" }, "tglDaftar": { "type": "string" }, "tindakan": { "type": "string" } } }, "antrianoperasi.RencanaOperasiRequest": { "type": "object", "required": [ "spesialis", "subSpesialis" ], "properties": { "kategoriName": { "type": "string" }, "kategoriOperasi": { "type": "integer" }, "keterangan": { "type": "string" }, "rencanaOperasi": { "type": "string" }, "spesialis": { "type": "integer" }, "spesialisName": { "type": "string" }, "subSpesialis": { "type": "integer" }, "subSpesialisName": { "type": "string" }, "tanggalDaftar": { "type": "string" } } }, "antrianoperasi.StatusPasienRequest": { "type": "object", "required": [ "statusOperasi" ], "properties": { "keteranganStatus": { "type": "string" }, "statusOperasi": { "type": "string", "enum": [ "1", "2", "3", "4" ] }, "tanggalSelesai": { "type": "string" } } }, "antrianoperasi.TindakanItemRequest": { "type": "object", "required": [ "kodeTindakan", "tindakan", "tindakanTambahan" ], "properties": { "kodeTindakan": { "type": "string" }, "tindakan": { "type": "string" }, "tindakanTambahan": { "type": "string" } } }, "dashboard.AntrianPerHari": { "type": "object", "properties": { "batal": { "type": "integer" }, "belum": { "type": "integer" }, "selesai": { "type": "integer" }, "tanggalDaftar": { "type": "string" }, "tunda": { "type": "integer" } } }, "dashboard.AntrianPerKategori": { "type": "object", "properties": { "id_kategori": { "type": "integer" }, "jumlah_antrean": { "type": "integer" }, "kategori": { "type": "string" } } }, "dashboard.AntrianPerSpesialisResponse": { "type": "object", "properties": { "idSpesialis": { "type": "integer" }, "jmlAntrian": { "type": "integer" }, "spesialis": { "type": "string" }, "subSpesialis": { "type": "array", "items": { "$ref": "#/definitions/dashboard.AntrianPerSubSpesialisResponse" } } } }, "dashboard.AntrianPerSubSpesialisResponse": { "type": "object", "properties": { "idSubSpesialis": { "type": "integer" }, "jmlAntrian": { "type": "integer" }, "subSpesialis": { "type": "string" } } }, "dashboard.PerbandinganKategoriAntrean": { "type": "object", "properties": { "id_kategori": { "type": "integer" }, "jumlah": { "type": "integer" }, "kategori": { "type": "string" } } }, "dashboard.PerbandinganStatusAntreanResponse": { "type": "object", "properties": { "id": { "type": "integer" }, "jumlah": { "type": "integer" }, "statust": { "type": "string" } } }, "dashboard.TableAntreanPerSpesialis": { "type": "object", "properties": { "batal": { "type": "integer" }, "belum": { "type": "integer" }, "selesai": { "type": "integer" }, "spesialis": { "type": "string" }, "total": { "type": "integer" }, "tunda": { "type": "integer" } } }, "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": { "keterangan": { "type": "string" }, "kodeicd": { "type": "string" }, "select": { "type": "string" } } }, "dokter.DokterResponse": { "type": "object", "properties": { "hfis_code": { "type": "string" }, "id": { "type": "string" }, "nama_ksm": { "type": "string" }, "nama_lengkap": { "type": "string" }, "nip": { "type": "string" } } }, "kategori.KategoriOperasiModel": { "type": "object", "properties": { "date_created": { "type": "string" }, "date_updated": { "type": "string" }, "id": { "type": "integer" }, "kategori": { "type": "string" }, "status": { "type": "string", "enum": [ "draft", "published" ] } } }, "keycloak.RefreshTokenRequest": { "type": "object", "required": [ "refresh_token" ], "properties": { "refresh_token": { "type": "string" } } }, "pasien.PasienResponse": { "type": "object", "properties": { "alamat": { "type": "string" }, "alamatktp": { "type": "string" }, "dataumur": { "$ref": "#/definitions/pasien.dataUmurResponse" }, "id": { "type": "string" }, "jeniskelamin": { "type": "string" }, "nama": { "type": "string" }, "nik": { "type": "string" }, "nomr": { "type": "string" }, "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" } } }, "shared.BaseErrorResponse": { "type": "object", "properties": { "code": { "type": "integer" }, "errors": { "type": "array", "items": { "type": "string" } }, "message": { "type": "string" }, "success": { "type": "boolean" } } }, "shared.BaseResponse": { "type": "object", "properties": { "code": { "type": "integer" }, "data": { "type": "object" }, "message": { "type": "string" }, "success": { "type": "boolean" } } }, "shared.PaginationInfo": { "type": "object", "properties": { "currentPage": { "type": "integer" }, "hasNext": { "type": "boolean" }, "hasPrev": { "type": "boolean" }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "total": { "type": "integer" }, "totalPages": { "type": "integer" } } }, "spesialis.SpesialisModel": { "type": "object", "properties": { "id": { "type": "integer" }, "kode": { "type": "string" }, "spesialis": { "type": "string" } } }, "spesialis.SubSpesialisModel": { "type": "object", "properties": { "id": { "type": "integer" }, "id_spesialis": { "type": "integer" }, "kode": { "type": "string" }, "kode_spesialis": { "type": "string" }, "spesialis": { "type": "string" }, "sub_spesialis": { "type": "string" } } }, "tindakan.TindakanResponse": { "type": "object", "properties": { "keterangan": { "type": "string" }, "kode": { "type": "string" }, "select": { "type": "string" } } } }, "securityDefinitions": { "BearerAuth": { "type": "apiKey", "name": "Authorization", "in": "header" } }, "security": [ { "BearerAuth": [] } ] }