scope
parameter specification
The scope
parameter consists of an optional, space-separated list of scopes your application is requesting.
If omitted, all scopes will be requested.
Scopes are of the form BASE_SCOPE:[read|write]
where BASE_SCOPE
is any of user
, calendar
, patients
, patients:summary
, billing
, clinical
and labs
.
You should request only the scopes you need.
For instance, an application which sends "Happy Birthday!" emails to a doctor's patients on their birthdays would use the scope parameter "patients:summary:read"
,
while one that allows patients to schedule appointments online would need at least
"patients:summary:read patients:summary:write calendar:read calendar:write clinical:read clinical:write"
.