Help
Login
Busy
Search
eHDSI - Templates

 
Template locked

OK Not OK
Templates (External repositories)

Warning Ok
Warning
Filter
true50
eHDSI Medication Item
false
Issues (1)
false
Change Request Status = Closed ( epsos-issue-440 ): Issue with example in eHDSI PS Medication Information template
Type Change Request Status Change Request Status = Closed Priority Normal
Events
Tracking / Status = Closed 2025-05-19 12:33:27 : Tracking by Mathias Ghys
Description
open -> closed
Tracking / Status = Open 2025-05-19 12:24:38 : Tracking by Mathias Ghys
Description

I was given this email to report technical errors in the eHDSI PS specifications in ART-DECOR.

This template:
https://art-decor.ehdsi.eu/publication/epsos-html-20240422T073854/tmp-1.3.6.1.4.1.12559.11.10.1.3.1.3.4-2024-01-25T135932.html<https://urldefense.com/v3/__https://art-decor.ehdsi.eu/publication/epsos-html-20240422T073854/tmp-1.3.6.1.4.1.12559.11.10.1.3.1.3.4-2024-01-25T135932.html__;!!DOxrgLBm!A6ckqYgTn5j4oMEYzqq2tyBuBvoUQG3npPv6tNKmIv-AvsVVxT5RpvgWHmUOAztOznNoD9CvPvSUp_ThBLCK7l8DDO7n3eqECfmVXpTWtg$>
contains this example fragment for "No information available":

<substanceAdministration classCode="SBADM" moodCode="INT">
<templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.4"/>
<templateId root="2.16.840.1.113883.10.20.1.24"/>
<id root="2.999.1.1" extension="{}example only{}"/>
<code code="no-medication-info" codeSystem="2.16.840.1.113883.5.1150.1" displayName="No information about medications"/>
<statusCode code="completed"/>
<effectiveTime nullFlavor="UNK" xsi:type="IVL_TS"/>
<effectiveTime nullFlavor="NA"/>
<consumable>
<manufacturedProduct classCode="MANU">
<templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.31"/>
<manufacturedMaterial nullFlavor="NA"/>
</manufacturedProduct>
</consumable>
</substanceAdministration>

Using this fragment and validating the result against the ART-DECOR schematron yield an error:
(eHDSIPSMedicationInformation): element hl7:manufacturedMaterial[hl7:templateId[@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.32']] is required [min 1x].

The example file we were referred to also gives the same error (https://code.europa.eu/ehdsi/ehdsi-general-repository/-/blob/main/cda%20documents/W7/PS/2-5678-W7.xml?ref_type=heads).

Changing the example to:

<substanceAdministration classCode="SBADM" moodCode="INT">
<templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.4" />
<templateId root="2.16.840.1.113883.10.20.1.24" />
<id root="2.999.1.1" extension="{}example only{}" />
<code code="no-known-medications" codeSystem="2.16.840.1.113883.5.1150.1" displayName="No known medications" />
<statusCode code="completed" />
<effectiveTime nullFlavor="UNK" xsi:type="IVL_TS" />
<effectiveTime nullFlavor="NA" />
<consumable>
<manufacturedProduct classCode="MANU">
<templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.31" />
<manufacturedMaterial classCode="MMAT" determinerCode="KIND" nullFlavor="NA">
<templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.32"/>
</manufacturedMaterial>
</manufacturedProduct>
</consumable>
</substanceAdministration>

fixes the error. This would be a quick fix to the error.

A better solution is not to required consumable (which is 1..1 R) for "No information" cases.
Simply saying:
<consumable nullFlavor="NI"/>
in the above template yields other errors now, but for "No information" the entire consumable section makes no sense.

 
 
Busy
Structure Definitions (External repositories)