-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvisit-sample.json
More file actions
562 lines (562 loc) · 18.8 KB
/
visit-sample.json
File metadata and controls
562 lines (562 loc) · 18.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
{
"visits": [
{
"health_facility_code": "121020",
"patient_code": "P25003877",
"code": "V420650",
"admission_type": "Self Refer",
"discharge_type": "Authorized",
"visit_outcome": "Improved",
"visit_type": "OPD",
"admitted_at": "2025-03-17T09:30:00.000+07:00",
"discharged_at": "2025-03-17T10:45:00.000+07:00",
"followup_at": "2025-03-24T09:00:00.000+07:00",
"created_at": "2025-03-17T09:30:00.000+07:00",
"updated_at": "2025-03-17T10:45:00.000+07:00",
"patient": {
"code": "PT20250317001",
"surname": "Smith",
"name": "John",
"sex": "M",
"birthdate": "1980-05-15",
"phone": "012 345 678",
"nationality": "Cambodian",
"disabilities": [
"Hearing impairment"
],
"occupation": "Teacher",
"marital_status": "Married",
"photos": [
"https://hospital.example/photos/PT20250317001_1.jpg"
],
"address": {
"province": {
"code": "12",
"name": "Phnom Penh"
},
"district": {
"code": "1201",
"name": "Chamkar Mon"
},
"commune": {
"code": "120101",
"name": "Tonle Bassac"
},
"village": {
"code": "12010101",
"name": "Phsar Deum Thkov"
},
"house_number": "45",
"street_number": "302",
"location": "Near Central Market 1"
},
"identifications": [
{
"patient_code": "P25003877",
"card_code": "ID123456789",
"card_type": "National ID"
}
],
"death_at": null,
"spid": "250317001",
"created_at": "2025-03-17T08:30:00.000+07:00",
"updated_at": "2025-03-17T08:30:00.000+07:00"
},
"triages": [
{
"parent_code": "P2324",
"visit_code": " V420650",
"code": "TR250317",
"chief_complaint": "Periodic fever with chills for 3 days",
"height": 170,
"weight": 65,
"recorded_at": "2025-03-17T09:32:00.000+07:00",
"recorded_by": "Khun Srey Mom",
"title": "Doctor"
}
],
"vital_signs": [
{
"encounter_code": "TR250317",
"recorded_at": "2025-03-17T09:40:00.000+07:00",
"recorded_by": "Khun Srey Mom",
"title": "Doctor",
"observations": [
{
"name": "Blood Pressure Systolic",
"value": 135
},
{
"name": "Blood Pressure Diastolic",
"value": 85
},
{
"name": "Pulse",
"value": 92
},
{
"name": "Respiratory Rate",
"value": 18
},
{
"name": "Temperature",
"value": 38.7
},
{
"name": "SpO2",
"value": 97
},
{
"name": "Glucose",
"value": 110
}
]
}
],
"medical_histories": [
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": " Immunization History",
"value": [
"BCG",
"OPV",
"DTP",
"Measles",
"COVID-19"
]
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Allergies",
"value": [
"Prahok",
"Shrimp paste",
"Penicillin"
]
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Past Surgical History",
"value": [
"Appendectomy Surgery"
]
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Past Medical History",
"value": [
"Dengue fever (2020)",
"Typhoid (2018)",
"Cesarean section at Calmette Hospital (2019)"
]
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Family History",
"value": [
"Mother with diabetes",
"Father with hypertension and stroke at age 60"
]
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Current Illness History",
"value": [
"Patient reports high fever with chills occurring every 48 hours, accompanied by headache and joint pain. Symptoms started 3 days ago after returning from a trip to Mondulkiri province. No prior history of malaria. No medication taken yet."
]
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Current Medication",
"value": [
"Metformin 500mg",
"Amlodipine 5mg"
]
}
],
"physical_examinations": [
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "EN20250317001",
"name": "General Appearance",
"value": "Ill-appearing with intermittent shivering",
"value_type": "text",
"value_unit": null
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Skin",
"value": "Warm, jaundiced, no rash",
"value_type": "text",
"value_unit": null
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"name": "Digestive System",
"value": [
{
"inspection": "Flat, no visible masses"
},
{
"palpation": "Soft, mild RUQ tenderness, spleen palpable 1cm below costal margin"
},
{
"percussion": "No shifting dullness"
},
{
"auscultation": "Normal bowel sounds"
}
],
"value_type": "complex",
"value_unit": null
}
],
"outpatients": [
{
"visit_code": "V420650",
"code": "E417001",
"name": "General Inpatient",
"service_type": "General Medicine",
"started_at": "2025-03-17T09:35:00.000+07:00",
"ended_at": "2025-03-17T10:15:00.000+07:00",
"encountered_by": "Dr. Chhun Sovannarith",
"title": "Doctor",
"created_at": "2025-03-17T09:35:00.000+07:00",
"updated_at": "2025-03-17T10:15:00.000+07:00"
}
],
"inpatients": [
{
"visit_code": "V420650",
"code": "E417002",
"name": "General Inpatient",
"service_type": "Internal Medicine",
"started_at": "2025-03-20T14:00:00.000+07:00",
"ended_at": "2025-03-23T10:00:00.000+07:00",
"encountered_by": "Dr. Chhun Sovannarith",
"title": "Doctor",
"created_at": "2025-03-17T09:35:00.000+07:00",
"updated_at": "2025-03-17T10:15:00.000+07:00"
}
],
"emergencies": [
{
"visit_code": "V420650",
"code": "E417003",
"name": "Emergency",
"service_type_name": "Emergency Medicine",
"started_at": "2025-03-17T15:30:00.000+07:00",
"ended_at": "2025-03-17T17:45:00.000+07:00",
"encountered_by": "Dr. Hor Mony",
"title": "Doctor",
"created_at": "2025-03-17T09:35:00.000+07:00",
"updated_at": "2025-03-17T10:15:00.000+07:00"
}
],
"surgeries": [
{
"visit_code": "V420650",
"parent_code": "E417001",
"code": "E417004",
"theater_name": "Operating Theater 2",
"service_type": "Laparoscopic Cholecystectomy",
"started_at": "2025-04-01T08:30:00.000+07:00",
"ended_at": "2025-04-01T10:15:00.000+07:00",
"reason": "Symptomatic gallstones with recurrent biliary colic",
"anesthesia_type": "General Endotracheal",
"procedure_notes": "Patient positioned supine. Pneumoperitoneum established with Veress needle. Four ports were placed. Gallbladder dissected from liver bed with hook cautery. Cystic duct and artery identified, clipped and divided. Gallbladder removed through umbilical port. Hemostasis confirmed. No bile leak. Ports removed under direct visualization. Wounds closed with 3-0 Vicryl and 4-0 Monocryl. Patient tolerated procedure well.",
"complications": [
"Mild bleeding from liver bed, controlled with electrocautery"
],
"specimens": [
"Gallbladder with multiple stones",
"Cystic fluid sample"
],
"blood_loss": "5cl",
"surgeon_name": "Dr. Sok Vichet",
"anesthetist_name": "Dr. Meas Sokunthea",
"assistant_names": [
"Dr. Chhan Rathana",
"Nurse Van Bopha"
],
"created_at": "2025-04-01T08:30:00.000+07:00",
"updated_at": "2025-04-01T10:20:00.000+07:00"
}
],
"progress_notes": [
{
"visit_code": "V420650",
"parent_code": "E417001",
"code": "E317001",
"started_at": "2025-03-17T16:00:00.000+07:00",
"ended_at": "2025-03-17T16:15:00.000+07:00",
"encountered_by": "Dr. Chhun Sovannarith",
"title": "Doctor",
"created_at": "2025-03-17T09:35:00.000+07:00",
"updated_at": "2025-03-17T10:15:00.000+07:00"
}
],
"soaps": [
{
"encounter_code": " E417002",
"subjective": "Patient reports fever has decreased after first dose of medication. Still experiencing mild headache and fatigue. No chills since this morning. Able to tolerate oral intake well.",
"objective": "Temperature 37.8°C (down from 38.7°C). Heart rate 85/min. Blood pressure 125/80 mmHg. Skin less jaundiced. Abdomen remains soft with mild tenderness in RUQ.",
"assessment": "Uncomplicated malaria showing initial response to treatment. Fever trending down. No signs of complications.",
"plan": "Continue artemether-lumefantrine as prescribed. Encourage oral hydration. Follow-up in clinic in 3 days. Return sooner if symptoms worsen or unable to tolerate medication.",
"evaluation": null
}
],
"laboratories": [
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"request_code": "EL23222",
"requested_at": "2025-03-17T10:30:00.000+07:00",
"requested_by": "Dr. Chhun Sovannarith",
"title": "Doctor",
"collected_at": "2025-03-17T10:30:00.000+07:00",
"collected_by": "Dr. Chhun Sovannarith",
"results": [
{
"name": "Malaria Blood Smear",
"category": "Parasitology",
"value": "Positive for P. falciparum",
"value_type": "string",
"value_unit": null,
"reference_range": "Negative",
"interpretation": "Positive",
"verified_at": "2025-03-17T10:50:00.000+07:00",
"verified_by": "Dr. Meas Chenda",
"recorded_at": "2025-03-17T10:52:00.000+07:00",
"recorded_by": "Meas Chandaravuth"
},
{
"name": "Parasitemia",
"category": "Parasitology",
"value": 2.5,
"value_type": "float",
"value_unit": "%",
"reference_range": "0",
"interpretation": "High",
"verified_at": "2025-03-17T10:50:00.000+07:00",
"verified_by": "Dr. Meas Chenda",
"recorded_at": "2025-03-17T10:52:00.000+07:00",
"recorded_by": "Meas Chandaravuth"
},
{
"name": "Hemoglobin",
"category": "Hematology",
"value": 11.2,
"value_type": "float",
"value_unit": "g/dL",
"reference_range": "13.5-17.5",
"interpretation": "Low",
"verified_at": "2025-03-17T10:50:00.000+07:00",
"verified_by": "Dr. Meas Chenda",
"recorded_at": "2025-03-17T10:52:00.000+07:00",
"recorded_by": "Meas Chandaravuth"
}
]
}
],
"imageries": [
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E417002",
"request_code": "EL23222",
"requested_at": "2025-03-17T11:30:00.000+07:00",
"requested_by": "Dr. Chhun Sovannarith",
"title": "title",
"collected_at": "2025-03-17T10:30:00.000+07:00",
"collected_by": "Dr. Chhun Sovannarith",
"results": [
{
"name": "Brain Scan",
"category": "CT Scan",
"images": [
"img.com/result2.jpg"
],
"result": "string",
"conclusion": null,
"verified_at": "2025-03-17T10:50:00.000+07:00",
"verified_by": "Dr. Meas Chenda",
"recorded_at": "2025-03-17T10:52:00.000+07:00",
"recorded_by": "Meas Chandaravuth"
}
]
},
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E317001",
"request_code": "EL23222",
"requested_at": "2025-03-17T11:35:00.000+07:00",
"requested_by": "Dr. Chhun Sovannarith",
"tilte": "Doctor",
"results": [
{
"name": "Adomen Ultrasound",
"category": "Ultrasound",
"images": [
"img.com/result1.jpg"
],
"result": "string",
"conclusion": null,
"verified_at": "2025-03-17T10:50:00.000+07:00",
"verified_by": "Dr. Meas Chenda",
"recorded_at": "2025-03-17T10:52:00.000+07:00",
"recorded_by": "Meas Chandaravuth"
}
]
}
],
"diagnosis": [
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E317001",
"diagnosis_type_name": "Primary",
"diagnosis_code": "B50",
"diagnosis_name": "Plasmodium falciparum malaria",
"diagnosis_description": "Plasmodium falciparum malaria with cerebral complications",
"diagnosed_at": "2025-03-17T10:05:00.000+07:00",
"diagnosed_by": "Dr. Chhun Sovannarith",
"title": "Doctor"
}
],
"prescriptions": [
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E317001",
"code": "RX20250317001",
"prescribed_at": "2025-03-17T10:10:00.000+07:00",
"prescribed_by": "Dr. Chhun Sovannarith",
"title": "Doctor",
"medications": [
{
"code": "MED001",
"medicine_name": "Artemether-Lumefantrine",
"strength": "20/120mg",
"form": "Tablet",
"method": "Oral",
"unit": "Tablet",
"morning": 4,
"afternoon": 0,
"evening": 4,
"night": 0,
"days": 3,
"interval": null,
"note": "Take with food. Complete full course even if feeling better."
},
{
"code": "MED002",
"medicine_name": "Paracetamol",
"strength": "500mg",
"form": "Tablet",
"method": "Oral",
"unit": "Tablet",
"morning": null,
"afternoon": null,
"evening": null,
"night": null,
"days": 3,
"interval": "8 hours",
"note": "Take as needed for fever or pain."
}
]
}
],
"referrals": {
"referred_from": null,
"referred_to": {
"code": "REF20250317001",
"letter_number": "HCPP/REF/2025/317",
"transportation": "Ambulance",
"reason": "Severe malaria with signs of organ dysfunction requiring ICU care",
"has_called": true,
"caretaker_name": "Sok Channary",
"caretaker_phone": "012345678",
"referred_by": "Dr. Chhun Sovannarith",
"referred_by_phone": "0987654321",
"referred_at": "2025-03-17T11:30:00.000+07:00",
"received_by": "0712345678",
"received_at": "2025-03-17T12:15:00.000+07:00",
"medications": "Artemether-Lumefantrine 20/120mg (1 dose given at 10:15), IV Artesunate 120mg initiated at 11:00"
}
},
"invoices": [
{
"patient_code": "P25003877",
"visit_code": "V420650",
"encounter_code": "E317001",
"code": "INV20250317001",
"payment_type": "HEF",
"invoice_date": "2025-03-17T11:00:00.000+07:00",
"total": 120000,
"created_at": "2025-03-17T11:00:00.000+07:00",
"updated_at": "2025-03-17T11:00:00.000+07:00",
"cashier": "Sok Kunthea",
"services": [
{
"invoice_code": "INV20250317001",
"service_code": "SRV001",
"service_name": "Blood Smear for Malaria",
"service_category": "Lab Test",
"price": 15000,
"payment": 0,
"paid": false,
"discount_type": null,
"discount": 0
}
],
"medications": [
{
"invoice_code": "INV20250317001",
"medicine_code": "MED001",
"medicine_name": "Artemether-Lumefantrine 20/120mg",
"quantity": 24,
"price": 1500,
"payment": 0,
"paid": false,
"discount_type": null,
"discount": 0
},
{
"invoice_code": "INV20250317001",
"medicine_code": "MED002",
"medicine_name": "Paracetamol 500mg",
"quantity": 9,
"price": 1000,
"payment": 0,
"paid": false,
"discount_type": null,
"discount": 0
}
]
}
]
}
]
}