<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://example.org/fhir/StructureDefinition/GCS" />
  <name value="GCS" />
  <status value="draft" />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-concept" />
    <uri value="http://snomed.info/conceptdomain" />
    <name value="SNOMED CT Concept Domain Binding" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-attr" />
    <uri value="http://snomed.info/sct" />
    <name value="SNOMED CT Attribute Binding" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Observation.code.coding.system">
      <path value="Observation.code.coding.system" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Observation.code.coding.code">
      <path value="Observation.code.coding.code" />
      <fixedCode value="386560004" />
    </element>
    <element id="Observation.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.code.text" />
      <fixedString value="GCS Total Score" />
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <sliceName value="effectiveDateTime" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.valueQuantity" />
      <sliceName value="valueQuantity" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:GCSeye">
      <path value="Observation.component" />
      <sliceName value="GCSeye" />
    </element>
    <element id="Observation.component:GCSeye.code">
      <path value="Observation.component.code" />
      <fixedCodeableConcept>
        <text value="GCS Eye Subscore" />
      </fixedCodeableConcept>
    </element>
    <element id="Observation.component:GCSeye.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Observation.component:GCSeye.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <fixedCode value="281395000" />
    </element>
    <element id="Observation.component:GCSeye.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.code.text" />
      <fixedString value="GCS eye score" />
    </element>
    <element id="Observation.component:GCSeye.value[x]:valueQuantity">
      <path value="Observation.component.valueQuantity" />
      <sliceName value="valueQuantity" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.component:GCSverbal">
      <path value="Observation.component" />
      <sliceName value="GCSverbal" />
    </element>
    <element id="Observation.component:GCSverbal.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Observation.component:GCSverbal.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <fixedCode value="281397008" />
    </element>
    <element id="Observation.component:GCSverbal.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.code.text" />
      <fixedString value="GCS verbal score" />
    </element>
    <element id="Observation.component:GCSverbal.value[x]:valueQuantity">
      <path value="Observation.component.valueQuantity" />
      <sliceName value="valueQuantity" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.component:GCSmotor">
      <path value="Observation.component" />
      <sliceName value="GCSmotor" />
    </element>
    <element id="Observation.component:GCSmotor.code">
      <path value="Observation.component.code" />
      <fixedCodeableConcept>
        <text value="GCS Motor Subscore" />
      </fixedCodeableConcept>
    </element>
    <element id="Observation.component:GCSmotor.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Observation.component:GCSmotor.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <fixedCode value="281396004" />
    </element>
    <element id="Observation.component:GCSmotor.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.code.text" />
      <fixedString value="GCS motor score" />
    </element>
    <element id="Observation.component:GCSmotor.value[x]:valueQuantity">
      <path value="Observation.component.valueQuantity" />
      <sliceName value="valueQuantity" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
  </differential>
</StructureDefinition>