FHIR Chat · Duration description and expression seem to conflict · implementers

Stream: implementers

Topic: Duration description and expression seem to conflict


view this post on Zulip Troy Biesterfeld (Aug 31 2020 at 18:03):

The following description/expression of the "drt-1" constraint for Duration data type don't match at: https://www.hl7.org/fhir/datatypes.html#QuantityVariations

Description: "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."
Expression: "code.exists() implies ((system = %ucum) and value.exists())"

Based the expression, it's valid to have a value, but no code, which conflicts with the description. It seems like the expression instead should be more like the expression for Age, which starts like: "(code.exists() or value.empty()) and ...".

view this post on Zulip Lloyd McKenzie (Aug 31 2020 at 19:13):

Can you submit a change request for us to correct?

view this post on Zulip Troy Biesterfeld (Aug 31 2020 at 21:21):

Sure, where do I submit a change request? Ah, looks like I may need to register for HL7 JIRA.

view this post on Zulip Vassil Peytchev (Aug 31 2020 at 21:40):

At the bottom of the page, there is a link to "Propose a change". You may have to request a creation of a Jira account, after which, you can submit change requests as you deem necessary...


Last updated: Apr 12 2022 at 19:14 UTC