-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration to support including both uri and oid when parsing …
…valuesets (#31) Squashed commits from PR #31: * feat: add initial support for oid and url * fix: refactor the logic * fix: spelling mistake * fix: remove unused option for fhir * style: fix lint * fix: update to a better option name and value * fix: default option should be url when empty options passed --------- Co-authored-by: Tyler J Cvetan <[email protected]>
- Loading branch information
1 parent
7e3de6b
commit 884bd4e
Showing
8 changed files
with
683 additions
and
17 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
20 changes: 20 additions & 0 deletions
20
test/fixtures/2.16.840.1.113883.3.526.3.1032-oid-uri-vsdb.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"2.16.840.1.113883.3.526.3.1032": { | ||
"20170504": { | ||
"oid": "2.16.840.1.113883.3.526.3.1032", | ||
"version": "20170504", | ||
"codes": [ | ||
{ | ||
"code": "8480-6", | ||
"system": "http://loinc.org", | ||
"version": "2.74" | ||
}, | ||
{ | ||
"code": "8480-6", | ||
"system": "urn:oid:2.16.840.1.113883.6.1", | ||
"version": "2.74" | ||
} | ||
] | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
test/fixtures/2.16.840.1.113883.3.526.3.1032-oid-vsdb.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"2.16.840.1.113883.3.526.3.1032": { | ||
"20170504": { | ||
"oid": "2.16.840.1.113883.3.526.3.1032", | ||
"version": "20170504", | ||
"codes": [ | ||
{ | ||
"code": "8480-6", | ||
"system": "urn:oid:2.16.840.1.113883.6.1", | ||
"version": "2.74" | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.