Using Organization, CareTeam and Practitioner

Finding one or more Organization

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>&_revinclude:iterate=Organization:partof

Example request for finding the entire Organization Tree under Organization/123

GET <base-url>/fhir/Organization?_id=123&_revinclude:iterate=Organization:partof

To retrieve an Organization and only immediate sub Organization of an Organization, use:

GET <base-url>/fhir/Organization?_id=<ID>&_revinclude=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

Example request for finding all parents transitively of Organization/123

GET <base-url>/fhir/Organization?_id=123&_include:iterate=Organization:partof

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>&_revinclude:iterate=Organization:partof&_include:iterate=Organization:partof

Finding all top-level OrganizationEnhed in an Organization Tree

To retrieve all top-level OrganizationEnhed, use:

GET <base-url>/Organization?active=true&source=STS-ORG&partof:missing=true

Finding a Municipal Organization

See example operations here

Finding one or more CareTeam

See example operations here

Finding one or more Practitioner

See example operations here