List of Custom Integration Types

Type Values

When creating a custom integration (custom button), you must specify a type value that determines where the button will appear. Below is the complete list of available type values.

Type Value

Location

Description

0

Client

Button appears on client pages

1

Patient

Button appears on patient pages

2

Invoice

Button appears on invoice pages

3

Consultation

Button appears on consultation pages

4

Laboratory referral

Button appears on laboratory referral pages

5

Appointments calendar

Button appears in appointments calendar

6

Shifts calendar

Button appears in shifts calendar

7

Diagnostic imaging

Button appears on diagnostic imaging pages

8

Reminder

Button appears on reminder pages

9

Health plan

Button appears on health plan pages

10

Online prescription client page

Button appears on online prescription client page

11

Online prescription patient page

Button appears on online prescription patient page

12

Online prescription consultation page

Button appears on online prescription consultation page

13

Home deliveries dashboard

Button appears on home deliveries dashboard

Action Values

The action value determines what happens when the custom integration button is clicked:

Action Value

Behavior

Description

0

Send HTTP request

Sends an HTTP request in the background without user navigation

1

Open in new tab

Opens the URL in a new browser tab

2

Open in side panel

Opens the URL in a side panel within Provet

3

Open in popup window

Opens the URL in a popup window

Method Values

When the action is set to “Send HTTP request” (action value 0), you can specify the method value to determine the HTTP method used:

Method Value

HTTP Method

Description

0

GET

Sends an HTTP GET request

1

POST

Sends an HTTP POST request

Verification Hash

When verification is on, each request carries a timestamp and a verification value. verification is the hexadecimal MD5 hash of these values joined without separators:

  • With verification_payload off: <timestamp><verification_salt>

  • With verification_payload on: <timestamp><verification_salt><parameter_name><object_id>user_id<user>

  • With verification_payload and expose_organization_info on, the payload string is followed by provet_env<provet_env>provet_id<provet_id>department_id<department_id>

For example, with salt secret, parameter name patient_id, patient 1234 and user 56: 2018-07-15T09:12:54+00:00secretpatient_id1234user_id56

When a button sends several objects, for example several selected reminders, the request repeats the parameter (reminder_id=10&reminder_id=11), and <object_id> in the hash is the list written as ['10', '11']: square brackets, each ID in single quotes, and a comma and a space between IDs.