<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-base-Condition" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SDR Condition Profile</b>
      </p>
      <p>A disorder, abnormality, problem, injury, complaint, risk, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble. A ConditionPresent finding implies the existence of a condition as an entity. 'Condition' is interpreted broadly to cover states of existence - things the patient is or has.</p>
      <p>
        <b>SDR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.base.Condition maps to Condition:
  CodeableConcept maps to code
  Onset maps to onset[x]
  Subject maps to subject
  constrain text to 1..1
</pre>
      </p>
    </div>
  </text>
  <url value="http://nightingaleproject.github.io/fhirDeathRecord/StructureDefinition/shr-base-Condition" />
  <identifier>
    <system value="http://github.com/nightingaleproject/fhirDeathRecord" />
    <value value="shr.base.Condition" />
  </identifier>
  <version value="0.1.0" />
  <name value="ConditionProfile" />
  <title value="SDR Condition Profile" />
  <status value="draft" />
  <date value="2018-06-14T00:00:00-04:00" />
  <publisher value="The MITRE Corporation: Nightingale Project" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://github.com/nightingaleproject/fhirDeathRecord" />
    </telecom>
  </contact>
  <description value="A disorder, abnormality, problem, injury, complaint, risk, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble. A ConditionPresent finding implies the existence of a condition as an entity. 'Condition' is interpreted broadly to cover states of existence - things the patient is or has." />
  <fhirVersion value="3.0.1" />
  <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/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-attr" />
    <uri value="http://snomed.info/sct" />
    <name value="SNOMED CT Attribute Binding" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Condition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Condition" />
  <derivation value="constraint" />
  <differential>
    <element id="Condition:shr-base-Condition">
      <path value="Condition" />
      <short value="SDR Condition Profile" />
      <definition value="A disorder, abnormality, problem, injury, complaint, risk, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble. A ConditionPresent finding implies the existence of a condition as an entity. 'Condition' is interpreted broadly to cover states of existence - things the patient is or has." />
    </element>
    <element id="Condition:shr-base-Condition.text">
      <path value="Condition.text" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Condition:shr-base-Condition.code">
      <path value="Condition.code" />
      <definition value="Code representing a disorder, abnormality, problem, injury, complaint, risk, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble. A ConditionPresent finding implies the existence of a condition as an entity. 'Condition' is interpreted broadly to cover states of existence - things the patient is or has." />
    </element>
    <element id="Condition:shr-base-Condition.subject">
      <path value="Condition.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" />
      </type>
    </element>
    <element id="Condition:shr-base-Condition.onset[x]">
      <path value="Condition.onset[x]" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>