lforms
lforms copied to clipboard
Prepopulate form with source data
Hi Has anyone tried using source data as input values in the questionnaire? I was thinking of using variables of some sort 'out' of the questionnaire resource and put them in some way 'in' the questionnaire and I came by this example: https://hl7.org/fhir/uv/sdc/Questionnaire-questionnaire-sdc-test-fhirpath-prepop-source-query.json.html They use a bundle of type batch https://build.fhir.org/bundle.html and then use contained resources to put it in their questionnaire https://build.fhir.org/references.html#contained. Has anyone tried this? Is LForms prepared for this?
EDIT: the more general question is: can Lforms handle contained resources? Other example: https://build.fhir.org/questionnaire-example-gcs.json.html