Entitlements
Entitlements control feature visibility per user or organization. Pass an entitlements object during init to set initial values, or call setEntitlements at any time to update them.
Every entitlement defaults to false. Pass true to enable a feature for the current user.
Setting entitlements at initialization
AuraWidget.init({
// ...init options
entitlements: {
'encounter-verbosity': true,
},
});Updating entitlements at runtime
Use setEntitlements to update feature flags after initialization without re-initializing the widget.
AuraWidget.setEntitlements({
'encounter-verbosity': true,
});Or via the InsightAura.AuraWidget.setEntitlements method for CDN usage.
InsightAura.AuraWidget.setEntitlements({
'encounter-verbosity': true,
});Available entitlements
| Property | Type | Description |
|---|---|---|
encounter-verbosity | boolean | Controls encounter note detail verbosity during the inVisit phase. |
* Required field
New entitlements will be added as features are released. Any entitlement not
explicitly set defaults to false.
Last updated on