I’ve got a use case where we need to represent a time duration (of a symptom), which can be for example <24H or >3M. Is it possible to represent this using the DV_DURATION data type, like you can do with DV_QUANTITY and magnitude_status? If not, what should we do?
Kind regards, Silje Ljosland Bakke
Information Architect, RN
Coordinator, National Editorial Board for Archetypes
Nasjonal IKT HF, Norway
Yeah, it is supported in 1.4. However, I’m not sure that that Durations are the way to go here, as all the duration is constraint as string, which means string lists or regex in best case scenario, which IMO makes pretty difficult to represent the “<” or “>”. Personally I would go with an alternative of dv_quantity, as a single one with range is impossible to be created if they don’t share the same units. When validating, only one of the alternatives needs to be valid, thus complying with the “or”
I’ve never understood the usefulness of that attribute: Seems strange to populate an attribute that will end up in data with a value that could provoke misunderstandings
It was added to the RM years ago to support quantities in lab results, which are sometimes of the form <X, >Y etc. If I had my time again, I would have moved the date/time types out a bit so they did not inherit this attribute. Usually it is Void.
We have certainly had to use it in some lab test integrations. I would normally agree that it might be risky to carry this kind of modifier as a separate attribute, which could easily be missed in queries, but these are gnerally imprecise values (as in Silje’s use-case) or out-of-range on an analyser where I think the non-modified value is robably a safe proxy for the modified one. So, in this case I think it is safe.
But the meaning is for this attribute is to be be used in measures like lab result to express things that are probably barely measurable, not to express that in modelling time the other defined constraint is meant to be the upper (or lower) part of a range
I think there was a conversation about being able to constraint the magnitude of a DV_DURATION instead of the String expression. The issue was the magnitude is a function, not an attribute of DV_DURATION.
I think there was a conversation about being able to constraint the
magnitude of a DV_DURATION instead of the String expression. The issue
was the magnitude is a function, not an attribute of DV_DURATION.
that is also my understanding…
I’m not sure if that was just a conversation or if we have a proposal from the SEC to make changes on that area, do you recall?