Stream: workflow
Topic: Observation .basedOn and Task
Theo Stolker (Mar 10 2017 at 15:45):
Hi, I have a new question in the same area. I would kind of hope that I can submit an Observation and say that it is basedOn a certain Task. Right now, the Task resource, however, isn't allowed as target of the basedOn Reference.
Same holds true for QuestionnaireResponse, and probably a few more result type resources.
Should't Task be included in the list of allowed resources for the basedOn attribute for all resources?
Eric Haas (Mar 11 2017 at 00:53):
The Task.outputReferences
references the Observation not the other way around and we want to avoid circular references. But looking at Task.basedOn
why is that "Reference(Any)"? That should be narrowed down to the usual suspects ( request resources)
Lloyd McKenzie (Mar 11 2017 at 02:00):
Normally when there's above about 5 resources to list, we don't enumerate
Theo Stolker (Mar 11 2017 at 18:55):
Thanks, @Eric Haas , that should indeed work even better!
Last updated: Apr 12 2022 at 19:14 UTC