<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="nxh-chemomedicationrequest" />
  <url value="https://fhir.nexuzhealth.com/standards/fhir/StructureDefinition/NxhChemoMedicationRequest" />
  <name value="NxhChemoMedicationRequest" />
  <status value="active" />
  <date value="2023-12-14T11:50:27.1763586+00:00" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="MedicationRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationRequest" />
  <derivation value="constraint" />
  <differential>
    <element id="MedicationRequest.extension">
      <path value="MedicationRequest.extension" />
      <min value="1" />
    </element>
    <element id="MedicationRequest.extension:nxhExtHospitalCode">
      <path value="MedicationRequest.extension" />
      <sliceName value="nxhExtHospitalCode" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.nexuzhealth.com/standards/fhir/StructureDefinition/nxh-ext-hospitalCode" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="MedicationRequest.identifier">
      <path value="MedicationRequest.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="MedicationRequest.identifier:handelingNr">
      <path value="MedicationRequest.identifier" />
      <sliceName value="handelingNr" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="MedicationRequest.identifier:handelingNr.system">
      <path value="MedicationRequest.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a URL that describes a set values that are unique" />
      <fixedUri value="https://fhir.nexuzhealth.com/standards/fhir/NamingSystem/kws/apotheek/chemoBundelHandeling/handelingNr" />
    </element>
    <element id="MedicationRequest.intent">
      <path value="MedicationRequest.intent" />
      <fixedCode value="plan" />
    </element>
    <element id="MedicationRequest.category">
      <path value="MedicationRequest.category" />
      <binding>
        <strength value="required" />
      </binding>
    </element>
    <element id="MedicationRequest.category.coding.code">
      <path value="MedicationRequest.category.coding.code" />
      <fixedCode value="inpatient" />
    </element>
    <element id="MedicationRequest.category.coding.display">
      <path value="MedicationRequest.category.coding.display" />
      <fixedString value="Inpatient" />
    </element>
    <element id="MedicationRequest.groupIdentifier.system">
      <path value="MedicationRequest.groupIdentifier.system" />
      <definition value="Establishes the namespace for the value - that is, a URL that describes a set values that are unique" />
      <fixedUri value="https://fhir.nexuzhealth.com/standards/fhir/NamingSystem/kws/apotheek/chemoVoorschriftBundel/voorschriftBundelNr" />
    </element>
    <element id="MedicationRequest.courseOfTherapyType">
      <path value="MedicationRequest.courseOfTherapyType" />
      <definition value="The description of the overall patte3rn of the administration of the medication to the patient" />
      <binding>
        <strength value="required" />
      </binding>
    </element>
    <element id="MedicationRequest.courseOfTherapyType.coding.code">
      <path value="MedicationRequest.courseOfTherapyType.coding.code" />
      <fixedCode value="acute" />
    </element>
    <element id="MedicationRequest.courseOfTherapyType.coding.display">
      <path value="MedicationRequest.courseOfTherapyType.coding.display" />
      <fixedString value="Short course (acute) therapy" />
    </element>
    <element id="MedicationRequest.dosageInstruction.timing.repeat.durationUnit">
      <path value="MedicationRequest.dosageInstruction.timing.repeat.durationUnit" />
      <definition value="The units of time for the duration, in UCUM units" />
      <fixedCode value="s" />
    </element>
    <element id="MedicationRequest.dosageInstruction.route">
      <path value="MedicationRequest.dosageInstruction.route" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.nexuzhealth.com/standards/fhir/ValueSet/nxh-vs-toedieningsweg" />
      </binding>
    </element>
    <element id="MedicationRequest.dosageInstruction.doseAndRate.dose[x]">
      <path value="MedicationRequest.dosageInstruction.doseAndRate.dose[x]" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="MedicationRequest.dosageInstruction.doseAndRate.rate[x]">
      <path value="MedicationRequest.dosageInstruction.doseAndRate.rate[x]" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
  </differential>
</StructureDefinition>