<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-Procedure-event" />
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-Procedure-event" />
  <name value="HdBeProcedureevent" />
  <title value="HdBe Procedure event" />
  <status value="draft" />
  <date value="2022-10-17T09:09:13.9562003+00:00" />
  <publisher value="Healthdata.be (Sciensano)" />
  <contact>
    <name value="Service portal – healthdata.be" />
    <telecom>
      <system value="url" />
      <value value="https://sciensano.service-now.com/sp" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Therapeutic or diagnostic procedure undergone by the patient (the complementary profile HdBe-Procedure-request can be used for therapeutic or diagnostics procedures that the patient will undergo). A procedure can be a simple blood pressure measurement, but also a complex heart surgery.&#xD;&#xA;In some care settings, the term treatment is used instead of the term procedure." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-procedure-v5.2-2020EN" />
    <uri value="https://zibs.nl/wiki/Procedure-v5.2(2020EN)" />
    <name value="zib Procedure-v5.2(2020EN)" />
  </mapping>
  <mapping>
    <identity value="HdBe-Procedure" />
    <uri value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Procedure" />
    <name value="HdBe logical model Procedure" />
  </mapping>
  <mapping>
    <identity value="zib-textresult-v4.4-2020EN" />
    <uri value="https://zibs.nl/wiki/TextResult-v4.4(2020EN)" />
    <name value="zib TextResult-v4.4(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Procedure" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Procedure" />
  <derivation value="constraint" />
  <differential>
    <element id="Procedure">
      <path value="Procedure" />
      <short value="Procedure" />
      <comment value="The CBB Procedure is mapped both to a Procedure profile and a profile on ServiceRequest to align with the intention of FHIR. All past procedures are covered using this Procedure resource, while all future procedures, including the advised procedures, are covered in the ServiceRequest resource. Both resources contain the CBB mappings, with the exception of the Requester concept; this is not relevant for past procedures and has only been mapped to the ServiceRequest profile.&#xD;&#xA;&#xD;&#xA;The planned and performed procedures can be linked using `Procedure.basedOn`." />
      <alias value="Verrichting" />
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.1" />
        <comment value="Procedure" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="Procedure" />
      </mapping>
    </element>
    <element id="Procedure.extension">
      <path value="Procedure.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Procedure.extension:procedureMethod">
      <path value="Procedure.extension" />
      <sliceName value="procedureMethod" />
      <min value="0" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/ext-Procedure.ProcedureMethod" />
      </type>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.12" />
        <comment value="ProcedureMethod" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureMethod" />
      </mapping>
    </element>
    <element id="Procedure.basedOn">
      <path value="Procedure.basedOn" />
      <comment value="The root element provides more information on the usage of `Procedure.basedOn` for the zib Procedure." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-Procedure-request" />
      </type>
    </element>
    <element id="Procedure.status">
      <path value="Procedure.status" />
      <definition value="This element is implictly mapped to the concepts ProcedureStartDate and ProcedureEndDate. Unless the status is explicitly recorded, the following guidance applies:&#xD;&#xA;&#xD;&#xA;* When the ProcedureStartDate is in the future, `.status` will usually be set to _preparation_.&#xD;&#xA;* When ProcedureStartDate is in the past and ProcedureEndDate is in the future, `.status` will usually be set to _in-progress_.&#xD;&#xA;* When ProcedureEndDate is in the past, `.status` will usually be set to _completed_.&#xD;&#xA;* When ProcedureStartDate is in the past and ProcedureEndDate is missing, it may be assumed that the Procedure was recorded as a point in time and `.status` will usually be set to _completed_.&#xD;&#xA;* When a system is unable to infer the status from the ProcedureStartDate and ProcedureEndDate , `.status` will be set to _unknown_. The _unknown_ code is not to be used to convey other statuses. The _unknown_ code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the Procedure." />
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.2" />
        <comment value="ProcedureStartDate (implicit, main mapping is on Procedure.performedPeriod.start and Procedure.performedDateTime)" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureStartDate (implicit, main mapping is on Procedure.PerformedPeriod.Start and Procedure.PerformedDateTime)" />
      </mapping>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.3" />
        <comment value="ProcedureEndDate (implicit, main mapping is on Procedure.performedPeriod.end)" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureEndDate (implicit, main mapping is on Procedure.PerformedPeriod.End)" />
      </mapping>
    </element>
    <element id="Procedure.code">
      <path value="Procedure.code" />
      <short value="ProcedureType" />
      <definition value="The name of the procedure." />
      <alias value="VerrichtingType" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/ProcedureType" />
      </binding>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.4" />
        <comment value="ProcedureType" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureType" />
      </mapping>
    </element>
    <element id="Procedure.performed[x]">
      <path value="Procedure.performed[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Procedure.performed[x]:performedPeriod">
      <path value="Procedure.performed[x]" />
      <sliceName value="performedPeriod" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="Procedure.performed[x]:performedPeriod.start">
      <path value="Procedure.performed[x].start" />
      <short value="ProcedureStartDate" />
      <definition value="The start date (and if possible start time) of the procedure. A ‘vague’ date, such as only the year, is permitted. The element offers the option to indicate the start of the period of a series of related procedures." />
      <alias value="VerrichtingStartDatum" />
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.2" />
        <comment value="ProcedureStartDate" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureStartDate" />
      </mapping>
    </element>
    <element id="Procedure.performed[x]:performedPeriod.end">
      <path value="Procedure.performed[x].end" />
      <short value="ProcedureEndDate" />
      <definition value="The end date (and if possible end time) of the procedure. A ‘vague’ date, such as only the year, is permitted. The element offers the option to indicate the end of the period of a series of related procedures. The end date element is only used for a procedures that takes some time and is then always applied. If the procedure still continues, the value is left empty. For instantaneous or very short lasting procedures the `performedDateTime` is used." />
      <alias value="VerrichtingEindDatum" />
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.3" />
        <comment value="ProcedureEndDate" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureEndDate" />
      </mapping>
    </element>
    <element id="Procedure.performed[x]:performedDateTime">
      <path value="Procedure.performed[x]" />
      <sliceName value="performedDateTime" />
      <short value="ProcedureStartDate" />
      <definition value="The start date (and if possible start time) of the procedure. A ‘vague’ date, such as only the year, is permitted. `performedDateTime` is used for instantaneous or very short lasting procedures." />
      <alias value="VerrichtingStartDatum" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.2" />
        <comment value="ProcedureStartDate" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureStartDate" />
      </mapping>
    </element>
    <element id="Procedure.performer.actor">
      <path value="Procedure.performer.actor" />
      <short value="Performer" />
      <definition value="The health professional who carried out or will carry out the procedure. In most cases, only the medical specialty is entered, and not the name of the healthcare professional." />
      <alias value="Uitvoerder" />
      <type>
        <code value="Reference" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/pattern-HealthProfessionalReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-HealthProfessional-PractitionerRole" />
      </type>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.6" />
        <comment value="Performer" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="Performer" />
      </mapping>
    </element>
    <element id="Procedure.location">
      <path value="Procedure.location" />
      <short value="Location" />
      <definition value="The healthcare organization where the procedure was, is or will be carried out." />
      <alias value="Locatie" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-HealthcareOrganization" />
      </type>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.5" />
        <comment value="Location" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="Location" />
      </mapping>
    </element>
    <element id="Procedure.reasonReference">
      <path value="Procedure.reasonReference" />
      <short value="Indication" />
      <definition value="The indication is the reason for the procedure." />
      <alias value="Indicatie" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-Problem" />
      </type>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.9" />
        <comment value="Indication" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="Indication" />
      </mapping>
    </element>
    <element id="Procedure.bodySite">
      <path value="Procedure.bodySite" />
      <short value="Location / ProcedureAnatomicalLocation" />
      <definition value="Anatomical location which is the focus of the procedure." />
      <alias value="VerrichtingAnatomischeLocatie" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-AnatomicalLocation" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/Location" />
      </binding>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.13" />
        <comment value="ProcedureAnatomicalLocation" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureAnatomicalLocation" />
      </mapping>
    </element>
    <element id="Procedure.report">
      <path value="Procedure.report" />
      <slicing>
        <discriminator>
          <type value="profile" />
          <path value="resolve()" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Procedure.report:textResult">
      <path value="Procedure.report" />
      <sliceName value="textResult" />
      <short value="TextResult" />
      <comment value="The direction of the reference between CBBs TextResult and Procedure is reversed in FHIR. Therefore the concept Procedure of zib TextResult is mapped to this element.&#xD;&#xA;&#xD;&#xA;Please note that on a functional level, TextResult references Procedure, but in FHIR this direction is reversed." />
      <alias value="TekstUitslag" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-TextResult" />
      </type>
      <mapping>
        <identity value="zib-textresult-v4.4-2020EN" />
        <map value="NL-CM:13.2.5" />
        <comment value="Reversed reference for zib TextResult.Procedure" />
      </mapping>
    </element>
    <element id="Procedure.focalDevice.manipulated">
      <path value="Procedure.focalDevice.manipulated" />
      <short value="MedicalDevice" />
      <definition value="The product, the placing of which in or on the body is the purpose of the procedure, for example placing an implant." />
      <alias value="MedischHulpmiddel" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-MedicalDevice.Product" />
      </type>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.7" />
        <comment value="MedicalDevice" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="MedicalDevice" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>