<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Condition-uv-ips" />
  <meta>
    <lastUpdated value="2018-02-27T15:32:05.203+01:00" />
  </meta>
  <url value="http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips" />
  <version value="0.2.0" />
  <name value="ConditionUvIps" />
  <title value="Condition (IPS)" />
  <status value="active" />
  <date value="2018-03-20" />
  <publisher value="HL7 International" />
  <description value="This profile represents the constraints applied to the Condition resource by the International Patient Summary (IPS) FHIR Implementation Guide. A record of problem is represented in the patient summary as an instance of the Condition resource constrained by this profile." />
  <purpose value="Representation of a problem in the international patient summary" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Condition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Condition" />
  <derivation value="constraint" />
  <differential>
    <element id="Condition">
      <path value="Condition" />
      <short value="Documentation of a health problem of the patient" />
      <mustSupport value="true" />
    </element>
    <element id="Condition.clinicalStatus">
      <path value="Condition.clinicalStatus" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Condition.verificationStatus">
      <path value="Condition.verificationStatus" />
      <comment value="This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid." />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Condition.category">
      <path value="Condition.category" />
      <definition value="A category assigned to the condition. In this profile, a health problem of the patient, therefore a 'problem-list-item'.&#xD;&#xA;" />
      <comment value="In this profile, Condition represents a health problem of the patient. Therefore one of the category value(s) must be problem-list-item." />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/problem-type-uv-ips" />
      </binding>
    </element>
    <element id="Condition.severity">
      <path value="Condition.severity" />
      <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="ConditionSeverity" />
        </extension>
        <strength value="preferred" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/condition-severity-uv-ips" />
      </binding>
    </element>
    <element id="Condition.code">
      <path value="Condition.code" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="$this" />
        </discriminator>
        <description value="Discriminated by the bound value set" />
        <rules value="open" />
      </slicing>
      <definition value="Identification of the condition, problem or diagnosis or recording of &quot;problem absent&quot; or of &quot;problems unknown&quot;." />
      <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" />
    </element>
    <element id="Condition.code:problemGPSCode">
      <path value="Condition.code" />
      <sliceName value="problemGPSCode" />
      <short value="Code for a problem from the SNOMED CT GPS code set" />
      <definition value="Code for a clinical problem that is selected from the SNOMED CT GPS code set." />
      <min value="0" />
      <max value="1" />
      <mustSupport value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="problemGPSCode" />
        </extension>
        <strength value="required" />
        <description value="Absent problem or unknown problem" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/core-problem-finding-situation-event-gps-uv-ips" />
      </binding>
    </element>
    <element id="Condition.code:absentOrUnknownProblem">
      <path value="Condition.code" />
      <sliceName value="absentOrUnknownProblem" />
      <short value="Code for absent problem or for unknown problem" />
      <definition value="Code representing the statement &quot;absent problem&quot; or the statement &quot;problems unknown&quot;" />
      <min value="0" />
      <max value="1" />
      <mustSupport value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="absentOrUnknownProblem" />
        </extension>
        <strength value="required" />
        <description value="Absent problem or unknown problem" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips" />
      </binding>
    </element>
    <element id="Condition.bodySite">
      <path value="Condition.bodySite" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BodySite" />
        </extension>
        <strength value="example" />
        <valueSet value="http://hl7.org/fhir/ValueSet/body-site" />
      </binding>
    </element>
    <element id="Condition.subject">
      <path value="Condition.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Condition.subject.reference">
      <path value="Condition.subject.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Condition.onsetDateTime">
      <path value="Condition.onsetDateTime" />
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Condition.abatement[x]">
      <path value="Condition.abatement[x]" />
      <mustSupport value="true" />
    </element>
    <element id="Condition.asserter">
      <path value="Condition.asserter" />
      <definition value="Individual who is making the condition statement.&#xD;&#xA;Information source." />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>