In that case, I don't understand the use case for the 'percent' and 'unitary' 
variants of the DV_PROPORTION data type. What are they for?

Regards,
Silje

-----Original Message-----
From: openEHR-technical <openehr-technical-boun...@lists.openehr.org> On Behalf 
Of Thomas Beale
Sent: Friday, January 4, 2019 8:38 PM
To: openehr-technical@lists.openehr.org
Subject: Re: DV_PROPORTION vs DV_QUANTITY for %


On 03/01/2019 08:37, David Moner wrote:
> I think DV_QUANTITY is the option here. Someone could argue that % is 
> not a proper unit, but it is, both in UCUM and SNOMED CT.
>
> DV_PROPORTION should be only used when you want to maintain the 
> numerator and denominator explicitly separated, as a fraction, which 
> should not be the case with percentages. But it is true that the 
> definition of the type attribute in the specification is a bit
> misleading: "Indicates semantic type of proportion, including percent, 
> unitary etc."

David is right on all counts - use DV_QUANTITY, but we should fix that line in 
the specification. Can someone raise a PR on that please.

- thomas



_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to