<?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 → ConditionEuCore</title>
  </head>
  <body>
    <div class="model-map-block">
      <div class="callout-wrapper">
        <div class="callout-box">
          <strong>Ongoing alignment:</strong> The models are expected to continue evolving, with updates incorporated into this Implementation Guide to maintain alignment with the EHDS Implementing Acts. </div>
      </div>
    </div>
    <h3>EHDSCondition → ConditionEuCore</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 → ConditionEuCore">
        <caption>EHDSCondition → ConditionEuCore</caption>
        <thead>
          <tr>
            <th colspan="1" class="src-head">EHDSCondition (Logical Model)</th>
            <th class="relhead">Relationship</th>
            <th colspan="3" class="tgt-head">ConditionEuCore</th>
          </tr>
          <tr>
            <th class="src-sub">Element</th>
            <th class="relsub">Relation</th>
            <th class="tgt-sub">Resource</th>
            <th class="tgt-sub">Element</th>
            <th class="tgt-sub">Notes</th>
          </tr>
        </thead>
        <tbody>
          <!-- HEADER BLOCK (common dataset header) -->
          <tr>
            <td>header</td>
            <td>related-to</td>
            <td>Condition</td>
            <td>.</td>
            <td>Dataset-level; not usually carried in Condition as-is.</td>
          </tr>
          <tr>
            <td>header.subject</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>subject</td>
            <td></td>
          </tr>
          <tr>
            <td>header.identifier</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>identifier</td>
            <td>Copy over all identifiers if multiple.</td>
          </tr>
          <tr>
            <td>header.author[x]</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>recorder<span style="color:#2e7d32;font-weight:600;">〔R4〕</span><br></br>participant.actor<span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Condition has no generic "author".</td>
          </tr>
          <tr>
            <td>header.date</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>recordedDate</td>
            <td></td>
          </tr>
          <tr>
            <td>header.status</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>clinicalStatus</td>
            <td></td>
          </tr>
          <tr>
            <td>header.source</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>asserter<span style="color:#2e7d32;font-weight:600;">〔R4〕</span><br></br>participant.actor<span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>With participant.function =
              "http://terminology.hl7.org/CodeSystem/provenance-participant-type#informant"</td>
          </tr>
          <tr>
            <td>header.language</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>language</td>
            <td></td>
          </tr>
          <!-- problem -->
          <tr>
            <td>problem</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>code</td>
            <td></td>
          </tr>
          <!-- onsetDate -->
          <tr>
            <td>onsetDate</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>onsetDateTime</td>
            <td>Map to <code>onsetDateTime</code> in FHIR.</td>
          </tr>
          <!-- endDate -->
          <tr>
            <td>endDate</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>abatementDateTime</td>
            <td>Use <code>abatementDateTime</code>; abatement may also be represented by
              clinicalStatus = resolved.</td>
          </tr>
          <!-- category -->
          <tr>
            <td>category</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>category</td>
            <td></td>
          </tr>
          <!-- resolutionCircumstances -->
          <tr>
            <td>resolutionCircumstances</td>
            <td>source-is-broader-than-target</td>
            <td>Condition</td>
            <td>note.text</td>
            <td>FHIR Condition has no direct "resolution reason"; use <code>Condition.note</code></td>
          </tr>
          <!-- severity -->
          <tr>
            <td>severity</td>
            <td>equivalent</td>
            <td>Condition</td>
            <td>severity</td>
            <td></td>
          </tr>
          <!-- bodySite -->
          <tr>
            <td>bodySite</td>
            <td>source-is-broader-than-target</td>
            <td>Condition</td>
            <td>bodySite</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>equivalent</td>
            <td>Condition</td>
            <td>extension:bodySite</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>equivalent</td>
            <td>Condition</td>
            <td>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>equivalent</td>
            <td>Condition</td>
            <td>verificationStatus</td>
            <td></td>
          </tr>
          <!-- specialistContact -->
          <tr>
            <td>specialistContact</td>
            <td>source-is-narrower-than-target</td>
            <td>CareTeam</td>
            <td>note.text</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>source-is-narrower-than-target</td>
            <td>Condition</td>
            <td>extension:relatedArtifact</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>
