[FR-U] Align Medication examples (#325) - #332
Conversation
|
@niccoreyes This PR addresses the medication-specific scope in #325. It removes the empty I kept the PR narrow and did not remove the other embedded transaction examples or their narratives because #330 appears to cover the final transaction bundle cleanup after the sub-issues are complete. |
|
This PR has been on my tab for review, please wait as I just confirm a few things in the CI/CD |
33d0ded to
f8111ad
Compare
johnscarter
left a comment
There was a problem hiding this comment.
see comment inline from Doc Thomas
…C#305) Add 17 new FSH example files for a unified Acute Coronary Syndrome clinical case at Philippine General Hospital, addressing issue UPM-NTHC#305. Clinical Scenario: - Patient: Juan Dela Cruz, 45M, Filipino, with T2DM history - Presenting complaint: Crushing substernal chest pain (8/10) - Diagnosis: Anterior STEMI (ST-elevation V1-V4, troponin 2.5 ng/mL) - Treatment: Emergency PCI with drug-eluting stent to LAD - Disposition: Transferred to CCU New Resources Created: - Patient: patient-acs-example (Juan Dela Cruz) - Organization: organization-pgh-example (Philippine General Hospital) - Location: location-ed-example (PGH ED Bay 3) - Practitioner: practitioner-ed-example (Dr. Maria Clara Santos) - PractitionerRole: practitionerrole-ed-example (ED Attending) - Conditions: condition-acs-example, condition-t2dm-example - Encounter: encounter-ed-example (ED visit, 08:30-10:30) - Observations: 13 total (7 vital signs + 6 labs/diagnostics) - Vitals: BP, HR, RR, SpO2, Temp, Pain - Labs: Troponin, Glucose, HbA1c, Total Cholesterol, LDL, ECG - Procedure: procedure-pci-example (PCI with stent) - ServiceRequest: servicerequest-pci-example (Cardiology consult) - MedicationRequests: 3 (Aspirin 325mg, Clopidogrel 600mg, Metoprolol 25mg) - AllergyIntolerance: allergy-penicillin-example (high criticality) - RelatedPerson: relatedperson-mother-example (Maria Cruz Santos) - Composition: composition-ed-note-example (ED clinical note) - Bundle: bundle-acs-case-example (Transaction bundle, 30 entries) Also updated aliases.fsh to add missing terminology aliases: - allergyintolerance-verification - v3-ParticipationType - immunization-funding-source - admit-source - discharge-disposition - diagnosis-role Alignment Rules Followed (per UPM-NTHC#305): - Single patient identity across all resources (Juan Dela Cruz) - Single practitioner (Dr. Maria Clara Santos) and organization (PGH) - Consistent PSGC-coded addresses for all Philippine locations - No hardcoded text.div narratives (publisher-generated) - All resources use PH Core profiles - All examples compile with SUSHI (0 errors) Closes UPM-NTHC#305 Refs UPM-NTHC#306, UPM-NTHC#307, UPM-NTHC#308, UPM-NTHC#309, UPM-NTHC#310, UPM-NTHC#311, UPM-NTHC#312, UPM-NTHC#313, UPM-NTHC#314, UPM-NTHC#315, UPM-NTHC#316, UPM-NTHC#317, UPM-NTHC#318, UPM-NTHC#319, UPM-NTHC#320, UPM-NTHC#321, UPM-NTHC#322, UPM-NTHC#323, UPM-NTHC#324, UPM-NTHC#325, UPM-NTHC#326, UPM-NTHC#327, UPM-NTHC#328, UPM-NTHC#329, UPM-NTHC#330, UPM-NTHC#331, UPM-NTHC#332, UPM-NTHC#333, UPM-NTHC#334, UPM-NTHC#335, UPM-NTHC#336, UPM-NTHC#337, UPM-NTHC#338, UPM-NTHC#339, UPM-NTHC#340, UPM-NTHC#341, UPM-NTHC#342, UPM-NTHC#343, UPM-NTHC#344
…hub.com/jldalisay95/ph-core-jld into issue-325-medication-examples-alignment
…n-examples-alignment # Conflicts: # input/fsh/examples/transaction-example.fsh
|
@johnscarter The inline feedback from @niccoreyes has been addressed. The branch is synchronized with the latest main, the merge conflict is resolved, and the full local IG build completed with 0 errors and 0 broken links. The updated changes are ready for review. |
…347) * feat(examples): Add comprehensive ACS clinical case examples (#305) Add 17 new FSH example files for a unified Acute Coronary Syndrome clinical case at Philippine General Hospital, addressing issue #305. Clinical Scenario: - Patient: Juan Dela Cruz, 45M, Filipino, with T2DM history - Presenting complaint: Crushing substernal chest pain (8/10) - Diagnosis: Anterior STEMI (ST-elevation V1-V4, troponin 2.5 ng/mL) - Treatment: Emergency PCI with drug-eluting stent to LAD - Disposition: Transferred to CCU New Resources Created: - Patient: patient-acs-example (Juan Dela Cruz) - Organization: organization-pgh-example (Philippine General Hospital) - Location: location-ed-example (PGH ED Bay 3) - Practitioner: practitioner-ed-example (Dr. Maria Clara Santos) - PractitionerRole: practitionerrole-ed-example (ED Attending) - Conditions: condition-acs-example, condition-t2dm-example - Encounter: encounter-ed-example (ED visit, 08:30-10:30) - Observations: 13 total (7 vital signs + 6 labs/diagnostics) - Vitals: BP, HR, RR, SpO2, Temp, Pain - Labs: Troponin, Glucose, HbA1c, Total Cholesterol, LDL, ECG - Procedure: procedure-pci-example (PCI with stent) - ServiceRequest: servicerequest-pci-example (Cardiology consult) - MedicationRequests: 3 (Aspirin 325mg, Clopidogrel 600mg, Metoprolol 25mg) - AllergyIntolerance: allergy-penicillin-example (high criticality) - RelatedPerson: relatedperson-mother-example (Maria Cruz Santos) - Composition: composition-ed-note-example (ED clinical note) - Bundle: bundle-acs-case-example (Transaction bundle, 30 entries) Also updated aliases.fsh to add missing terminology aliases: - allergyintolerance-verification - v3-ParticipationType - immunization-funding-source - admit-source - discharge-disposition - diagnosis-role Alignment Rules Followed (per #305): - Single patient identity across all resources (Juan Dela Cruz) - Single practitioner (Dr. Maria Clara Santos) and organization (PGH) - Consistent PSGC-coded addresses for all Philippine locations - No hardcoded text.div narratives (publisher-generated) - All resources use PH Core profiles - All examples compile with SUSHI (0 errors) Closes #305 Refs #306, #307, #308, #309, #310, #311, #312, #313, #314, #315, #316, #317, #318, #319, #320, #321, #322, #323, #324, #325, #326, #327, #328, #329, #330, #331, #332, #333, #334, #335, #336, #337, #338, #339, #340, #341, #342, #343, #344 * feat(examples): Simplify ACS clinical case to core PH Core resources (#305) Remove 6 non-core resources to keep the case lean and focused: - Location, Procedure, ServiceRequest, MedicationRequest - AllergyIntolerance, RelatedPerson Keep 9 core resources that exercise PH Core uniqueness: - Patient, Encounter, Organization, Condition, Observation - Practitioner, PractitionerRole, Composition, Bundle Also updated: - Composition: removed sections for medications, allergies, procedures - Bundle: reduced from 30 to 21 entries (core resources only) - Encounter: removed location references, simplified hospitalization - Aliases: removed unused terminology aliases Closes #305 * feat: Add ACS ED Triage sample case with REST API tutorial (#305) - Create comprehensive sample-case.md tutorial page with FHIR REST API basics (GET, POST, PUT, PATCH, DELETE, Bundle transactions) - Fix FSH example files for clean IG Publisher validation: - Patient: religion display, address, remove contact - Observation: combine BP components, fix LOINC codes - Condition: SNOMED display - Encounter: remove dischargeDisposition - PractitionerRole: remove dangling location reference - Composition: LOINC displays - Labs: glucose/LDL codes - Bundle: updated for combined BP - Add 'Sample Case' menu item in sushi-config.yaml - Style tables with CSS (borders, alternating rows, hover) - All examples validated against tx.fhir.org - Tested against https://cdr.fhirlab.net/fhir Fixes #305
Summary
Aligns the PH Core Medication examples for #325 by using the canonical standalone Medication example and removing hardcoded source narratives.
Related Issue
Closes #325
Parent: #305
Type of Work
Changes Made
example-medicationinstance fromtransaction-example.fsh.Medication/medication-single-example.text.statusandtext.divfrommedication-single-example.medication-single-exampleas aPHCoreMedicationexample.PHFDACPRCS#DRP-10144(Twinact) and the textTwinact 40mg/5mg tablet.mainand resolved thetransaction-example.fshmerge conflict by retaining the standalone Observation and Medication references.Validation / Testing
sushi .with 0 errors)Validation results:
-tx n/a: 0 errors, 141 warnings, 0 broken links.Medication/medication-single-example.git diff --checkpassed.The Windows Jekyll process exceeded the Publisher's reporting timeout shortly after completing, but the Publisher proceeded successfully, generated the final package and QA report, and returned exit code 0.
Reviewer Notes
The branch is synchronized with upstream
main, and the prior GitHub merge conflict is resolved. The remaining PR diff against currentmainis limited to removing the Medication narrative and the empty inline Medication shell.Preview / Screenshots
Fork branch preview:
https://build.fhir.org/ig/jldalisay95/ph-core-jld/tree/issue-325-medication-examples-alignment