Skip to content

Handle malformed FHIR extension URLs and improve local troubleshooting#235

Open
yuliumitre wants to merge 7 commits into
gad-7from
gad-7-yl
Open

Handle malformed FHIR extension URLs and improve local troubleshooting#235
yuliumitre wants to merge 7 commits into
gad-7from
gad-7-yl

Conversation

@yuliumitre

Copy link
Copy Markdown

This PR includes several fixes that should help other developers load and troubleshoot pseudoEHR data more reliably:

  1. Sanitizes incoming FHIR JSON responses by removing extension / modifierExtension entries with blank URLs before fhir_models parses them.
  2. Fixes ADI and $everything parsing failures caused by url: null extensions in external FHIR payloads.
  3. Improves sample data push reliability by using explicit Net::HTTP timeouts and SSL certificate store handling.
  4. Surfaces OperationOutcome diagnostics when QR-to-PFE conversion fails.
  5. Adds scripts/start_pseudo_ehr.sh to simplify local startup, including PostgreSQL startup and DB preparation.

@yuliumitre yuliumitre requested a review from pkmitre June 23, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant