Extension Trees in inactive Tabs don't show
This works
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="MeineExtension" /> <url value="http://example.org/StructureDefinition/MeineExtension" /> <name value="MeineExtension" /> <status value="active" /> <description value="Extension für IG Template" /> <fhirVersion value="4.0.1" /> <mapping> <identity value="rim" /> <uri value="http://hl7.org/v3" /> <name value="RIM Mapping" /> </mapping> <kind value="complex-type" /> <abstract value="false" /> <context> <type value="element" /> <expression value="Patient" /> </context> <type value="Extension" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> <derivation value="constraint" /> <differential> <element id="Extension"> <path value="Extension" /> <definition value="Extension für IG Template" /> </element> <element id="Extension.extension"> <path value="Extension.extension" /> <max value="0" /> </element> <element id="Extension.url"> <path value="Extension.url" /> <fixedUri value="http://example.org/StructureDefinition/MeineExtension" /> </element> <element id="Extension.value[x]"> <path value="Extension.value[x]" /> <type> <code value="string" /> </type> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "MeineExtension", "url": "http://example.org/StructureDefinition/MeineExtension", "name": "MeineExtension", "status": "active", "description": "Extension für IG Template", "fhirVersion": "4.0.1", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "complex-type", "abstract": false, "context": [ { "type": "element", "expression": "Patient" } ], "type": "Extension", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", "derivation": "constraint", "differential": { "element": [ { "id": "Extension", "path": "Extension", "definition": "Extension für IG Template" }, { "id": "Extension.extension", "path": "Extension.extension", "max": "0" }, { "id": "Extension.url", "path": "Extension.url", "fixedUri": "http://example.org/StructureDefinition/MeineExtension" }, { "id": "Extension.value[x]", "path": "Extension.value[x]", "type": [ { "code": "string" } ] } ] } }
This works
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="MeineExtension" /> <url value="http://example.org/StructureDefinition/MeineExtension" /> <name value="MeineExtension" /> <status value="active" /> <description value="Extension für IG Template" /> <fhirVersion value="4.0.1" /> <mapping> <identity value="rim" /> <uri value="http://hl7.org/v3" /> <name value="RIM Mapping" /> </mapping> <kind value="complex-type" /> <abstract value="false" /> <context> <type value="element" /> <expression value="Patient" /> </context> <type value="Extension" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> <derivation value="constraint" /> <differential> <element id="Extension"> <path value="Extension" /> <definition value="Extension für IG Template" /> </element> <element id="Extension.extension"> <path value="Extension.extension" /> <max value="0" /> </element> <element id="Extension.url"> <path value="Extension.url" /> <fixedUri value="http://example.org/StructureDefinition/MeineExtension" /> </element> <element id="Extension.value[x]"> <path value="Extension.value[x]" /> <type> <code value="string" /> </type> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "MeineExtension", "url": "http://example.org/StructureDefinition/MeineExtension", "name": "MeineExtension", "status": "active", "description": "Extension für IG Template", "fhirVersion": "4.0.1", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "complex-type", "abstract": false, "context": [ { "type": "element", "expression": "Patient" } ], "type": "Extension", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", "derivation": "constraint", "differential": { "element": [ { "id": "Extension", "path": "Extension", "definition": "Extension für IG Template" }, { "id": "Extension.extension", "path": "Extension.extension", "max": "0" }, { "id": "Extension.url", "path": "Extension.url", "fixedUri": "http://example.org/StructureDefinition/MeineExtension" }, { "id": "Extension.value[x]", "path": "Extension.value[x]", "type": [ { "code": "string" } ] } ] } }
This doesn't work (tree doesn't render)
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="MeineExtension" /> <url value="http://example.org/StructureDefinition/MeineExtension" /> <name value="MeineExtension" /> <status value="active" /> <description value="Extension für IG Template" /> <fhirVersion value="4.0.1" /> <mapping> <identity value="rim" /> <uri value="http://hl7.org/v3" /> <name value="RIM Mapping" /> </mapping> <kind value="complex-type" /> <abstract value="false" /> <context> <type value="element" /> <expression value="Patient" /> </context> <type value="Extension" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> <derivation value="constraint" /> <differential> <element id="Extension"> <path value="Extension" /> <definition value="Extension für IG Template" /> </element> <element id="Extension.extension"> <path value="Extension.extension" /> <max value="0" /> </element> <element id="Extension.url"> <path value="Extension.url" /> <fixedUri value="http://example.org/StructureDefinition/MeineExtension" /> </element> <element id="Extension.value[x]"> <path value="Extension.value[x]" /> <type> <code value="string" /> </type> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "MeineExtension", "url": "http://example.org/StructureDefinition/MeineExtension", "name": "MeineExtension", "status": "active", "description": "Extension für IG Template", "fhirVersion": "4.0.1", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "complex-type", "abstract": false, "context": [ { "type": "element", "expression": "Patient" } ], "type": "Extension", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", "derivation": "constraint", "differential": { "element": [ { "id": "Extension", "path": "Extension", "definition": "Extension für IG Template" }, { "id": "Extension.extension", "path": "Extension.extension", "max": "0" }, { "id": "Extension.url", "path": "Extension.url", "fixedUri": "http://example.org/StructureDefinition/MeineExtension" }, { "id": "Extension.value[x]", "path": "Extension.value[x]", "type": [ { "code": "string" } ] } ] } }
This doesn't work (tree doesn't render)
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="MeineExtension" /> <url value="http://example.org/StructureDefinition/MeineExtension" /> <name value="MeineExtension" /> <status value="active" /> <description value="Extension für IG Template" /> <fhirVersion value="4.0.1" /> <mapping> <identity value="rim" /> <uri value="http://hl7.org/v3" /> <name value="RIM Mapping" /> </mapping> <kind value="complex-type" /> <abstract value="false" /> <context> <type value="element" /> <expression value="Patient" /> </context> <type value="Extension" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> <derivation value="constraint" /> <differential> <element id="Extension"> <path value="Extension" /> <definition value="Extension für IG Template" /> </element> <element id="Extension.extension"> <path value="Extension.extension" /> <max value="0" /> </element> <element id="Extension.url"> <path value="Extension.url" /> <fixedUri value="http://example.org/StructureDefinition/MeineExtension" /> </element> <element id="Extension.value[x]"> <path value="Extension.value[x]" /> <type> <code value="string" /> </type> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "MeineExtension", "url": "http://example.org/StructureDefinition/MeineExtension", "name": "MeineExtension", "status": "active", "description": "Extension für IG Template", "fhirVersion": "4.0.1", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "complex-type", "abstract": false, "context": [ { "type": "element", "expression": "Patient" } ], "type": "Extension", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", "derivation": "constraint", "differential": { "element": [ { "id": "Extension", "path": "Extension", "definition": "Extension für IG Template" }, { "id": "Extension.extension", "path": "Extension.extension", "max": "0" }, { "id": "Extension.url", "path": "Extension.url", "fixedUri": "http://example.org/StructureDefinition/MeineExtension" }, { "id": "Extension.value[x]", "path": "Extension.value[x]", "type": [ { "code": "string" } ] } ] } }