Skip to content

Specific Encounters

Inpatient Admission

Inpatient Admission represents a patient's hospital stay where at least one overnight stay is required for treatment, observation, or procedures.

Data Model

FieldTypeDescription
visit_codestringReference to visit the unique code
codestringUnique identifier for the operation
symptomsarrayPrimary symptom or problem reported by the doctor(nullable)
wardstringName of the ward or clinic, or sub-clinic
service_typestringName of the service or purpose of inpatient (nullable)
started_atdatetimeDate and time operation started
ended_atdatetimeDate and time the operation ended
encountered_bystringName of the healthcare provider
titlestringPosition, whether doctor or nurse, or else
created_atdatetimeRecord creation timestamp
updated_atdatetimeRecord the last update timestamp

Example

json
{  
  "inpatients": [  
    {  
      "visit_code": "V420650",  
      "code": "E317001",
      "symptoms": ["fever","red skin"],  
      "ward": "General IPD",  
      "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-20T14:00:00.000+07:00",  
      "updated_at": "2025-03-23T10:00:00.000+07:00"  
    }  
  ]  
}

Outpatient

Outpatient represents a patient visit for treatment or consultation without requiring overnight hospital stay.

Data Model

FieldTypeDescription
visit_codestringReference to visit the unique code
codestringUnique identifier for the operation
symptomsarrayPrimary symptom or problem reported by the doctor(nullable)
wardstringName of the ward or clinic, or sub-clinic
service_typestringName of the service or purpose of outpatient (nullable)
started_atdatetimeDate and time the operation started
ended_atdatetimeDate and time the operation ended
encountered_bystringName of the healthcare provider
titlestringPosition, whether doctor or nurse, or else
created_atdatetimeRecord creation timestamp
updated_atdatetimeRecord the last update timestamp

Example

json
{  
  "outpatients": [  
    {  
      "visit_code": "V420650",  
      "code": "E317000",
      "symptoms": ["fever","red skin"],  
      "ward": "General Outpatient",  
      "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"  
    }  
  ]  
}

Emergency

Emergency represents a patient visit requiring immediate attention for acute or potentially life-threatening conditions.

Data Model

FieldTypeDescription
visit_codestringReference to visit the unique code
codestringUnique identifier for the operation
wardstringName of the ward or clinic, or sub-clinic
service_typestringName of the service type or purpose (nullable)
started_atdatetimeDate and time the encounter started
ended_atdatetimeDate and time the encounter ended
emergency_notetextDetailed notes about the emergency (nullable)
encountered_bystringName of the healthcare provider
titlestringPosition, whether doctor or nurse, or else
created_atdatetimeRecord creation timestamp
updated_atdatetimeRecord the last update timestamp

Example

json
{  
  "emergencies": [  
    {  
      "visit_code": "V420650",  
      "code": "E317001",
      "ward": "Emergency",  
      "service_type": "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. Chhun Sovannarith",
      "title": "Doctor",  
      "emergency_notes": "Patient brought by family after motorcycle accident. GCS 14/15. No loss of consciousness. Skull X-ray negative for fracture. CT not available. Multiple abrasions on right side. No apparent fractures. Wound cleaning and dressing performed. Tetanus prophylaxis given.",  
      "created_at": "2025-03-17T15:30:00.000+07:00",  
      "updated_at": "2025-03-17T17:45:00.000+07:00"  
    }  
  ]  
}

Surgery

Surgery refers to medical procedures performed on a patient in an operating theatre to treat, repair, or diagnose a condition, usually under anesthesia.

Data Model

FieldTypeDescription
visit_codestringReference to visit the unique code
encounter_codestringUnique identifier for the encounter result in operation
codestringUnique identifier for the operation
theater_namestringName of the operating theater
service_typestringName of the operation
started_atdatetimeDate and time the operation started
ended_atdatetimeDate and time the operation ended
reasonstringReason for operating
anesthesia_typestringType of anesthesia used
procedure_notestextDetailed notes about the procedure
complicationsarray of stringsAny complications during the operation
specimensarray of stringsSpecimens collected during the operation
blood_lossstringAmount of blood loss during surgery (including unit)
surgeon_namestringName of the surgeon
anesthetist_namestringName of the anesthetist
assistant_namesarray of stringsNames of assistants
created_atdatetimeRecord creation timestamp
updated_atdatetimeRecord the last update timestamp

Example

json
{  
  "surgeries": [{  
    "visit_code": "V420650",  
    "encounter_code": "E401001",  
    "code": "SUR20250401001",  
    "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

Progress Note documents a patient's ongoing assessment, treatment, and response during their care. It often uses the SOAP format.

Data Model

FieldTypeDescription
visit_codestringReference to visit the unique code
encounter_codestringReference to the parent encounter code
codestringUnique identifier for the daily progress note
started_atdatetimeDate and time assessment started
ended_atdatetimeDate and time assessment ended
encountered_bystringName of the healthcare provider
titlestringPosition, whether doctor or nurse, or else
created_atdatetimeRecord creation timestamp
updated_atdatetimeRecord the last update timestamp

Example

json
{  
  "progress_notes": [  
    {  
      "visit_code": "VS20250317001",  
      "encounter_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-20T14:00:00.000+07:00",  
      "updated_at": "2025-03-23T10:00:00.000+07:00"  
    }  
  ]  
}