<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="efafff75-d491-47eb-969a-ed7ec1e07e8c" />
  <meta>
    <lastUpdated value="2021-01-12T10:26:53.356+00:00" />
  </meta>
  <url value="https://simplifier.net/winningtest/execution-plan-state-change-profile" />
  <name value="ExecutionPlanStateChange" />
  <title value="Execution Plan State Change" />
  <status value="draft" />
  <date value="2021-01-12T08:55:29.5435416+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="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="CommunicationRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CommunicationRequest" />
  <derivation value="constraint" />
  <differential>
    <element id="CommunicationRequest.basedOn">
      <path value="CommunicationRequest.basedOn" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://simplifier.net/winningtest/execution-plan-profile" />
      </type>
    </element>
    <element id="CommunicationRequest.replaces">
      <path value="CommunicationRequest.replaces" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.groupIdentifier">
      <path value="CommunicationRequest.groupIdentifier" />
      <short value="执行计划id" />
    </element>
    <element id="CommunicationRequest.status">
      <path value="CommunicationRequest.status" />
      <definition value="active：开始执行/恢复执行&#xD;&#xA;on-hold：暂停执行&#xD;&#xA;completed：执行完成确认&#xD;&#xA;entered-in-error：执行失败&#xD;&#xA;revoked：撤回至当前状态" />
    </element>
    <element id="CommunicationRequest.category">
      <path value="CommunicationRequest.category" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.priority">
      <path value="CommunicationRequest.priority" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.doNotPerform">
      <path value="CommunicationRequest.doNotPerform" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.medium">
      <path value="CommunicationRequest.medium" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.subject">
      <path value="CommunicationRequest.subject" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.about">
      <path value="CommunicationRequest.about" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.encounter">
      <path value="CommunicationRequest.encounter" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.payload">
      <path value="CommunicationRequest.payload" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.occurrence[x]">
      <path value="CommunicationRequest.occurrence[x]" />
      <max value="0" />
    </element>
    <element id="CommunicationRequest.authoredOn">
      <path value="CommunicationRequest.authoredOn" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>