dokumentasi antrian operasi
This commit is contained in:
+283
-1
@@ -1,5 +1,123 @@
|
||||
basePath: /api
|
||||
definitions:
|
||||
antrianoperasi.CreatePasienOperasiRequest:
|
||||
properties:
|
||||
diagnosisItems:
|
||||
items:
|
||||
$ref: '#/definitions/antrianoperasi.DiagnosisItemRequest'
|
||||
type: array
|
||||
dokterPelaksanaItems:
|
||||
items:
|
||||
$ref: '#/definitions/antrianoperasi.DokterPelaksanaItemRequest'
|
||||
type: array
|
||||
formData:
|
||||
$ref: '#/definitions/antrianoperasi.FormDataRequest'
|
||||
rencanaOperasiData:
|
||||
$ref: '#/definitions/antrianoperasi.RencanaOperasiRequest'
|
||||
statusPasienData:
|
||||
$ref: '#/definitions/antrianoperasi.StatusPasienRequest'
|
||||
tindakanItems:
|
||||
items:
|
||||
$ref: '#/definitions/antrianoperasi.TindakanItemRequest'
|
||||
type: array
|
||||
type: object
|
||||
antrianoperasi.DiagnosisItemRequest:
|
||||
properties:
|
||||
diagnosa:
|
||||
type: string
|
||||
jenisDiagnosa:
|
||||
type: string
|
||||
kodeDiagnosa:
|
||||
type: string
|
||||
type: object
|
||||
antrianoperasi.DokterPelaksanaItemRequest:
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
nama:
|
||||
type: string
|
||||
nip:
|
||||
type: string
|
||||
satuan_kerja:
|
||||
type: string
|
||||
type: object
|
||||
antrianoperasi.FormDataRequest:
|
||||
properties:
|
||||
alamat:
|
||||
type: string
|
||||
jenisKelamin:
|
||||
type: string
|
||||
namaPasien:
|
||||
type: string
|
||||
noKtp:
|
||||
type: string
|
||||
noRekamMedis:
|
||||
type: string
|
||||
nomorTelepon:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
tanggalLahir:
|
||||
type: string
|
||||
umur:
|
||||
type: string
|
||||
type: object
|
||||
antrianoperasi.PasienOperasi:
|
||||
properties:
|
||||
diagnosa:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
kategori:
|
||||
type: string
|
||||
kodeDiagnosa:
|
||||
type: string
|
||||
namaPasien:
|
||||
type: string
|
||||
noKtp:
|
||||
type: string
|
||||
noRekamMedis:
|
||||
type: string
|
||||
spesialis:
|
||||
type: string
|
||||
subSpesialis:
|
||||
type: string
|
||||
tglDaftar:
|
||||
type: string
|
||||
type: object
|
||||
antrianoperasi.RencanaOperasiRequest:
|
||||
properties:
|
||||
kategoriOperasi:
|
||||
type: integer
|
||||
keterangan:
|
||||
type: string
|
||||
rencanaOperasi:
|
||||
type: string
|
||||
spesialis:
|
||||
type: integer
|
||||
subSpesialis:
|
||||
type: integer
|
||||
tanggalDaftar:
|
||||
type: string
|
||||
type: object
|
||||
antrianoperasi.StatusPasienRequest:
|
||||
properties:
|
||||
keteranganStatus:
|
||||
type: string
|
||||
statusOperasi:
|
||||
type: string
|
||||
tanggalSelesai:
|
||||
type: string
|
||||
type: object
|
||||
antrianoperasi.TindakanItemRequest:
|
||||
properties:
|
||||
kodeTindakan:
|
||||
type: string
|
||||
tindakan:
|
||||
type: string
|
||||
tindakanTambahan:
|
||||
type: string
|
||||
type: object
|
||||
dokter.DokterResponse:
|
||||
properties:
|
||||
hfis_code:
|
||||
@@ -13,6 +131,22 @@ definitions:
|
||||
nip:
|
||||
type: string
|
||||
type: object
|
||||
kategori.KategoriOperasiModel:
|
||||
properties:
|
||||
date_created:
|
||||
type: string
|
||||
date_updated:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
kategori:
|
||||
type: string
|
||||
status:
|
||||
enum:
|
||||
- draft
|
||||
- published
|
||||
type: string
|
||||
type: object
|
||||
shared.BaseErrorResponse:
|
||||
properties:
|
||||
code:
|
||||
@@ -26,6 +160,41 @@ definitions:
|
||||
success:
|
||||
type: boolean
|
||||
type: object
|
||||
shared.BaseResponse:
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
data:
|
||||
type: object
|
||||
message:
|
||||
type: string
|
||||
success:
|
||||
type: boolean
|
||||
type: object
|
||||
spesialis.SpesialisModel:
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
kode:
|
||||
type: string
|
||||
spesialis:
|
||||
type: string
|
||||
type: object
|
||||
spesialis.SubSpesialisModel:
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
id_spesialis:
|
||||
type: integer
|
||||
kode:
|
||||
type: string
|
||||
kode_spesialis:
|
||||
type: string
|
||||
spesialis:
|
||||
type: string
|
||||
sub_spesialis:
|
||||
type: string
|
||||
type: object
|
||||
host: localhost:8080
|
||||
info:
|
||||
contact: {}
|
||||
@@ -33,8 +202,54 @@ info:
|
||||
title: Antrian Operasi API
|
||||
version: "1.0"
|
||||
paths:
|
||||
/antrian-operasi/:
|
||||
get:
|
||||
parameters:
|
||||
- description: Search Keyword
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/antrianoperasi.PasienOperasi'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get List Antrian Operasi
|
||||
tags:
|
||||
- Antrian Operasi
|
||||
post:
|
||||
parameters:
|
||||
- description: Create Pasien Operasi
|
||||
in: body
|
||||
name: 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'
|
||||
summary: Create Antrian Operasi
|
||||
tags:
|
||||
- Antrian Operasi
|
||||
/dokter/:
|
||||
get:
|
||||
parameters:
|
||||
- description: Search keyword
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@@ -48,5 +263,72 @@ paths:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get List Dokter
|
||||
tags:
|
||||
- dokter
|
||||
- Dokter
|
||||
/kategori/:
|
||||
get:
|
||||
parameters:
|
||||
- description: Search keyword
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/kategori.KategoriOperasiModel'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get List Kategori Operasi
|
||||
tags:
|
||||
- Kategori Operasi
|
||||
/spesialis/:
|
||||
get:
|
||||
parameters:
|
||||
- description: Search keyword
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/spesialis.SpesialisModel'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get List Spesialis
|
||||
tags:
|
||||
- Spesialis
|
||||
/sub-spesialis/:
|
||||
get:
|
||||
parameters:
|
||||
- description: Search keyword
|
||||
in: query
|
||||
name: search
|
||||
type: string
|
||||
- description: Filter by Id Spesialis
|
||||
in: query
|
||||
name: id_spesialis
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/spesialis.SubSpesialisModel'
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/shared.BaseErrorResponse'
|
||||
summary: Get List Sub Spesialis
|
||||
tags:
|
||||
- Spesialis
|
||||
swagger: "2.0"
|
||||
|
||||
Reference in New Issue
Block a user