{
  "resourceType": "StructureDefinition",
  "id": "profile-device-medical",
  "url": "http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-device-medical",
  "version": "0.1.2",
  "name": "DeviceProfileMedical",
  "title": "Device Profile (Medical and Non-medical)",
  "status": "draft",
  "date": "2026-01-09",
  "publisher": "HL7 Canada - FHIR Implementation Work Group",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://infocentral.infoway-inforoute.ca/en/collaboration/wg/fhir-implementations"
        }
      ]
    }
  ],
  "description": "Proposed constraints on the Device resource for the minimal set of data to query and retrieve a medical or non-medical device.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "CA"
        }
      ]
    }
  ],
  "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",
        "path": "Device",
        "short": "Device Profile",
        "definition": "The Device Profile is based upon the core FHIR Device Resource"
      },
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Device.identifier:EUI-64",
        "path": "Device.identifier",
        "sliceName": "EUI-64",
        "short": "IEEE 64-bit Extended Unique Identifier (EUI-64)",
        "max": "1"
      },
      {
        "id": "Device.identifier:EUI-64.system",
        "path": "Device.identifier.system",
        "short": "EUI-64 system identifier",
        "min": 1,
        "patternUri": "urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680"
      },
      {
        "id": "Device.identifier:EUI-64.value",
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "id": "Device.identifier:EUI-48",
        "path": "Device.identifier",
        "sliceName": "EUI-48",
        "short": "MAC Transport address identifier (EUI-48)",
        "max": "1"
      },
      {
        "id": "Device.identifier:EUI-48.system",
        "path": "Device.identifier.system",
        "short": "EUI-48 system identifier",
        "min": 1,
        "patternUri": "http://terminology.hl7.org/fhir/sid/eui-48"
      },
      {
        "id": "Device.identifier:EUI-48.value",
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "description": "Codes to identify medical devices",
          "valueSet": "http://hl7.org/fhir/ValueSet/device-kind"
        }
      },
      {
        "id": "Device.version",
        "path": "Device.version"
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-patient"
            ]
          }
        ]
      },
      {
        "id": "Device.parent",
        "path": "Device.parent",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-device-medical"
            ]
          }
        ]
      }
    ]
  }
}