Stream: implementers
Topic: Condition search by subject
Martin Tran (Jan 15 2017 at 15:25):
Hi Grahame, I added 2 conditions that are not getting returned when I search by subject.
The first 2 queries work, and the last one returns 0 conditions.
http://fhir3.healthintersections.com.au/open/Condition/11
http://fhir3.healthintersections.com.au/open/Condition/12
http://fhir3.healthintersections.com.au/open/Condition?subject=Patient/329
Am I doing anything wrong?
Sorin Voicu (Jan 15 2017 at 15:56):
Noticed the same on the HSPC server (api3.hspconsortium.org/fhirconnect14/open).
We tried both: api3.hspconsortium.org/fhirconnect14/open/Condition?subject=Patient/215 and api3.hspconsortium.org/fhirconnect14/open/Condition?patient=Patient/215 and neither works. Build v1.9.0 docs indicate both are valid.
Are we missing something?
Michele Mottini (Jan 15 2017 at 16:01):
I think they are bugs
Michele Mottini (Jan 15 2017 at 16:01):
Also, in the hspconsortium server the Condition.subject references are wrong:
Michele Mottini (Jan 15 2017 at 16:01):
"subject": { "reference": "api3.hspconsortium.org/fhirconnect14/open/Patient/215" }, "context": { "reference": "api3.hspconsortium.org/fhirconnect14/open/Encounter/216" },
Michele Mottini (Jan 15 2017 at 16:02):
missing 'https://'
Michele Mottini (Jan 15 2017 at 16:03):
(that might be the reason why the search by subject does not find that particular Condition)
Martin Tran (Jan 15 2017 at 16:08):
good catch. The healthintersections server is also missing the http:// in the references
Sorin Voicu (Jan 15 2017 at 16:12):
Yes, that was it. Thank you, @Michele Mottini!
Last updated: Apr 12 2022 at 19:14 UTC