<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-encounter-EncounterRequested" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR EncounterRequested Profile</b>
      </p>
      <p />
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.encounter.EncounterRequested maps to Basic:
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterRequested" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.encounter.EncounterRequested" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR EncounterRequested 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>
  <purpose value="Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources." />
  <fhirVersion value="3.0.1" />
  <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>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <derivation value="constraint" />
  <differential>
    <element id="Basic:shr-encounter-EncounterRequested">
      <path value="Basic" />
      <short value="SHR EncounterRequested Profile" />
      <definition value="Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification." />
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:relatedencounter">
      <path value="Basic.extension" />
      <sliceName value="relatedencounter" />
      <definition value="If content was generated during a patient encounter, related encounter is the encounter where the information was gained." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:author">
      <path value="Basic.extension" />
      <sliceName value="author" />
      <definition value="The person or organization who created the entry and is responsible for (and may certify) the content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:informant">
      <path value="Basic.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="Basic:shr-encounter-EncounterRequested.extension:type">
      <path value="Basic.extension" />
      <sliceName value="type" />
      <definition value="The most specific code (lowest level term) describing the kind or sort of thing being represented." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:category">
      <path value="Basic.extension" />
      <sliceName value="category" />
      <definition value="A class or division of people or things having particular shared characteristics" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:requestedcontext">
      <path value="Basic.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="Basic:shr-encounter-EncounterRequested.extension:subject">
      <path value="Basic.extension" />
      <sliceName value="subject" />
      <definition value="The person or thing that this entry relates to, usually the Person of Record. However, not all entries have health information specifically about the patient, but in different contexts, could refer to a fetus, family member (living or dead), device, location, organization, finding, condition, or intervention." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:referraldate">
      <path value="Basic.extension" />
      <sliceName value="referraldate" />
      <definition value="The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client's behalf." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:referralsourcetype">
      <path value="Basic.extension" />
      <sliceName value="referralsourcetype" />
      <definition value="The type of person or entity that instigated the encounter." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:typeasacoding">
      <path value="Basic.extension" />
      <sliceName value="typeasacoding" />
      <definition value="SHR TypeAsaCoding Extension" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TypeAsaCoding-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:typeasacoding.valueCoding">
      <path value="Basic.extension.valueCoding" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActEncounterCode" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:servicegiven">
      <path value="Basic.extension" />
      <sliceName value="servicegiven" />
      <definition value="Indicates a medical service provided." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ServiceGiven-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:serviceprovider">
      <path value="Basic.extension" />
      <sliceName value="serviceprovider" />
      <definition value="The organization that provided the services rendered during this encounter." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ServiceProvider-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:treatmentcooperation">
      <path value="Basic.extension" />
      <sliceName value="treatmentcooperation" />
      <definition value="Whether the patient is undergoing treatment voluntarily, or under a legal order." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.extension:paymentsource">
      <path value="Basic.extension" />
      <sliceName value="paymentsource" />
      <definition value="The source of payment for the current encounter." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension" />
      </type>
    </element>
    <element id="Basic:shr-encounter-EncounterRequested.code">
      <path value="Basic.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://standardhealthrecord.org/fhir/basic-resource-type" />
          <code value="shr-encounter-EncounterRequested" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>