<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-procedure-ProcedureRequested" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR ProcedureRequested Profile</b>
      </p>
      <p />
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.procedure.ProcedureRequested maps to ProcedureRequest:
  Entry.CreationTime maps to authoredOn
  RelatedEncounter maps to context
  Author maps to requester
  Type maps to code
  Category maps to category
  constrain doNotPerform to 0..0
  RequestedContext.Reason maps to reasonCode
  Subject maps to subject
  BodySite maps to bodySite
  RequestedContext.Status maps to status
  RequestedContext.RequestIntent maps to intent
  RequestedContext.ExpectedPerformanceTime maps to occurrence[x]
  RequestedContext.ExpectedPerformerType maps to performerType
  RequestedContext.ExpectedPerformer maps to performer
  RequestedContext.Priority maps to priority
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-ProcedureRequested" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.procedure.ProcedureRequested" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR ProcedureRequested Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Mapping" />
  </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/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="quick" />
    <uri value="http://wiki.siframework.org/CQF" />
    <name value="Quality Improvement and Clinical Knowledge (QUICK)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="ProcedureRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest" />
  <derivation value="constraint" />
  <differential>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested">
      <path value="ProcedureRequest" />
      <short value="SHR ProcedureRequested Profile" />
      <definition value="A record of a request for diagnostic investigations, treatments, or operations to be performed." />
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.extension:informant">
      <path value="ProcedureRequest.extension" />
      <sliceName value="informant" />
      <definition value="The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" />
      </type>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.extension:requestedcontext">
      <path value="ProcedureRequest.extension" />
      <sliceName value="requestedcontext" />
      <definition value="An order for something to take place." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension" />
      </type>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.extension:requestedcontext.extension:priority">
      <path value="ProcedureRequest.extension.extension" />
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.extension:requestedcontext.extension:priority.value[x]">
      <path value="ProcedureRequest.extension.extension.value[x]" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/request-priority" />
        </valueSetReference>
      </binding>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.extension:associatedstudy">
      <path value="ProcedureRequest.extension" />
      <sliceName value="associatedstudy" />
      <definition value="The clinical trial or other formal study related to this procedure." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-AssociatedStudy-extension" />
      </type>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.extension:annotation">
      <path value="ProcedureRequest.extension" />
      <sliceName value="annotation" />
      <definition value="An added or follow-up note, often after the fact, that contains metadata about who made the statement and when." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Annotation-extension" />
      </type>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.doNotPerform">
      <path value="ProcedureRequest.doNotPerform" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.category">
      <path value="ProcedureRequest.category" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.code">
      <path value="ProcedureRequest.code" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" />
        </valueSetReference>
      </binding>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.subject">
      <path value="ProcedureRequest.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Geoposition" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" />
      </type>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.context">
      <path value="ProcedureRequest.context" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterPerformed" />
      </type>
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.authoredOn">
      <path value="ProcedureRequest.authoredOn" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="ProcedureRequest:shr-procedure-ProcedureRequested.bodySite">
      <path value="ProcedureRequest.bodySite" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://standardhealthrecord.org/shr/core/vs/BodySiteVS" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>