-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow optional trusting of meta.profile (#29)
This commit allows integrators to pass along a new options object with the `requireProfileTagging` option. If set to true, retrieves for profiles will only return data with a `meta.profile` value matching the URL for the profile specified in the retrieve details. The is a squash commit of previous commits with the following messages: * Allow optional configuration of a trusted environment based on meta.profile * Update docs to include trusted environment description and use FHIR 401 in examples * Exclude base FHIR from meta.profile checking and update tests * Add usage of retrieveDetails for model info lookups and throw errors for bad config * Update docs * Switch to options object for constructing patient sources * Update unit test fixture to actually be a valid us-core encounter * Add meta.profile tests for all FHIR versions * Throw error when no patient found with matching profile; add tests * Fix grammar in docs * Update README to use proper object example after structure change * Add one more test case ensuring proper handling of base FHIR structure defs
- Loading branch information
Matthew Gramigna
authored
Oct 17, 2022
1 parent
8b7fdfd
commit 7afe15f
Showing
9 changed files
with
372 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.