-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/IElementSchemaResolver-public
- Loading branch information
Showing
24 changed files
with
918 additions
and
474 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
36 changes: 36 additions & 0 deletions
36
....Compilation.Tests.R4/TestData/DocumentComposition/DocumentBundle.structuredefinition.xml
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 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<StructureDefinition xmlns="http://hl7.org/fhir"> | ||
<url value="http://example.org/StructureDefinition/DocumentBundle" /> | ||
<name value="DocumentBundle" /> | ||
<status value="draft" /> | ||
<fhirVersion value="4.0.1" /> | ||
<kind value="resource" /> | ||
<abstract value="false" /> | ||
<type value="Bundle" /> | ||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle" /> | ||
<derivation value="constraint" /> | ||
<differential> | ||
<element> | ||
<path value="Bundle" /> | ||
<type> | ||
<code value="Bundle" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Bundle.type" /> | ||
<fixedCode value="document" /> | ||
</element> | ||
<element> | ||
<path value="Bundle.total" /> | ||
<max value="0" /> | ||
</element> | ||
<element> | ||
<path value="Bundle.link" /> | ||
<max value="0" /> | ||
</element> | ||
<element> | ||
<path value="Bundle.entry" /> | ||
<min value="1" /> | ||
</element> | ||
</differential> | ||
</StructureDefinition> |
132 changes: 132 additions & 0 deletions
132
...ilation.Tests.R4/TestData/DocumentComposition/DocumentComposition.structuredefinition.xml
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,132 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<StructureDefinition xmlns="http://hl7.org/fhir"> | ||
<meta> | ||
<lastUpdated value="2016-10-06T11:07:20.873+02:00" /> | ||
</meta> | ||
<url value="http://example.org/StructureDefinition/DocumentComposition" /> | ||
<name value="DocumentComposition" /> | ||
<status value="draft" /> | ||
<fhirVersion value="4.0.1" /> | ||
<kind value="resource" /> | ||
<abstract value="false" /> | ||
<type value="Composition" /> | ||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Composition" /> | ||
<derivation value="constraint" /> | ||
<differential> | ||
<element> | ||
<path value="Composition" /> | ||
<type> | ||
<code value="Composition" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Composition.type" /> | ||
<patternCodeableConcept> | ||
<coding> | ||
<system value="http://loinc.org"/> | ||
<code value="18842-5"/> | ||
</coding> | ||
</patternCodeableConcept> | ||
</element> | ||
<element> | ||
<path value="Composition.subject" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" /> | ||
<aggregation value="referenced" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Composition.author" /> | ||
<max value="1" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" /> | ||
<aggregation value="bundled" /> | ||
</type> | ||
</element> | ||
|
||
<!-- Slice intro on Composition.section with some child constraints --> | ||
<element> | ||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name"> | ||
<valueString value="Section" /> | ||
</extension> | ||
<path value="Composition.section" /> | ||
<slicing> | ||
<discriminator> | ||
<type value="value" /> | ||
<path value="code" /> | ||
</discriminator> | ||
<ordered value="false" /> | ||
<rules value="open" /> | ||
</slicing> | ||
<min value="1" /> | ||
</element> | ||
<element> | ||
<path value="Composition.section.title" /> | ||
<min value="1" /> | ||
<maxLength value="20" /> | ||
</element> | ||
<element> | ||
<path value="Composition.section.code" /> | ||
<min value="1" /> | ||
<binding> | ||
<strength value="required" /> | ||
<valueSet value="http://example.org/ValueSet/SectionTitles" /> | ||
</binding> | ||
</element> | ||
<element> | ||
<path value="Composition.section.entry" /> | ||
<type> | ||
<code value="Reference" /> | ||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" /> | ||
<aggregation value="referenced" /> | ||
<aggregation value="bundled" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Composition.section.emptyReason" /> | ||
<max value="0" /> | ||
</element> | ||
<element> | ||
<path value="Composition.section.section" /> | ||
<max value="0" /> | ||
</element> | ||
|
||
<!-- slice on Composition.section: vital signs, EXACTLY 1 --> | ||
<element> | ||
<path value="Composition.section" /> | ||
<sliceName value="vitalSigns" /> | ||
<min value="1" /> | ||
<max value="1" /> | ||
</element> | ||
<element> | ||
<path value="Composition.section.code" /> | ||
<min value="1" /> | ||
<patternCodeableConcept> | ||
<coding> | ||
<system value="http://loinc.org" /> | ||
<code value="8716-3" /> | ||
</coding> | ||
</patternCodeableConcept> | ||
</element> | ||
|
||
<!-- slice on Composition.section: chief complaint, MAX 1 --> | ||
<element> | ||
<path value="Composition.section" /> | ||
<sliceName value="chiefComplaint" /> | ||
<min value="0" /> | ||
<max value="1" /> | ||
</element> | ||
<element> | ||
<path value="Composition.section.code" /> | ||
<min value="1" /> | ||
<patternCodeableConcept> | ||
<coding> | ||
<system value="http://loinc.org" /> | ||
<code value="10154-3" /> | ||
</coding> | ||
</patternCodeableConcept> | ||
</element> | ||
</differential> | ||
</StructureDefinition> |
47 changes: 47 additions & 0 deletions
47
....Compilation.Tests.R4/TestData/DocumentComposition/HeightQuantity.structuredefinition.xml
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,47 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<StructureDefinition xmlns="http://hl7.org/fhir"> | ||
<meta> | ||
<lastUpdated value="2016-10-05T18:16:38.432+02:00" /> | ||
</meta> | ||
<text> | ||
<status value="empty" /> | ||
<div xmlns="http://www.w3.org/1999/xhtml" /> | ||
</text> | ||
<url value="http://example.org/StructureDefinition/HeightQuantity" /> | ||
<name value="HeightQuantity" /> | ||
<status value="draft" /> | ||
<fhirVersion value="4.0.1" /> | ||
<kind value="primitive-type" /> | ||
<abstract value="false" /> | ||
<type value="Quantity" /> | ||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Quantity" /> | ||
<derivation value="constraint" /> | ||
<differential> | ||
<element> | ||
<path value="Quantity" /> | ||
<type> | ||
<code value="Quantity" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Quantity.value" /> | ||
<min value="1" /> | ||
<minValueDecimal value="0" /> | ||
<maxValueDecimal value="350" /> | ||
</element> | ||
<element> | ||
<path value="Quantity.comparator" /> | ||
<max value="0" /> | ||
</element> | ||
<element> | ||
<path value="Quantity.system" /> | ||
<min value="1" /> | ||
<fixedUri value="http://unitsofmeasure.org" /> | ||
</element> | ||
<element> | ||
<path value="Quantity.code" /> | ||
<min value="1" /> | ||
<fixedCode value="cm" /> | ||
</element> | ||
</differential> | ||
</StructureDefinition> |
39 changes: 39 additions & 0 deletions
39
...Validation.Compilation.Tests.R4/TestData/DocumentComposition/Hippocrates.practitioner.xml
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,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Practitioner xmlns="http://hl7.org/fhir"> | ||
<id value="Hippocrates"/> | ||
<meta> | ||
<lastUpdated value="2012-05-29T23:45:32Z"/> | ||
</meta> | ||
<text> | ||
<status value="generated"/> | ||
<div xmlns="http://www.w3.org/1999/xhtml"> | ||
Hippocrates, Harold. SSN: | ||
444444444 | ||
</div> | ||
</text> | ||
<identifier> | ||
<type> | ||
<coding> | ||
<system value="http://hl7.org/fhir/v2/0203"/> | ||
<code value="DL"/> | ||
</coding> | ||
</type> | ||
<system value="http://hl7.org/fhir/sid/us-ssn"/> | ||
<value value="444444444"/> | ||
</identifier> | ||
<name> | ||
<use value="official"/> | ||
<family value="Hippocrates"/> | ||
<given value="Harold"/> | ||
</name> | ||
<telecom> | ||
<system value="phone"/> | ||
<value value="555-555-1003"/> | ||
<use value="work"/> | ||
</telecom> | ||
<address> | ||
<use value="home"/> | ||
<line value="1003 Healthcare Drive"/> | ||
</address> | ||
<gender value="male"/> | ||
</Practitioner> |
File renamed without changes.
Oops, something went wrong.