Merged
Conversation
- Add FhirExpectoTests.fsx: Expecto test scaffolding for the FHIR bidirectional translation layer — 6 test suites covering FhirSystems constants, RouteMapping round-trips, PeriodUnitMapping round-trips, inferDoseType logic, and toFhirMedicationRequest / fromFhirMedicationRequest round-trips for all 11 scenarios defined in ImplementationPlan.fsx - Update CHANGELOG [Unreleased] with 24 March 2026 commits: FHIR implementation plan script (PR informedica#215), UI interactions improvements (PR informedica#216), fix select-all in treatment plan (PR informedica#217), Fantomas exclusions fix (PR informedica#218, informedica#219) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…og-24mar2026-3b81e2aba6289bec [Repo Assist] docs/scripts(fhir): add FHIR test scaffolding and update CHANGELOG
Contributor
Greptile SummaryThis PR adds a FHIR R4 integration prototype and test scaffolding as
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant App as Application
participant Script as ImplementationPlan.fsx
participant FHIR as Hl7.Fhir.R4
App->>Script: Internal MedicationOrder
Script->>Script: toFhirMedicationRequest()
Script->>FHIR: FhirMedicationRequest scenarios 6.1 to 6.6
FHIR-->>Script: FHIR R4 MedicationRequest resource
Script->>Script: fromFhirMedicationRequest()
Script-->>App: Internal MedicationOrder round-trip
note over Script: FhirExpectoTests.fsx validates round-trip fidelity
Reviews (1): Last reviewed commit: "chore: Merge remote-tracking branch 'ups..." | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several significant improvements and fixes across the FHIR integration scripts, client UI, and build tooling. The main highlights are the addition of a comprehensive FHIR R4 integration prototype with supporting tests, enhancements to the client UI's drug interaction feature, and various build system fixes related to script formatting.
FHIR Integration and Testing:
ImplementationPlan.fsx, a detailed FHIR R4 integration prototype. This script defines types (FhirScenario,FhirMedicationRequest), implements bidirectional translation functions, maps interface specification scenarios 6.1–6.6, and documents the integration path withHl7.Fhir.R4.FhirExpectoTests.fsx, providing test scaffolding for the FHIR translation scenarios, including round-trip translation and coding system checks.HL7.Fhir.R4NuGet package inload.fsxto enable FHIR R4 support in scripts.Client UI Improvements:
Build and Tooling Fixes:
.fsxscripts from Fantomas auto-formatting and corrected the glob pattern to ensure scripts are properly ignored during formatting.