Additional examples to show new template capabiliteis

This commit is contained in:
Lloyd McKenzie
2022-03-29 08:05:32 -06:00
parent f814edc68b
commit 9b01b996d9
11 changed files with 1375 additions and 17 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem 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="cs-fake"/>
<url value="http://somewhere.org/fhir/uv/myig/CodeSystem/cs-fake"/>
<name value="CodeSystemFake"/>
<title value="CodeSystem fake"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2015-06-22"/>
<description value="A fake code system"/>
<content value="complete"/>
<concept>
<code value="01"/>
<display value="CS1"/>
<designation>
<value value="CS2"/>
</designation>
</concept>
</CodeSystem>

View File

@@ -2,10 +2,239 @@
<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="myObservation"/>
<url value="http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation"/>
<identifier>
<type>
<coding>
<system value="http://example.org/some-id-type-system"/>
<code value="foo"/>
</coding>
<text value="Some OID"/>
</type>
<value value="0.1.2.3.1"/>
</identifier>
<identifier>
<type>
<coding>
<system value="http://example.org/some-id-type-system"/>
<code value="foo"/>
</coding>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="AM"/>
<display value="American Express"/>
</coding>
</type>
<value value="0.1.2.3.2"/>
</identifier>
<identifier>
<type>
<coding>
<system value="http://example.org/some-id-type-system"/>
<code value="ACSN"/>
</coding>
</type>
<value value="0.1.2.3.3"/>
</identifier>
<identifier>
<type>
<coding>
<system value="http://example.org/some-id-type-system"/>
<code value="123"/>
</coding>
</type>
<value value="0.1.2.3.4"/>
</identifier>
<identifier>
<use value="official"/>
</identifier>
<identifier>
<value value="0.1.2.3.5"/>
</identifier>
<name value="MyObservation"/>
<title value="My Observation Profile"/>
<status value="draft"/>
<experimental value="true"/>
<publisher value="Publisher for this artifact"/>
<contact>
<telecom>
<!-- Contact for publisher of this artifact -->
<system value="url"/>
<value value="http://example.org/some-organization"/>
</telecom>
</contact>
<description value="A profile showing the use of XML to author profiles"/>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="gender"/>
<display value="Gender"/>
</code>
<valueCodeableConcept>
<coding>
<system value="http://hl7.org/fhir/administrative-gender"/>
<code value="female"/>
<display value="Female"/>
</coding>
</valueCodeableConcept>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
<display value="Age Range"/>
</code>
<valueQuantity>
<value value="2"/>
<unit value="months"/>
<system value="http://unitsofmeasure.org"/>
<code value="mo"/>
</valueQuantity>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
<display value="Age Range"/>
</code>
<valueQuantity>
<value value="3"/>
<system value="http://unitsofmeasure.org"/>
<code value="mo"/>
</valueQuantity>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
<display value="Age Range"/>
</code>
<valueQuantity>
<value value="4"/>
</valueQuantity>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
<display value="Age Range"/>
</code>
<valueRange>
<high>
<value value="1"/>
<unit value="months"/>
</high>
</valueRange>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
<display value="Age Range"/>
</code>
<valueRange>
<low>
<value value="2"/>
<unit value="years"/>
</low>
<high>
<value value="5"/>
<unit value="years"/>
</high>
</valueRange>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
<display value="Age Range"/>
</code>
<valueRange>
<low>
<value value="10"/>
<unit value="years"/>
</low>
</valueRange>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="venue"/>
<display value="Clinical Venue"/>
</code>
<valueReference>
<reference value="http://example.org/Location/123"/>
<display value="Some location"/>
</valueReference>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="venue"/>
<display value="Clinical Venue"/>
</code>
<valueReference>
<display value="Some other location"/>
</valueReference>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="venue"/>
<display value="Clinical Venue"/>
</code>
<valueReference>
<reference value="http://example.org/Location/456"/>
</valueReference>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="venue"/>
<display value="Clinical Venue"/>
</code>
<valueReference>
<identifier>
<value value="LOCATION-ABC"/>
</identifier>
</valueReference>
</useContext>
<jurisdiction>
<coding>
<!-- Use this if the IG is country-specific -->
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<jurisdiction>
<coding>
<!-- Use this if the IG is state/province/territory-specific -->
<system value="urn:iso:std:iso:3166:-2"/>
<code value="CA-QC"/>
</coding>
</jurisdiction>
<jurisdiction>
<coding>
<!-- Testing a jurisdiction that doesn't have a resolvable flag -->
<system value="urn:iso:std:iso:3166:-2"/>
<code value="GR-E"/>
</coding>
</jurisdiction>
<jurisdiction>
<!-- Use this only if there's no standard code for the jurisdiction -->
<text value="The universe"/>
</jurisdiction>
<purpose value="Explain why this resource is necessary here"/>
<copyright value="Explain licensing or other legal limitations on use"/>
<keyword>
<system value="http://example.org/some-system"/>
<code value="01"/>
<display value="keyword 1"/>
</keyword>
<keyword>
<system value="http://example.org/some-system"/>
<code value="01"/>
<display value="keyword 2"/>
</keyword>
<fhirVersion value="4.0.0"/>
<kind value="resource"/>
<abstract value="false"/>
@@ -32,6 +261,10 @@
</element>
<element id="Observation.code">
<path value="Observation.code"/>
<binding>
<strength value="required"/>
<valueSet value="http://somewhere.org/fhir/uv/myig/ValueSet/valueset-fake"/>
</binding>
<patternCodeableConcept>
<coding>
<system value="http://loinc.org"/>
@@ -159,5 +392,7 @@
<fixedCode value="mm[Hg]"/>
<mustSupport value="true"/>
</element>
</element>
</differential>
</StructureDefinition>

