Practitioner

Get 100 practitioners (by default):

GET [base]/fhir/Practitioner 

Get practitioner by name:

GET [base]/fhir/Practitioner?name=SMITH%20JOHN 

Get practitioners by language:

GET [base]/fhir/Practitioner?communication=es 

Get practitioners by specialty:

GET [base]/fhir/Practitioner?qualificationName=PHYSICAL%20THERAPY 

Get practitioner by identifier:

GET [base]/fhir/Practitioner?identifier=1861919391 

Get practitioners by language AND specialty:

GET [base]/fhir/Practitioner?communication=es&qualificationName=PHYSICAL%20THERAPY 

Get practitioner by resource id:

GET [base]/fhir/Practitioner/[id] 

The full list of FHIR search parameters for Practitioner is found Practitioner. 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 response:

GET [base]/fhir/Practitioner?ilike=joh+smit
json
{
   "resourceType":"Bundle",
   "type":"searchset",
   "meta":{
      "versionId":"0"
   },
   "total":2,
   "link":[
      {
         "relation":"first",
         "url":"/fhir/Practitioner?ilike=joh+smit&page=1"
      },
      {
         "relation":"self",
         "url":"/fhir/Practitioner?ilike=joh+smit&page=1"
      }
   ],
   "entry":[
      {
         "resource":{
            "name":[
               {
                  "given":[
                     "John"
                  ],
                  "family":"Smith"
               }
            ],
            "birthDate":"1983-03-27",
            "resourceType":"Practitioner",
            "active":false,
            "id":"0399387c-74d9-4b9f-b52f-eff2778775e8",
            "gender":"male"
         },
         "search":{
            "mode":"match"
         }
      },
      {
         "resource":{
            "name":[
               {
                  "given":[
                     "John"
                  ],
                  "family":"Smith"
               }
            ],
            "birthDate":"1983-03-27",
            "resourceType":"Practitioner",
            "active":true,
            "id":"24f0943f-93d4-430b-848a-3bb21c27440c",
            "gender":"male"
         },
         "search":{
            "mode":"match"
         }
      }
   ]
}
GET [base]/fhir/Practitioner?ilike=joh+smit&_result=array
json
[
   {
      "meta":{
         "versionId":"15043688"
      },
      "name":[
         {
            "given":[
               "John"
            ],
            "family":"Smith"
         }
      ],
      "birthDate":"1983-03-27",
      "resourceType":"Practitioner",
      "active":false,
      "id":"0399387c-74d9-4b9f-b52f-eff2778775e8",
      "gender":"male"
   },
   {
      "meta":{
         "versionId":"27083967"
      },
      "name":[
         {
            "given":[
               "John"
            ],
            "family":"Smith"
         }
      ],
      "birthDate":"1983-03-27",
      "resourceType":"Practitioner",
      "active":true,
      "id":"24f0943f-93d4-430b-848a-3bb21c27440c",
      "gender":"male"
   }
]

Bulk API

The following bulk operations on Practitioner 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]/Practitioner/$dump
yaml
HTTP/1.1 200 OK
Content-Type: application/ndjson
Transfer-Encoding: chunked

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

$dump-csv

Dump Practitioner 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]/Practitioner/$dump-csv

Parameters

ParameterDescription
Practitioner.activetrue/false
Practitioner.addressaddress
Practitioner.address-citycity
Practitioner.address-countrycountry
Practitioner.address-postalcodepostal code
Practitioner.address-statestate
Practitioner.address-usethe use of an address
Practitioner.boardCertifiedCodecertification code of a practitioner in ABMS
Practitioner.boardCertifiedValuecertification value of a practitioner in ABMS
Practitioner.communicationspoken language of a practitioner
Practitioner.emailemail
Practitioner.familyfamily name
Practitioner.gendergender
Practitioner.givengiven name
Practitioner.identifieridentifier in a system
Practitioner.namefull name
Practitioner.phonephone
Practitioner.phoneticpart of a family or given name using a phonetic matching algorithm
Practitioner.qualificationqualification
Practitioner.qualificationCodequalification code
Practitioner.qualificationNamequalification name
Practitioner.telecomtelecom