Open PallaviGanorkar opened 1 year ago
As discussed with @jingtang10 and referred to http://hl7.org/fhir/uv/sdc/STU3/extraction.html#definition-based-extraction document.
For questionnaire-itemExtractionContext extension with valueExpression, check whether the resource is already exists with the help of XFhirQueryResolver. If exists, update it otherwise create it.
This ticket is only support "application/x-fhir-query" from list given at http://hl7.org/fhir/R4B/codesystem-expression-language.html
Describe the solution you'd like If the element has a questionnaire-itemExtractionContext that corresponds to an existing resource or set of resources, then the intention is that the extracted content will replace those existing resources.
http://build.fhir.org/ig/HL7/sdc/extraction.html#definition-based-extraction
Please refer #1770 for more details