A person who is directly or indirectly involved in the provisioning of healthcare.

0. References

1. Read

Return a single Practitioner for the specified id.

All requests SHALL contain a valid ‘Authorization’ header and SHALL contain an ‘Accept’ header. The `Accept` header indicates the format of the response the client is able to understand, this will be one of the following application/json+fhir or application/xml+fhir.

1.1. Response

A full set of response codes can be found here API Response Codes. FHIR Servers SHALL support the following response codes:

200 successful operation
404 resource not found
410 resource deleted

Fetches a bundle of all Practitioner resources for the specified search criteria.

All requests SHALL contain a valid ‘Authorization’ header and SHALL contain an ‘Accept’ header. The `Accept` header indicates the format of the response the client is able to understand, this will be one of the following application/json+fhir or application/xml+fhir.

2.1. Search Parameters

This implementation guide outlines some suggested search parameters for the Practitioner resource in the table below. To be conformant, provider systems are required to implement all of the SHALL parameters. Provider systems may implement the full list of search parameters for the Practitioner resource (HL7 FHIR STU3 Practitioner).


Name Type Description Conformance Path
adddress-postcode string A postalCode specified in an address MAY Practitioner.address.postalCode
identifier token Any identifier for the practitioner (e.g. GMP/GMC code) MAY Practitioner.identifier

2.1.1. address-postcode

See string for details on this parameter.

GET [baseUrl]/Practitioner?address-postcode=NG10%201QQ

Return all Practitioner resources with Post Code of NG10 1QQ.

2.1.2. identifier (SDS Id or ODS Code)

See token for details on this parameter.

GET [baseUrl]/Practitioner?identifier=https://fhir.nhs.uk/Id/sds-user-id|123456

Return all Practitioner resources with SDS User ID of 123456.
GET [baseUrl]/Practitioner?identifier=https://fhir.nhs.uk/Id/????????|G8133438

Return all Practitioner resources that have a ODS Practitioner/Consultant of G8133438 

2.2. Search Response

If the search fails (cannot be executed, not that there is no matches), the return value is a status code 4xx or 5xx with an OperationOutcome.

If the search succeeds, the return content is a Bundle with type = searchset containing the results of the search as a list of resources in a defined order. The result list can be long, so servers MAY use paging. If they do, they SHALL use this Paging method for breaking the list into pages if appropriate. The server MAY also return an OperationOutcome resource with additional information about the search; if one is sent it SHALL NOT include any errors, and it shall be marked with an entry mode of include.

A full set of response codes can be found here API Response Codes. FHIR Servers SHALL support the following response codes:

200 successful operation
404 resource not found
410 resource deleted

3. Example

Reference Implementation examples coming soon

3.1 Request Query

Return all Practitioner resources with a GP Code of G8133438, the format of the response body will be xml. Replace ‘baseUrl’ with the actual base Url of the FHIR Server.

3.1.1. cURL

curl -H 'Accept: application/xml+fhir' -H 'Authorization: BEARER [token]' -X GET  '[baseUrl]/Practitioner?identifier=https://fhir.nhs.uk/Id/sds-user-id|G8133438'

3.2 Query Response

3.2.1 Http Headers

3.2.2 Http Body