Brian's connectathon 2023 $populate and $extract talk
See this for parameters to the official SDC $populate operator.
All about CSIRO smart forms questionnaires and docs and storybook.
This form of getFormFHIRData successfully returns the subject in the QR.
JSON.stringify(LForms.Util.getFormFHIRData("QuestionnaireResponse", "R4", undefined, {
subject: {
resourceType: "Patient",
id: "tus-screened"
}
}), null, 2)