-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new test for value sets reference value sets instead of code systems
- Loading branch information
Grahame Grieve
committed
Jan 8, 2025
1 parent
b0e9d09
commit 161b1d2
Showing
4 changed files
with
239 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<StructureDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R4/fhir-single.xsd"> | ||
<id value="version-range"/> | ||
<url value="http://hl7.org/fhir/test/StructureDefinition/version-range"/> | ||
<name value="VersionRangeExtension"/> | ||
<title value="Version Range Extension"/> | ||
<status value="active"/> | ||
<experimental value="false"/> | ||
<publisher value="HL7 International / FHIR Infrastructure"/> | ||
<contact> | ||
<telecom> | ||
<!-- Or whatever URL and/or email address(es) are appropriate --> | ||
<system value="url"/> | ||
<value value="http://hl7.org/Special/committees/fhir-i"/> | ||
</telecom> | ||
</contact> | ||
<description value="Allowed R3-R4"/> | ||
<fhirVersion value="4.0.1"/> | ||
<kind value="complex-type"/> | ||
<abstract value="false"/> | ||
<context> | ||
<extension url="http://hl7.org/fhir/StructureDefinition/version-specific-use"> | ||
<extension url="startFhirVersion"> | ||
<valueCode value="4.0"/> | ||
</extension> | ||
<extension url="endFhirVersion"> | ||
<valueCode value="4.3"/> | ||
</extension> | ||
</extension> | ||
<type value="element"/> | ||
<expression value="Patient"/> | ||
</context> | ||
<context> | ||
<type value="element"/> | ||
<expression value="CodeSystem.property"/> | ||
</context> | ||
<type value="Extension"/> | ||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension"/> | ||
<derivation value="constraint"/> | ||
<differential> | ||
<element id="Extension"> | ||
<path value="Extension"/> | ||
<short value="Additional Binding"/> | ||
<definition value="Additional bindings applied to bindable elements."/> | ||
<min value="0"/> | ||
<max value="*"/> | ||
</element> | ||
|
||
<element id="Extension.url"> | ||
<path value="Extension.url"/> | ||
<fixedUri value="http://hl7.org/fhir/test/StructureDefinition/version-range"/> | ||
</element> | ||
<element id="Extension.value[x]"> | ||
<path value="Extension.value[x]"/> | ||
<min value="1"/> | ||
<max value="1"/> | ||
<type> | ||
<code value="code"/> | ||
</type> | ||
</element> | ||
</differential> | ||
</StructureDefinition> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<ValueSet xmlns="http://hl7.org/fhir"> | ||
<id value="major-fhir-version"/> | ||
<url value="http://hl7.org/fhir/ValueSet/major-fhir-version"/> | ||
<identifier> | ||
<system value="urn:ietf:rfc:3986"/> | ||
<value value="urn:oid:2.16.840.1.113883.4.642.3.3330"/> | ||
</identifier> | ||
<version value="5.0.0"/> | ||
<name value="MajorFHIRVersions"/> | ||
<title value="Major FHIR Versions"/> | ||
<status value="active"/> | ||
<experimental value="false"/> | ||
<publisher value="HL7 International / FHIR Infrastructure"/> | ||
<contact> | ||
<telecom> | ||
<system value="url"/> | ||
<value value="http://www.hl7.org/Special/committees/fiwg"/> | ||
</telecom> | ||
</contact> | ||
<description value="The milestone releases of FHIR versions, identified by their major.minor versions (no patch versions)"/> | ||
<jurisdiction> | ||
<coding> | ||
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> | ||
<code value="001"/> | ||
<display value="World"/> | ||
</coding> | ||
</jurisdiction> | ||
<compose> | ||
<include> | ||
<system value="http://hl7.org/fhir/ValueSet/FHIR-version"/> | ||
<version value="5.0.0"/> | ||
<concept> | ||
<code value="1.0"/> | ||
</concept> | ||
<concept> | ||
<code value="3.0"/> | ||
</concept> | ||
<concept> | ||
<code value="4.0"/> | ||
</concept> | ||
<concept> | ||
<code value="4.3"/> | ||
</concept> | ||
<concept> | ||
<code value="5.0"/> | ||
</concept> | ||
</include> | ||
</compose> | ||
</ValueSet> |