Name |
Field Name |
Type |
Value |
Description |
Required |
Practitioner ID |
practitioner |
- |
eg. GPKEHDIC7E |
Practitioner ID |
Yes |
Request Type
GET
Sample Request URL
https://test-api.carespan.clinic/R4/PractitionerRole?practitioner={{practitioner_id}}
Response (Success)
{
"specialty": {
"coding": [
{
"system": "urn:oid:2.16.840.1.113883.6.96",
"code": "17561000",
"display": "Cardiologist"
}
]
}
}
Response (No specialization)
When the clinician does not have a specialization, we get this message
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Invalid resource found at path[Specialty where(resolve() is specialty.code)] - Doctor/s Does not have specialty - specialty/"
}
]
}