{
  "resourceType": "StructureDefinition",
  "url": "http://bookplan.dk/fhir/StructureDefinition/Device",
  "version": "1.0",
  "name": "Device",
  "status": "active",
  "publisher": "Capgemini Danmark A/S",
  "fhirVersion": "1.0.2",
  "kind": "resource",
  "constrainedType": "Device",
  "abstract": false,
  "contextType": "resource",
  "base": "http://hl7.org/fhir/StructureDefinition/Device",
  "differential": {
    "element": [
      {
        "path": "Device.id",
        "min": 1,
        "maxLength": 36
      },
      {
        "path": "Device.meta",
        "max": "0"
      },
      {
        "path": "Device.implicitRules",
        "max": "0"
      },
      {
        "path": "Device.language",
        "max": "0"
      },
      {
        "path": "Device.text",
        "max": "0"
      },
      {
        "path": "Device.contained",
        "max": "0"
      },
      {
        "path": "Device.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "path": "Device.identifier.id",
        "max": "0"
      },
      {
        "path": "Device.identifier.use",
        "max": "0"
      },
      {
        "path": "Device.identifier.type",
        "max": "0"
      },
      {
        "path": "Device.identifier.system",
        "min": 1,
        "fixedUri": "BookplanDeviceOId"
      },
      {
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "path": "Device.identifier.period",
        "max": "0"
      },
      {
        "path": "Device.identifier.assigner",
        "max": "0"
      },
      {
        "path": "Device.type",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Device.note",
        "max": "0"
      },
      {
        "path": "Device.status",
        "min": 1
      },
      {
        "path": "Device.manufacturer",
        "max": "0"
      },
      {
        "path": "Device.model",
        "max": "0"
      },
      {
        "path": "Device.version",
        "max": "0"
      },
      {
        "path": "Device.manufactureDate",
        "max": "0"
      },
      {
        "path": "Device.expiry",
        "max": "0"
      },
      {
        "path": "Device.udi",
        "max": "0"
      },
      {
        "path": "Device.lotNumber",
        "max": "0"
      },
      {
        "path": "Device.owner",
        "min": 1
      },
      {
        "path": "Device.owner.id",
        "max": "0"
      },
      {
        "path": "Device.owner.reference",
        "min": 1
      },
      {
        "path": "Device.owner.display",
        "max": "0"
      },
      {
        "path": "Device.location",
        "max": "0"
      },
      {
        "path": "Device.patient",
        "max": "0"
      },
      {
        "path": "Device.contact",
        "max": "0"
      },
      {
        "path": "Device.url",
        "max": "0"
      },
      {
        "path": "Device.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "rules": "closed"
        }
      },
      {
        "path": "Device.extension",
        "name": "shortName",
        "short": "A short name for the device",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://bookplan.dk/fhir/StructureDefinition/device-shortName"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "path": "Device.extension.id",
        "max": "0"
      },
      {
        "path": "Device.extension.valueString",
        "min": 1
      },
      {
        "path": "Device.extension",
        "name": "name",
        "short": "The name of the device",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://bookplan.dk/fhir/StructureDefinition/device-name"
            ]
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "path": "Device.extension.id",
        "max": "0"
      },
      {
        "path": "Device.extension.valueString",
        "min": 1
      }
    ]
  }
}