Stream: questionnaire
Topic: Example units
Paul Lynch (Jan 20 2021 at 00:44):
Currently, if a Questionnaire specifies units with one of the unit extensions (including unitOption and unitValueSet) the user cannot enter a unit outside of the options provided. However, the units in https://loinc.org/24336-0/ are all "example units", meaning that the LOINC term does not require a particular unit, except that the unit should make sense for the measure. So, if I were writing a FHIR version of this LOINC panel, I would not want to enforce a particular set of units, but then if I don't specify any units the user filling out the form has no idea what the unit is. I think we need a new "example unit" extension that would both give the user a hint and allow the validation of the entered unit to see that it is commensurable with the example unit.
Lloyd McKenzie (Jan 20 2021 at 03:24):
In that case, I'd define the units as a separate question and provide the example value set but make it an open-choice
Paul Lynch (Jan 22 2021 at 16:59):
That would result in a rather odd UI ("What is your weight?", "What is the unit for the weight?", probably on separate lines unless grouped together inside another item to create a horizontal group). Also, it would mean you couldn't use observationExtract or observationLinkPeriod.
Lloyd McKenzie (Jan 22 2021 at 17:23):
I'd have it as a nested question and the question text would just be "Unit?"
Peter Muir (Jan 22 2021 at 20:29):
Would it be reasonable to have this as a full form or section config option to select preferred units (eg, lb vs kg for an international questionnaire?)
Lloyd McKenzie (Jan 22 2021 at 22:27):
You mean have a question that lets you choose preferred units at the top of the questionnaire and then have that affect what's in the drop-downs or what's the default for subsequent questions?
Peter Muir (Jan 24 2021 at 16:44):
Correct Lloyd, within the initial form context have a standardized config area that determines form display options including preferred units such as lb or kg. This choice could direct the show/hide display and calculation algorithms - BMI could be a simple use case - most patients do not consider their height in meters. Even though the algorithm is universal, the actual data capture gets converted. This could be esp helpful for International forms, clinical guidelines and quality measurement. The same context location of the form could assist with other display options such as tree-line view or not. Some items might be preferred at an organizational level or at the clinician level. Standardizing such configuration and display could speed Q/QR development - eg R5 root concept on steroids for large set implementation and maintenance.
Lloyd McKenzie (Jan 24 2021 at 20:51):
You can use the optionExpression to have the list of options calculated based on information elsewhere in the Questionnaire
Paul Lynch (Jan 25 2021 at 17:12):
Lloyd McKenzie said:
I'd have it as a nested question and the question text would just be "Unit?"
How would that work with observationExtract or observationLinkPeriod? Also, it seems better to handle this using the same approach (unitOption, unitValueSet) used for the case where the user must pick one of the provided units.
Lloyd McKenzie (Jan 25 2021 at 17:28):
It wouldn't - unless the units were a component observation.
Paul Lynch (Jan 25 2021 at 18:04):
Last updated: Apr 12 2022 at 19:14 UTC