View File

@@ -16,11 +16,11 @@
<AllowPNG/>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>12750</WindowHeight>
<WindowWidth>28800</WindowWidth>
<WindowHeight>7170</WindowHeight>
<WindowWidth>20940</WindowWidth>
<WindowTopX>32767</WindowTopX>
<WindowTopY>32767</WindowTopY>
<ActiveSheet>3</ActiveSheet>
<ActiveSheet>1</ActiveSheet>
<RefModeR1C1/>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
@@ -900,7 +900,7 @@
</Row>
<Row ss:AutoFitHeight="0">
<Cell ss:StyleID="s74"><Data ss:Type="String">author.name</Data></Cell>
<Cell ss:StyleID="s75"><Data ss:Type="String">Health Level Seven International (Some work group)</Data></Cell>
<Cell ss:StyleID="s75"><Data ss:Type="String">HL7 International - [Some] Work Group</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell ss:StyleID="s74"><Data ss:Type="String">author.reference</Data></Cell>
@@ -953,6 +953,7 @@
<HorizontalResolution>600</HorizontalResolution>
<VerticalResolution>600</VerticalResolution>
</Print>
<Selected/>
<FreezePanes/>
<FrozenNoSplit/>
<SplitHorizontal>1</SplitHorizontal>
@@ -972,8 +973,7 @@
</Pane>
<Pane>
<Number>0</Number>
<ActiveRow>12</ActiveRow>
<ActiveCol>0</ActiveCol>
<ActiveRow>4</ActiveRow>
</Pane>
</Panes>
<ProtectObjects>False</ProtectObjects>
@@ -5549,7 +5549,6 @@
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
</PageSetup>
<Unsynced/>
<Selected/>
<Panes>
<Pane>
<Number>3</Number>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet 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="valueset-fake"/>
<url value="http://somewhere.org/fhir/uv/myig/ValueSet/valueset-fake"/>
<name value="ValueSetFake"/>
<title value="ValueSet fake"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2015-06-22"/>
<description value="A fake value"/>
<compose>
<include>
<system value="http://somewhere.org/fhir/uv/myig/CodeSystem/cs-fake"/>
<concept>
<code value="01"/>
<display value="VS1"/>
<designation>
<value value="VS2"/>
</designation>
</concept>
</include>
</compose>
</ValueSet>