mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 23:33:29 +00:00
feat(doctor-report): add a surgical history section
New structured leaf SURGICAL_HISTORY in the history group and in the standard template: every procedure that took place, oldest first, with its date, what was done (the visit's reason), the body site with its side and the outcome. Lifetime reference data like the immunization record, so it ignores the report window. The PDF prints it as a table and the clinician share page renders it; saved selections do not widen. The FHIR bundle carries no Procedure resource, on the same terms as visits: no REST route or capability entry exists for it. Refs #1025
This commit is contained in:
1 parent
ad0d50fa28
commit
0b28498d83
16 files changed
+428
-16
No files matched your search
@@ -192,8 +192,8 @@ describe("<HealthRecordExportPanel> — the first run", () => {
|
||||
expect(groupChip(html, "body")).toBe("0/12");
|
||||
expect(groupChip(html, "labs")).toBe("0/1");
|
||||
expect(groupChip(html, "medications")).toBe("0/4");
|
||||
// ALLERGIES, ILLNESS_EPISODES and now VISITS.
|
||||
expect(groupChip(html, "history")).toBe("0/4");
|
||||
// ALLERGIES, ILLNESS_EPISODES, VISITS, SURGICAL_HISTORY, IMMUNIZATIONS.
|
||||
expect(groupChip(html, "history")).toBe("0/5");
|
||||
expect(groupChip(html, "cardio")).toBe("0/14");
|
||||
expect(groupChip(html, "activity")).toBe("0/8");
|
||||
expect(groupChip(html, "sleepRecovery")).toBe("0/16");
|
||||
|
||||
Reference in new issue
Block a user