Stream: implementers
Topic: Observation partof DR
Chad Evans (Jun 21 2021 at 17:12):
Typically a DiagnosticReport has references to Observation via DR.result. I have a need to get Observations separately from the receiving of the DiagnosticReport. I would like to only store the Observation with reverse references back to the DiagnosticReport. I could use an extension for this. But was curious as to why the Observation.partof in the R4 spec doesn't allow for DiagnosticReport as a type?
Richard Townley-O'Neill (Jun 23 2021 at 05:51):
It might be to discourage two-way references, which are hard to do RESTfully.
Lloyd McKenzie (Jun 25 2021 at 21:10):
We try very hard to have references only ever exist in one direction. Having an extension that points to a DR from an Observation would be considered poor practice. Better to simply search for the DR that references the Observation of interest.
Last updated: Apr 12 2022 at 19:14 UTC