{
  "resourceType": "StructureDefinition",
  "id": "Device",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2019-04-03T10:57:33.746+00:00"
  },
  "url": "http://spms.min-saude.pt/spms/STU3/StructureDefinition/Device",
  "name": "Device",
  "status": "draft",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Device.id",
        "path": "Device.id",
        "min": 1
      },
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "min": 1
      },
      {
        "id": "Device.identifier.system",
        "path": "Device.identifier.system",
        "min": 1
      },
      {
        "id": "Device.identifier.value",
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "id": "Device.udi.deviceIdentifier",
        "path": "Device.udi.deviceIdentifier",
        "min": 1
      },
      {
        "id": "Device.status",
        "path": "Device.status",
        "min": 1,
        "fixedCode": "active"
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://spms.min-saude.pt/fhir/StructureDefinition/PatientPORTUGAL",
            "aggregation": [
              "bundled",
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Device.owner",
        "path": "Device.owner",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://spms.min-saude.pt/spms/STU3/StructureDefinition/Organization"
          }
        ]
      }
    ]
  }
}