<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-procedure-HIVScreeningTestPerformed" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR HIVScreeningTestPerformed Profile</b>
      </p>
      <p>The performance of a HIV Screening Test. Results will be in an accompanying observation.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.procedure.HIVScreeningTestPerformed maps to Basic:
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-HIVScreeningTestPerformed" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.procedure.HIVScreeningTestPerformed" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR HIVScreeningTestPerformed 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>
  <description value="The performance of a HIV Screening Test. Results will be in an accompanying observation." />
  <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-HIVScreeningTestPerformed">
      <path value="Basic" />
      <short value="SHR HIVScreeningTestPerformed Profile" />
      <definition value="The performance of a HIV Screening Test. Results will be in an accompanying observation." />
    </element>
    <element id="Basic:shr-procedure-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.extension:type.valueCodeableConcept">
      <path value="Basic.extension.valueCodeableConcept" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://standardhealthrecord.org/shr/procedure/vs/HIVScreeningTestCodeVS" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Basic:shr-procedure-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.extension:category.valueCodeableConcept">
      <path value="Basic.extension.valueCodeableConcept" />
    </element>
    <element id="Basic:shr-procedure-HIVScreeningTestPerformed.extension:category.valueCodeableConcept.coding">
      <path value="Basic.extension.valueCodeableConcept.coding" />
      <slicing id="327">
        <discriminator>
          <type value="value" />
          <path value="path" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Basic:shr-procedure-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.extension:category.valueCodeableConcept.coding:Fixed_laboratory.code">
      <path value="Basic.extension.valueCodeableConcept.coding.code" />
      <fixedCode value="laboratory" />
    </element>
    <element id="Basic:shr-procedure-HIVScreeningTestPerformed.extension:performedcontext">
      <path value="Basic.extension" />
      <sliceName value="performedcontext" />
      <definition value="ActionContext indicating actual performance or execution of a healthcare-related action, e.g., 3rd dose of Hepatitis B vaccine administered on Dec 4th 2012, appendectomy performed today." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PerformedContext-extension" />
      </type>
    </element>
    <element id="Basic:shr-procedure-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.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-HIVScreeningTestPerformed.code">
      <path value="Basic.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://standardhealthrecord.org/fhir/basic-resource-type" />
          <code value="shr-procedure-HIVScreeningTestPerformed" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>