Stream: implementers
Topic: How to search all the Observations of a DiagnosticReport
Muhammad Abubakar Ikram (May 29 2019 at 11:26):
How to search for all the Observation resources of a DiagnosticReport?
Since we don't have a reference element in Observation for its DiagnosticReport?
We have a reference element in DiagnosticReport for its all Observations but considering this, we cannot search all the Observation resources of a DiagnosticReport because we don't have a SearchParameter for DiagnosticReport in Observation resource.
Observation resource does have a based-on reference search parameter but according to docs, we cannot put DiagnosticReport reference in it.
What if we also enable based-on for DiagnosticReport?
Grahame Grieve (May 29 2019 at 12:20):
the intent is to use _include to include the observations for a diagnostic report
Muhammad Abubakar Ikram (May 30 2019 at 08:22):
@Grahame Grieve Thank you I got it worked this way,
"DiagnosticReport?_id=102&_include=DiagnosticReport:result&_format=json"
Last updated: Apr 12 2022 at 19:14 UTC