Stream: questionnaire
Topic: Batch of QuestionnaireResponse and Observations?
Paul Lynch (May 01 2019 at 15:41):
If I have a QuestionnaireResponse and some Observations extracted from it, but none of them are saved yet, is it possible to save them to the FHIR server in a single request? I noticed that the Observations are supposed to contain a reference to the QuestionnareResponse in "derivedFrom", and am not sure how to do that unless I first save the QuestionnaireResponse so I can get an ID for it.
Lloyd McKenzie (May 01 2019 at 15:43):
If you want to maintain the link, you have to store the QuestionnaireResponse before you can point to them unless you're storing everything in a single transaction Bundle.
Last updated: Apr 12 2022 at 19:14 UTC