<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="us-core-condition-va" />
  <url value="http://vha.gov/fhir/StructureDefinition/us-core-condition-va" />
  <name value="us-core-condition-va" />
  <status value="draft" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Condition" />
  <baseDefinition value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Condition">
      <path value="Condition" />
      <definition value="A derived profile on the US Core Condition profile.  Intended to represent problems and conditions.   Adds the following extensions and constraints to the base HL7 Observation resource:&#xD;&#xA;- Proximal-provenance-extension:  Denotes the most recent source of the documented information&#xD;&#xA;- Presence-indicator-extension:  Denotes whether the condition is present, absent, or indeterminate.  Used to formalize negation for Conditions&#xD;&#xA;- Constrains the &quot;code&quot; element to values from SNOMED-CT that are (1) in the Clinical Finding hierarchy, (2) in the hierarchy rooted at &quot;Family history of clinical finding (situation)&quot;, or (3) in the hierarchy rooted at History of clinical finding in subject (situation).  &#xD;&#xA;- Requires &quot;bodySite&quot; element to be populated with values from the SNOMED-CT Body Structures hierarchy (value set http://hl7.org/fhir/ValueSet/body-site)" />
    </element>
    <element id="Condition.extension">
      <path value="Condition.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Condition.extension:proximal-provenance-extension">
      <path value="Condition.extension" />
      <sliceName value="proximal-provenance-extension" />
      <type>
        <code value="Extension" />
        <profile value="http://vha.gov/fhir/StructureDefinition/proximal-provenance-extension" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Condition.extension:presence-indicator-extension">
      <path value="Condition.extension" />
      <sliceName value="presence-indicator-extension" />
      <type>
        <code value="Extension" />
        <profile value="http://vha.gov/fhir/StructureDefinition/presence-indicator-extension" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Condition.code">
      <path value="Condition.code" />
      <short value="Identification of the condition, problem or diagnosis for the us-core-condition-va profile (http://vha.gov/fhir/StructureDefinition/us-core-condition-va)" />
      <definition value="Identification of the condition, problem or diagnosis for the us-core-condition-va profile (http://vha.gov/fhir/StructureDefinition/us-core-condition-va).    The associated value set constrains the &quot;code&quot; element to values from SNOMED-CT that are (1) in the Clinical Finding hierarchy, (2) in the hierarchy rooted at &quot;Family history of clinical finding (situation)&quot;, or (3) in the hierarchy rooted at History of clinical finding in subject (situation)." />
      <comment value="The purpose of the value-set restrictions is to prevent the use of those SNOMED-CT codes from the &quot;situation-with-explicit-context&quot; that (1)  explicitly negate clinical concepts (because the us-core-condition-va profile uses an explicit extension element to represent negation) or (2) duplicate concepts in the SNOMED-CT &quot;clinical finding&quot; hierarchy." />
      <requirements value="1..1 because all documented conditions should be coded if possible (note that the CodeableConcept data type allows the use of text only, with no coded value, but this should be the case only if no code exists." />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://vha.gov/fhir/ValueSet/us-core-problem-va" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Condition.bodySite">
      <path value="Condition.bodySite" />
      <definition value="The anatomical location where this condition manifests itself.  In this profile, must be populated with values from the SNOMED-CT Body Structures hierarchy (value set http://hl7.org/fhir/ValueSet/body-site)" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BodySite" />
        </extension>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/body-site" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>