<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="SupplyRequest" />
  <meta>
    <lastUpdated value="2021-01-02T08:58:31.578+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Clinical.Request &amp;amp; Response" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="patient" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo" />
  </extension>
  <extension url="http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status">
    <valueCode value=".status = entered-in-error" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/SupplyRequest" />
  <version value="4.6.0" />
  <name value="SupplyRequest" />
  <status value="draft" />
  <date value="2021-01-02T08:58:31+11:00" />
  <publisher value="Health Level Seven International (Orders and Observations)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/orders/index.cfm" />
    </telecom>
  </contact>
  <description value="A record of a non-patient specific request for a medication, substance, device, certain types of biologically derived product, and nutrition product used in the healthcare setting." />
  <fhirVersion value="4.6.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="SupplyRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="SupplyRequest">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="0,0" />
      </extension>
      <path value="SupplyRequest" />
      <short value="Request for a medication, substance or device" />
      <definition value="A record of a request for a medication, substance or device used in the healthcare setting." />
      <min value="0" />
      <max value="*" />
      <mapping>
        <identity value="workflow" />
        <map value="Request" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ORC" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act[moodCode&lt;=INT]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="workflow.order" />
      </mapping>
    </element>
    <element id="SupplyRequest.identifier">
      <path value="SupplyRequest.identifier" />
      <short value="Business Identifier for SupplyRequest" />
      <definition value="Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server." />
      <comment value="The identifier.type element is used to distinguish between the identifiers assigned by the requester/placer and the performer/filler." />
      <requirements value="Allows identification of the request as it is known by various participating systems and in a way that remains consistent across servers." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="workflow" />
        <map value="Request.identifier" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ORC.2, ORC.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".identifier" />
      </mapping>
    </element>
    <element id="SupplyRequest.status">
      <path value="SupplyRequest.status" />
      <short value="draft | active | suspended +" />
      <definition value="Status of the supply request." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SupplyRequestStatus" />
        </extension>
        <strength value="required" />
        <description value="Status of the supply request." />
        <valueSet value="http://hl7.org/fhir/ValueSet/supplyrequest-status" />
      </binding>
      <mapping>
        <identity value="workflow" />
        <map value="Request.status" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ORC.5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".status" />
      </mapping>
    </element>
    <element id="SupplyRequest.basedOn">
      <path value="SupplyRequest.basedOn" />
      <short value="What other request is fulfilled by this supply request" />
      <definition value="Plan/proposal/order fulfilled by this request." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="workflow" />
        <map value="Request.basedOn" />
      </mapping>
    </element>
    <element id="SupplyRequest.category">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/committee-notes">
        <valueString value="[3417]." />
      </extension>
      <path value="SupplyRequest.category" />
      <short value="The kind of supply (central, non-stock, etc.)" />
      <definition value="Category of supply, e.g.  central, non-stock, etc. This is used to support work flows associated with the supply process." />
      <alias value="kind" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SupplyRequestKind" />
        </extension>
        <strength value="example" />
        <description value="Category of supply request." />
        <valueSet value="http://hl7.org/fhir/ValueSet/supplyrequest-kind" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.class" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
    </element>
    <element id="SupplyRequest.priority">
      <path value="SupplyRequest.priority" />
      <short value="routine | urgent | asap | stat" />
      <definition value="Indicates how quickly this SupplyRequest should be addressed with respect to other requests." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <meaningWhenMissing value="If missing, this task should be performed with normal priority" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RequestPriority" />
        </extension>
        <strength value="required" />
        <description value="Identifies the level of importance to be assigned to actioning the request." />
        <valueSet value="http://hl7.org/fhir/ValueSet/request-priority" />
      </binding>
      <mapping>
        <identity value="workflow" />
        <map value="Request.priority" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.grade" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="TQ1.9" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".priorityCode" />
      </mapping>
    </element>
    <element id="SupplyRequest.item">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/committee-notes">
        <valueString value="[#14271]." />
      </extension>
      <path value="SupplyRequest.item" />
      <short value="Medication, Substance, or Device requested to be supplied" />
      <definition value="The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list." />
      <comment value="Note that there's a difference between a prescription - an instruction to take a medication, along with a (sometimes) implicit supply, and an explicit request to supply, with no explicit instructions." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SupplyRequestItem" />
        </extension>
        <strength value="example" />
        <description value="The item that was requested." />
        <valueSet value="http://hl7.org/fhir/ValueSet/supply-item" />
      </binding>
      <mapping>
        <identity value="workflow" />
        <map value="Request.code" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
    </element>
    <element id="SupplyRequest.quantity">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/committee-notes">
        <valueString value="[#14271]." />
      </extension>
      <path value="SupplyRequest.quantity" />
      <short value="The requested amount of the item indicated" />
      <definition value="The amount that is being ordered of the indicated item." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value=".quantity" />
      </mapping>
    </element>
    <element id="SupplyRequest.parameter">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/committee-notes">
        <valueString value="[#14271]." />
      </extension>
      <path value="SupplyRequest.parameter" />
      <short value="Ordered item details" />
      <definition value="Specific parameters for the ordered item.  For example, the size of the indicated item." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
    </element>
    <element id="SupplyRequest.parameter.code">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/committee-notes">
        <valueString value="[#14271]." />
      </extension>
      <path value="SupplyRequest.parameter.code" />
      <short value="Item detail" />
      <definition value="A code or string that identifies the device detail being asserted." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ParameterCode" />
        </extension>
        <strength value="example" />
        <description value="A code that identifies the device detail." />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
    </element>
    <element id="SupplyRequest.parameter.value[x]">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/committee-notes">
        <valueString value="[#14271]." />
      </extension>
      <path value="SupplyRequest.parameter.value[x]" />
      <short value="Value of detail" />
      <definition value="The value of the device detail." />
      <comment value="Range means device should have a value that falls somewhere within the specified range." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
    </element>
    <element id="SupplyRequest.occurrence[x]">
      <path value="SupplyRequest.occurrence[x]" />
      <short value="When the request should be fulfilled" />
      <definition value="When the request should be fulfilled." />
      <alias value="when" />
      <alias value="timing" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="workflow" />
        <map value="Request.occurrence[x]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.planned" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Accompanying TQ1/TQ2 segments" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".effectiveTime" />
      </mapping>
    </element>
    <element id="SupplyRequest.authoredOn">
      <path value="SupplyRequest.authoredOn" />
      <short value="When the request was made" />
      <definition value="When the request was made." />
      <alias value="date" />
      <alias value="createdOn" />
      <alias value="signedOn" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="workflow" />
        <map value="Request.authoredOn" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.recorded" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ORC.9" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=AUT].time" />
      </mapping>
    </element>
    <element id="SupplyRequest.requester">
      <path value="SupplyRequest.requester" />
      <short value="Individual making the request" />
      <definition value="The device, practitioner, etc. who initiated the request." />
      <alias value="author" />
      <alias value="source" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <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="http://hl7.org/fhir/StructureDefinition/CareTeam" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="workflow" />
        <map value="Request.requester" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.author" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ORC.12" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=AUT].role" />
      </mapping>
    </element>
    <element id="SupplyRequest.supplier">
      <path value="SupplyRequest.supplier" />
      <short value="Who is intended to fulfill the request" />
      <definition value="Who is intended to fulfill the request." />
      <alias value="performer" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="workflow" />
        <map value="Request.performer" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.actor" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="PRT" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" />
      </mapping>
    </element>
    <element id="SupplyRequest.reason">
      <path value="SupplyRequest.reason" />
      <short value="The reason why the supply item was requested" />
      <definition value="The reason why the supply item was requested." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableReference" />
        <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" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SupplyRequestReason" />
        </extension>
        <strength value="example" />
        <description value="The reason why the supply item was requested." />
        <valueSet value="http://hl7.org/fhir/ValueSet/supplyrequest-reason" />
      </binding>
      <mapping>
        <identity value="workflow" />
        <map value="Request.reason" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.why[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ORC.16" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".reasonCode" />
      </mapping>
    </element>
    <element id="SupplyRequest.deliverFrom">
      <path value="SupplyRequest.deliverFrom" />
      <short value="The origin of the supply" />
      <definition value="Where the supply is expected to come from." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="PRT" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation" />
      </mapping>
    </element>
    <element id="SupplyRequest.deliverTo">
      <path value="SupplyRequest.deliverTo" />
      <short value="The destination of the supply" />
      <definition value="Where the supply is destined to go." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="PRT" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>