{
  "resourceType": "StructureDefinition",
  "id": "cstest-Device",
  "url": "https://cstest.test.not.a.url/StructureDefinition/cstest-Device",
  "version": "0.0.1",
  "name": "cstestDevice",
  "title": "cstest Device",
  "status": "draft",
  "date": "2021-09-10",
  "publisher": "cstest",
  "contact": [
    {
      "name": "cstest",
      "telecom": [
        {
          "system": "email",
          "value": "test@arealurl.com",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "description": ".",
  "purpose": ".",
  "copyright": ".",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "udi",
      "uri": "http://fda.gov/UDI",
      "name": "UDI Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device.identifier.assigner",
        "path": "Device.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.definition.identifier.assigner",
        "path": "Device.definition.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "binding": {
          "strength": "extensible",
          "description": "A code from the SNOMED Clinical Terminology UK coding system that describes a type of device.",
          "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-DeviceType"
        }
      },
      {
        "id": "Device.version.component.assigner",
        "path": "Device.version.component.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
            ]
          }
        ]
      },
      {
        "id": "Device.patient.identifier.assigner",
        "path": "Device.patient.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.owner",
        "path": "Device.owner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.owner.identifier.assigner",
        "path": "Device.owner.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.location",
        "path": "Device.location",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location"
            ]
          }
        ]
      },
      {
        "id": "Device.location.identifier.assigner",
        "path": "Device.location.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.note.author[x]",
        "path": "Device.note.author[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson"
            ]
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Device.parent",
        "path": "Device.parent",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://cstest.test.not.a.url/StructureDefinition/cstest-Device"
            ]
          }
        ]
      },
      {
        "id": "Device.parent.identifier.assigner",
        "path": "Device.parent.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      }
    ]
  }
}