OrganizationAffiliation

Get 100 organizations (by default):

GET [base]/fhir/OrganizationAffiliation 

Get practitioner role by resource id:

GET [base]/fhir/OrganizationAffiliation/[id] 

The full list of FHIR search parameters for OrganizationAffiliation is found OrganizationAffiliation. Aidbox also offers a selection of query parameters to further refine search results. This includes pagination, full-text search, sorting etc. Refer to the Search for information.

The search results are returned in Bundle by default. Alternatively, you can specify a _result parameter with value array to receive resources in a JSON array.

Example search scenario

  1. Get organization affiliation by network:

GET [base]/fhir/OrganizationAffiliation?network=Direct 

2. Find organization id:

json
"organization": {
  "reference": "Organization/bc3d21a5-af67-4ff9-9f08-9758b71a7e0e"
  .......
}

3. Get organization by id:

GET [base]/fhir/Organization/[id] 

Bulk API

The following bulk operations on OrganizationAffiliation are available.

$dump

Aidbox will respond with Chunked Transfer Encoding ndjson stream, optionally you can get the output in FHIR format or GZIPped.

This is a memory-efficient operation. Aidbox just streams the database cursor to a socket. If your HTTP Client supports processing of Chunked Encoding, you can process resources in stream one by one without waiting for the end of the response. See full docs $dump.

GET [base]/OrganizationAffiliation/$dump
yaml
HTTP/1.1 200 OK
Content-Type: application/ndjson
Transfer-Encoding: chunked

{"resourceType": "OrganizationAffiliation", "id": .............}
{"resourceType": "OrganizationAffiliation", "id": .............}
{"resourceType": "OrganizationAffiliation", "id": .............}
{"resourceType": "OrganizationAffiliation", "id": .............}
.........

$dump-csv

Dump Organization resources in CSV format.

This operation dumps resource data in Aidbox format as CSV (RFC4180). In this format, columns are paths to JSON values and Rows are values. It includes the header.

Neither the specific order of columns nor the order of rows is guaranteed. See full docs $dump-csv.

GET [base]/OrganizationAffiliation/$dump-csv

Parameters

ParameterDescription
OrganizationAffiliation.activetrue/false
OrganizationAffiliation.date
OrganizationAffiliation.emailemail
OrganizationAffiliation.endpointtechnical endpoints providing access to services operated for this role
OrganizationAffiliation.identifieridentifier in a system
OrganizationAffiliation.locationassociated location
OrganizationAffiliation.networkassociated network
OrganizationAffiliation.organizationassociated organization
OrganizationAffiliation.participating-organizationorganization that provides/performs the role (e.g. providing services or is a member of)
OrganizationAffiliation.phonephone
OrganizationAffiliation.primary-organizationorganization where the role is available
OrganizationAffiliation.roledefinition of the role the participatingOrganization plays
OrganizationAffiliation.serviceassociated healthcare service
OrganizationAffiliation.specialtyspecific specialty of the participatingOrganization in the context of the role
OrganizationAffiliation.telecomcontact details at the participatingOrganization relevant to this Affiliation