Stream: questionnaire
Topic: LHC-Forms SDC Questionnaire SMART App
Paul Lynch (Jan 11 2019 at 00:18):
For those interested in the SDC SMART app NLM has been working on, I just pushed a new version out today that has support for the "variable" extension, as well as some adjustments for Argonaut forms, and other fixes. Prepopulation support now includes the following extensions:
- launchContext
- initialExpression (FHIRPath only)
- calculatedExpression (FHIRPath only)
- variable (FHIRPath only)
The URL is https://apps.smarthealthit.org/app/lforms-questionnaire-app. Note that this talks to an STU3 server, but you can upload R4 forms, which stay R4 until you save and reload them (at which point the R4 functionality goes away). Demo forms for upload are in the GitHub repository, at: https://github.com/lhncbc/lforms-fhir-app/tree/master/e2e-tests/data/R4
Raheel Sayeed (Jan 15 2019 at 17:39):
It would be helpful to have a r3 version too, on the sandbox? If its possible through extensions, (https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/Questionnaires.20with.20Math/near/154000293)
Paul Lynch (Jan 15 2019 at 19:03):
@Raheel Sayeed The app does support upload of STU3 forms as well. However, if you are looking to do math in STU3, I am not sure what support there is. The questionnaire-calculatedExpression extension is not in STU3, but is a part of the SDC profile that was balloted (for comment) with R4 (http://hl7.org/fhir/2018Sep/extension-questionnaire-calculatedexpression.html). So, I've only been adding these new features to the R4 import.
@Lloyd McKenzie Would it make sense to try to support questionnaire-calculatedExpression (and possibly other new SDC extensions) in STU3?
Raheel Sayeed (Jan 15 2019 at 19:11):
Your right, R3 + Math don't get along too well. But I'd definitely try to work on that if it made sense.
Last updated: Apr 12 2022 at 19:14 UTC