<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Observation-member-pathology-uv-ips" />
  <meta>
    <lastUpdated value="2018-02-16T17:38:24.701+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">This profile constrains the Observation resource to represent a sub-observation, member of an "organizer" observation, in the "pathology results entry of a patient summary</div>
  </text>
  <url value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-member-pathology-uv-ips" />
  <version value="0.2.0" />
  <name value="Observation_member_pathology_uv_ips" />
  <title value="Observation (Results: pathology, member)" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2018-03-21T00:00:00+00:00" />
  <publisher value="HL7 International" />
  <description value="This profile constrains the Observation resource to represent a sub-observation, member of an &quot;organizer&quot; observation, in the &quot;pathology results entry of a patient summary" />
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
      <code value="001" />
      <display value="World" />
    </coding>
  </jurisdiction>
  <purpose value="This profile constrains the Observation resource to represent a sub-observation member of a grouping observation (for instance a panel). It can be either a the result of a laboratory observation or a vital sign observation, which helps to interpret the set of results of the grouping observation" />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="sct-concept" />
    <uri value="http://snomed.info/conceptdomain" />
    <name value="SNOMED CT Concept Domain Binding" />
  </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/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-attr" />
    <uri value="http://snomed.org/attributebinding" />
    <name value="SNOMED CT Attribute Binding" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="pathology simple observation" />
      <definition value="Either a  simple observation member of a pathology study containing multiple observations,  or a clinical observation associated with this study, in order to enable the interpretation of this set of observations" />
      <comment value="This observation is a member of a multiple observations pathology study." />
      <mustSupport value="true" />
    </element>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.status">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString value="default: final" />
      </extension>
      <path value="Observation.status" />
      <definition value="The status of the result value.  Only final results feed patient summaries." />
      <fixedCode value="final" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <definition value="A code that classifies the general type of observation being made, between two categories: &#xD;&#xA;a) laboratory observation: &quot;laboratory&quot;&#xD;&#xA;b) clinical observation: &quot;vital-signs&quot;" />
      <comment value="In this profile designed for the IPS, this element distinguishes between observations performed by a laboratory and observations obtained from the ordering party, which are just included in the summary to support the interpretation of the lab observations." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <mustSupport value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationCategory" />
        </extension>
        <strength value="required" />
        <description value="Codes for sub-observation categories" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/sub-observation-category-uv-ips" />
      </binding>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <mustSupport value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationCode" />
        </extension>
        <strength value="extensible" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/pathology-and-vital-signs-observations" />
      </binding>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.subject.reference">
      <path value="Observation.subject.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.effective[x].extension">
      <path value="Observation.effective[x].extension" />
      <short value="effective[x] absence reason" />
      <definition value="Provides a reason why the effective is missing." />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/data-absent-reason" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-laboratory-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <min value="1" />
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/pathology-result-coded-value-uv-ips" />
      </binding>
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <comment value="The specimen is often implied by the observation code. &#xD;&#xA;In the context of this Observation-member-laboratory-uv-ips profile, specimen should be provided only when it is not implied by the Observation.code, and when further information about the specimen needs to be captured (such as specimen source body site)." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Specimen-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.specimen.reference">
      <path value="Observation.specimen.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.referenceRange.type">
      <path value="Observation.referenceRange.type" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.referenceRange.appliesTo">
      <path value="Observation.referenceRange.appliesTo" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.referenceRange.age">
      <path value="Observation.referenceRange.age" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.hasMember">
      <path value="Observation.hasMember" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
  </differential>
</StructureDefinition>