Inpatient EHR Clinical Data Investigations Images Diagnosis Card - hmislk/hmis GitHub Wiki
Inpatient EHR — Clinical Data (Investigations / Images / Diagnosis Card)
The clinical data section of the inpatient EHR provides access to investigation results, clinical images, the drug chart, and the diagnosis card — all within the context of the current BHT.
Entry points: Admission Profile → Clinical Data panel → Investigations, Images, Drug Chart, Diagnosis Card
XHTML:
/inward/clinical_data_investigations.xhtml— investigation results/inward/clinical_data_images.xhtml— clinical images/inward/clinical_data_diagnosis_card.xhtml— diagnosis card
Controller:InpatientClinicalDataController
Investigations
The investigations view shows all lab investigations ordered for this BHT as PatientInvestigation records. Each record shows:
- Investigation name
- Ordered date
- Result values (when reported)
- Reference ranges
- Interpretation (normal / abnormal)
Results are read from the LIMS module and displayed inline on the inpatient dashboard without requiring staff to switch to the lab module.
Clinical Images
The images page allows clinical photographs and other image files to be attached to the admission record. Images are stored as ClinicalFindingValue records with clinicalFindingValueType = PatientImage and are rendered using PrimeFaces p:graphicImage. Uploaded images can be:
- Captured via webcam (PrimeFaces
p:imageCropper/ camera capture) - Uploaded from disk
Each image record can carry a description note.
Medications
There is no drug-chart page in this group. Medications for an admission are viewed through the ward medication screens instead:
- Ward medications (what was prescribed) — see Inpatient EHR — Ward Medications
- Pharmacy issues (what was actually dispensed) — see Inpatient Pharmaceutical Management, and the Pharmacy Issue Summary report on the Inpatient Dashboard for one admission's issues in one list
Diagnosis Card
The diagnosis card (clinical_data_diagnosis_card.xhtml) is a printable summary document for the inpatient episode. It is generated from a configurable Document Template and supports dynamic placeholders:
| Placeholder | Content |
|---|---|
{name} |
Patient name with title |
{age} |
Age |
{sex} |
Gender |
{address} |
Address |
{bht} |
BHT number |
{doa} |
Date of admission |
{dod} |
Date of discharge |
{dx} |
Current diagnoses (structured) |
{past-dx} |
Past diagnoses from patient history |
{rx} |
Inpatient ward medications |
{drx} |
Discharge medications |
{ix} |
Investigations |
{allergies} |
Recorded allergies |
{height}, {weight}, {bmi} |
Vitals |
{bp}, {pr}, {rr}, {sat} |
Vital sign readings |
Templates are created and managed by administrators. See Inpatient — Discharge Summary and Diagnosis Card for the full discharge summary workflow.
Related Articles
- Inpatient EHR — Overview — all EHR sections
- Inpatient — Discharge Summary and Diagnosis Card — printing the summary
- Inpatient EHR — Ward Medications — ward prescriptions
- Inpatient Admission Profile (Dashboard) — entry point