-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't combine rules on inline ValueSet (#231)
Construct inline instances before combining coding and Quantity values. This way, rules that assign to elements in a ValueSet instance that shouldn't be combined will be correctly detected as having a type that does not use combined rules.
- Loading branch information
1 parent
ee0f161
commit 69e6238
Showing
4 changed files
with
72 additions
and
2 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
36 changes: 36 additions & 0 deletions
36
test/utils/fixtures/contained-valueset/Observation-MyObs.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,36 @@ | ||
{ | ||
"resourceType": "Observation", | ||
"id": "MyObs", | ||
"status": "final", | ||
"code": { | ||
"coding": [ | ||
{ | ||
"code": "something" | ||
} | ||
] | ||
}, | ||
"contained": [ | ||
{ | ||
"resourceType": "ValueSet", | ||
"id": "MyInlineVS", | ||
"status": "active", | ||
"compose": { | ||
"include": [ | ||
{ | ||
"system": "http://example.org", | ||
"concept": [ | ||
{ | ||
"code": "123", | ||
"display": "one two three" | ||
}, | ||
{ | ||
"code": "456", | ||
"display": "four five six" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |