<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="DeviceUseStatement-uv-ips" />
  <meta>
    <lastUpdated value="2018-02-14T19:25:36.732+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">This profile represents the constraints applied to the DeviceUseStatement resource by the International Patient Summary (IPS) FHIR Implementation Guide, based on FHIR R4. A statement about a device used by or implanted on the patient is described in the patient summary as an instance of a DeviceUseStatement resource constrained by this profile.</div>
  </text>
  <url value="http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips" />
  <version value="0.2.0" />
  <name value="DeviceUseStatement_uv_ips" />
  <title value="Device Use Statement (IPS)" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2018-02-14T00:00:00+00:00" />
  <publisher value="HL7 International" />
  <description value="This profile represents the constraints applied to the DeviceUseStatement resource by the International Patient Summary (IPS) FHIR Implementation Guide, based on FHIR R4. A statement about a device used by or implanted on the patient is described in the patient summary as an instance of a DeviceUseStatement resource constrained by this profile." />
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
      <code value="001" />
      <display value="World" />
    </coding>
  </jurisdiction>
  <purpose value="This profile constrains the representation of a statement about a medical device used by or impanted on the patient, part of the &quot;Medical Devices&quot; section of the Composition resource representing the international patient summary, as specified by the IPS project of HL7 International." />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="quick" />
    <uri value="http://siframework.org/cqf" />
    <name value="Quality Improvement and Clinical Knowledge (QUICK)" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </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>
  <kind value="resource" />
  <abstract value="false" />
  <type value="DeviceUseStatement" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DeviceUseStatement" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="DeviceUseStatement">
      <path value="DeviceUseStatement" />
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.id">
      <path value="DeviceUseStatement.id" />
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.meta">
      <path value="DeviceUseStatement.meta" />
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.meta.profile">
      <path value="DeviceUseStatement.meta.profile" />
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.subject">
      <path value="DeviceUseStatement.subject" />
      <definition value="The patient using the device." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.subject.reference">
      <path value="DeviceUseStatement.subject.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.timing[x]">
      <path value="DeviceUseStatement.timing[x]" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.timing[x].extension:data-absent-reason">
      <path value="DeviceUseStatement.timing[x].extension" />
      <sliceName value="data-absent-reason" />
      <definition value="Provides a reason why the timing is missing." />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/data-absent-reason" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.source">
      <path value="DeviceUseStatement.source" />
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.device">
      <path value="DeviceUseStatement.device" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Device-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="DeviceUseStatement.bodySite">
      <path value="DeviceUseStatement.bodySite" />
      <requirements value="Knowing where the device is targeted is important for tracking if multiple sites are possible. If more information than just a code is required, use the extension bodySite" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <mustSupport value="false" />
      <binding>
        <strength value="example" />
        <valueSet value="http://hl7.org/fhir/ValueSet/body-site" />
      </binding>
    </element>
  </differential>
</StructureDefinition>