Inpatient Baby Admission - hmislk/hmis GitHub Wiki
Inpatient — Baby Admission
Page: /inward/inward_admission_child.xhtml
Reached from: Inpatient Dashboard of the mother → Add Baby Admission button (under the Admission panel).
Privilege: InwardAdmissions (the mother's admission must exist first).
This page creates a separate BHT for a newborn that is linked to the mother's admission. Each baby has its own admission record, room assignment, charges, and final bill — but is also reachable from the mother's profile, and vice versa.
When to use
Open this page only after the mother has been admitted. The Inpatient Dashboard's "Add Baby Admission" button is only visible when:
- The current admission is not itself a baby admission (i.e., its
parentEncounteris null). - The mother is not yet discharged (
discharged = false).
Fields
The form looks like a stripped-down version of the standard admit page:
| Field | Notes |
|---|---|
| Admission Type | Pick the admission type appropriate for newborns (e.g., "Baby Admission"). Maintained in Admin — Inpatient Admission Types. |
| BHT | Auto-generated for the baby; editable only if the global config key allows it. |
| Room No | Defaults to the mother's room when applicable; can be changed to a separate baby cot/room. |
| Comments | Free text. |
| Baby's demographics | A new Patient record is created. Date of birth defaults to today; sex is required. |
| Guardian | Inherits the mother as the guardian unless overridden. |
| Payment Method | Same picker as the mother's admit page; can match or differ from the mother. |
Note on birth time — capturing the exact birth time is a planned improvement; the current page records the admission date/time, which may not be the same as the time of birth. See issue #19297.
After admission
- The baby's BHT is now an independent admission. Open its own Inpatient Dashboard to add charges, ward medications, or do a room change.
- The mother's dashboard shows a "Baby Admissions" panel listing each linked baby — clicking opens the baby's dashboard directly.
- The baby's dashboard shows a "Mother's Inpatient Profile" button at the top of the Admission panel.
The two admissions are otherwise independent: each has its own interim and final bill, its own pharmacy issues, and its own room discharge timing.