<?xml-model href="http://hl7.org/fhir/STU3/searchparameter.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<SearchParameter xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir http://hl7.org/fhir/STU3/searchparameter.xsd">
  <url value="http://nictiz.nl/fhir/SearchParameter/Medications-medicationtreatment" />
  <version value="1.0" />
  <name value="Medications-medicationtreatment" />
  <status value="draft" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="email" />
      <value value="info@nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <purpose value="To select the MedicationRequest, MedicationDispense, MedicationAdministration, and MedicationStatement resources based on a specific medication treatment.      The medication treatment identifier is defined in an extension and used in the profiles for Medication Proces 9.* project.          This parameter can also be used system-wide to retrieve the results of all relevant resource type in a single bundle.          " />
  <code value="medicationtreatment" />
  <base value="DomainResource" />
  <base value="MedicationAdministration" />
  <base value="MedicationStatement" />
  <base value="MedicationRequest" />
  <base value="MedicationDispense" />
  <type value="token" />
  <description value="Searches on multiple medication resources:           * [MedicationRequest](http://hl7.org/fhir/stu3/medicationrequest.html): Searches MedicationRequests resources based on their medication treatment identifier, provided in the value of the 'http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment' extension.     * [MedicationDispense](http://hl7.org/fhir/stu3/medicationdispense.html): Searches MedicationDispense resources based on their medication treatment identifier, provided in the value of the 'http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment' extension.     * [MedicationStatement](http://hl7.org/fhir/stu3/medicationstatement.html): Searches MedicationStatement resources based on their medication treatment identifier, provided in the value of the 'http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment' extension.     * [MedicationAdministration](http://hl7.org/fhir/stu3/medicationadministration.html): Searches MedicationAdministration resources based on their medication treatment identifier, provided in the value of the 'http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment' extension.          This parameter can also be used parameter can also be used system-wide to retrieve the results of the resource types above in a single bundle.     " />
  <expression value="MedicationRequest.extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment') | MedicationDispense.extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment') | MedicationAdministration.extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment') | MedicationStatement.extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment')" />
  <xpath value="f:MedicationRequest/f:extension[@url='http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment'] | f:MedicationDispense/f:extension[@url='http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment'] | f:MedicationAdministration/f:extension[@url='http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment'] | f:MedicationStatement/f:extension[@url='http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment']" />
  <xpathUsage value="normal" />
</SearchParameter>