Practitioner
A person who is directly or indirectly involved in the provisioning of healthcare.
https://hl7.org/fhir/R4/practitioner.html
To create a new staff member in Canvas, see this Zendesk article.
Endpoints
Attributes
The identifier of the practitioner
An identifier for the person as this agent
The name(s) associated with the practitioner
Address(es) of the practitioner entered in Canvas
Certification, licenses, or training pertaining to the provision of care
Practitioner read
Read a Practitioner resource
Path Parameters
Responses
Errors
Practitioner search
Search for Practitioner resources
Query Parameters
A Canvas-issued unique identifier
A search that may match any of the string fields in the name, including family, given, prefix, suffix, and/or text. Partial search is supported. If the practitioner you are looking for is inactive, you will still need to pass include-non-scheduleable-practitioners=true
.
By default, only scheduleable staff are displayed. Passing this parameter as true will return all active staff.
Responses
Errors
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Practitioner/<id>' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Practitioner/<id>" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Practitioner", "id": "e766816672f34a5b866771c773e38f3c", "identifier": [ { "system": "http://hl7.org/fhir/sid/us-npi", "value": "3554694505" } ], "name": [ { "use": "usual", "text": "Youta Priti MD", "family": "Priti", "given": [ "Youta" ] } ], "address": [ { "use": "work", "line": [ "405 49th St" ], "city": "Oakland", "state": "CA", "postalCode": "94609", "country": "USA" } ], "qualification": [ { "identifier": [ { "system": "http://www.mbc.ca.gov/", "value": "A60695" } ], "code": { "text": "License" }, "period": { "start": "2017-07-11", "end": "2019-07-11" }, "issuer": { "extension": [ { "url": "http://schemas.canvasmedical.com/fhir/extensions/issuing-authority-short-name", "valueString": "MEDICAL BOARD OF CALIFORNIA" } ], "display": "MEDICAL BOARD OF CALIFORNIA" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "not-found", "details": { "text": "Unknown Practitioner resource '7d1ce256fcd7408193b0459650937a07'" } } ] }
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Practitioner?name=Magee' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Practitioner?name=Magee" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Bundle", "type": "searchset", "total": 1, "link": [ { "relation": "self", "url": "/Practitioner?name=Magee&_count=10&_offset=0" }, { "relation": "first", "url": "/Practitioner?name=Magee&_count=10&_offset=0" }, { "relation": "last", "url": "/Practitioner?name=Magee&_count=10&_offset=0" } ], "entry": [ { "resource": { "resourceType": "Practitioner", "id": "3640cd20de8a470aa570a852859ac87e", "identifier": [ { "system": "http://hl7.org/fhir/sid/us-npi", "value": "2967110133" } ], "name": [ { "use": "usual", "text": "Steven Magee MD", "family": "Magee", "given": [ "Steven" ] } ], "address": [ { "use": "work", "line": [ "405 49th St" ], "city": "Oakland", "state": "CA", "postalCode": "94609", "country": "USA" } ], "qualification": [ { "identifier": [ { "system": "http://www.mbc.ca.gov/", "value": "A60695" } ], "code": { "text": "License" }, "period": { "start": "2017-07-11", "end": "2019-07-11" }, "issuer": { "extension": [ { "url": "http://schemas.canvasmedical.com/fhir/extensions/issuing-authority-short-name", "valueString": "MEDICAL BOARD OF CALIFORNIA" } ], "display": "MEDICAL BOARD OF CALIFORNIA" } } ] } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "invalid", "details": { "text": "Bad request" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }