{
  "resourceType": "StructureDefinition",
  "id": "RE10",
  "url": "https://PrehospitalDataInEHR.dk/fhir/StructureDefinition/RE10",
  "name": "PrehospitalDataInEHRProcedureTreatmentprofile",
  "status": "draft",
  "description": "This profile originates from the page Treatment in the pre-hospital patient journal (PPJ). The registration contains information regarding the treatment given to the patient prior to arrival to the ER.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Procedure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Procedure",
        "path": "Procedure",
        "short": "Contains information regarding the treatments given to the patient prior to arrival to the ER",
        "definition": "This profile originates from the page Treatment in the pre-hospital patient journal (PPJ). The registration contains information regarding the treatment given to the patient prior to arrival to the ER."
      },
      {
        "id": "Procedure.identifier",
        "path": "Procedure.identifier",
        "short": "Danish social security number (CPR)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.identifier.use",
        "path": "Procedure.identifier.use",
        "max": "0"
      },
      {
        "id": "Procedure.identifier.type",
        "path": "Procedure.identifier.type",
        "max": "0"
      },
      {
        "id": "Procedure.identifier.system",
        "path": "Procedure.identifier.system",
        "short": "Entry to Danish social security number database",
        "min": 1
      },
      {
        "id": "Procedure.identifier.value",
        "path": "Procedure.identifier.value",
        "short": "Unique identifier of 10 digits",
        "min": 1
      },
      {
        "id": "Procedure.identifier.period",
        "path": "Procedure.identifier.period",
        "max": "0"
      },
      {
        "id": "Procedure.identifier.assigner",
        "path": "Procedure.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Procedure.instantiatesCanonical",
        "path": "Procedure.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "Procedure.instantiatesUri",
        "path": "Procedure.instantiatesUri",
        "max": "0"
      },
      {
        "id": "Procedure.basedOn",
        "path": "Procedure.basedOn",
        "max": "0"
      },
      {
        "id": "Procedure.partOf",
        "path": "Procedure.partOf",
        "max": "0"
      },
      {
        "id": "Procedure.status",
        "path": "Procedure.status",
        "fixedCode": "completed"
      },
      {
        "id": "Procedure.statusReason",
        "path": "Procedure.statusReason",
        "max": "0"
      },
      {
        "id": "Procedure.category",
        "path": "Procedure.category",
        "max": "0"
      },
      {
        "id": "Procedure.code",
        "path": "Procedure.code",
        "slicing": {
          "discriminator": [
            {
              "type": "exists",
              "path": "text"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Procedure.code:A_airways",
        "path": "Procedure.code",
        "sliceName": "A_airways",
        "short": "Treatment regarding airways"
      },
      {
        "id": "Procedure.code:A_airways.coding",
        "path": "Procedure.code.coding",
        "code": [
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "248553004",
            "display": "Frie luftveje"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "251362004",
            "display": "Nasal luftveje"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "232675003",
            "display": "Oral Intubation"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "58058006",
            "display": "Sugning"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "55622001",
            "display": "Nødtrakeotomi"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "74964007",
            "display": "Andet"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "32667006",
            "display": "Tungeholder"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "257268009",
            "display": "Larynxmaske"
          }
        ],
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.code:A_airways.coding.system",
        "path": "Procedure.code.coding.system",
        "max": "0"
      },
      {
        "id": "Procedure.code:A_airways.coding.version",
        "path": "Procedure.code.coding.version",
        "max": "0"
      },
      {
        "id": "Procedure.code:A_airways.coding.code",
        "path": "Procedure.code.coding.code",
        "max": "0"
      },
      {
        "id": "Procedure.code:A_airways.coding.display",
        "path": "Procedure.code.coding.display",
        "max": "0"
      },
      {
        "id": "Procedure.code:A_airways.coding.userSelected",
        "path": "Procedure.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Procedure.code:A_airways.text",
        "path": "Procedure.code.text",
        "short": "Registration of treatment of the airways",
        "min": 1,
        "fixedString": "A-Luftveje"
      },
      {
        "id": "Procedure.code:B_respiration",
        "path": "Procedure.code",
        "sliceName": "B_respiration",
        "short": "Treatment of respiration"
      },
      {
        "id": "Procedure.code:B_respiration.coding",
        "path": "Procedure.code.coding",
        "code": [
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "266700009",
            "display": "Ventilation"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "336602003",
            "display": "Ilt-Hudson"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "47545007",
            "display": "CPAP/ASB"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "336623009",
            "display": "Ilt-næsebrille"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "258071007",
            "display": "Genånding"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "177765008",
            "display": "Thorakotomi"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "334947002",
            "display": "Ilt-nebulisator"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "410756002",
            "display": "Nåle dekompression"
          }
        ],
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.code:B_respiration.coding.system",
        "path": "Procedure.code.coding.system",
        "max": "0"
      },
      {
        "id": "Procedure.code:B_respiration.coding.version",
        "path": "Procedure.code.coding.version",
        "max": "0"
      },
      {
        "id": "Procedure.code:B_respiration.coding.code",
        "path": "Procedure.code.coding.code",
        "max": "0"
      },
      {
        "id": "Procedure.code:B_respiration.coding.display",
        "path": "Procedure.code.coding.display",
        "max": "0"
      },
      {
        "id": "Procedure.code:B_respiration.coding.userSelected",
        "path": "Procedure.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Procedure.code:B_respiration.text",
        "path": "Procedure.code.text",
        "short": "Registration of treatments of respiration",
        "min": 1,
        "fixedString": "B-Respiration"
      },
      {
        "id": "Procedure.code:C_circulation",
        "path": "Procedure.code",
        "sliceName": "C_circulation",
        "short": "Treatment of circulation"
      },
      {
        "id": "Procedure.code:C_circulation.coding",
        "path": "Procedure.code.coding",
        "code": [
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "89666000",
            "display": "HLR"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "59218006",
            "display": "Ekstern pacing"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "308842001",
            "display": "Defibrillering"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "430824005",
            "display": "Intraossøs kanyle"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "429283006",
            "display": "Mekanisk brystkompression"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "303728004",
            "display": "Perifert venekateter"
          }
        ],
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.code:C_circulation.coding.system",
        "path": "Procedure.code.coding.system",
        "max": "0"
      },
      {
        "id": "Procedure.code:C_circulation.coding.version",
        "path": "Procedure.code.coding.version",
        "max": "0"
      },
      {
        "id": "Procedure.code:C_circulation.coding.code",
        "path": "Procedure.code.coding.code",
        "max": "0"
      },
      {
        "id": "Procedure.code:C_circulation.coding.display",
        "path": "Procedure.code.coding.display",
        "max": "0"
      },
      {
        "id": "Procedure.code:C_circulation.coding.userSelected",
        "path": "Procedure.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Procedure.code:C_circulation.text",
        "path": "Procedure.code.text",
        "short": "Registration of treatments of circulation",
        "min": 1,
        "fixedString": "C-Cirkulation"
      },
      {
        "id": "Procedure.code:additionalTreatment",
        "path": "Procedure.code",
        "sliceName": "additionalTreatment",
        "short": "Additional treatments"
      },
      {
        "id": "Procedure.code:additionalTreatment.coding",
        "path": "Procedure.code.coding",
        "code": [
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "229824005",
            "display": "Lejring"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "229585002",
            "display": "Kuldeindpakning"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "59102007",
            "display": "Ispose"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "156009",
            "display": "Spinal stabilisering"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "282009008",
            "display": "Frakturstabilisering"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "182814007",
            "display": "Forbinding"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "122469009",
            "display": "Reponering"
          },
          {
            "system": "http://snomed.info/sct",
            "version": "2020/09/30",
            "code": "67889009",
            "display": "Skylning"
          }
        ],
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.code:additionalTreatment.coding.system",
        "path": "Procedure.code.coding.system",
        "max": "0"
      },
      {
        "id": "Procedure.code:additionalTreatment.coding.version",
        "path": "Procedure.code.coding.version",
        "max": "0"
      },
      {
        "id": "Procedure.code:additionalTreatment.coding.code",
        "path": "Procedure.code.coding.code",
        "max": "0"
      },
      {
        "id": "Procedure.code:additionalTreatment.coding.display",
        "path": "Procedure.code.coding.display",
        "max": "0"
      },
      {
        "id": "Procedure.code:additionalTreatment.coding.userSelected",
        "path": "Procedure.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Procedure.code:additionalTreatment.text",
        "path": "Procedure.code.text",
        "short": "Registration of additonal treatments",
        "min": 1,
        "fixedString": "Anden behandling"
      },
      {
        "id": "Procedure.subject",
        "path": "Procedure.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://PrehospitalDataInEHR.dk/fhir/StructureDefinition/RE09"
            ]
          }
        ]
      },
      {
        "id": "Procedure.subject.reference",
        "path": "Procedure.subject.reference",
        "max": "0"
      },
      {
        "id": "Procedure.subject.type",
        "path": "Procedure.subject.type",
        "max": "0"
      },
      {
        "id": "Procedure.subject.identifier",
        "path": "Procedure.subject.identifier",
        "max": "0"
      },
      {
        "id": "Procedure.subject.display",
        "path": "Procedure.subject.display",
        "max": "0"
      },
      {
        "id": "Procedure.encounter",
        "path": "Procedure.encounter",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://PrehospitalDataInEHR.dk/fhir/StructureDefinition/RE02"
            ]
          }
        ]
      },
      {
        "id": "Procedure.encounter.reference",
        "path": "Procedure.encounter.reference",
        "max": "0"
      },
      {
        "id": "Procedure.encounter.type",
        "path": "Procedure.encounter.type",
        "max": "0"
      },
      {
        "id": "Procedure.encounter.identifier",
        "path": "Procedure.encounter.identifier",
        "max": "0"
      },
      {
        "id": "Procedure.encounter.display",
        "path": "Procedure.encounter.display",
        "max": "0"
      },
      {
        "id": "Procedure.performed[x]",
        "path": "Procedure.performed[x]",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Procedure.recorder",
        "path": "Procedure.recorder",
        "max": "0"
      },
      {
        "id": "Procedure.recorder.reference",
        "path": "Procedure.recorder.reference",
        "max": "0"
      },
      {
        "id": "Procedure.recorder.type",
        "path": "Procedure.recorder.type",
        "max": "0"
      },
      {
        "id": "Procedure.recorder.identifier",
        "path": "Procedure.recorder.identifier",
        "max": "0"
      },
      {
        "id": "Procedure.recorder.display",
        "path": "Procedure.recorder.display",
        "max": "0"
      },
      {
        "id": "Procedure.asserter",
        "path": "Procedure.asserter",
        "max": "0"
      },
      {
        "id": "Procedure.performer",
        "path": "Procedure.performer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.performer.function",
        "path": "Procedure.performer.function",
        "max": "0"
      },
      {
        "id": "Procedure.performer.actor",
        "path": "Procedure.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://PrehospitalDataInEHR.dk/fhir/StructureDefinition/RE12"
            ]
          }
        ]
      },
      {
        "id": "Procedure.performer.actor.reference",
        "path": "Procedure.performer.actor.reference",
        "max": "0"
      },
      {
        "id": "Procedure.performer.actor.type",
        "path": "Procedure.performer.actor.type",
        "max": "0"
      },
      {
        "id": "Procedure.performer.actor.identifier",
        "path": "Procedure.performer.actor.identifier",
        "max": "0"
      },
      {
        "id": "Procedure.performer.actor.display",
        "path": "Procedure.performer.actor.display",
        "max": "0"
      },
      {
        "id": "Procedure.performer.onBehalfOf",
        "path": "Procedure.performer.onBehalfOf",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://PrehospitalDataInEHR.dk/fhir/StructureDefinition/RE08"
            ]
          }
        ]
      },
      {
        "id": "Procedure.performer.onBehalfOf.reference",
        "path": "Procedure.performer.onBehalfOf.reference",
        "max": "0"
      },
      {
        "id": "Procedure.performer.onBehalfOf.type",
        "path": "Procedure.performer.onBehalfOf.type",
        "max": "0"
      },
      {
        "id": "Procedure.performer.onBehalfOf.identifier",
        "path": "Procedure.performer.onBehalfOf.identifier",
        "max": "0"
      },
      {
        "id": "Procedure.performer.onBehalfOf.display",
        "path": "Procedure.performer.onBehalfOf.display",
        "max": "0"
      },
      {
        "id": "Procedure.location",
        "path": "Procedure.location",
        "max": "0"
      },
      {
        "id": "Procedure.reasonCode",
        "path": "Procedure.reasonCode",
        "max": "0"
      },
      {
        "id": "Procedure.reasonReference",
        "path": "Procedure.reasonReference",
        "max": "0"
      },
      {
        "id": "Procedure.bodySite",
        "path": "Procedure.bodySite",
        "max": "0"
      },
      {
        "id": "Procedure.outcome",
        "path": "Procedure.outcome",
        "max": "0"
      },
      {
        "id": "Procedure.report",
        "path": "Procedure.report",
        "max": "0"
      },
      {
        "id": "Procedure.complication",
        "path": "Procedure.complication",
        "max": "0"
      },
      {
        "id": "Procedure.complicationDetail",
        "path": "Procedure.complicationDetail",
        "max": "0"
      },
      {
        "id": "Procedure.followUp",
        "path": "Procedure.followUp",
        "max": "0"
      },
      {
        "id": "Procedure.note",
        "path": "Procedure.note",
        "max": "0"
      },
      {
        "id": "Procedure.focalDevice",
        "path": "Procedure.focalDevice",
        "max": "0"
      },
      {
        "id": "Procedure.usedReference",
        "path": "Procedure.usedReference",
        "max": "0"
      },
      {
        "id": "Procedure.usedCode",
        "path": "Procedure.usedCode",
        "max": "0"
      }
    ]
  }
}