<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="observation-deviceCode" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/observation-deviceCode" />
  <version value="4.6.0" />
  <name value="deviceCode" />
  <title value="Device Code" />
  <status value="draft" />
  <date value="2015-03-02" />
  <publisher value="Health Level Seven, Inc. - OO WG" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/special/committees/orders" />
    </telecom>
  </contact>
  <description value="A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`." />
  <fhirVersion value="4.6.0" />
  <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="Observation" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`" />
      <definition value="A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/observation-deviceCode" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceCode" />
        </extension>
        <strength value="example" />
        <valueSet value="http://hl7.org/fhir/ValueSet/device-type" />
      </binding>
    </element>
  </differential>
</StructureDefinition>