Introduction
A medication scheme is a kmehrmessage that consists of
- 1 transaction MS (medicationscheme),
- 0 or more transactions MSE (medicationschemeelement) and
- 0 or more transactions TS (treatmentsuspension)
The next paragrahs describe the kmehrmessage as used for Vitalink. Please refer to the Kmehr standard specification for the basic explanation, see External Links#kmehr_message-overview.
If no Vitalink meaning is specified, the Kmehr meaning is applicable.
Kmehrmessage element <header>
Vitalink does not require more elements than the ones that are mandatory by the Kmehr standard.
When writing to Vitalink, all the elements are generated by the eHealth technical connector, based on the used properties.
Kmehrmessage element <folder>
Folder element <patient>
Element | Vitalink meaning Kmehr meaning: External Links#kmehr_patient | Kmehr | Vitalink |
---|---|---|---|
id | Mandatory | = | |
firstname | Mandatory | = | |
familyname | Mandatory | = | |
birthdate | Optional | = | |
birthlocation | Optional | = | |
deathdate | Optional | = | |
sex | Mandatory | = | |
usuallanguage | Vitalink: Question is pending asking what this means for Vitalink VAZG-118 - Getting issue details... STATUS | Optional | = |
Vitalink does not require more elements than the ones that are mandatory by the Kmehr standard.
When writing to Vitalink, all the elements are generated by the eHealth technical connector, based on the patient information given by the application.
Folder element <transaction> "medicationscheme" (MS)
The Vitalink transaction MS contains the general information of the medication scheme.
Kmehr parent transaction
Element | Vitalink meaning Kmehr meaning: External Links#kmehr_transaction | Kmehr | Vitalink |
---|---|---|---|
id | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
cd | Mandatory | = | |
date | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
time | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
author | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
iscomplete | Mandatory | = | |
isvalidated | Kmehr: Specifies if the transaction is validated. Vitalink: This element is not used, see M. Concept: User MSE validation | Mandatory | = |
item | Vitalink: No item is defined within the transaction medicationscheme. | Optional | 0 |
Vitalink child transaction MS
Element | Vitalink meaning Kmehr meaning: External Links#kmehr_transaction | Kmehr | Vitalink |
---|---|---|---|
version | Kmehr: not existing Vitalink: this is the version of the medication scheme in Vitalink. When saving a medication scheme, this version needs to be passed to Vitalink. | not existing | Mandatory |
Folder element <transaction> "medicationschemeelement" (MSE)
Kmehr parent transaction
Element | Vitalink meaning Kmehr meaning: External Links#kmehr_transaction | Kmehr | Vitalink |
---|---|---|---|
id | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
cd | Mandatory | = | |
date | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
time | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
author | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
iscomplete | Mandatory | = | |
isvalidated | Kmehr: Specifies if the transaction is validated. Vitalink: This element is not used, see M. Concept: User MSE validation | Mandatory | = |
item | Optional | [1-*] |
Vitalink child transaction MSE
Transaction element <item>
Each Kmehr element <item> consists of the next elements:
Element | Vitalink meaning Kmehr meaning: External Links#kmehr_item | Kmehr | Vitalink |
---|---|---|---|
id | Vitalink: For Vitalink, this value has no extra meaning. | Mandatory | = |
cd | Kmehr: The type of the item. Vitalink: 1 item "medication" and 0 or more items "healthcareelement" | Mandatory | = |
Transaction element <item> "medication"
The item medication has of the following additional elements:
Element | Type | Meaning | Vitalink |
---|---|---|---|
group of elements for medication information | Refer to corresponding paragraph. | Mandatory | |
temporality | CD-TEMPORALITY | Optional | |
frequency | CD-PERIODICITY | Optional | |
beginmoment | <date> | Mandatory | |
endmoment | <date> | Optional, not together with duration | |
duration | Optional, not together with endmoment | ||
regimen | Optional, not together with posology | ||
posology | Optional, not together with regimen | ||
route | Optional | ||
instructionforpatient | Optional | ||
instructionforoverdose | Optional |
Medication elements for medication information
Information with regard to the medication can be included in four different ways. The method that is used depends on whether:
- the medication is prescribed on product name
- the medication is prescribed on substance name (‘Prescription On Substance' or POS)
- the medication needs to be identified via an EAN code
- the medication is a pharmaceutical compound
Medication information via <medicinalproduct>
The medication is defined with the help of exactly 1 tag <medicinalproduct> in <content>.
Element | Type | Meaning | Vitalink |
---|---|---|---|
content/medicinalproduct/intendedcd | CD-DRUG-CNK | Mandatory | |
content/medicinalproduct/intendedname | text | Mandatory | |
content/medicinalproduct/deliveredcd | CD-DRUG-CNK | Optional | |
content/medicinalproduct/deliveredname | text | Optional |
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.11">medication</cd> <content> <medicinalproduct> <intendedcd S="CD-DRUG-CNK" SV="2010-07">0018614</intendedcd> <intendedname>Alkeran filmomh. tabl. 25 x 2 mg</intendedname> </medicinalproduct> </content> <beginmoment> <date>2025-01-15</date> </beginmoment> ...
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.11">medication</cd> <content> <medicinalproduct> <intendedcd S="CD-DRUG-CNK" SV="1.0">0044545</intendedcd> <intendedname>DAFALGAN FORTE AGR BRUIS 500MG TABL 32</intendedname> <deliveredcd S="CD-DRUG-CNK" SV="1.0">1449842</deliveredcd> <deliveredname>DAFALGAN FORTE AGR BRUIS 1G TABL 32</deliveredname> </medicinalproduct> </content> <beginmoment> <date>2025-01-15</date> </beginmoment> ...
Medication information via <substanceproduct>
The medication is defined with the help of exactly 1 tag <substanceproduct> in <content>.
Element | Type | Meaning | Vitalink |
---|---|---|---|
content/substanceproduct/intendedcd | CD-INNCLUSTER | Mandatory | |
content/substanceproduct/intendedname | text | Mandatory | |
content/substanceproduct/deliveredcd | CD-DRUG-CNK | Optional | |
content/substanceproduct/deliveredname | text | Optional |
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.11">medication</cd> <content> <substanceproduct> <intendedcd S="CD-INNCLUSTER" SV="2010-07">30189</intendedcd> <intendedname>rosuvastatine 40 mg (or.)</intendedname> </substanceproduct> </content> <beginmoment> <date>2025-01-15</date> </beginmoment> ...
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.11">medication</cd> <content> <substanceproduct> <intendedcd S="CD-INNCLUSTER" SV="2010-07">30189</intendedcd> <intendedname>rosuvastatine 40 mg (or.)</intendedname> <deliveredcd> S="CD-DRUG-CNK" SV="2010-07">3641081</deliveredcd> <deliveredname>Rosuvastatine Mylan filmomh. tabl. 98 x 40 mg</deliveredname> </substanceproduct> </content> <beginmoment> <date>2025-01-15</date> </beginmoment> ...
Medication information via CD-EAN and <text>
The medication is defined with a CD-EAN code as <content> and a tag <text> in <item>.
Element | Type | Meaning | Vitalink |
---|---|---|---|
content | CD-EAN | Mandatory | |
text | text | Mandatory |
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.4">medication</cd> <content> <cd SV="external" S="CD-EAN">8426420004947</cd> </content> <text L="nl">DAFALGAN FORTE DROOG 1G TABL 50</text> <beginmoment> <date>2025-01-15</date> </beginmoment> ...
Note that the version of the CD-EAN table is externally defined, since it is not a proprietary Kmehr table. No Vitalink validation is done regarding that version or value passed for CD-EAN.
Medication information via <compoundprescription> and <text>
In the current kmehr standard it is only possible to enter a pharmaceutical compound in textual form. However steps have been taken to do this in a more structured manner in a future version. When these modifications are included in kmehr Vitalink will possibly be aligned. As a placeholder for this future change, the tag <compoundprescription> is already defined. This structure is the again accompanied by another tag <text>.
Element | Type | Meaning | Vitalink |
---|---|---|---|
compoundprescription/magistraltext | text | A textual description of the pharmaceutical compound | Mandatory |
text | text | A descriptive name of the pharmaceutical compound.The following information should be included as name of the compound:
| Mandatory |
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.4">medication</cd> <content> <compoundprescription L="nl"> <magistraltext L="nl">R/ Aluminiumchloride hexahydraat 15 g + Isopropylalcohol 78 g + Gezuiverd water q.s. ad 100 g T</magistraltext> </compoundprescription> </content> <text L="nl">Aluminiumchloride transpiratieremmende hydroalcoholische oplossing 15 % TMF</text> <beginmoment> <date>2025-01-15</date> </beginmoment> ...
Medication element <temporality>
Medication element <frequency>
Medication element <beginmoment>
Medication element <endmoment>
Medication element <duration>
... <item> ... <beginmoment> <date>2025-01-15</date> </beginmoment> ... <duration> <decimal>4</decimal> <unit> <cd S="CD-TIMEUNIT" SV="2.1">d</cd> </unit> </duration> ...
Medication element <regimen>
This is the element that provides a structure to be able to express a posology in a structured way.
The element <regimen> is mutually exclusive with the element <posology>.
Medication element <posology>
Only when it is not possible to express the medication posology in a structured way with <regimen>, it can be passed to Vitalink as free text.
The element <posology> is mutually exclusive with the element <regimen>.
The element <posology> contains exactly 1 element <text>.
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.11">medication</cd> ... <posology> <text L="nl">Until 3 x 1 per day with meal, during max 3 days and minimally 4hours between 2 ingestions.</text> </posology> ... </item> ...
Medication element <route>
Medication element <instructionforpatient>
Medication element <instructionforoverdose>
Transaction element <item> "healthcareelement"
To include certain Vitalink specific information within the medication scheme data element, use must be made of separate item with value 'healthcareelement'.
In order to further define these healthcareelements, the list CD-ITEM-MS was created for Vitalink, with as permitted values:
healthcareelement | value of <content> |
---|---|
adaptationflag | Kmehr table CD-MS-ADAPTATION |
begincondition | Text field |
endcondition | Text field |
medicationtype | Kmehr table CD-MS-MEDICATIONTYPE |
medicationuse | Text field |
origin | Kmehr table CD-MS-ORIGIN |
Healthcareelement "adaptationflag"
Under discussion
This paragraph is under discussion and needs to be reviewed.
VIM-147 - Getting issue details... STATUSBy using a value of the table CD-MS-ADAPTATION it can be indicated where in the kmehr message modifications have been made by the end user.
Permitted values for this list are:
- nochanges
- medication
- posology
- treatmentsuspension
If changes have taken place to several parts of the kmehr message, it is possible to enter multiple values. However if the value ‘nochanges’ is used, only this value is permitted.
... <item> <id SV="1.0" S="ID-KMEHR">2</id> <cd SV="1.3" S="CD-ITEM">healthcareelement</cd> <content> <cd SV="1.0" S="CD-ITEM-MS">adaptationflag</cd> <cd SV="1.0" S="CD-MS-ADAPTATION">medication</cd> <cd SV="1.0" S="CD-MS-ADAPTATION">posology</cd> </content> </item> ...
Healthcareelement "begincondition"
Healthcareelement "endcondition"
Healthcareelement "medicationtype"
Under discussion
This paragraph is under discussion and needs to be reviewed.
VIM-147 - Getting issue details... STATUS
The type of the medication can be indicated via CD-MS-MEDICATIONTYPE.
Permitted values for this list are:
- onprescription
- otc
- other
Healthcareelement "medicationuse"
... <item> <id SV="1.0" S="ID-KMEHR">2</id> <cd SV="1.11" S="CD-ITEM">healthcareelement</cd> <content> <cd SV="1.0" S="CD-ITEM-MS">medicationuse</cd> </content> <content> <text L="nl">For stomachache</text> </content> </item> ...
Healthcareelement "origin"
Under discussion
This paragraph is under discussion and needs to be reviewed.
VIM-147 - Getting issue details... STATUSWith the help of the list CD-MS-ORIGIN it can be indicated via which path the medication is included in the medication scheme. Has this occurred by means of the ‘normal’ path by which the medicine is prescribed by the doctor and is delivered by the pharmacist (or in the case of OTC medication, is only delivered by the pharmacist)? This path will be indicated with the code ‘regularprocess’.
The other manner is that the patient or a care player indicates that he ingests certain medication. This medication can already be present at the patient's home; they have been obtained via friends or family or possibly purchased via the Internet or abroad. This medication can then still be included in the medication scheme and be indicated with the code ‘recorded’.
Permitted values for this list are:
- regularprocess
- recorded
Folder element <transaction> "treatmentsuspension" TS
The Vitalink transaction TS can be used to express a suspension of the ingestion of the medication. A medication scheme can contain 0 or more suspensions.
Kmehr parent transaction
Element | Vitalink meaning Kmehr meaning: External Links#kmehr_transaction | Kmehr | Vitalink |
---|---|---|---|
id | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
cd | Mandatory | = | |
date | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
time | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
author | For the use in storage and consultation, see M. Storage and Consultation. | Mandatory | = |
iscomplete | Mandatory | = | |
isvalidated | Kmehr: Specifies if the transaction is validated. Vitalink: This element is not used, see M. Concept: User MSE validation | Mandatory | = |
item | Vitalink: No item is defined within the transaction medicationscheme. | Optional | 0 |
Vitalink child transaction TS
Transaction element <item>
Each Kmehr element <item> consists of the next elements:
Element | Vitalink meaning Kmehr meaning: External Links#kmehr_item | Kmehr | Vitalink |
---|---|---|---|
id | Vitalink: For Vitalink, this value has no extra meaning. | Mandatory | = |
cd | Kmehr: The type of the item. Vitalink: 1 item "medication" and 0 or more items "transactionreason" | Mandatory | = |
Transaction element <item> "medication"
The item medication has of the following additional elements:
Element | Type | Vitalink |
---|---|---|
group of elements for medication information | Refer to corresponding paragraph. | Mandatory |
beginmoment | <date> | Mandatory |
endmoment | <date> | Optional, not together with duration |
duration | VIM-147 - Getting issue details... STATUS | Optional, not together with endmoment |
lifecycle | CD-LIFECYCLE | Mandatory |
lnk | Refer to corresponding paragraph. | Mandatory |
Medication elements for medication information
These elements should be exactly the same as the medication information elements of the corresponding transaction MSE.
Medication element <beginmoment>
Medication element <endmoment>
Medication element <duration>
Medication element <lifecycle>
Medication element <lnk>
This element contains a link to the transaction MSE that is suspended. The content is an XPath link identifying the corresponding MSE by its ID-KMEHR id.
... <transaction> <id S="ID-KMEHR" SV="1.0">46</id> ... <cd S="CD-TRANSACTION" SV="1.11">medicationschemeelement</cd> ... </transaction> ... <transaction> <id S="ID-KMEHR" SV="1.0">49</id> ... <cd S="CD-TRANSACTION" SV="1.11">treatmentsuspension</cd> ... <item> ... <cd S="CD-ITEM" SV="1.4">medication</cd> ... <lnk TYPE="isplannedfor" URL="//kmehr:transaction[id[@S='ID-KMEHR']='46']"/> </item> ... </transaction> ...
Transaction element <item> "transactionreason"
The item medication has of the following additional elements:
Element | Type | Vitalink |
---|---|---|
content | Text field | Mandatory |
... <item> <id S="ID-KMEHR" SV="1.0">2</id> <cd S="CD-ITEM" SV="1.11">transactionreason</cd> <content> <text L="nl">Replaced by Fraxiparine because of tooth extraction</text> </content> </item> ...
This page is under construction.