<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-procedure-LaboratoryProcedureRequested" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR LaboratoryProcedureRequested Profile</b>
      </p>
      <p />
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.procedure.LaboratoryProcedureRequested maps to Basic:
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-LaboratoryProcedureRequested" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.procedure.LaboratoryProcedureRequested" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR LaboratoryProcedureRequested 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-procedure-LaboratoryProcedureRequested">
      <path value="Basic" />
      <short value="SHR LaboratoryProcedureRequested 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-procedure-LaboratoryProcedureRequested.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-procedure-LaboratoryProcedureRequested.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-procedure-LaboratoryProcedureRequested.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-procedure-LaboratoryProcedureRequested.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="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:type.valueCodeableConcept">
      <path value="Basic.extension.valueCodeableConcept" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/observation-codes" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.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="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:category.valueCodeableConcept">
      <path value="Basic.extension.valueCodeableConcept" />
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:category.valueCodeableConcept.coding">
      <path value="Basic.extension.valueCodeableConcept.coding" />
      <slicing id="325">
        <discriminator>
          <type value="value" />
          <path value="path" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:category.valueCodeableConcept.coding:Fixed_laboratory">
      <path value="Basic.extension.valueCodeableConcept.coding" />
      <sliceName value="Fixed_laboratory" />
      <definition value="A reference to a code defined by a terminology system." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:category.valueCodeableConcept.coding:Fixed_laboratory.system">
      <path value="Basic.extension.valueCodeableConcept.coding.system" />
      <fixedUri value="http://hl7.org/fhir/observation-category" />
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:category.valueCodeableConcept.coding:Fixed_laboratory.code">
      <path value="Basic.extension.valueCodeableConcept.coding.code" />
      <fixedCode value="laboratory" />
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.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-procedure-LaboratoryProcedureRequested.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="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:bodysite">
      <path value="Basic.extension" />
      <sliceName value="bodysite" />
      <definition value="A location or structure in the body, including tissues, regions, cavities, and spaces, for example, right elbow, or left ventricle of the heart." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-BodySite-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:associatedstudy">
      <path value="Basic.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="Basic:shr-procedure-LaboratoryProcedureRequested.extension:partof">
      <path value="Basic.extension" />
      <sliceName value="partof" />
      <definition value="The larger entity that this is a portion of." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-PartOf-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:annotation">
      <path value="Basic.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="Basic:shr-procedure-LaboratoryProcedureRequested.extension:specimen">
      <path value="Basic.extension" />
      <sliceName value="specimen" />
      <definition value="Sample for analysis" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Specimen-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.extension:device">
      <path value="Basic.extension" />
      <sliceName value="device" />
      <definition value="A specific durable physical device used in diagnosis or treatment. The value is the coding for a type of device, for example, a CPAP machine. The same device might be used on multiple patients." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-LaboratoryProcedureRequested.code">
      <path value="Basic.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://standardhealthrecord.org/fhir/basic-resource-type" />
          <code value="shr-procedure-LaboratoryProcedureRequested" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>