<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="19786e9e-8942-447b-9b3b-db9cd4e6e4d0" />
  <url value="https://cloudconnect.cognisantmd.com/fhir/StructureDefinition/Condition" />
  <name value="Condition" />
  <status value="draft" />
  <description value="Conditions are an optional resource which may be returned by the $everything operation to assist with form pre-population, particularly within the 'Problem List' and 'Past Medical History' sections, accessed via the Ocean keywords @ptCpp.prob and @ptCpp.pmhx. Implementors may also support POST operations to create a new procedure resources in the system to assist with automated profile creation while importing patients from Ocean." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Condition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Condition" />
  <derivation value="constraint" />
  <differential>
    <element id="Condition.code">
      <path value="Condition.code" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="coding.system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <mustSupport value="true" />
    </element>
    <element id="Condition.code:SNOMEDCode">
      <path value="Condition.code" />
      <sliceName value="SNOMEDCode" />
    </element>
    <element id="Condition.code:SNOMEDCode.coding.system">
      <path value="Condition.code.coding.system" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Condition.code:ICD10Code">
      <path value="Condition.code" />
      <sliceName value="ICD10Code" />
    </element>
    <element id="Condition.code:ICD10Code.coding.system">
      <path value="Condition.code.coding.system" />
      <fixedUri value="http://hl7.org/fhir/ca/baseline/sid/icd-10" />
    </element>
    <element id="Condition.clinicalStatus">
      <path value="Condition.clinicalStatus" />
      <definition value="The clinical status of the condition. Conditions with a clinicalStatus of 'resolved' or 'remission' or 'inactive' are considered part of the '@ptCpp.pmhx' list; otherwise it belongs to the '@ptCpp.prob' list." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Condition.text">
      <path value="Condition.text" />
      <definition value="The narrative text for the condition." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Condition.text.div">
      <path value="Condition.text.div" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>