Getting data (FHIR)
Search practitioners
Find practitioners with search parameters; returns a FHIR Bundle (searchset).
GET
/api/fhir/PractitionerScope fhir.readReturns practitioners of your practice as a Bundle of type searchset. Records of restricted (VIP) patients and confidential notes are never returned.
Members of your team marked as practitioners, with registration and practice numbers.
GET /api/fhir/Practitioner
curl "https://system.clinicview.co.za/api/fhir/Practitioner" \
-H "Authorization: Bearer $CLINICVIEW_API_KEY" \
-H "Accept: application/fhir+json"{
"resourceType": "Bundle",
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://system.clinicview.co.za/api/fhir/Practitioner"
}
],
"entry": [
{
"fullUrl": "https://system.clinicview.co.za/api/fhir/Practitioner/3a9d2f4b-6c1e-4f8a-b2d7-5e0c9a1b3d22",
"resource": {
"resourceType": "Practitioner",
"id": "3a9d2f4b-6c1e-4f8a-b2d7-5e0c9a1b3d22",
"identifier": [
{
"system": "https://fhir.clinicview.co.za/identifier/practitioner-registration",
"value": "MP0654321",
"assigner": {
"display": "HPCSA"
}
},
{
"system": "https://fhir.clinicview.co.za/identifier/bhf-practice-number",
"value": "0123456"
}
],
"active": true,
"name": [
{
"text": "Dr Naledi Dlamini",
"prefix": [
"Dr"
]
}
],
"telecom": [
{
"system": "email",
"value": "naledi@example.com"
}
],
"qualification": [
{
"code": {
"text": "General practice"
}
}
]
},
"search": {
"mode": "match"
}
}
]
}Parameters
_idid · queryPractitioner id (ignored in search; use read).
Example:
3a9d2f4b-6c1e-4f8a-b2d7-5e0c9a1b3d22_countinteger · queryResults to return: 1–200, default 50.
Example:
20
Responses
- 200A Bundle of matching resources.Headers:
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset - 400Invalid date parameter "2026/11/01"
- 401Missing or malformed API key
- 403API key lacks the fhir.read scope
- 404Patient not found
- 429Rate limit exceeded: 300 requests per minute per keyHeaders:
Retry-AfterX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset