FHIR Chat · observationLinkPeriod - units · questionnaire

Stream: questionnaire

Topic: observationLinkPeriod - units


view this post on Zulip Brian Postlethwaite (Jul 17 2021 at 04:09):

Wondering if others have any thoughts on what "units" types we should be expecting here, should there be a more strict binding on the valueset in the duration to only process time based units, and should we expect to see anything other than year, month, day?
Should I expect anything in the sub day range?
@Paul Lynch what do you cover in your implementation here?

view this post on Zulip Brian Postlethwaite (Jul 17 2021 at 04:49):

Is it just me or is the example under http://build.fhir.org/ig/HL7/sdc/populate.html#observation-based-population wrong?
It seems to show the unitOption as a property, when it is actually an extension

view this post on Zulip Brian Postlethwaite (Jul 17 2021 at 04:50):

(deleted)

view this post on Zulip Lloyd McKenzie (Jul 17 2021 at 14:30):

Duration is limited to this valueset: http://hl7.org/fhir/R4/valueset-all-time-units.html - which means, in theory ps (picoseconds) to ga (giga-years - yes that's a real UCUM unit). We could impose a tighter binding within the extension definition if you really wanted to - would need a change request.

view this post on Zulip Brian Postlethwaite (Jul 18 2021 at 03:23):

Thanks Lloyd, I think that covers it. From the duration. And my usages I expect the regular ones will be good enough.

view this post on Zulip Brian Postlethwaite (Jul 18 2021 at 03:24):

I'll code down to seconds.

view this post on Zulip Brian Postlethwaite (Jul 18 2021 at 03:24):

(I missed that there was a binding on duration)

view this post on Zulip Paul Lynch (Jul 21 2021 at 18:27):

Brian Postlethwaite said:

Wondering if others have any thoughts on what "units" types we should be expecting here, should there be a more strict binding on the valueset in the duration to only process time based units, and should we expect to see anything other than year, month, day?
Should I expect anything in the sub day range?
Paul Lynch what do you cover in your implementation here?

LHC-Forms handles any UCUM code for time, via the ucum-lhc library (https://ucum.nlm.nih.gov/ucum-lhc).

view this post on Zulip Lloyd McKenzie (Jul 21 2021 at 18:59):

Have you tested it with ga? ;)


Last updated: Apr 12 2022 at 19:14 UTC