Definition-based extraction: itemContext for a new resource?

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Not Persuasive with Modification
    • Priority: Medium
    • Structured Data Capture (SDC) (FHIR)
    • STU3
    • FHIR Infrastructure
    • (profiles) [deprecated]
    • 11.3.2
    • Hide

      If you're doing extraction, itemContext is used to set the context for the item.definition paths for extraction. As such, no return value is needed (whether there are any resources in the itemContext or not). If the itemContext is empty, you're doing a create. If it has a resource (or set of resources), then you're doing an update. Will update the specification to make this more clear.

      Show
      If you're doing extraction, itemContext is used to set the context for the item.definition paths for extraction. As such, no return value is needed (whether there are any resources in the itemContext or not). If the itemContext is empty, you're doing a create. If it has a resource (or set of resources), then you're doing an update. Will update the specification to make this more clear.
    • Paul Lynch/Don Langlois: 3-0-1
    • Clarification
    • Non-substantive

      For definition based extraction, the spec says to use itemContext to specify the resource. If one does not yet have a resource, but is using the Questionnaire to create one, what would the return value of the itemContext expression be?

      An example here for itemContext.valueExpression would also be helpful for the case where the same Questionnaire might later be used to update the resource that was created. The expression would sometimes need to return a resource.

            Assignee:
            Unassigned
            Reporter:
            Paul Lynch
            Paul Lynch
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: