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?
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]