description |
---|
This guide explains how to set up EHR-level customization |
- Click the
Settings
link in the header - Click the
Logo
tab - Press the
Update logo
button - Enter the logo URL
- Press the
Ok
button
To set up logo use the following request.
PUT /AidboxConfig/smartbox
content-type: text/yaml
smartbox:
logoUrl: https://example.com/ehr-logo.png
{% hint style="info" %}
logoUrl
should be a link to a publicly accessible image file
{% endhint %}
PUT /NotificationTemplate/reset-user-password
content-type: text/yaml
subject: Reset your password in {{tenant.name}}
template: |-
<p>Dear {{user.name.givenName}},<br />
To reset your password click this </p>
<a href={{confirm-href}}>link</a>
<p>Best wishes,<br />
Acme Inc</p>
<img src="{{tenant.logoUrl}}" />
user
email
address of the developername
givenName
of the developerfamilyName
of the developer
tenant
id
of the tenantname
of the tenantlogoUrl
of the tenant
confirm-href
is the link users open to change their password
PUT /NotificationTemplate/developer-confirm-email
content-type: text/yaml
subject: Confirm email address
template: |-
<p>Dear {{user.name.givenName}},<br />
Please, verify your email address using this </p>
<a href={{confirm-address}}>link</a>
<p>Best wishes,<br />
Acme Inc</p>
user
email
address of the developername
givenName
of the developerfamilyName
of the developer
confirm-address
is the link new user open to confirm the email exist
PUT /NotificationTemplate/review-request-rejected
content-type: text/yaml
subject: Review request rejected
template: |-
<p>Your application was rejected</p>
<p>Best wishes,<br />
Acme Inc</p>
user
email
address of the developername
givenName
of the developerfamilyName
of the developer
client
id
of the applicationname
of the applicationdescription
of the application
PUT /NotificationTemplate/review-request-approved
content-type: text/yaml
subject: Review request approved
template: |-
<p>Your application was approved</p>
<p>Best wishes,<br />
Acme Inc</p>
user
email
address of the developername
givenName
of the developerfamilyName
of the developer
client
id
of the applicationname
of the applicationdescription
of the application
PUT /NotificationTemplate/suspend-deployed-application
content-type: text/yaml
subject: Your application has been suspended
template: |-
<p>Your deployed application was suspended</p>
<p>Best wishes,<br />
Acme Inc</p>
user
email
address of the developername
givenName
of the developerfamilyName
of the developer
client
id
of the applicationname
of the applicationdescription
of the application
PUT /NotificationTemplate/approve-deployed-application
content-type: text/yaml
subject: Your application access has been approved
template: |-
<p>Your suspended application was deployed</p>
<p>Best wishes,<br />
Acme Inc</p>
user
email
address of the developername
givenName
of the developerfamilyName
of the developer
client
id
of the applicationname
of the applicationdescription
of the application