Pratap Das
Pratap Das

Reputation: 574

Resource retrieval from fhir object

Fhir object model is a resource driven model which is fine. As a client , let's say I want to get patient information. I called - 'patient/1'. Now , to get related resources like Organization , Care provider - do I have to make 2 other calls?

To get all patient related information with a single call , what do I need to do?

Upvotes: 0

Views: 193

Answers (1)

Lloyd McKenzie
Lloyd McKenzie

Reputation: 6793

To get everything related to patient, look at the $everything operation (http://www.hl7.org/fhir/patient-operations.html#everything). You can also bring back related information when querying a single resource by using _include and _revinclude (see http://www.hl7.org/fhir/search.html#revinclude)

Upvotes: 1

Related Questions