<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-Procedure-request" />
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-Procedure-request" />
  <name value="HdBeProcedurerequest" />
  <title value="HdBe Procedure request" />
  <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 the patient will undergo (the complementary profile HdBe-Procedure-request can be used for therapeutic or diagnostics procedures that the has undergone). 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>
  <kind value="resource" />
  <abstract value="false" />
  <type value="ServiceRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ServiceRequest" />
  <derivation value="constraint" />
  <differential>
    <element id="ServiceRequest">
      <path value="ServiceRequest" />
      <short value="Procedure" />
      <comment value="The CBB Procedure is mapped both to this ServiceRequest profile and a profile on Procedure (&lt;https://fhir.healthdata.be/StructureDefinition/HdBe-Procedure-event&gt;) 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.&#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="ServiceRequest.status">
      <path value="ServiceRequest.status" />
      <definition value="This element is implictly mapped to the concepts ProcedureStartDate (NL-CM:14.1.2) and ProcedureEndDate  (NL-CM:14.1.3). 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 _active_.&#xD;&#xA;* When the ProcedureStartDate is in the past, `.status` will usually be set to _completed_.&#xD;&#xA;* When ProcedureEndDate is in the past, `.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 ProcedureRequest." />
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.2" />
        <comment value="ProcedureStartDate (implicit, main mapping is on ServiceRequest.occurencePeriod.start and ServiceRequest.occurenceDateTime)" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureStartDate (implicit, main mapping is on ServiceRequest.OccurencePeriod.Start and ServiceRequest.OccurenceDateTime)" />
      </mapping>
      <mapping>
        <identity value="zib-procedure-v5.2-2020EN" />
        <map value="NL-CM:14.1.3" />
        <comment value="ProcedureEndDate (implicit, main mapping is on ServiceRequest.occurencePeriod.end)" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="ProcedureEndDate (implicit, main mapping is on ServiceRequest.OccurencePeriod.End)" />
      </mapping>
    </element>
    <element id="ServiceRequest.intent">
      <path value="ServiceRequest.intent" />
      <definition value="Unless intent is explicitly recorded and a more appropriate code is known, the value can be set to _order_ because a Procedure should authorize an action for a patient, pharmacist, professional administrator et cetera." />
    </element>
    <element id="ServiceRequest.code">
      <path value="ServiceRequest.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="ServiceRequest.orderDetail">
      <path value="ServiceRequest.orderDetail" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="ServiceRequest.orderDetail:procedureMethod">
      <path value="ServiceRequest.orderDetail" />
      <sliceName value="procedureMethod" />
      <short value="ProcedureMethod" />
      <definition value="The method or technique that will be used to perform the procedure, e.g. approach, lavage, pressuring, ets." />
      <alias value="VerrichtingMethode" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/ProcedureMethod" />
      </binding>
      <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="ServiceRequest.occurrence[x]">
      <path value="ServiceRequest.occurrence[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="ProcedureStartDate / ProcedureEndDate" />
      <definition value="*   The (desired) start date (and if possible start time) of the procedure. A ‘vague’ date, such as only the year, is permitted. &#xD;&#xA;&#xD;&#xA;    The element offers the option to indicate the start of the period of a series of related procedures. &#xD;&#xA;&#xD;&#xA;*   The end date (and if possible end time) of the procedure. A ‘vague’ date, such as only the year, is permitted. &#xD;&#xA;&#xD;&#xA;    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 element is omitted." />
      <comment value="The `.occurrencePeriod.start` and `.occurrencePeriod.end` are used for ProcedureStartDate and ProcedureEndDate if the zib Procedure concerns a period. For instantaneous or very short lasting procedures the `.occurrenceDateTime` is used." />
      <alias value="VerrichtingStartDatum" />
      <alias value="VerrichtingEindDatum" />
      <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>
      <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="ServiceRequest.occurrence[x]:occurrencePeriod">
      <path value="ServiceRequest.occurrence[x]" />
      <sliceName value="occurrencePeriod" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="ServiceRequest.occurrence[x]:occurrencePeriod.start">
      <path value="ServiceRequest.occurrence[x].start" />
      <short value="ProcedureStartDate" />
      <definition value="The (desired) 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="ServiceRequest.occurrence[x]:occurrencePeriod.end">
      <path value="ServiceRequest.occurrence[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 `occurrenceDateTime` 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="ServiceRequest.occurrence[x]:occurrenceDateTime">
      <path value="ServiceRequest.occurrence[x]" />
      <sliceName value="occurrenceDateTime" />
      <short value="ProcedureStartDate" />
      <definition value="The (desired) 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" />
      <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="ServiceRequest.requester">
      <path value="ServiceRequest.requester" />
      <short value="Requester" />
      <definition value="The health professional who requested the procedure." />
      <alias value="Aanvrager" />
      <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.10" />
        <comment value="Requester" />
      </mapping>
      <mapping>
        <identity value="HdBe-Procedure" />
        <map value="Requester" />
      </mapping>
    </element>
    <element id="ServiceRequest.performer">
      <path value="ServiceRequest.performer" />
      <short value="Performer" />
      <definition value="The healthcare 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." />
      <comment value="If multiple performers are present, it is interpreted as a list of *alternative* performers without any preference regardless of order. This deviates from the CBB definition where multiple references to the Healthprofessional should be interperted as all the performers of the procedure. If order of preference is needed use the [request-performerOrder extension](extension-request-performerorder.html).  Use CareTeam to represent a group of performers (for example, Practitioner A *and* Practitioner B)." />
      <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/CareTeam" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-HealthProfessional-PractitionerRole" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-CareTeam" />
      </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="ServiceRequest.locationReference">
      <path value="ServiceRequest.locationReference" />
      <short value="Location" />
      <definition value="The healthcare organization where the procedure was, is or will be carried out." />
      <alias value="Locatie" />
      <max value="1" />
      <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="ServiceRequest.reasonReference">
      <path value="ServiceRequest.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/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="ServiceRequest.supportingInfo">
      <path value="ServiceRequest.supportingInfo" />
      <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/Resource" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-MedicalDevice" />
      </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>
    <element id="ServiceRequest.bodySite">
      <path value="ServiceRequest.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>
  </differential>
</StructureDefinition>