Skip to content

Fix/fhir connection error handling#76

Merged
mechanik-daniel merged 5 commits intoOutburn-IL:mainfrom
mechanik-daniel:fix/fhir-connection-error-handling
Apr 26, 2026
Merged

Fix/fhir connection error handling#76
mechanik-daniel merged 5 commits intoOutburn-IL:mainfrom
mechanik-daniel:fix/fhir-connection-error-handling

Conversation

@mechanik-daniel
Copy link
Copy Markdown
Contributor

This pull request introduces improvements and bug fixes related to FHIR server switching and client resolution in the Fumifier engine. The main changes include enhanced error handling and reporting for FHIR server connections, improved client management, and updates to type definitions for better clarity and interoperability. Additionally, dependencies have been updated for compatibility.

FHIR Server Switching and Client Resolution:

  • The $useFhirServer function now throws a specific error (D3200) if a target is provided without a configured connection resolver, and wraps resolver failures in a new error (D3201) with detailed messages. This improves clarity and debuggability when switching FHIR servers. [1] [2] [3] [4]
  • The resolved FHIR client is now stored and reused for subsequent FHIR operations, ensuring consistent behavior after switching servers. [1] [2]

Type Definition and Documentation Updates:

  • All references to FhirStructureNavigator have been updated to FhirStructureNavigatorInterface in JSDoc typedefs and function signatures for improved type accuracy and compatibility. [1] [2] [3] [4] [5]

Dependency Updates:

  • Updated @outburn/structure-navigator dependency from ^1.9.4 to ^1.9.5 in both devDependencies and peerDependencies for compatibility. [1] [2]
  • Bumped package version from 2.2.0 to 2.2.1.

@mechanik-daniel mechanik-daniel merged commit 2c0fcc4 into Outburn-IL:main Apr 26, 2026
3 checks passed
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