...
Info |
---|
When finding Organization, the origin and use must be taken into account. |
Finding all sub Organization in an Organization Tree
Retrieving an Organization and its entire Organization tree of sub Organization can be performed as an Organization Search that utilizes the :iterate
modifier:
GET <base-url>/fhir/Organization?_id=<ID>&_reverseinclude:iterate=Organization:partof
Info |
---|
Example request for finding the entire Organization Tree under Organization/123
|
To retrieve an Organization and only immediate sub Organization of an Organization, use:
GET <base-url>/fhir/Organization?_id=<ID>&_reverseinclude=Organization:partof
Finding all parent Organization
Retrieving an Organization and all its parent Organization transitively, can be performed as an Organization Search that utilizes the :iterate
modifier:
GET <base-url>/fhir/Organization?_id=<ID>&_include:iterate=Organization:partof
Info |
---|
Example request for finding all parents transitively of Organization/123
|
To retrieve an Organization and only its immediate parent Organization , use:
GET <base-url>/fhir/Organization?_id=<ID>&_include=Organization:partof
Finding all parent and sub Organization in an Organization Tree
The above searches can be combined to retrieve all parents transitively and all sub Organization under an Organization:
GET <base-url>/fhir/Organization?_id=<ID>&_reverseinclude:iterate=Organization:partof&_include:iterate=Organization:partof
Finding a Municipal Organization
See example operations here
...