Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Intake block

How to use this intake block

Condition from Kmehrmessage

/folder/transaction[content/cd[text()='medicationschemeelement']/item[cd[@S='CD-ITEM'][text()='medication']]...




AND
"Nog in te plannen medicatie"

Unlabeled

  • Spread over 3 columns
If / posology is present, it is used, otherwise it is empty

(

/temporality == chronic

OR

/temporality == acute

)

AND

/regimen is not present
"Ontbijt"



"'s morgens"

  • Spread over 3 columns
  • At the top
  1. /regimen/daytime/dayperiod == morning
  2. /regimen/daytime/time in range 00:01-7:59, as defined in the requirements

(

/temporality == chronic

OR

/temporality == acute

)

AND

/regimen is present

"voor"

  • First columns from the left
/regimen/daytime/dayperiod == beforebreakfast

"tijdens"

  • Second columns from the left
/regimen/daytime/dayperiod == duringbreakfast

"na"

  • Third columns from the left
/regimen/daytime/dayperiod == afterbreakfast

"tussen ontbijt en middagmaal"

  • Spread over 3 columns
  • At the bottom
  1. /regimen/daytime/time in range 08:00-11:59, as defined in the requirements
  2. /regimen/daytime/dayperiod == betweenbreakfastandlunch
"Middagmaal"


"voor"

  • First columns from the left
/regimen/daytime/dayperiod == beforelunch

"tijdens"

  • Second columns from the left
/regimen/daytime/dayperiod == duringlunch

"na"

  • Third columns from the left
/regimen/daytime/dayperiod == afterlunch

"tussen middagmaal en avondmaal"

  • Spread over 3 columns
  • At the bottom
  1. /regimen/daytime/time in range 12:00-17:59, as defined in the requirements
  2. /regimen/daytime/dayperiod == betweenlunchanddinner
"Avondmaal"


"voor"

  • First columns from the left
/regimen/daytime/dayperiod == beforedinner

"tijdens"

  • Second columns from the left
/regimen/daytime/dayperiod == duringdinner

"na"

  • Third columns from the left
/regimen/daytime/dayperiod == afterdinner

"tussen avondmaal en nacht"

  • Spread over 3 columns
  1. /regimen/daytime/time in range 18:00-20:59, as defined in the requirements
  2. /regimen/daytime/dayperiod == betweendinnerandsleep
"Bij het slapen"

"voor"

  • First columns from the left
  1. /regimen/daytime/time in range 21:00-00:00, as defined in the requirements
  2. /regimen/daytime/dayperiod == thehourofsleep
"Indien nodig"

Unlabeled

  • Spread over 3 columns
/regimen/daytime/dayperiod is used

/temporality == adhoconeshot

If /posology is present, it is used, otherwise it is empty

...

NrDescription

Value from Kmehrmessage

/folder/transaction[content/cd[text()='medicationschemeelement']...

1free text posology

/posology/text

If /posology is not present and /regimen is also not present: no visualisation.

2unit

Dutch translation of code from first entered item[cd[@S='CD-ITEM'][text()='medication']]/regimen/quantity/unit, according to https://www.ehealth.fgov.be/standards/kmehr/en/tables/unit

If no unit is present:

  • and if /regimen is not present: no visualisation.
  • and if /regimen is present: "-"
3quantityitem[cd[@S='CD-ITEM'][text()='medication']]/regimen/quantity/decimal
4intake moment

If item[cd[@S='CD-ITEM'][text()='medication']]/regimen/daytime/dayperiod is present:


If item[cd[@S='CD-ITEM'][text()='medication']]/regimen/daytime/time is present:

  • Display (rounded to format HH:MM) of this hour.
5frequency

Dutch translation of code from /frequency/periodicity according to https://www.ehealth.fgov.be/standards/kmehr/en/tables/periodicity

If periodicity is not present: no visualisation.

One medication with 2 or more intake moments with discrete hours

If one medication has 2 or more intake moments with discrete hours, for example the medication has to be taken at 14:00, 15:00 and 16:00, these are displayed as 3 separate medication lines in chronological order.

Image Added

Validation error