Feature #683
openConsultation screen needs a “Pediatrics” tab when Department/Specialty = Pediatrics
100%
Description
Description: The consultation screen already does this for Gynecology & Obstetrics — token OP3 (patient diya, consultation 74) shows an “Obstetric & Gynaecology” tab with gynaecological history, obstetric summary (GPLA), etc., because her visit was registered under that department. “Pediatrics” is already a selectable option in Department / Specialty at registration (/opd/register), but there is no equivalent specialty tab for it anywhere in the product — a Pediatrics patient gets only the generic Vitals / History / Problems tabs, with no place to record birth history, growth percentiles, immunization status, or developmental milestones.
Steps:
Go to Appointments → Walk-in registration (/opd/register).
Fill in patient details, Visit type = Walk-in.
Under Visit details, set Department / Specialty = Pediatrics.
Look at the Doctor field, then (assuming a doctor were assigned) imagine opening that patient’s consultation screen.
Older Result:
Selecting Department = Pediatrics immediately shows “No doctors available in this department” in the Doctor field — no doctor in this test instance is configured under Pediatrics, so a Pediatrics walk-in can’t currently be registered at all (Doctor is a required field, blocking submission). Related gap, same area, included here rather than as a separate report.
Even setting that aside: nothing in the consultation screen’s tab set is specific to Pediatrics today — compare to consultation 74, where Department = Gynecology & Obstetrics does render its own tab.
New Result:
Pediatrics has at least one doctor assigned, so it’s selectable end-to-end like any other department.
On the consultation screen, when Department/Specialty = Pediatrics, a “Pediatrics” tab appears next to Vitals/History/Problems (same placement/pattern as “Obstetric & Gynaecology” today), containing: Birth & perinatal history, Growth (WHO/CDC percentile chart + snapshot), Immunization record (UIP schedule, due/overdue status), Developmental milestones, and Feeding & nutrition history.
See the mockup HTML shared above (pediatrics-tab-mockup.html) for the layout — built to match the existing card/tab styling so it’s a drop-in, not a new UI pattern.


Files
JJ Updated by Jessin J 14 days ago
- File clipboard-202610301517-pbjur.png clipboard-202610301517-pbjur.png added
- File clipboard-202610301518-tpwnj.png clipboard-202610301518-tpwnj.png added
- Description updated (diff)
RH Updated by Roshni Harish. 3 days ago
- Project changed from 21 to NSS suggestions
AL Updated by Annet L. 1 day ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Resolved By set to Annet L.
Resolved on the test site (not for production yet: needs QA and the NSSH paediatrician's sign-off, owner ruling 5 Nov).
Repos / commits (all on dev): nuvita-emr 26620e8 (history and milestones slice), ebcbb6a (birth complications, current diet, food allergies; migration AddPediatricBirthComplicationsDietAndAllergies), 4a8ce6f (re-land); nuvita-opd 608e3171, 1309339f (re-land), 32cea5fa (tab as one card per topic, matching the approved mockup), 41b99b53 (milestones header says corrected age only when it is); nuvita-admin 2f7df146 (emr.immunizations permissions). Trailer commits added for 683 on opd, emr and admin.
What changed: Pediatrics consultation tab = Birth & perinatal history, Growth, Immunisation record (one row per visit, one Record vaccine action), Developmental milestones (four domain cards, full checklist behind Assess), Feeding & nutrition history, collapsed Dose calculator. Nothing repeated from the Vitals tab. A dose is never overdue before its due age.
Tests: EMR 88 pediatric/authorization/migration tests and the model matches its migrations; OPD portal 473 files / 5504 tests; type-check clean. The OPD API Triage tests pass except #808 (unrelated, Admin defaults file not on admin dev).
Deployed: test box. EMR migrations applied one tenant at a time on nssh.test, vvmc.test and nsshqa.test before EMR and OPD were deployed (releases 2026.11.13 and 2026.11.14). Nurse already has emr.immunizations create/read/update on all three tenants.
Verified on nssh.test, patient 203 (Irene Joseph): all five cards in order with real data, immunisation grouped by visit with the summary line, milestone domain cards, no vitals table repeated, collapsed dose calculator, milestones header without the false "corrected age".
Not verified: saving or recording anything (birth/feeding save, Record vaccine, milestones, Add measurement), the 'layout jumps after save' report, and the full EMR and OPD API suites. Milestone expected-by ages are approximations awaiting paediatrician confirmation. IPD and Diagnostics Pediatrics re-lands are not part of this.