lforms icon indicating copy to clipboard operation
lforms copied to clipboard

Prepopulate form with source data

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

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

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