Stream: fhirpath
Topic: Adaptive Questionnaire Text
Grey Faulkenberry (Sep 18 2021 at 20:50):
I was wondering if FHIRPath could be used for adaptive text for the text of a QuestionnaireItem. I know it can be used for a calculated answer, and it can be used for an initial answer. But I'd like to have it for the item text as well. Specifically for this I have a consent form, that I'd like to have the first item be a display (or possibly a group) with text that reads...
I,' + %patient.name.first().given.aggregate(\$total + ' ' + \$this, '') + ' ' + %patient.name.first().family + ' (“Independent Minor”), hereby agree to the following:'
Is this possible?
Brian Postlethwaite (Sep 20 2021 at 13:19):
You could just use a regular question with readonly attribute, then that text would also be in the answer data that tis recievied too.
(yes the text should also come through for the question too)
Last updated: Apr 12 2022 at 19:14 UTC