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
- Get organization affiliation by network:
GET [base]/fhir/OrganizationAffiliation?network=Direct
2. Find organization id
:
"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
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
Parameter | Description |
---|---|
OrganizationAffiliation.active | true/false |
OrganizationAffiliation.date | |
OrganizationAffiliation.email | |
OrganizationAffiliation.endpoint | technical endpoints providing access to services operated for this role |
OrganizationAffiliation.identifier | identifier in a system |
OrganizationAffiliation.location | associated location |
OrganizationAffiliation.network | associated network |
OrganizationAffiliation.organization | associated organization |
OrganizationAffiliation.participating-organization | organization that provides/performs the role (e.g. providing services or is a member of) |
OrganizationAffiliation.phone | phone |
OrganizationAffiliation.primary-organization | organization where the role is available |
OrganizationAffiliation.role | definition of the role the participatingOrganization plays |
OrganizationAffiliation.service | associated healthcare service |
OrganizationAffiliation.specialty | specific specialty of the participatingOrganization in the context of the role |
OrganizationAffiliation.telecom | contact details at the participatingOrganization relevant to this Affiliation |