slicing by value set tests

This commit is contained in:
Grahame Grieve 2019-08-05 15:47:30 +10:00
parent 6f6cd81552
commit 1d10470e9c
4 changed files with 38 additions and 2 deletions

2
.gitignore vendored
View File

@ -290,3 +290,5 @@ local.properties
/org.hl7.fhir.r5/src/test/resources/snapshot-generation/dv1-actual.xml
/org.hl7.fhir.r5/src/test/resources/snapshot-generation/t45-actual.xml
/org.hl7.fhir.r4b
/org.hl7.fhir.r5/src/test/resources/gen/gen.xml
/org.hl7.fhir.r5/src/test/resources/graphql/*.out

View File

@ -854,9 +854,9 @@
"errorCount": 0,
"warningCount": 0
},
"valueset-slicing-med.xml" : {
"valueset-slicing-meds.xml" : {
"version" : "3.0",
"profiles": [
"codesystems": [
"valueset-slicing-med-cs.xml"
],
"errorCount": 0,
@ -864,6 +864,17 @@
"source": "valueset-slicing-med-profile.xml",
"errorCount": 0
}
},
"valueset-slicing-meds-bad.xml" : {
"version" : "3.0",
"codesystems": [
"valueset-slicing-med-cs.xml"
],
"errorCount": 0,
"profile": {
"source": "valueset-slicing-med-profile.xml",
"errorCount": 1
}
}
}
}

View File

@ -6,6 +6,7 @@
<status value="draft"/>
<compose>
<include>
<system value="http://tst.org/fhir/CodeSystem/test-meds"/>
<concept>
<code value="s1"/>
</concept>
@ -22,6 +23,7 @@
<status value="draft"/>
<compose>
<include>
<system value="http://tst.org/fhir/CodeSystem/test-meds"/>
<concept>
<code value="s2"/>
</concept>
@ -38,6 +40,7 @@
<status value="draft"/>
<compose>
<include>
<system value="http://tst.org/fhir/CodeSystem/test-meds"/>
<concept>
<code value="s3"/>
</concept>
@ -54,6 +57,7 @@
<status value="draft"/>
<compose>
<include>
<system value="http://tst.org/fhir/CodeSystem/test-meds"/>
<concept>
<code value="s4"/>
</concept>

View File

@ -0,0 +1,19 @@
<Medication xmlns="http://hl7.org/fhir">
<code>
<coding>
<system value="http://tst.org/fhir/CodeSystem/test-meds"/>
<code value="s1"/>
</coding>
<coding>
<system value="http://tst.org/fhir/CodeSystem/test-meds"/>
<code value="s1"/>
</coding>
<coding>
<system value="http://tst.org/fhir/CodeSystem/test-meds"/>
<code value="s3"/>
</coding>
<text value="some text"/>
</code>
<status value="active"/>
<isBrand value="false"/>
</Medication>