PH eReferral Implementation Guide
0.1.0 - ci-build
PH eReferral Implementation Guide, published by SILab CoP IG Accelerator (eReferral). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jldalisay95/ph-ereferral-jld/ and changes regularly. See the Directory of published versions
This page gives implementers and reviewers a minimum, repeatable path for testing the draft PH eReferral IG v0.1 content from a clean checkout. It separates the testable minimum path from background reference material so connectathon participants can tell the difference between an IG defect, a fixture defect, and a missing instruction.
| Item | v0.1 expectation |
|---|---|
| Purpose | Validate the minimum PH eReferral workflow using the IG profiles and examples. |
| Intended users | IG authors, implementers, vendors, validators, and connectathon testers. |
| FHIR version | FHIR R4, version 4.0.1. |
| IG version | 0.1.0, release label ci-build. |
| Required dependency | PH Core package fhir.ph.core as configured in sushi-config.yaml. |
| Current continuous build | PH eReferral continuous build. Treat this as a CI build, not a tagged release. |
| Release tag | No versioned release tag is available yet. Use the repository tags page once issue #73 is resolved. |
Minimum implementer setup:
Clone the repository:
git clone https://github.com/ph-ereferral-organization/ph-ereferral.git
cd ph-ereferral
Compile FSH only:
sushi .
Expected SUSHI result:
fsh-generated/resources/ImplementationGuide-fhir.ph.ereferral.json is generated.0 Errors.fhir.ph.core#dev is not cached locally, SUSHI may fall back to the locally available PH Core package. Record that package state in test evidence.Run the full IG build on Windows:
_genonce.bat
Run the full IG build on macOS or Linux:
./_genonce.sh
Run the Publisher directly in offline terminology mode:
java -jar input-cache/publisher.jar -ig . -tx n/a
Expected Publisher result:
output/index.html and output/qa.html are produced.output/qa.html is reviewed for errors, warnings, broken links, and terminology limitations before claiming release readiness.Known build limitations:
fhir.ph.core#dev, record the actual package used in the evidence table.Use this as the connectathon smoke test from a clean checkout with the listed fixtures. The expected result is a traceable referral request that moves from creation, to receiving-facility response, to closure.
| Step | Action | Fixture or artifact | Expected result |
|---|---|---|---|
| 1 | Create referral | Example eReferral ServiceRequest | A referral request exists with status = active, intent = order, an urgent priority, a patient subject, a requester, a receiving facility, clinical reason, and supporting observations. |
| 2 | Send referral | Example eReferral Task - Requested State | A workflow Task exists with status = requested, focused on the ServiceRequest. The requester is populated and the receiving owner is not yet assigned. |
| 3 | Receive referral | Example eReferral Task - Accepted State | The receiving facility has accepted ownership of the referral Task and owner is populated. |
| 4 | Respond with receiving-facility outcome | Example eReferral Task - Accepted State | For the current v0.1 minimum fixture, the positive receiving response is represented by Task.status = accepted. Richer response-state semantics are pending review in issue #47 and PR #84. |
| 5 | Close referral | Example eReferral Task - Completed State and Example eReferral Encounter | The Task is completed, completion output is present, and the receiving encounter documents the completed referral encounter. |
Pass criteria for the by-hand test:
Fail criteria:
Required fixtures for the minimum test:
| Fixture | Link | Test role |
|---|---|---|
| Referral request | Example eReferral ServiceRequest | Primary referral order under test. |
| Patient | Example eReferral Patient | Referral subject. |
| Referring practitioner | Example Referring Practitioner | Clinician creating the referral. |
| Referring practitioner role | Example Referring Practitioner Role | Links practitioner to referring facility. |
| Referring facility | Example Referring Facility | Initiating facility. |
| Receiving facility | Example Receiving Hospital | Intended receiving facility. |
| Clinical condition | Example Condition - Chest Pain | Referral reason evidence. |
| Blood pressure observation | Example Blood Pressure Observation | Supporting clinical information. |
| ECG observation | Example ECG Observation | Supporting clinical information. |
| Requested Task | Example eReferral Task - Requested State | Sent referral workflow state. |
| Accepted Task | Example eReferral Task - Accepted State | Receiving-facility response state currently available in v0.1 fixtures. |
| Completed Task | Example eReferral Task - Completed State | Closed referral state. |
| Receiving encounter | Example eReferral Encounter | Completed referral encounter context. |
Optional fixtures:
| Fixture | Link | Optional use |
|---|---|---|
| Provenance signature | Example eReferral Provenance with Signature | Demonstrates signature attestation. |
| Provenance update | Example eReferral Provenance for Status Update | Demonstrates status update audit trail. |
| Medication administration | Example Chronic Medication Administration | Clinical summary support. |
| Antibiotic administration | Example Antibiotic Administration | Treatment-given support. |
| Immunization | ERefImmunization Example - Routine Immunization | Immunization support. |
Available checks:
sushi . checks FSH syntax, generates JSON resources, and catches duplicate instance names._genonce.bat or ./_genonce.sh runs the project build path.java -jar input-cache/publisher.jar -ig . -tx n/a runs an offline Publisher build that can be used when terminology server access is slow or unavailable..github/workflows/validate-docs.yml.Not yet available:
For v0.1, passing the automated build does not replace the by-hand test. It only proves that the IG artifacts can be generated and validated by the available build tooling.
Record one row per connectathon run, release candidate, or reviewer verification.
| Evidence field | Value to record |
|---|---|
| What was tested | Minimum create, send, receive, respond, and close referral path using the fixtures listed above. |
| Who tested it | Tester name, organization, and role. |
| Date tested | Calendar date in YYYY-MM-DD format. |
| Build or commit tested | Release tag, branch build URL, or commit SHA. |
| Build result | SUSHI result, Publisher result, and QA summary. |
| By-hand test result | Pass, fail, or pass with limitations. |
| Known unresolved issues | Links to unresolved issues that affect interpretation of the result. |
Current v0.1 readiness status:
Use these linked pages when preparing or reviewing a v0.1 release candidate:
Release-readiness checklist for v0.1:
0 Errors.output/qa.html is reviewed.