Get 100 practitioner roles (by default):

GET [base]/fhir/PractitionerRole

Get practitioner role by resource id:

GET [base]/fhir/PractitionerRole/[id]

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

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

Example search scenario

  1. 1.
    Get practitioner role by specialty:
GET [base]/fhir/PractitionerRole?specialty=2084P0802X
  1. 1.
    Find practitioner id:
"practitioner": {
  "reference": "Practitioner/bc3d21a5-af67-4ff9-9f08-9758b71a7e0e"
  .......
}
  1. 1.
    Get practitioner by id:
GET [base]/fhir/Practitioner/[id]

Bulk API

The following bulk operations on PractitionerRole 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 here.

GET [base]/PractitionerRole/$dump

$dump-csv

Dump PractitionerRole 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 here.

GET [base]/PractitionerRole/$dump-csv

Parameters

ParameterDescription
PractitionerRole.activetrue/false
PractitionerRole.datethe period during which the practitioner is authorized to perform in these role(s)
PractitionerRole.emailemail
PractitionerRole.endpointtechnical endpoints providing access to services operated for the practitioner with this role
PractitionerRole.healthcareServicethe list of healthcare services that this worker provides for this role's Organization/Location(s)
PractitionerRole.identifieridentifier in a system
PractitionerRole.locationthe location(s) at which this practitioner provides care
PractitionerRole.networkassociated networks
PractitionerRole.organizationorganization where the roles are available
PractitionerRole.phonephone
PractitionerRole.practitionerassociated practitioner(s)
PractitionerRole.rolethe code of a role
PractitionerRole.servicethe list of healthcare services that this worker provides for this role's Organization/Location(s)
PractitionerRole.specialtypractitioner specialty
PractitionerRole.telecomtelecom

Last updated 2025-05-12T17:04:33Z