<?xml version="1.0" encoding="UTF-8"?>
<div xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
    <title>EHDSCondition → Condition</title>
  </head>
  <body>
    <div class="model-map-block">
      <div class="callout-wrapper">
        <div class="callout-box">
          <strong>Ongoing alignment:</strong> The Xt-EHR logical models are under active revision
          and continuous refinement. Updates from Xt-EHR will be progressively incorporated into
          this Implementation Guide to maintain alignment with the evolving EHDS specifications. </div>
      </div>
    </div>
    <div class="model-map-block">
      <div class="callout-wrapper">
        <div class="callout-box">
          <strong>Yellow row/cells:</strong> In this ballot publication, some row/cells of the
          mapping table have been left in yellow to indicate areas requiring further review or
          refinement; including feedback from the Xt-EHR joint action (see note above). These
          highlights will be addressed in subsequent updates to ensure accuracy and completeness of
          the mappings. </div>
      </div>
    </div>
    <h3>EHDSCondition → Condition</h3>
    <a> </a>
    <p></p>
    <p>
      This page explains how conceptual elements from the EHDS logical model are expressed
      in the corresponding FHIR ConditionEuCore profile used by this Implementation Guide.
    </p>
    <p></p>
    <div class="table-wrap">
      <strong>Mapping Context</strong>
      <ul>
        <li>
          <strong>Source logical model:</strong>
          <a href="https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSCondition.html"
            target="_blank">
            EHDSCondition
          </a>
        </li>
        <li>
          <strong>Target FHIR profile:</strong>
          <a href="StructureDefinition-condition-eu-core.html">
            ConditionEuCore
          </a>
        </li>
      </ul>
    </div>
    <p></p>
    <div class="table-wrap">
      <table summary="EHDSCondition → Condition">
        <caption>EHDSCondition → Condition</caption>
        <thead>
          <tr>
            <th colspan="2" class="src-head">EHDSCondition (Logical Model)</th>
            <th class="relhead">Relationship</th>
            <th colspan="4" class="tgt-head">Condition</th>
          </tr>
          <tr>
            <th class="src-sub">Element</th>
            <th class="src-sub">Description</th>
            <th class="relsub">Relation</th>
            <th class="tgt-sub">Resource</th>
            <th class="tgt-sub">Element</th>
            <th class="tgt-sub">Description</th>
            <th class="tgt-sub">Notes</th>
          </tr>
        </thead>
        <tbody>
          <!-- HEADER BLOCK (common dataset header) -->
          <tr>
            <td>header</td>
            <td>Common header for all patient-related data.</td>
            <td>related-to</td>
            <td>Condition</td>
            <td>.</td>
            <td>General metadata.</td>
            <td>Dataset-level; not usually carried in Condition as-is.</td>
          </tr>
          <tr>
            <td>header.subject</td>
            <td>Patient/subject this condition is about.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>subject</td>
            <td>Reference to the patient or subject of the condition.</td>
            <td>Reference to Patient (or other subject).</td>
          </tr>
          <tr>
            <td>header.identifier</td>
            <td>Business identifier for the object.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>identifier</td>
            <td>Business identifier for this condition.</td>
            <td>Copy over all identifiers if multiple.</td>
          </tr>
          <tr>
            <td>header.author[x]</td>
            <td>Who created/issued the condition record.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>recorder<span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>Who recorded the condition.</td>
            <td>Condition has no generic "author"; use <code>recorder</code> in R4.</td>
          </tr>
          <tr>
            <td>header.author[x]</td>
            <td>Who created/issued the condition record.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>participant.actor<span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Who recorded the condition.</td>
            <td>Condition has no generic "author"; use <code>participant.actor</code> in R5.</td>
          </tr>
          <tr>
            <td>header.date</td>
            <td>Date and optionally time of authoring/issuing.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>recordedDate</td>
            <td>When the condition was recorded.</td>
            <td></td>
          </tr>
          <tr>
            <td>header.status</td>
            <td>Status of the condition/problem (e.g. active, resolved, inactive, etc).</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>clinicalStatus</td>
            <td>Current clinical status of the condition.</td>
            <td>FHIR has a required value set for clinicalStatus; EHDS references HL7 Condition
              Clinical Status Codes.</td>
          </tr>
          <tr>
            <td>header.source</td>
            <td>Source of the information (e.g. patient, proxy).</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>asserter<span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>Source of the information about the condition.</td>
            <td></td>
          </tr>
          <tr>
            <td>header.source</td>
            <td>Source of the information (e.g. patient, proxy).</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>participant.actor<span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Source of the information about the condition.</td>
            <td>With participant.function =
              "http://terminology.hl7.org/CodeSystem/provenance-participant-type#informant"</td>
          </tr>
          <tr>
            <td>header.language</td>
            <td>Language of the resource (IETF tag).</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>language</td>
            <td>Language used in narrative/notes.</td>
            <td></td>
          </tr>
          <!-- problem -->
          <tr>
            <td>problem</td>
            <td>Code identifying the condition, problem or diagnosis.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>code</td>
            <td>Identification of the condition, problem, or diagnosis.</td>
            <td>CodeableConcept. EHDS binds to ICD-10, SNOMED CT, ICD-O, Orphacode.</td>
          </tr>
          <!-- onsetDate -->
          <tr>
            <td>onsetDate</td>
            <td>Onset date of a problem/condition.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>onsetDateTime</td>
            <td>Estimated or actual date/time the condition started.</td>
            <td>Map to <code>onsetDateTime</code> in FHIR.</td>
          </tr>
          <!-- endDate -->
          <tr>
            <td>endDate</td>
            <td>The date or estimated date that the condition resolved or went into remission.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>abatementDateTime</td>
            <td>When the condition abated or went into remission.</td>
            <td>Use <code>abatementDateTime</code>; abatement may also be represented by
              clinicalStatus = resolved.</td>
          </tr>
          <!-- category -->
          <tr>
            <td>category</td>
            <td>Category or categories of the problem (e.g. POA, HAC, other categorisations).</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>category</td>
            <td>Problem category (e.g. problem-list-item, encounter-diagnosis).</td>
            <td>0..* in both models; EHDS may use additional national/organisational codes.</td>
          </tr>
          <!-- resolutionCircumstances -->
          <tr>
            <td>resolutionCircumstances</td>
            <td>Reason for which the status changed from current to inactive (free text if not
              represented elsewhere).</td>
            <td>source-is-broader-than-target</td>
            <td>Condition</td>
            <td>note.text</td>
            <td>Additional text about the condition.</td>
            <td>FHIR Condition has no direct "resolution reason"; use <code>Condition.note</code></td>
          </tr>
          <!-- severity -->
          <tr>
            <td>severity</td>
            <td>Subjective assessment of the severity of the condition.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>severity</td>
            <td>Clinical severity of the condition.</td>
            <td>CodeableConcept; HL7 / SNOMED CT value sets.</td>
          </tr>
          <!-- bodySite -->
          <tr>
            <td>bodySite</td>
            <td>The anatomical location including laterality where this condition manifests itself.</td>
            <td>source-is-broader-than-target</td>
            <td>Condition</td>
            <td>bodySite</td>
            <td>Anatomical location(s) affected by the condition.</td>
            <td>EHDS uses EHDSBodyStructure; map to one or more <code>Condition.bodySite</code>. Use
              referenced BodyStructure if profiling for more detail.</td>
          </tr>
          <tr>
            <td>bodySite</td>
            <td>The anatomical location including laterality where this condition manifests itself.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>extension:bodySite</td>
            <td>Anatomical location(s) affected by the condition.</td>
            <td>EHDS uses EHDSBodyStructure; map to one or more <code>Condition.bodySite</code>. Use
              referenced BodyStructure if profiling for more detail.</td>
          </tr>
          <!-- stage -->
          <tr>
            <td>stage</td>
            <td>Stage/grade usually assessed formally using a specific staging/grading system.
              Multiple assessment systems could be used.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>stage</td>
            <td>Simple summary of condition stage.</td>
            <td>FHIR also has <code>stage.assessment</code> (Reference). For multiple staging
              systems, create multiple <code>Condition.stage</code> repetitions.</td>
          </tr>
          <!-- diagnosisAssertionStatus -->
          <tr>
            <td>diagnosisAssertionStatus</td>
            <td>Assertion about the certainty associated with a diagnosis.</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>verificationStatus</td>
            <td>Whether the condition is unconfirmed, provisional, confirmed, refuted, etc.</td>
            <td>Both EHDS and FHIR refer to HL7 Condition Verification Status.</td>
          </tr>
          <!-- specialistContact -->
          <tr>
            <td>specialistContact</td>
            <td>Health Professional specifically related to the problem, as a preferred contact.</td>
            <td>source-is-narrower-than-target</td>
            <td>CareTeam</td>
            <td>note.text</td>
            <td>Who is involved</td>
            <td>FHIR Condition has no native participant element. Suggest to use <code>
              Condition.note</code> to record in a textual form who should be contacted. When used,
              this information can also be derived from the <code>CareTeam</code> involved for the
              care of this Condition (referred in <code>CareTeam.reason</code>).</td>
          </tr>
          <!-- externalResource -->
          <tr>
            <td>externalResource</td>
            <td>External resource related to the problem (e.g. guidelines for a rare disease).</td>
            <td>source-is-narrower-than-target</td>
            <td>Condition</td>
            <td>extension:relatedArtifact</td>
            <td>Related artifacts such as additional documentation, justification, dependencies,
              bibliographic references, and predecessor and successor artifacts.</td>
            <td></td>
          </tr>
        </tbody>
      </table>
    </div>
    <p style="margin-top:2rem;color:#555;"> Return to overview: <a href="modelmap.html">EHDS Logical
      Models → FHIR Profiles</a>
    </p>
  </body>
</div>