How to correctly specify the time window within which the fluid balance applies

Unimportant Context but interesting:
For the use case assessing a patient’s fluid balance, I decided to use the archetype OBSERVATION.fluid_balance.v1 - no surprise so far ;-). But the surprise came step-by-step. In the clinical knowledge manager the archetype is depicted as follow

But if I go to the archetype designer to check the archetype fluid balance, then it looks very different, namely

image

And if I add this archetype to a composition, it looks different again, namely

Important Context:
But my biggest surprise came, when I wanted to test the “Any interval event” by uploading the template in the Form Builder by Better. The template simply consists of the COMPOSITION.report-result.v1 which includes the archetype OBSERVATION.fluid_balance.v1. But when testing it, I had no option to define an arbitrary time interval for the attribute “Any interval event”.

My question:

  • Is there a way to define an arbitrary time interval, such as from DD.MM.YYYY:HH:MM until DD.MM.YYYY:HH:MM, only by relying on the archetype OBSERVATION.fluid_balance.v1?
  • If not, is there a way to include the attributes “from” and “until” as DD.MM.YYYY:HH:MM without resorting on specialization of this archetype or bloating it with the Timing archetypes?

I tinkered with the template and realized, that there are attributes inherited by the reference model to actually instantiate an arbitrary time window using the following attributes:

Unfortunately, I was unable to expose this possibility in the Form Builder provided as Sandbox by Better - thank you Better for your support. But fortunately, I now know, that this can be instantiated by other means.

And I also figured out what format is expected for the attribute offset, namely (copied and pasted from ISO 8601 duration format)

P(n)Y(n)M(n)DT(n)H(n)M(n)S

Where:

  • P is the duration designator (referred to as “period”), and is always placed at the beginning of the duration.
  • Y is the year designator that follows the value for the number of years.
  • M is the month designator that follows the value for the number of months.
  • W is the week designator that follows the value for the number of weeks.
  • D is the day designator that follows the value for the number of days.
  • T is the time designator that precedes the time components.
  • H is the hour designator that follows the value for the number of hours.
  • M is the minute designator that follows the value for the number of minutes.
  • S is the second designator that follows the value for the number of seconds.

For example:

P3Y6M4DT12H30M5S

Represents a duration of three years, six months, four days, twelve hours, thirty minutes, and five seconds.

2 Likes