FHIR Chat · Rendering Tool for questionnaire with initialExpression · implementers

Stream: implementers

Topic: Rendering Tool for questionnaire with initialExpression


view this post on Zulip Julia Schönmann (Jun 18 2019 at 10:01):

Hallo everyone!
is there a rendering tool for questionnaires to test form population with fire path-based method? (http://build.fhir.org/ig/HL7/sdc/populate.html)
Atm im testing with the LHC-Forms Fhir SDC Smart App, where you can pick a patient and upload your own questionnair as json for example. (https://lhncbc.github.io/lforms-fhir-app/launch.html?launch=eyJhIjoiMSJ9&iss=https%3A%2F%2Flforms-smart-fhir.nlm.nih.gov%2Fv%2Fr4%2Ffhir)
My "problem" is that only patient paths react. Any tries with condition or observation do not work.
Maybe the tool isnt made for this or im doing it wrong.

Patient name works like this:
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-initialExpression",
"valueExpression": {
"description": "Name from patient resource",
"language": "text/fhirpath",
"expression": "%patient.name[0].select(given.first() + ' ' + family)"
}
}
]

Can someone tell me a working example for Condition.assertedDate for example? And if its possible to test it with the LHC Tool? Any other tools recommendations?
Im beginner with fhir and questionnaires.

Thank you!

view this post on Zulip Lloyd McKenzie (Jun 18 2019 at 16:52):

@Paul Lynch

view this post on Zulip Lloyd McKenzie (Jun 18 2019 at 16:53):

(Also, in the future you might want to raise questionnaire-related questions on the #questionnaire stream. It's not wrong to raise them here on #implementers, but some questionnaire folks only monitor the specific stream because #implementers is so busy.)

view this post on Zulip Paul Lynch (Jun 18 2019 at 17:17):

@Julia Schönmann Our LHC-Forms FHIR SDC SMART app currently does not have a way to get to a resources other than the %patient, except that values from Observation resources can be loaded in using the observationLinkPeriod extension. In theory, one could load in conditions for the patient using the "variable" extension (embedding the patient ID in the query URL via the "liquid" templates), but we don't support FHIR queries in expressions yet.

view this post on Zulip Julia Schönmann (Jun 19 2019 at 07:51):

Thank you both for your answers! will look for the questionnaire stream :) !


Last updated: Apr 12 2022 at 19:14 UTC