-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support fishing with a version - Add support to FSHTank to fish with a version - Add helper function to determine if a version is set on a FSH definition, which can be used by the FSHTank fish() function - Add helper functions for fishing for best version - a version that matches or any version if match is not found - Replace most places where fishing was done without any version that was specified Note: this will need an updated FPL in order to have FHIRDefinitions fish correctly with a version * Add tests and minor tweeks around fishing with versions in FSH Tank and for FishingUtils * Only append version if not already provided in URL and add test to check fishing for VS URL with version throws mismatch error * Fish with version in Package * Add back version if fished up a value set * Use FPL v0.3.0 * Simplify check for matching version on instances * Simplify places where version needs to be appended to a fished up url * Invariants, Mappings, RuleSets won't have a version so don't need to check on rules * Simplify warning message when incorrect version is fished up and simplify conditional statements * Assigning a code with an invalid code system should only warn when assigning to a primitive code/string/uri * Log source info for mismatched version when fishing for best version Also updates system lookup code for FSHCodes to avoid double-warning on mismatched version. * Remove unnecessary import --------- Co-authored-by: Chris Moesel <[email protected]>
- Loading branch information
Showing
18 changed files
with
1,243 additions
and
153 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.