-
Notifications
You must be signed in to change notification settings - Fork 5
Utility Calls
The Utility Calls API handles internal calls that are useful for managing settings. These settings include the roles that users have, integration data, cache handling, and code information.
- v2/caches
- v2/clinicians/rolefunctions/{id}
- v2/clinicians/roles
- v2/clinicians/roles/{id}
- v2/clinicians/roles/{id}/staff
- v2/clinicians/roles/{roleId}/all-functions
- v2/clinicians/roles/{roleId}/available-functions
- v2/clinicians/roles/{roleId}/functions
- v2/clinicians/roles/{roleId}/functions/{functionId}
- v2/clinicians/roles/{roleId}/on-off
- v2/clinicians/roles/{roleId}/staffprofiles
- v2/clinicians/roles/functions
- v2/clinicians/roles/infos
- v2/clinicians/roles/names/{roleName}
- v2/codesets
- v2/CptCodes
- v2/helpcenter/admin/url
- v2/helpcenter/customer/url
- v2/helpcenter/physician/url
- v2/meetings/{meetingId}/participants
- v2/people
- v2/people/{personId}/telecoms
- v2/people/{personId}/telecoms/{telecomId}
- v2/smstemplates
- v2/smstemplates/hospitals/{id}
- v2/smstemplates/{smsTemplateId}
- v2.1/log-messages
- v2.1/patients/registrations/availability
- v2.1/people
- v2.1/users/current-time
Any endpoints that handle administrative functions are listed under the "Administrative Functions" page.
The help center URLs for ZenDesk which a user would need depend on their user type.
Administrators: v2/helpcenter/admin/url
Hospital Clients: v2/helpcenter/customer/url
Physicians: v2/helpcenter/physician/url
Use GET v2/meetings/{meetingId}/participants to get a list of participants in a meeting.
Patients, physicians, and other users are handled in the system as "people," which encapsulates all of their common attributes.
- Use GET v2.1/people to get a person by their email address.
- Use POST v2/people to create a person in the system.
- Use GET or POST v2/people/{personId}/telecoms to get existing or add new telecoms connected to a person.
- Use DELETE v2/people/{personId}/telecoms/{telecomId} to delete a telecom connected to a person.
To manipulate roles, a user must have the necessary permissions to add or edit roles and their functions. Use GET on the following endpoints to ensure that users have the proper permissions for role editing.
- v2/clinicians/rolefunctions/{id}: Whether a user has permission to add or edit roles
Use the following endpoints to manipulate roles. These endpoints do not involve assignment to users or modification of users' permissions, but rather general information that the system uses when evaluating roles themselves.
- Use GET or POST v2/clinicians/roles to access roles in the system or add new roles.
- Use DELETE v2/clinicians/roles/{id} to delete a role from the system.
- Use GET v2/clinicians/roles/infos to get all information about a role.
- Use GET v2/clinicians/roles/names/{roleName} to make sure a role name is valid.
Use the following endpoints to manipulate functions which are associated with roles:
- Use POST or DELETE v2/clinicians/roles/{roleId}/all-functions to add all available role functions to, or remove all available role functions from, a particular role.
- Use GET v2/clinicians/roles/{roleId}/available-functions to access available functions that can be assigned to a role.
- Use GET or POST v2/clinicians/roles/{roleId}/functions to get whether a function is assigned to a role, or add a function to a role.
- Use DELETE v2/clinicians/roles/{roleId}/functions/{functionId} to delete a function from a role.
- Use GET v2/clinicians/roles/functions to get all available role functions.
Use the following endpoints to associate roles with staff members:
- Use POST or DELETE v2/clinicians/roles/{id}/staff to assign a role to, or delete a role from, a staff member.
- Use GET v2/clinicians/roles/{roleId}/staffprofiles to get all staff profiles which have a particular role.
- Use PUT v2/clinicians/roles/{roleId}/on-off to activate or deactivate a role a staff member has, without removing the role from their profile.
Use the following endpoints to handle SMS messaging.
- Use POST v2/smstemplates to create a new SMS template.
- Use GET or PUT v2/smstemplates/hospitals/{id} to access or edit a SMS template associated with a hospital
- Use DELETE v2/smstemplates/{smsTemplateId} to delete a SMS template.
The following endpoints are used to help support the system in running well.
- Use DELETE v2/caches to delete memory caches.
- Use GET v2/codesets to get code sets.
- Use GET v2/CptCodes to get CPT codes.
- Use POST v2.1/log-messages to store system log messages.
- Use GET v2.1/patients/registrations/availability to get whether a patient can be registered in the system.
- Use GET v2.1/users/current-time to get the current time in the user's time zone.
- Use GET v2/timezones to get a list of time zones used by system participants.