feat: add lab package registration endpoint
This commit is contained in:
20
README.md
20
README.md
@@ -24,6 +24,10 @@ POST /api/cpone/patients/lab-registration/{regId}/services
|
||||
Authorization: Bearer <your-secure-token>
|
||||
Content-Type: application/json
|
||||
|
||||
POST /api/cpone/patients/lab-registration/{regId}/packages
|
||||
Authorization: Bearer <your-secure-token>
|
||||
Content-Type: application/json
|
||||
|
||||
POST /api/cpone/patients/medrec
|
||||
Authorization: Bearer <your-secure-token>
|
||||
Content-Type: application/json
|
||||
@@ -107,6 +111,22 @@ Harga, diskon publik, share, unit cost, layanan multiple, dan spesimen diambil
|
||||
langsung dari master HIS. Layanan yang sudah ada akan dilewati dan dilaporkan
|
||||
melalui `skipped_layanan_ids`.
|
||||
|
||||
Contoh payload penambahan Paket Dispenser HIS:
|
||||
|
||||
```json
|
||||
{
|
||||
"paket_id": "DISP-260800011",
|
||||
"cito": false,
|
||||
"markup_cito": 0,
|
||||
"catatan": "",
|
||||
"channel": "CPONE"
|
||||
}
|
||||
```
|
||||
|
||||
Paket harus aktif, disetujui, berlaku untuk rawat jalan, dan belum memiliki
|
||||
layanan yang sama pada registrasi. Request ulang untuk paket yang sudah masuk
|
||||
bersifat idempoten dan tidak membuat transaksi ganda.
|
||||
|
||||
## Config
|
||||
|
||||
Copy `.env.example` menjadi `.env`, lalu isi koneksi MySQL:
|
||||
|
||||
Reference in New Issue
Block a user