Stream: implementers
Topic: Logical references and chained search
Simone Heckmann (Oct 19 2018 at 09:07):
Currently http://fhirtest.uhn.ca/baseDstu3/Condition?context.identifier=34601
returns 0 results, although there is a Condition on this server with a logical reference to this encounter identifier:
<context> <identifier> <system value="http://starfleet-hospital.ufp/NamingSystem/encounter-identifier"/> <value value="34601"/> </identifier> </context>
But if I am reading the spec right, the search should find logical references, or is that a different syntax?
Simone Heckmann (Oct 19 2018 at 09:08):
The Condition that should match is http://hapi.fhir.org/baseDstu3/Condition/261969
Alexander Zautke (Oct 19 2018 at 12:04):
I'm pretty sure that it's now trying to look for an Encounter (with the given identifier in Encounter.identifer) which is linked to this Condition via a Reference.reference.
In R4 you can use [base]/Condition?context:identifier=http://starfleet-hospital.ufp/NamingSystem/encounter-identifier|34601
Last updated: Apr 12 2022 at 19:14 UTC