It might seem a very basic question, but I couldn’t find an appropriate answer anywhere. Which is the best way to model a single Real number in openEHR? For example, a result of a score.
In both cases, it seems we are forcing to use a data type that does not really fit for purpose. Why don’t we have something similar as the DV_COUNT, but representing a real number and not an integer? Something equivalent to the REAL data type in ISO 21090
Qualified Real is the current preferred option (for me anyway). I think we have flagged up in the spec CRs that proper support for Real would be helpful as Qualified real is somewhat obscure.
until we discovered that a few scores use non Integral values, there was no need for a 'real' type with no units. There is a CR to enable DV_ORDINAL to have real values. Until then, I would suggest using the DV_QUANTITY approach, that's the most frequently used one in the past. Other than these scores, I have never heard of a real value that doesn't have units in medicine. Does anyone know of any? If there is one, we would need a new data type as well, but it still wouldn't be the one to use for scores.
Well, as the openEHR data types specification document says, think of an archetype representing some statistical values such a covariance.
It is clear that the DV_QUANTITY is the most appropriate solution right now, but does not seem safe to rely on setting an empty unit to represent just a Real number