{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-09-21T14:57:58.046+00:00"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/HelseVestProcedureRequest",
  "name": "HelseVestProcedureRequest",
  "status": "draft",
  "date": "2017-08-18T13:15:05.609+00:00",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "helsevest",
      "name": "HV Architecture Document"
    },
    {
      "identity": "orbit",
      "name": "Orbit"
    },
    {
      "identity": "dips",
      "name": "DIPS"
    },
    {
      "identity": "orplan",
      "name": "Orplan"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ProcedureRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ProcedureRequest.extension",
        "path": "ProcedureRequest.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ProcedureRequest.extension:admittingPhysician",
        "path": "ProcedureRequest.extension",
        "sliceName": "admittingPhysician",
        "short": "Admitting doctor for the operation",
        "definition": "Admitting doctor for the operation",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedurerequest-admittingphysician"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Rekvirerende lege"
          },
          {
            "identity": "orbit",
            "map": "Preoperative.ReceivingDoctor"
          },
          {
            "identity": "orplan",
            "map": "WhoBooked"
          }
        ]
      },
      {
        "id": "ProcedureRequest.extension:patientPosition",
        "path": "ProcedureRequest.extension",
        "sliceName": "patientPosition",
        "short": "Position the patient has to be in.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.fhir.org/StructureDefinition/procedurerequest-position"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "side"
          },
          {
            "identity": "orbit",
            "map": "side_oprekv"
          },
          {
            "identity": "orplan",
            "map": "SideID"
          }
        ]
      },
      {
        "id": "ProcedureRequest.extension:performingDepartment",
        "path": "ProcedureRequest.extension",
        "sliceName": "performingDepartment",
        "short": "Operation department. This is the physical location of the operation.",
        "definition": "Operation department. This is the physical location of the operation.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedurerequest-operationdepartment"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Avdeling"
          },
          {
            "identity": "orbit",
            "map": "General.OperationDepartment"
          },
          {
            "identity": "dips",
            "map": "LOKID"
          }
        ]
      },
      {
        "id": "ProcedureRequest.extension:operationRoom",
        "path": "ProcedureRequest.extension",
        "sliceName": "operationRoom",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedurerequest-operationroom"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Operasjonsstue"
          },
          {
            "identity": "orbit",
            "map": "ScheduledOperatingRoom"
          },
          {
            "identity": "dips",
            "map": "OPERASJONSSTUE"
          },
          {
            "identity": "orplan",
            "map": "ORID"
          }
        ]
      },
      {
        "id": "ProcedureRequest.identifier",
        "path": "ProcedureRequest.identifier",
        "short": "Treatment identifier to be used in later messages",
        "min": 1,
        "max": "1",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Behandlingsnummer"
          },
          {
            "identity": "orbit",
            "map": "General.TreatmentIdentifier.TreatmentNumber"
          },
          {
            "identity": "dips",
            "map": "MEDTJENESTEID"
          },
          {
            "identity": "orplan",
            "map": "OperationID"
          }
        ]
      },
      {
        "id": "ProcedureRequest.status",
        "path": "ProcedureRequest.status",
        "definition": "The status of the request.",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Status"
          },
          {
            "identity": "orbit",
            "map": "General.Status"
          },
          {
            "identity": "orplan",
            "map": "ProgressID"
          }
        ]
      },
      {
        "id": "ProcedureRequest.priority",
        "path": "ProcedureRequest.priority",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Akutt/Elektiv"
          },
          {
            "identity": "orbit",
            "map": "Preoperative.EmergencyPatient"
          },
          {
            "identity": "dips",
            "map": "OHJELP"
          },
          {
            "identity": "orplan",
            "map": "Acute"
          }
        ]
      },
      {
        "id": "ProcedureRequest.category",
        "path": "ProcedureRequest.category",
        "short": "Operation type",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Operasjonstype"
          },
          {
            "identity": "dips",
            "map": "OPERASJONSTYPE"
          }
        ]
      },
      {
        "id": "ProcedureRequest.code",
        "path": "ProcedureRequest.code",
        "short": "Planned operation codes",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ProcedureRequestCode"
            }
          ],
          "strength": "required",
          "description": "Either NCSP Norwegian (Surgical procedure) (urn:oid:2.16.578.1.12.4.1.1.7210), NCMP Norwegian (Medical procedure) (urn:oid:2.16.578.1.12.4.1.1.7220), or NCRP (Radiological procedures) (urn:oid:2.16.578.1.12.4.1.1.7270)",
          "valueSetUri": "http://hl7.no/fhir/ValueSet/perioperative-procedures"
        },
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Planlagte operasjonskoder"
          },
          {
            "identity": "orbit",
            "map": "Preoperative.PlannedProcedureCodes"
          },
          {
            "identity": "dips",
            "map": "TENT_OPERASJONSKODE"
          },
          {
            "identity": "orplan",
            "map": "Settes etter opr"
          }
        ]
      },
      {
        "id": "ProcedureRequest.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "ProcedureRequest.code.text",
        "short": "Operation Text (Name of intervention)",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Operasjonstekst"
          },
          {
            "identity": "orbit",
            "map": "OperationCard"
          },
          {
            "identity": "dips",
            "map": "OPERASJONSTYPE_NAVN"
          },
          {
            "identity": "orplan",
            "map": "OperationText"
          }
        ]
      },
      {
        "id": "ProcedureRequest.subject",
        "path": "ProcedureRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.no/fhir/StructureDefinition/LabPatientNorway"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "PasientID"
          },
          {
            "identity": "orbit",
            "map": "Patient.CivilRegistrationNumber"
          },
          {
            "identity": "dips",
            "map": "FOEDSELSNR"
          },
          {
            "identity": "orplan",
            "map": "PatientID"
          }
        ]
      },
      {
        "id": "ProcedureRequest.occurrence[x]",
        "path": "ProcedureRequest.occurrence[x]",
        "short": "Planned operation date, with optional time and duration",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Planlagt operasjonsdato"
          },
          {
            "identity": "helsevest",
            "map": "Planlagt operasjonstid"
          },
          {
            "identity": "orbit",
            "map": "Preoperative.ScheduledOperationStart"
          },
          {
            "identity": "orbit",
            "map": "Preoperative.ScheduledOperationEnd"
          },
          {
            "identity": "dips",
            "map": "OPERASJONSDATO"
          },
          {
            "identity": "dips",
            "map": "VARIGHET_MIN"
          },
          {
            "identity": "orplan",
            "map": "OperationDate"
          },
          {
            "identity": "orplan",
            "map": "Duration"
          }
        ]
      },
      {
        "id": "ProcedureRequest.authoredOn",
        "path": "ProcedureRequest.authoredOn",
        "short": "When the order was placed",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Rekvisisjonsdato"
          },
          {
            "identity": "orbit",
            "map": "Preoperative.NotificationDate"
          },
          {
            "identity": "orplan",
            "map": "OriginalyPlannedTime"
          }
        ]
      },
      {
        "id": "ProcedureRequest.requester.agent",
        "path": "ProcedureRequest.requester.agent",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.no/fhir/StructureDefinition/PractitionerNorway"
          }
        ]
      },
      {
        "id": "ProcedureRequest.requester.onBehalfOf",
        "path": "ProcedureRequest.requester.onBehalfOf",
        "max": "0"
      },
      {
        "id": "ProcedureRequest.performerType",
        "path": "ProcedureRequest.performerType",
        "short": "Surgical specialty (owner of the treatment). Operating unit.",
        "definition": "Surgical specialty (owner of the treatment). Operating unit.",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Opererande enhet (specialite)"
          },
          {
            "identity": "orbit",
            "map": "General.OrganizationSurgicalSpecialty"
          },
          {
            "identity": "dips",
            "map": "AVDID"
          },
          {
            "identity": "orplan",
            "map": "SectionID eller ReshID"
          }
        ]
      },
      {
        "id": "ProcedureRequest.performer",
        "path": "ProcedureRequest.performer",
        "short": "Surgeon (main responsibility)",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.no/fhir/StructureDefinition/PractitionerNorway"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Hovedoperatør"
          },
          {
            "identity": "orbit",
            "map": "Surgeon"
          },
          {
            "identity": "dips",
            "map": "BEHANDLER1ID"
          },
          {
            "identity": "orplan",
            "map": "Surgeon"
          }
        ]
      },
      {
        "id": "ProcedureRequest.reasonCode",
        "path": "ProcedureRequest.reasonCode",
        "short": "Planned diagnosis codes",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ProcedureRequestReason"
            }
          ],
          "strength": "required",
          "description": "This value set consists of Norwegian ICD-10 codes ([urn:oid:2.16.578.1.12.4.1.1.7110](https://volven.no/produkt.asp?id=306990&amp;subID=8&amp;catID=3&amp;oid=7110))",
          "valueSetUri": "http://hl7.no/fhir/ValueSet/perioperative-diagnosis"
        },
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Planlagte diagnosekoder"
          },
          {
            "identity": "orbit",
            "map": "PreoperativePlannedDiagnosisCodes"
          },
          {
            "identity": "dips",
            "map": "TENT_DIAGNOSEKODE"
          },
          {
            "identity": "orplan",
            "map": "Settes etter opr"
          }
        ]
      },
      {
        "id": "ProcedureRequest.reasonReference",
        "path": "ProcedureRequest.reasonReference",
        "short": "Planned diagnosis",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Planlagte diagnosekoder"
          },
          {
            "identity": "orbit",
            "map": "PreoperativePlannedDiagnosisCodes"
          },
          {
            "identity": "dips",
            "map": "TENT_DIAGNOSEKODE"
          },
          {
            "identity": "orplan",
            "map": "Settes etter opr"
          }
        ]
      },
      {
        "id": "ProcedureRequest.supportingInfo",
        "path": "ProcedureRequest.supportingInfo",
        "short": "Infection risk",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
          }
        ],
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Smitte"
          },
          {
            "identity": "orbit",
            "map": "smitte_oprekv"
          }
        ]
      },
      {
        "id": "ProcedureRequest.bodySite",
        "path": "ProcedureRequest.bodySite",
        "short": "Position ID",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Operasjonsleie"
          }
        ]
      },
      {
        "id": "ProcedureRequest.note",
        "path": "ProcedureRequest.note",
        "short": "Information for the operator and anesthetist",
        "mapping": [
          {
            "identity": "helsevest",
            "map": "Info til Op og Anestesi"
          },
          {
            "identity": "orbit",
            "map": "Info_rekv"
          },
          {
            "identity": "dips",
            "map": "ANESTESIMERKNAD"
          },
          {
            "identity": "orplan",
            "map": "AnestMessage"
          }
        ]
      }
    ]
  }
}