<?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>EHDSMedication → Medication</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>EHDSMedication → Medication</h3>
    <a> </a>
    <p></p>
    <p>
  This page explains how conceptual elements from the EHDS logical model are expressed
  in the corresponding FHIR MedicationEuCore and OrganizationEuCore profiles 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-EHDSMedication.html" target="_blank">
        EHDSMedication
          </a>
        </li>
        <li>
          <strong>Target FHIR profiles:</strong>
          <a href="StructureDefinition-medication-eu-core.html">
        MedicationEuCore
          </a>,
          <a href="StructureDefinition-organization-eu-core.html">
        OrganizationEuCore
          </a>
        </li>
      </ul>
    </div>
    <p></p>
    <p>The model supports prescribed/dispensed medication and can represent both generic (virtual) products and branded (real) products.</p>
    <div class="table-wrap">
      <table summary="EHDSMedication → Medication">
        <caption>EHDSMedication → Medication</caption>
        <thead>
          <tr>
            <th colspan="2" class="src-head">EHDSMedication (Logical Model)</th>
            <th class="relhead">Relationship</th>
            <th colspan="4" class="tgt-head">Medication</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>
          <tr>
            <td>identifyingCode[x]</td>
            <td>Identifier or code for the product (virtual/branded/package).</td>
            <td>equivalent</td>
            <td>Medication</td><td>code</td>
            <td>Code that identifies this medication.</td>
            <td></td>
          </tr>
          <tr>
            <td>identifyingCode[x]</td>
            <td>Identifier for the product (virtual/branded/package).</td>
            <td>equivalent</td>
            <td>Medication</td><td>identifier</td>
            <td>Business identifiers for the medication entry.</td>
            <td>Use multiple identifiers if needed; avoid conflicting meanings.</td>
          </tr>
          <tr>
            <td>classification</td>
            <td>Classification (e.g. ATC; narcotic/psychotropic; orphan drug).</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:classification</td>
            <td>Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc</td>
            <td></td>
          </tr>
          <tr>
            <td>productName</td>
            <td>Name of the product (full/invented/other).</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:productName</td>
            <td>Text representation of the medication name.</td>
            <td>Official name of branded medicinal product.</td>
          </tr>
          <tr>
            <td>marketingAuthorisationHolder</td>
            <td>Marketing authorisation holder / manufacturer.</td>
            <td>equivalent</td>
            <td>Medication</td><td>manufacturer <span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>Manufacturer of the item.</td>
            <td>Reference to <code>Organization</code>.
            </td>
          </tr>
          <tr>
            <td>marketingAuthorisationHolder</td>
            <td>Marketing authorisation holder / manufacturer.</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>marketingAuthorizationHolder <span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Organization that has authorization to market medication.</td>
            <td>Reference to <code>Organization</code>.
            </td>
          </tr>
          <tr>
            <td>marketingAuthorisationHolder.organisationName</td>
            <td>Name of the MAH/manufacturing organisation.</td>
            <td>equivalent</td>
            <td>Organization</td><td>name</td>
            <td>Name used for the organization.</td>
            <td>Populate the referenced Organization's <code>name</code>.</td>
          </tr>
          <tr>
            <td>marketingAuthorisationHolder.organisationIdentifier</td>
            <td>Identifier of the MAH/manufacturing organisation.</td>
            <td>equivalent</td>
            <td>Organization</td><td>identifier</td>
            <td>Identifies this organization across multiple systems</td>
            <td></td>
          </tr>
          <tr>
            <td>doseForm</td>
            <td>Dose form(s) on a product level.</td>
            <td>equivalent</td>
            <td>Medication</td><td>form <span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>Dose form of the medication.</td>
            <td></td>
          </tr>
          <tr>
            <td>doseForm</td>
            <td>Dose form(s) on a product level.</td>
            <td>equivalent</td>
            <td>Medication</td><td>doseForm <span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Dose form of the medication.</td>
            <td></td>
          </tr>
          <tr class="highlight-yellow">
            <td>description</td>
            <td>Narrative description of the medication.</td>
            <td>source-is-broader-than-target</td>
            <td>Medication</td><td>extension:characteristic</td>
            <td>Textual description of the medication</td>
            <td></td>
          </tr>
          <tr>
            <td>item</td>
            <td>A medication item (components in a combination pack).</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>ingredient.itemReference <span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>A particular constituent of interest in the product.</td>
            <td>An item - included in a product - is represented by a Medication resource referenced by the <code>ingredient.item</code> (see the example at https://hl7.eu/fhir/mpd-r5/Medication-02A-ClotrimazoleCanifugCremolum.html). If the item is the product, the item is the Medication itself.</td>
          </tr>
          <tr>
            <td>item</td>
            <td>A medication item (components in a combination pack).</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>ingredient.item.reference <span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>A particular constituent of interest in the product.</td>
            <td>An item - included in a product - is represented by a Medication resource referenced by the <code>ingredient.item</code> (see the example at https://hl7.eu/fhir/mpd-r5/Medication-02A-ClotrimazoleCanifugCremolum.html). If the item is the product, the item is the Medication itself.</td>
          </tr>
          <tr>
            <td>item.doseForm</td>
            <td>Dose form(s) on a product level.</td>
            <td>equivalent</td>
            <td>Medication</td><td>form <span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>Dose form of the medication.</td>
            <td></td>
          </tr>
          <tr>
            <td>item.doseForm</td>
            <td>Dose form(s) on a product level.</td>
            <td>equivalent</td>
            <td>Medication</td><td>doseForm <span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Dose form of the medication.</td>
            <td></td>
          </tr>
          <tr>
            <td>item.ingredient</td>
            <td>Ingredients of the item.</td>
            <td>equivalent</td>
            <td>Medication</td><td>ingredient</td>
            <td>Medication ingredients.</td>
            <td>Replicate per-item ingredients into <code>ingredient</code>. See note above about <i>item</i></td>
          </tr>
          <tr>
            <td>item.ingredient.isActive</td>
            <td>Marks if the ingredient is active.</td>
            <td>equivalent</td>
            <td>Medication</td><td>ingredient.isActive</td>
            <td>Is this an active ingredient.</td>
            <td>Replicate per-item ingredients into<code>ingredient</code>. See note above about <i>item</i></td>
          </tr>
          <tr>
            <td>item.ingredient.substance</td>
            <td>Substance.</td>
            <td>equivalent</td>
            <td>Medication</td><td>ingredient.itemCodeableConcept <span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>The substance of the ingredient.</td>
            <td>Replicate per-item ingredients into<code>ingredient</code>. See note above about <i>item</i></td>
          </tr>
          <tr>
            <td>item.ingredient.substance</td>
            <td>Substance.</td>
            <td>equivalent</td>
            <td>Medication</td><td>ingredient.item.concept <span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>The substance of the ingredient.</td>
            <td>Replicate per-item ingredients into<code>ingredient</code>. See note above about <i>item</i></td>
          </tr>
          <tr>
            <td>item.ingredient.strengthInfo</td>
            <td>Strength information container.</td>
            <td>related-to</td>
            <td>Medication</td><td>ingredient.strength[x]</td>
            <td>Strength information for ingredient.</td>
            <td>Backbone element see below for mapping details.</td>
          </tr>
          <tr>
            <td>item.ingredient.strengthInfo.strength</td>
            <td>Strength of the substance.</td>
            <td>equivalent</td>
            <td>Medication</td><td>ingredient.strength  <span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>Quantity of ingredient present.</td>
            <td>Replicate per-item ingredients into<code>ingredient</code>. See note above about <i>item</i></td>
          </tr>
          <tr>
            <td>item.ingredient.strengthInfo.strength</td>
            <td>Strength of the substance.</td>
            <td>equivalent</td>
            <td>Medication</td><td>ingredient.strengthRatio  <span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Quantity of ingredient present.</td>
            <td>Replicate per-item ingredients into<code>ingredient</code>. See note above about <i>item</i></td>
          </tr>
          <tr>
            <td>item.ingredient.strengthInfo.basisOfStrengthSubstance</td>
            <td>Substance the strength refers to (if different).</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>ingredient.strength.extension:basisOfStrengthSubstance <span style="color:#2e7d32;font-weight:600;">〔R4〕</span></td>
            <td>Substance the strength refers to (if different).</td>
            <td>Replicate per-item ingredients into<code>ingredient</code>. See note above about <i>item</i>
            </td>
          </tr>
          <tr>
            <td>item.ingredient.strengthInfo.basisOfStrengthSubstance</td>
            <td>Substance the strength refers to (if different).</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>ingredient.strength[x].extension:basisOfStrengthSubstance <span style="color:#2e7d32;font-weight:600;">〔R5〕</span></td>
            <td>Substance the strength refers to (if different).</td>
            <td>Replicate per-item ingredients into<code>ingredient</code>. See note above about <i>item</i>
            </td>
          </tr>
          <tr>
            <td>item.unitOfPresentation</td>
            <td>Unit of presentation for the manufactured item.</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>extension:unitOfPresentation</td>
            <td>Unit of presentation</td>
            <td>See note above about <i>item</i>
            </td>
          </tr>
          <tr>
            <td>item.containedQuantity</td>
            <td>Quantity for liquids (e.g., 3ml / 1 vial).</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:sizeOfItem</td>
            <td>Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial).</td>
            <td>See note above about <i>item</i>
            </td>
          </tr>        
          <tr>
            <td>item.amount</td>
            <td>Number of such manufactured items in this product.</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>amount <span style="color:#2e7d32;font-weight:600;">〔R4〕</span>
            </td>
            <td>Amount of the medication in the package.</td>
            <td>See note above about <i>item</i>
            </td>
          </tr>
          <tr>
            <td>item.amount</td>
            <td>Number of such manufactured items in this product.</td>
            <td>equivalent</td>
            <td>Medication</td>
            <td>totalVolume <span style="color:#2e7d32;font-weight:600;">〔R5〕</span>
            </td>
            <td>When the specified product code does not infer a package size, this is the specific amount of drug in the product.</td>
            <td>See note above about <i>item</i></td>
          </tr>
          <tr>
            <td>item.packageType</td>
            <td>Type of package of the medication item.</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:packageType</td>
            <td>Type of packaging.</td>
            <td>See note above about <i>item</i>
            </td>
          </tr>
          <tr>
            <td>device</td>
            <td>Administration device included in the product.</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:device</td>
            <td>Device</td>
            <td></td>
          </tr>
          <tr>
            <td>device.deviceQuantity</td>
            <td>Number of such devices.</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:device.extension:quantity</td>
            <td></td>
            <td></td>
          </tr>
          <tr>
            <td>device.device[x]</td>
            <td>Device coded (codeable concept or reference).</td>
            <td>source-is-broader-than-target</td>
            <td>Medication</td><td>extension:device.extension:device.valueCodeableConcept</td>
            <td></td>
            <td>Only type of device (CodeableConcept) is expected. Reference not supported.</td>
          </tr>
          <tr>
            <td>characteristic</td>
            <td>Other features of the product.</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:characteristic</td>
            <td>Characteristics of the medication.</td>
            <td></td>
          </tr>
          <tr>
            <td>characteristic.type</td>
            <td>Type of characteristic.</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:characteristic.extension:type</td>
            <td>Type of characteristic.</td>
            <td></td>
          </tr>
          <tr>
            <td>characteristic.value[x]</td>
            <td>Value of the characteristic.</td>
            <td>equivalent</td>
            <td>Medication</td><td>extension:characteristic.extension:value</td>
            <td>Value of the characteristic.</td>
            <td>Supports boolean, CodeableConcept, string, Quantity, dateTime, integer, decimal, Ratio in R5</td>
          </tr>
          <tr>
            <td>batch</td>
            <td>Batch details container.</td>
            <td>equivalent</td>
            <td>Medication</td><td>batch</td>
            <td>Batch information for the medicinal product.</td>
            <td></td>
          </tr>
          <tr>
            <td>batch.lotNumber</td>
            <td>Batch identifier of the medicinal product.</td>
            <td>equivalent</td>
            <td>Medication</td><td>batch.lotNumber</td>
            <td>Lot number of a particular batch.</td>
            <td>Traceability / pharmacovigilance.</td>
          </tr>
          <tr>
            <td>batch.expirationDate</td>
            <td>Batch expiration date of the medicinal product.</td>
            <td>equivalent</td>
            <td>Medication</td><td>batch.expirationDate</td>
            <td>When the batch expires.</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>
