Aftab Baig
Aftab Baig

Reputation: 293

How can I query FHIR server to return all panel tests and independent tests in one go

I have a patient portal that connects to an FHIR server to get patient's lab tests. I want to get all the panel/grouped tests and individual tests in one query. Is there a way to do that?

Upvotes: 0

Views: 47

Answers (1)

Lloyd McKenzie
Lloyd McKenzie

Reputation: 6803

If you query for Observations, the default is that you'll get all Observations - both panels and leaf-level Observations. It's actually really hard (and not widely supported) to query in a way that doesn't give you both.

Simply search filtering where ?category=laboratory&patient=[your patient]

Upvotes: 0

Related Questions