This commit is contained in:
Lloyd McKenzie
2020-11-07 15:38:21 -07:00
7 changed files with 98 additions and 326 deletions

View File

@@ -1,4 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
test comment for display
-->
<Patient xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<id value="example"/>
<meta>

View File

@@ -38,6 +38,11 @@
<license value="CC0-1.0"/>
<!-- This is whatever FHIR version(s) the IG artifacts are targeting (not the version of this file, which should always be 'current release') -->
<fhirVersion value="4.0.1"/>
<dependsOn>
<uri value="https://simplifier.net/packages/de.medizininformatikinitiative.kerndatensatz.fall/0.9.1/files/131317"/>
<packageId value="de.medizininformatikinitiative.kerndatensatz.fall"/>
<version value="0.9.1"/>
</dependsOn>
<definition>
<!-- You don't need to define any groupings. The IGPublisher will define them for you. You only need to do so if your IG is 'special' and it's
inappropriate to use the defaults. Feel free to provide feedback about the defaults... -->
@@ -47,6 +52,18 @@
</reference>
<description value="Overriding description because we can"/>
</resource>
<resource>
<reference>
<reference value="Library/example-sql"/>
</reference>
<description value="A test example"/>
</resource>
<resource>
<reference>
<reference value="Library/example-image"/>
</reference>
<description value="A test image example"/>
</resource>
<!--<resource>
<reference>
<reference value="MyLogicalModel/AS"/>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<Library xmlns="http://hl7.org/fhir">
<url value="http://somewhere.org/fhir/uv/myig/Library/example-sql"/>
<version value="1.0.0"/>
<name value="ExampleLibrary"/>
<title value="Example Library"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2020-05-15T00:00:00.000+10:00"/>
<content>
<contentType value="text/x-sql"/>
<data value="U0VMRUNUIEN1c3RvbWVycy5DdXN0b21lck5hbWUsIE9yZGVycy5PcmRlcklEDQpGUk9NIEN1c3RvbWVycw0KTEVGVCBKT0lOIE9yZGVycw0KT04gQ3VzdG9tZXJzLkN1c3RvbWVySUQ9T3JkZXJzLkN1c3RvbWVySUQNCk9SREVSIEJZIEN1c3RvbWVycy5DdXN0b21lck5hbWU7DQo="/>
</content>
</Library>

View File

@@ -13,6 +13,23 @@
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<derivation value="constraint"/>
<differential>
<element id="Observation.basedOn">
<path value="Observation.basedOn"/>
<mustSupport value="true"/>
</element>
<element id="Observation.partOf">
<path value="Observation.partOf"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure">
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support">
<valueBoolean value="true"/>
</extension>
</targetProfile>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Observation.code">
<path value="Observation.code"/>
<patternCodeableConcept>
@@ -22,6 +39,35 @@
</coding>
</patternCodeableConcept>
</element>
<element id="Observation.subject">
<path value="Observation.subject"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient">
<!-- this is an error - it is meaningless unless the element itself is must-support -->
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support">
<valueBoolean value="true"/>
</extension>
</targetProfile>
</type>
</element>
<element id="Observation.focus">
<path value="Observation.focus"/>
<mustSupport value="true"/>
</element>
<element id="Observation.value[x]">
<path value="Observation.value[x]"/>
<type>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support">
<valueBoolean value="true"/>
</extension>
<code value="Quantity"/>
</type>
<type>
<code value="CodeableConcept"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Observation.component">
<path value="Observation.component"/>
<slicing>