<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-Problem" />
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-Problem" />
  <name value="HdBeProblem" />
  <title value="HdBe Problem" />
  <status value="draft" />
  <date value="2022-10-17T09:09:13.9562003+00:00" />
  <publisher value="Healthdata.be (Sciensano)" />
  <contact>
    <name value="Service portal – healthdata.be" />
    <telecom>
      <system value="url" />
      <value value="https://sciensano.service-now.com/sp" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A problem describes a situation with regard to an individual’s health and/or welfare. This situation can be described by the person involved (the patient) themselves (in the form of a complaint), or by their healthcare professional (in the form of a diagnosis, for example). The situation can form cause for diagnostic or therapeutic policy.&#xD;&#xA;&#xD;&#xA;A problem includes all kinds of medical or nursing information that represents a health problem. A problem can represent various types of health problems:&#xD;&#xA; &#xD;&#xA;A complaint, finding by patient: a subjective, negatively experienced observation of the patient’s health. Examples: stomach ache, amnesia&#xD;&#xA;&#xD;&#xA;A symptom: an observation by or about the patient which may indicate a certain disease. Examples: fever, blood in stool, white spots on the roof of the mouth;&#xD;&#xA;&#xD;&#xA;A diagnosis: medical interpretation of complaints and findings. Examples: Diabetes Mellitus type II, pneumonia, hemolytic-uremic syndrome.&#xD;&#xA;&#xD;&#xA;A functional limitation: a reduction of functional options. Examples: reduced mobility, help required for dressing.&#xD;&#xA;&#xD;&#xA;A complication: Every diagnosis seen by the healthcare professional as an unforeseen and undesired result of medical action. Examples: post-operative wound infections, loss of hearing through the use of antibiotics." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-problem-v4.4-2020EN" />
    <uri value="https://zibs.nl/wiki/Problem-v4.4(2020EN)" />
    <name value="zib Problem-v4.4(2020EN)" />
  </mapping>
  <mapping>
    <identity value="HdBe-Problem" />
    <uri value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Problem" />
    <name value="HdBe logical model Problem" />
  </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">
      <path value="Condition" />
      <short value="Problem" />
      <alias value="Probleem" />
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.1" />
        <comment value="Problem" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem" />
      </mapping>
    </element>
    <element id="Condition.clinicalStatus">
      <path value="Condition.clinicalStatus" />
      <short value="ProblemStatus" />
      <definition value="The problem status describes the condition of the problem:&#xD;&#xA;1. Active problems are problems of which the patient experiences symptoms or for which evidence exists.&#xD;&#xA;&#xD;&#xA;2. Problems with the status 'Inactive' refer to problems that don't affect the patient anymore or that of which there is no evidence of existence anymore." />
      <alias value="ProbleemStatus" />
      <binding>
        <strength value="required" />
        <description value="Use ConceptMap ProblemStatus_to_ConditionClinicalStatusCodes to translate terminology from the functional model to profile terminology in ValueSet ConditionClinicalStatusCodes." />
        <valueSet value="http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1">
          <extension url="http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap">
            <valueCanonical value="https://fhir.healthdata.be/ConceptMap/ProblemStatus-to-ConditionClinicalStatusCodes" />
          </extension>
        </valueSet>
      </binding>
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.4" />
        <comment value="ProblemStatus" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.ProblemStatus" />
      </mapping>
    </element>
    <element id="Condition.verificationStatus">
      <path value="Condition.verificationStatus" />
      <short value="VerificationStatus" />
      <definition value="Clinical status of the problem or the diagnosis." />
      <alias value="VerificatieStatus" />
      <binding>
        <strength value="required" />
        <description value="Use ConceptMap VerificationStatus_to_ConditionVerificationStatus to translate terminology from the functional model to profile terminology in ValueSet ConditionVerificationStatus." />
        <valueSet value="http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1">
          <extension url="http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap">
            <valueCanonical value="https://fhir.healthdata.be/ConceptMap/VerificationStatus-to-ConditionVerificationStatus" />
          </extension>
        </valueSet>
      </binding>
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.10" />
        <comment value="VerificationStatus" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.VerificationStatus" />
      </mapping>
    </element>
    <element id="Condition.verificationStatus.coding">
      <path value="Condition.verificationStatus.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Condition.verificationStatus.coding:verificationStatusCodelist">
      <path value="Condition.verificationStatus.coding" />
      <sliceName value="verificationStatusCodelist" />
      <comment value="In addition to a coding from this ValueSet, the corresponding coding from the FHIR base ValueSet SHALL be communicated. The ConceptMap &lt;https://fhir.healthdata.be/ConceptMap/VerificationStatus-to-ConditionVerificationStatus&gt; can be used to relate these two ValueSets." />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/VerificationStatus" />
      </binding>
    </element>
    <element id="Condition.category">
      <path value="Condition.category" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Condition.category:problemType">
      <path value="Condition.category" />
      <sliceName value="problemType" />
      <short value="ProblemType" />
      <definition value="The type of problem; see the concept description." />
      <alias value="ProbleemType" />
      <max value="1" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/ProblemType" />
      </binding>
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.8" />
        <comment value="ProblemType" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.ProblemType" />
      </mapping>
    </element>
    <element id="Condition.code">
      <path value="Condition.code" />
      <short value="ProblemName" />
      <definition value="The problem name defines the problem." />
      <alias value="ProbleemNaam" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/ProblemName" />
      </binding>
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.3" />
        <comment value="ProblemName" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.ProblemName" />
      </mapping>
    </element>
    <element id="Condition.code.extension">
      <path value="Condition.code.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Condition.code.extension:furtherSpecificationProblemName">
      <path value="Condition.code.extension" />
      <sliceName value="furtherSpecificationProblemName" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/ext-Problem.FurtherSpecificationProblemName" />
      </type>
    </element>
    <element id="Condition.code.extension:furtherSpecificationProblemName.value[x]">
      <path value="Condition.code.extension.value[x]" />
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.FurtherSpecificationProblemName" />
      </mapping>
    </element>
    <element id="Condition.bodySite">
      <path value="Condition.bodySite" />
      <short value="Location / ProblemAnatomicalLocation" />
      <definition value="Anatomical location which is the focus of the problem." />
      <alias value="ProbleemAnatomischeLocatie" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-AnatomicalLocation" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/Location" />
      </binding>
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.14" />
        <comment value="ProblemAnatomicalLocation" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.ProblemAnatomicalLocation" />
      </mapping>
    </element>
    <element id="Condition.onset[x]">
      <path value="Condition.onset[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Condition.onset[x]:onsetDateTime">
      <path value="Condition.onset[x]" />
      <sliceName value="onsetDateTime" />
      <short value="ProblemStartDate" />
      <definition value="Onset of the symptom, complaint, functional limitation, complication or date of diagnosis. A ‘vague’ date, such as only the year or the month and the year, is permitted." />
      <alias value="ProbleemBeginDatum" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.6" />
        <comment value="ProblemStartDate" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.ProblemStartDate" />
      </mapping>
    </element>
    <element id="Condition.abatement[x]">
      <path value="Condition.abatement[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Condition.abatement[x]:abatementDateTime">
      <path value="Condition.abatement[x]" />
      <sliceName value="abatementDateTime" />
      <short value="ProblemEndDate" />
      <definition value="Date on which the disorder to which the problem applies, is considered not to be present anymore.This datum needs not to be the same as the date of the change in problem status. A ‘vague’ date, such as only the year or the month and the year, is permitted." />
      <alias value="ProbleemEindDatum" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.9" />
        <comment value="ProblemEndDate" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.ProblemEndDate" />
      </mapping>
    </element>
    <element id="Condition.note">
      <path value="Condition.note" />
      <max value="1" />
    </element>
    <element id="Condition.note.text">
      <path value="Condition.note.text" />
      <short value="Comment" />
      <definition value="Comment by the one who determined or updated the Problem." />
      <alias value="Toelichting" />
      <mapping>
        <identity value="zib-problem-v4.4-2020EN" />
        <map value="NL-CM:5.1.5" />
        <comment value="Comment" />
      </mapping>
      <mapping>
        <identity value="HdBe-Problem" />
        <map value="Problem.Comment" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>