{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-05-16T22:54:04.17+00:00",
    "tag": [
      {
        "code": "10"
      }
    ]
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    }
  ],
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Device-1",
  "version": "1.0.0",
  "name": "ITK-Device-1",
  "title": "ITK Device",
  "status": "draft",
  "date": "2024-01-22T11:39:06.3872207+00:00",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This resource is primarily used for recording which device performed an action and can also be used to track device location. It is also used for prescribing and dispensing devices for patient use. If the device is implanted in a patient, then the patient element will be present, and there would be no location.",
  "purpose": "A device could be the author of a document in this message.",
  "copyright": "Copyright ©2017 NHS Digital",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device.identifier.type.coding.system",
        "path": "Device.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Device.identifier.type.coding.code",
        "path": "Device.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Device.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Device.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Device.identifier.value",
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "id": "Device.identifier.assigner",
        "path": "Device.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "Device.identifier.assigner.reference",
        "path": "Device.identifier.assigner.reference",
        "min": 1
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DeviceKind"
            }
          ],
          "strength": "preferred",
          "description": "Defines the nature of the device and also the kind of functionality/services/behavior that may be expected from it.",
          "valueSetReference": {
            "reference": "https://fhir.nhs.uk/STU3/ValueSet/DeviceType-1"
          }
        }
      },
      {
        "id": "Device.type.coding.system",
        "path": "Device.type.coding.system",
        "min": 1
      },
      {
        "id": "Device.type.coding.code",
        "path": "Device.type.coding.code",
        "min": 1
      },
      {
        "id": "Device.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Device.type.coding.display",
        "min": 1
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          }
        ]
      },
      {
        "id": "Device.patient.reference",
        "path": "Device.patient.reference",
        "min": 1
      },
      {
        "id": "Device.owner",
        "path": "Device.owner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "Device.owner.reference",
        "path": "Device.owner.reference",
        "min": 1
      },
      {
        "id": "Device.contact.system",
        "path": "Device.contact.system",
        "min": 1
      },
      {
        "id": "Device.contact.value",
        "path": "Device.contact.value",
        "min": 1
      },
      {
        "id": "Device.location",
        "path": "Device.location",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1"
          }
        ]
      },
      {
        "id": "Device.location.reference",
        "path": "Device.location.reference",
        "min": 1
      },
      {
        "id": "Device.note",
        "path": "Device.note",
        "max": "0"
      },
      {
        "id": "Device.note.authorReference:authorReference",
        "path": "Device.note.authorReference",
        "sliceName": "authorReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Header-Practitioner-1"
          }
        ]
      },
      {
        "id": "Device.note.authorReference:authorReference.reference",
        "path": "Device.note.authorReference.reference",
        "min": 1
      },
      {
        "id": "Device.safety.coding.system",
        "path": "Device.safety.coding.system",
        "min": 1
      },
      {
        "id": "Device.safety.coding.code",
        "path": "Device.safety.coding.code",
        "min": 1
      },
      {
        "id": "Device.safety.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Device.safety.coding.display",
        "min": 1
      }
    ]
  }
}