<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="IRD-Sensor" />
  <url value="https://health.linova.de/fhir/v1/IRD/Sensor" />
  <version value="1.0.0" />
  <name value="IRD_Sensor" />
  <title value="IRD_Sensor" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Device" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Device" />
  <derivation value="constraint" />
  <differential>
    <element id="Device">
      <path value="Device" />
      <definition value="A body sensor unit, which captures motion data from a patient during an exercise or during daily activity." />
    </element>
    <element id="Device.serialNumber">
      <path value="Device.serialNumber" />
      <definition value="Serial number of the sensor." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Device.owner">
      <path value="Device.owner" />
      <definition value="The organisation which is responsible for the sensor and handed it out to the Patient." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Device.patient">
      <path value="Device.patient" />
      <short value="Patient associated with the sensor" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://health.linova.de/fhir/v1/IRD/Patient" />
      </type>
    </element>
  </differential>
</StructureDefinition>