lforms icon indicating copy to clipboard operation
lforms copied to clipboard

CalculatedExpressions not working?

Open annabel-uzl opened this issue 8 months ago • 1 comments

Hi, I was playing with fhirpath and calculatedExpressions but I could not seem to get it working. I now tried this example: https://build.fhir.org/ig/HL7/sdc/Questionnaire-questionnaire-sdc-profile-example-form-behavior.json.html to check if this works, but this also does not render e.g. the BMI. I would expect if height and weight are filled in, BMI is calculated as this is how it's advertised on https://build.fhir.org/ig/HL7/sdc/expressions.html#fhirpath "This expression allows for dynamic calculation of answers to questions as other questions are answered. It behaves similarly to initialExpression extension, but instead of only setting its value when the QuestionnaireResponse is originally created or when a question is enabled, the value updates continuously as the answers to dependent questions change." Can this be a bug in the Lforms package?

annabel-uzl avatar Jun 13 '24 06:06 annabel-uzl