<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="2d25a079-7bbb-4a37-8f63-ea55c142c1d9" />
  <meta>
    <lastUpdated value="2021-12-15T14:43:14.574+00:00" />
  </meta>
  <url value="https://simplifier.net/winningtest/supply-request-profile" />
  <name value="SupplyRequest" />
  <title value="Supply Request" />
  <status value="draft" />
  <date value="2021-12-15T14:32:35.8789879+00:00" />
  <description value="库存申请" />
  <fhirVersion value="4.0.1" />
  <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/SupplyRequest" />
  <derivation value="constraint" />
  <differential>
    <element id="SupplyRequest.category">
      <path value="SupplyRequest.category" />
      <max value="0" />
    </element>
    <element id="SupplyRequest.priority">
      <path value="SupplyRequest.priority" />
      <max value="0" />
    </element>
    <element id="SupplyRequest.item[x]">
      <path value="SupplyRequest.item[x]" />
      <short value="药品" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="https://simplifier.net/winningtest/medication-profile" />
        <aggregation value="referenced" />
      </type>
    </element>
    <element id="SupplyRequest.quantity">
      <path value="SupplyRequest.quantity" />
      <short value="请领数量" />
    </element>
    <element id="SupplyRequest.parameter">
      <path value="SupplyRequest.parameter" />
      <max value="0" />
    </element>
    <element id="SupplyRequest.occurrence[x]">
      <path value="SupplyRequest.occurrence[x]" />
      <short value="使用时间" />
    </element>
    <element id="SupplyRequest.authoredOn">
      <path value="SupplyRequest.authoredOn" />
      <short value="请领时间" />
    </element>
    <element id="SupplyRequest.requester">
      <path value="SupplyRequest.requester" />
      <short value="请求方" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://simplifier.net/winningtest/practitioner-profile" />
        <targetProfile value="https://simplifier.net/winningtest/department-profile" />
        <aggregation value="referenced" />
      </type>
    </element>
    <element id="SupplyRequest.supplier">
      <path value="SupplyRequest.supplier" />
      <max value="0" />
    </element>
    <element id="SupplyRequest.reasonCode">
      <path value="SupplyRequest.reasonCode" />
      <max value="0" />
    </element>
    <element id="SupplyRequest.reasonReference">
      <path value="SupplyRequest.reasonReference" />
      <max value="0" />
    </element>
    <element id="SupplyRequest.deliverFrom">
      <path value="SupplyRequest.deliverFrom" />
      <short value="提供方" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://simplifier.net/winningtest/department-profile" />
        <aggregation value="referenced" />
      </type>
    </element>
    <element id="SupplyRequest.deliverTo">
      <path value="SupplyRequest.deliverTo" />
      <short value="接收方" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://simplifier.net/winningtest/department-profile" />
        <aggregation value="referenced" />
      </type>
    </element>
  </differential>
</StructureDefinition>