epSOS - Issues
Select object
Results (1 / 1)
Id Issue Status Priority Type Date Assigned To Label
262Adapt examples according to specificationClosedNormalChange Request2018-03-14 16:18:31Mathias Ghys
Change RequestAdapt examples according to specification
Last Tracking2018-03-14 16:18:31  by  Mathias Ghys
Current AssigneeMathias Ghys
Current Labels
 (TBA) To be approved 
epSOS CDA Supply (
Template1. (2013-12-20) epSOS CDA Supply


TrackingClosed2018-03-14 16:18:31: Tracking by Mathias Ghys
We received the confirmation in the semantic group in the meeting of 14/3 to change the moodCode attribute and it has been adapted.
TrackingFeedback needed2018-02-16 09:50:05: Tracking by Mathias Ghys
I reverted the changes to 'EVN'.
Although the solution is that the moodCode has to be changed to 'INT', there is an impact on the implementation and the national implementation of the countries.
A JIRA ticket is created in our backlog for follow up: https://ec.europa.eu/cefdigital/tracker/projects/EHSEMANTIC/issues/EHSEMANTIC-215
TrackingFeedback needed2018-02-14 09:47:16: Tracking by Mathias Ghys
Feedback from Giorgio Cangioli:

"The supply that describes what have been dispensed is an EVN (I see however that the template is more generic and allow both EVN and INT)
The referred SubstanceAdministration describes the intent of taking a drug ( in this sense its id correspond to the prescribed item ID) so its moodCode should be INT."

After some clarification and explanation by Giorgio, I decided to change the moodCode from 'EVN' to 'INT' and adapt the examples
TrackingFeedback needed2018-02-13 16:26:08: Tracking by Mathias Ghys
Edited byMathias Ghys (2018-02-13 16:27:56)Mathias Ghys (2018-02-13 16:28:12)

Dear Giorgio,

First of all thank you very much for your reply. Your knowledge is highly appreciated!

Just to get my understanding right (so that we are talking about the same thing):

In my understanding:

  • INT = INTENT = a medication has been prescribed and the INTEND is there that the patient will
  • EVN = the administration of the dispensed drugs.

The epSOS Related Prescription Item template is the template in the eDispensation that tracks back to the initial ePrescription.

From this viewpoint I totally agree with you that the @moodCode has to be changed to INT in the specification, the example and the description.

Do you agree if I adapt it?

TrackingFeedback needed2018-02-13 11:26:40: Tracking by Giorgio Cangioli
"The moodCode of the substanceAdministration will always have the value 'EVN' since the prescription has already been filled at the moment of the dispensation."

No EVN in this case means that the drug has been administrated not that the prescription has been dispensed !

the supply(EVN) says this...

So in the 99% of the cases it is correct to leave this as INT, unless you have a system that tracks the administration of the dispensed drugs...
TrackingClosed2018-02-13 11:10:31: Tracking by Mathias Ghys
I adapted the examples. There is no risk in doing so and it will make the documentation a lot clearer for the users.
Assignment2018-02-13 10:43:54: Assigned To Mathias Ghys by Mathias Ghys
TrackingOpen2018-02-13 10:43:53: Tracking by Mathias Ghys

- For the Related prescription item, the moodCode is defined to be "EVN" in the specifications, but in the examples, "INT" is used. Since the moodCode attribute shall be INT to reflect that a medication has been prescribed, or EVN to indicate that the prescription has been filled, it has to be EVN because it is part of the eDispensation message.


- Change the moodCode in the examples from "INT" to "EVN"

Further explanation:


PreviewCodeHTML colorDisplay NameDescription
TBATBATo be approved
To be discussed and approved
M1M1Milestone 1
Milestone 1 – before the EXPAND-athon 9-12 December 2015 Lisbon
M2M2Milestone 2
Milestone 2 – final results to be delived at the end of EXPAND
M3M3Milestone 3
Milestone 3 – end of the HL7 International Project
M4M4Milestone 4
Milestone 4 – for consideration in the future / desiderata
WJWJChanges Word/JIRA
Changes in the Word Specification/Open a JIRA issue
Template-ID changes throughout the specification