<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2017-10-16T14:16:18.252+01:00" />
  </meta>
  <url value="https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Device-1" />
  <version value="1.0.0" />
  <name value="GPConnect-Device-1" />
  <status value="draft" />
  <date value="2024-01-22T11:39:06.3872207+00:00" />
  <publisher value="NHS Digital" />
  <contact>
    <name value="Interoperability Team" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="The Device resource represents a manufactured item that is used in the provision of healthcare related services." />
  <copyright value="Copyright © 2017 NHS Digital" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Device" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Device" />
  <derivation value="constraint" />
  <differential>
    <element id="Device.identifier.use">
      <path value="Device.identifier.use" />
      <max value="0" />
    </element>
    <element id="Device.identifier.type">
      <path value="Device.identifier.type" />
      <max value="0" />
    </element>
    <element id="Device.identifier.system">
      <path value="Device.identifier.system" />
      <min value="1" />
    </element>
    <element id="Device.identifier.value">
      <path value="Device.identifier.value" />
      <min value="1" />
    </element>
    <element id="Device.identifier.period">
      <path value="Device.identifier.period" />
      <max value="0" />
    </element>
    <element id="Device.identifier.assigner">
      <path value="Device.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="Device.udi">
      <path value="Device.udi" />
      <max value="0" />
    </element>
    <element id="Device.status">
      <path value="Device.status" />
      <max value="0" />
    </element>
    <element id="Device.type">
      <path value="Device.type" />
      <min value="1" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceKind" />
        </extension>
        <strength value="preferred" />
        <valueSetReference>
          <reference value="https://fhir.nhs.uk/STU3/ValueSet/DeviceType-1" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Device.type.coding">
      <path value="Device.type.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Device.type.coding.system">
      <path value="Device.type.coding.system" />
      <min value="1" />
    </element>
    <element id="Device.type.coding.version">
      <path value="Device.type.coding.version" />
      <max value="0" />
    </element>
    <element id="Device.type.coding.code">
      <path value="Device.type.coding.code" />
      <min value="1" />
    </element>
    <element id="Device.type.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Device.type.coding.display" />
      <min value="1" />
    </element>
    <element id="Device.type.coding.userSelected">
      <path value="Device.type.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="Device.type.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Device.type.text" />
      <max value="0" />
    </element>
    <element id="Device.lotNumber">
      <path value="Device.lotNumber" />
      <max value="0" />
    </element>
    <element id="Device.manufactureDate">
      <path value="Device.manufactureDate" />
      <max value="0" />
    </element>
    <element id="Device.expirationDate">
      <path value="Device.expirationDate" />
      <max value="0" />
    </element>
    <element id="Device.patient">
      <path value="Device.patient" />
      <max value="0" />
    </element>
    <element id="Device.contact">
      <path value="Device.contact" />
      <max value="0" />
    </element>
    <element id="Device.location">
      <path value="Device.location" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1" />
      </type>
    </element>
    <element id="Device.url">
      <path value="Device.url" />
      <max value="0" />
    </element>
    <element id="Device.note.author[x]">
      <path value="Device.note.author[x]" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="Reference" />
        <profile value="https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1" />
      </type>
      <type>
        <code value="Reference" />
        <profile value="https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1" />
      </type>
    </element>
  </differential>
</StructureDefinition>