Stream: implementers
Topic: Ratio + Comparator
Glory Kim (Feb 04 2020 at 02:03):
I'm curious about how the the Ratio Data type (https://www.hl7.org/fhir/datatypes.html#Ratio) is operates when the Quantity in the numerator/denominator has a comparator.
In the case that the numerator is a quantity with a value of
const qtyNumerator = {
value: 0,
comparator: "<=",
unit: "mg",
system: "abc",
code: "MG"
};
const qtyDenominator = {
value: 3,
comparator: "<=",
unit: "ml",
system: "abc",
code: "ML"
};
would the ratio be "0 mg / 3ml" or should the comparators be included to display "<= 0mg / <= 3ml" ?
Grahame Grieve (Feb 04 2020 at 02:31):
the denominator should not allow a comparator
Grahame Grieve (Feb 04 2020 at 02:31):
can you create a task to make a rule about that?
Glory Kim (Feb 04 2020 at 03:13):
Will do - thanks
Glory Kim (Feb 04 2020 at 17:12):
Created task: https://jira.hl7.org/browse/ABA-21
Vassil Peytchev (Feb 04 2020 at 17:16):
Moved to J#25784
For some reason the submitter is shown as "Glory Kim"
Lloyd McKenzie (Feb 05 2020 at 09:14):
@Linda Schwartz please follow up with @Joshua Procious to make sure you have the right account information
Colin E. (Aug 14 2020 at 09:03):
Grahame Grieve said:
the denominator should not allow a comparator
I had wondered about that. (>=10)/(>=20) as a ratio makes no sense. Woukd it be enough to just redefine the denominator as a SimpleQuantity, as SQs don't allow comparators.
Grahame Grieve (Aug 15 2020 at 09:27):
possibly, yes
Last updated: Apr 12 2022 at 19:14 UTC