{
  "resourceType": "StructureDefinition",
  "id": "fiphr-device",
  "meta": {
    "lastUpdated": "2017-10-30T08:05:50.937+00:00"
  },
  "url": "http://phr.kanta.fi/StructureDefinition/fiphr-device-201909",
  "version": "0.07",
  "name": "Finnish PHR Device profile",
  "title": "Finnish PHR Device profile",
  "status": "draft",
  "experimental": true,
  "date": "2019-09-05",
  "publisher": "Kela",
  "description": "Finnish PHR profile device. Used in vital sign observations.",
  "purpose": "Finnish PHR profile device. Used in vital sign observations to store information about measurement device.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device",
        "path": "Device",
        "short": "Finnish PHR Device profile",
        "definition": "Finnish PHR profile device. Used in vital sign observations to store information about measurement device."
      },
      {
        "id": "Device.meta.profile",
        "path": "Device.meta.profile",
        "definition": "FinnishPHR: Profile required. The URL is a reference to [StructureDefinition.url]().",
        "min": 1,
        "max": "1",
        "fixedUri": "http://phr.kanta.fi/StructureDefinition/fiphr-device"
      },
      {
        "id": "Device.extension",
        "path": "Device.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Device.extension:creatingApplication",
        "path": "Device.extension",
        "sliceName": "creatingApplication",
        "type": [
          {
            "code": "Extension",
            "profile": "http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication"
          }
        ]
      },
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Device.identifier.use",
        "path": "Device.identifier.use",
        "max": "0"
      },
      {
        "id": "Device.identifier.type",
        "path": "Device.identifier.type",
        "max": "0"
      },
      {
        "id": "Device.identifier.system",
        "path": "Device.identifier.system",
        "min": 1,
        "fixedUri": "urn:ietf:rfc:3986"
      },
      {
        "id": "Device.identifier.value",
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "id": "Device.identifier.period",
        "path": "Device.identifier.period",
        "max": "0"
      },
      {
        "id": "Device.identifier.assigner",
        "path": "Device.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Device.status",
        "path": "Device.status",
        "max": "0"
      },
      {
        "id": "Device.lotNumber",
        "path": "Device.lotNumber",
        "max": "0"
      },
      {
        "id": "Device.expirationDate",
        "path": "Device.expirationDate",
        "max": "0"
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "max": "0"
      },
      {
        "id": "Device.owner",
        "path": "Device.owner",
        "max": "0"
      },
      {
        "id": "Device.contact.system",
        "path": "Device.contact.system",
        "min": 1
      },
      {
        "id": "Device.contact.value",
        "path": "Device.contact.value",
        "min": 1
      },
      {
        "id": "Device.contact.use",
        "path": "Device.contact.use",
        "max": "0"
      },
      {
        "id": "Device.contact.rank",
        "path": "Device.contact.rank",
        "max": "0"
      },
      {
        "id": "Device.contact.period",
        "path": "Device.contact.period",
        "max": "0"
      },
      {
        "id": "Device.location",
        "path": "Device.location",
        "max": "0"
      },
      {
        "id": "Device.url",
        "path": "Device.url",
        "max": "0"
      },
      {
        "id": "Device.note.author[x]",
        "path": "Device.note.author[x]",
        "max": "0"
      },
      {
        "id": "Device.safety",
        "path": "Device.safety",
        "max": "0"
      }
    ]
  }
}