Roles and Permissions - Smile CDR Documentation
Roles and Permissions
The Smile CDR permission model has several key concepts:
System-Defined Permissionsare an authorization for individual action to be performed by a user. There are two types of permissions:
Some permissions do not require an argument but simply grant a specific permission. For example, the
FHIR_TRANSACTIONpermission grants the user authorization to perform FHIRtransactionoperations.- Some permissions do require an argument in order to be used. For example, the
FHIR_READ_INSTANCEpermission grants the user authorization to perform FHIRreadoperations on a specific instance, which is specified in an argument to the permission (such asPatient/1234).
- Some permissions do require an argument in order to be used. For example, the
Note that in many cases a combination of permissions are required in order to allow the user to perform specific functions. Some examples follow:
The
FHIR_TRANSACTIONpermission allows the user to perform FHIRtransactionoperations but does not explicitly authorize any of the operations that can be performed within a transaction. If the user wishes to perform atransactioncontaining a Patientcreateoperation, the user would need both the FHIR_TRANSACTION permission and a permission that explicitly authorizes thecreate, such as FHIR_WRITE_ALL_OF_TYPE with an argument ofPatient.The
ROLE_FHIR_CLIENTpermission allows the user to access the FHIR endpoint as a normal client (this is generally desirable) but does not grant the user permission to actually perform any FHIR operations. For example, if the user should be allowed to read anything (i.e. invoke FHIRsearch,read,history, etc.) but never write, grant the user theROLE_FHIR_CLIENTandFHIR_ALL_READpermissions. If the user should also be allowed to write Observations (but no other types of resources), they should be granted theFHIR_WRITE_ALL_OF_TYPEpermission with an argument ofObservation.System-Defined Roles are a grouping of permissions mapping to a logical role.
User-Defined Roles are a set of permissions and nested roles which are tailored to the needs of a specific implementation.
System-Defined Roles
The following table lists the roles that are built into Smile CDR and may be assigned to a user.
System-Defined Permissions
The following table lists the permissions that are built into Smile CDR and may be assigned to a user.
| Permission | Description | |
|---|---|---|
ACCESS_ADMIN_JSON |
Access JSON Admin API Endpoint User is allowed to invoke operations on the JSON Admin API endpoint. Note that this permission does not give the user the ability to actually perform any of the functions on the API so this permission is generally granted in combination with at least one other. This permission does not take any arguments. |
|
ACCESS_ADMIN_WEBImplies: - CHANGE_OWN_PASSWORD |
Admin User is allowed to log into the Web Admin Console. This permission does not take any arguments. |
|
ACCESS_CAMEL_HTTP_ENDPOINT |
Access Camel HTTP Endpoint User is allowed to invoke Camel routes via the URLs configured in the Camel HTTP Endpoint module This permission does not take any arguments. |
|
ACCESS_EASYSHARE |
Access EasyShare This permission allows a user to authenticate for EasyShare services and/or web applications. This permission is not typically granted directly, and is instead implied by other specific EasyShare permissions such as EASYSHARE_CREATE_SMART_HEALTH_LINK. This permission does not take any arguments. |
|
ACCESS_FHIRWEB |
Access FHIRWeb Console User is allowed to access the FHIRWeb Console, which can be used for testing, building FHIR queries, and exploring data in the database. Note that this permission only allows access to the FHIRWeb Console; the user still needs to have other appropriate permissions for any desired operations or they will be blocked. This permission does not take any arguments. |
|
ACCESS_FHIR_ENDPOINT |
FHIR Client User is allowed to access FHIR services as a client. This permission does not take any arguments. |
|
AG_ADMIN_CONSOLE_READ |
appSphere Admin Console (read) User is permitted to access application information using appSphere Admin Console This permission does not take any arguments. |
|
AG_ADMIN_CONSOLE_WRITE |
appSphere Admin Console (write) User is permitted to update existing application information using appSphere Admin Console This permission does not take any arguments. |
|
AG_DEV_PORTAL_READ |
appSphere Developer Portal (read) User is permitted to access application information using appSphere Developer Portal This permission does not take any arguments. |
|
AG_DEV_PORTAL_WRITE |
appSphere Developer Portal (write) User is permitted to add new application information using appSphere Developer Portal This permission does not take any arguments. |
|
APP_ROLE |
Role permissions. Use has all permissions indicated in role. Argument The argument to this permission takes a list of implied permission names. |
|
ARCHIVE_MODULEImplies: - VIEW_MODULE_CONFIG |
Archive Modules User is allowed to archive modules. This permission does not take any arguments. |
|
BATCH_JOB_ANALYTICSImplies: - ROLE_FHIR_CLIENT |
Batch Job Analytics Allows the user to call $job-analytics on a specific batch job. Currently limited to $evaluate-measures batch jobs.This permission does not take any arguments. |
|
CDA_IMPORTImplies: - ROLE_FHIR_CLIENT |
Import CDA Documents User is allowed to use the $sdh.import-cda operation to import CDA documents This permission does not take any arguments. |
|
CHANGE_OWN_DEFAULT_LAUNCH_CONTEXTS |
Change Own Launch Contexts User is allowed to update the SMART launch context(s) associated with their own account. This permission does not take any arguments. |
|
CHANGE_OWN_PASSWORD |
Change Own Password User is allowed to change their own password. This permission does not take any arguments. |
|
CHANGE_OWN_TFA_KEY |
Can set own 2FA Key User is allowed to set up their own 2FA key (as opposed to having one assigned by an administrator). This permission does not take any arguments. |
|
CONTROL_MODULEImplies: - START_STOP_MODULE - VIEW_MODULE_CONFIG |
Control Module User is allowed to start/stop/restart modules. This permission does not take any arguments. |
|
CONTROL_MODULE_FOR_MODULEImplies: - START_STOP_MODULE_FOR_MODULE - VIEW_MODULE_CONFIG_FOR_MODULE |
Control a specific module in a node. User is allowed to start/stop/restart a specific module in a node. Argument The argument to this permission takes a nodeid and a moduleid separated by /, for which you'd like to grant access to the user. For example: Master/subscription |
|
CREATE_ANY_SCHEDULED_JOBImplies: - READ_ANY_SCHEDULED_JOB - TRIGGER_ANY_SCHEDULED_JOB |
Create a custom scheduled job Allows the user to create and save any kind of custom scheduled job in any module. This permission does not take any arguments. |
|
CREATE_CDA_TEMPLATEImplies: - VIEW_CDA_TEMPLATE |
Create CDA templates User is allowed to create (and update existing) CDA document template scripts. Use this permission with caution, as these scripts, when called upon, have the ability to create, view, and modify data without additional permissions. This permission does not take any arguments. |
|
CREATE_MODULEImplies: - VIEW_MODULE_CONFIG |
Create Modules User is allowed to create new modules. This permission does not take any arguments. |
|
CREATE_USER |
Create Users User is allowed to create other users. This permission does not take any arguments. |
|
CUSTOM_ROLE |
Custom Role permissions. Use has all permissions indicated in custom role. Argument The argument to this permission takes a list of implied permission names. |
|
DELETE_ANY_SCHEDULED_JOBImplies: - READ_ANY_SCHEDULED_JOB |
Delete any custom scheduled job Allows a user to delete any existing custom scheduled jobs (along with all of its execution history) in any module This permission does not take any arguments. |
|
DELETE_CDA_TEMPLATEImplies: - VIEW_CDA_TEMPLATE |
Delete CDA templates User is allowed to delete CDA document template scripts. This permission does not take any arguments. |
|
DOCREFImplies: - ROLE_FHIR_CLIENT |
DOCREF User is allowed to use $docref operation This permission does not take any arguments. |
|
DQM_QPP_BUILDImplies: - ROLE_FHIR_CLIENT |
Dqm QPP Build Transform MeasureReport into QPP format This permission does not take any arguments. |
|
EASYSHARE_CREATE_SMART_HEALTH_LINKImplies: - ACCESS_EASYSHARE |
Create SMART Health Link User is allowed to create a SMART Health Link using either the EasyShare SHL REST API or the EasyShare SHL Admin Application. This permission does not take any arguments. |
|
EMPI_ADMINImplies: - EMPI_UPDATE_MATCH_RULES - EMPI_VIEW_MATCH_RULES |
EMPI Admin User may perform any administrative functions for the EMPI. This permission does not take any arguments. |
|
EMPI_UPDATE_MATCH_RULES |
EMPI Update Match Rules User can set/update matching rules for the EMPI. This permission does not take any arguments. |
|
EMPI_VIEW_MATCH_RULES |
EMPI VIEW Match Rules User can view matching rules for the EMPI. This permission does not take any arguments. |
|
ETL_IMPORT_PROCESS_FILE |
ETL Import / Process File User is allowed to initiate the processing of an ETL import job. Use this permission with caution, as import jobs have a large amount of flexibility to create and modify data and do not require additional permissions. This permission does not take any arguments. |
|
FHIR_ACCESS_PARTITION_ALLImplies: - ROLE_FHIR_CLIENT |
Access data in ALL Partitions User is allowed to access (includes both read and write operations) data in all partitions. Note that this permission does not actually authorize any specific read/write operations, it simply implies access to the partitions. This permission does not take any arguments. |
|
FHIR_ACCESS_PARTITION_NAMEImplies: - ROLE_FHIR_CLIENT |
Access data in Partition User is allowed to access (includes both read and write operations) data in the given partition. Note that this permission does not actually authorize any specific read/write operations, it simply implies access to the given partition. Argument The argument to this permission is a partition name, or a comma separated collection of partition names |
|
FHIR_ALL_DELETEImplies: - ROLE_FHIR_CLIENT |
FHIR Delete (All) User is allowed to perform any FHIR delete operation. Argument An optional query filter to restrict the scope. |
|
FHIR_ALL_READImplies: - FHIR_READ_SEARCH_PARAMETERS - ROLE_FHIR_CLIENT |
FHIR Read (All) User is allowed to perform any FHIR read/access-to-data operation (e.g. read, search, history, etc.).Argument An optional query filter to restrict the scope. |
|
FHIR_ALL_WRITEImplies: - FHIR_META_OPERATIONS_SUPERUSER - FHIR_MODIFY_SEARCH_PARAMETERS - ROLE_FHIR_CLIENT |
FHIR Write (All) User is allowed to perform any FHIR write/modify operation (e.g. create, update, etc.).Argument An optional query filter to restrict the scope. |
|
FHIR_AUTO_MDM |
Automatic MDM Expansion Perform MDM expansion for all search parameters in the Patient compartment, even if the :mdm qualifier is not explicitly provided in the queryThis permission does not take any arguments. |
|
FHIR_BATCHImplies: - ROLE_FHIR_CLIENT |
FHIR Batch User is allowed to perform a FHIR Batch. Note that this permission only allows the batch operation to happen; the user still needs to have other appropriate permissions for the operations in the batch or it will be blocked. This permission does not take any arguments. |
|
FHIR_CAPABILITIESImplies: - ROLE_FHIR_CLIENT |
FHIR Access Server Capability Statement (metadata) User is allowed to access the server's capability statement. This permission is often granted to anonymous users. This permission does not take any arguments. |
|
FHIR_DELETE_ALL_IN_COMPARTMENTImplies: - ROLE_FHIR_CLIENT |
FHIR Delete (All in Compartment) User is permitted to delete any resource in the given compartment. Argument The argument to this permission is the name of the compartment to which access is being granted, and an optional query filter to restrict the scope. |
|
FHIR_DELETE_ALL_OF_TYPEImplies: - ROLE_FHIR_CLIENT |
FHIR Delete (All of Type) User is allowed to delete any resource of the type specified in the argument (e.g. Patient).Argument The argument to this permission is the resource type, and an optional query filter to restrict the scope. |
|
FHIR_DELETE_CASCADE_ALLOWEDImplies: - ROLE_FHIR_CLIENT |
FHIR Delete - Cascading Allowed User is permitted to perform cascading deletes. See Cascading Deletes for more information. This permission does not take any arguments. |
|
FHIR_DELETE_EXPUNGEImplies: - ROLE_FHIR_CLIENT |
FHIR Delete and Expunge ($delete-expunge) All Data User is permitted to invoke the $delete-expunge operation to permanently delete ALL data on the server. This is a dangerous operation, as it causes data to be permanently deleted. Use caution when granting this permission. See deleting data for information on this operation. Note that the ROLE_FHIR_CLIENT_SUPERUSER role does not grant this permission, it must be explicitly enabled.This permission does not take any arguments. |
|
FHIR_DELETE_TYPE_IN_COMPARTMENTImplies: - ROLE_FHIR_CLIENT |
FHIR Delete (Specific Type in Compartment) User is permitted to delete any resource of the given type in the given compartment. Argument The argument to this permission is the name of the type to allow deletion on, followed by a colon, followed by the name of the compartment to which access is being granted, and an optional query filter to restrict the scope. For example, the argument Observation:Patient/123?date=2025 means that the user is permitted to delete any Observation resource in the Patient/123 compartment with clinical date in 2025. |
|
FHIR_DTR_USERImplies: - FHIR_OP_PACKAGE - FHIR_OP_POPULATE |
DTR User privileges Can execute any DTR operation This permission does not take any arguments. |
|
FHIR_EMPI_ADMINImplies: - FHIR_OP_EMPI_CLEAR - FHIR_OP_EMPI_DUPLICATE_PERSONS - FHIR_OP_EMPI_MERGE_PERSONS - FHIR_OP_EMPI_QUERY_LINKS - FHIR_OP_EMPI_SUBMIT - FHIR_OP_EMPI_UPDATE_LINK |
EMPI Administrative privileges Can execute any EMPI operation. This permission does not take any arguments. |
|
FHIR_EXPUNGE_DELETEDImplies: - ROLE_FHIR_CLIENT |
FHIR Expunge ($expunge) Deleted Resources User is permitted to invoke the $expunge operation to permanently delete logically deleted resources. This is a dangerous operation, as it causes data to be permanently deleted. Use caution when granting this permission. See [/docs/fhir_repository/deleting_data.html](deleting data) for information on this operation. Note that the ROLE_FHIR_CLIENT_SUPERUSER role does not grant this permission, it must be explicitly enabled.This permission does not take any arguments. |
|
FHIR_EXPUNGE_EVERYTHINGImplies: - ROLE_FHIR_CLIENT |
FHIR Expunge ($expunge) All Data User is permitted to invoke the $expunge operation to permanently delete ALL data on the server. This is a dangerous operation, as it causes data to be permanently deleted. Use caution when granting this permission. See [/docs/fhir_repository/deleting_data.html](deleting data) for information on this operation. Note that the ROLE_FHIR_CLIENT_SUPERUSER role does not grant this permission, it must be explicitly enabled.This permission does not take any arguments. |
|
FHIR_EXPUNGE_PREVIOUS_VERSIONSImplies: - ROLE_FHIR_CLIENT |
FHIR Expunge ($expunge) Previous Versions User is permitted to invoke the $expunge operation. This is a dangerous operation, as it causes data to be permanently deleted. Use caution when granting this permission. See [/docs/fhir_repository/deleting_data.html](deleting data) for information on this operation. Note that the ROLE_FHIR_CLIENT_SUPERUSER role does not grant this permission, it must be explicitly enabled.This permission does not take any arguments. |
|
FHIR_EXTENDED_OPERATION_ON_ANY_INSTANCEImplies: - ROLE_FHIR_CLIENT |
Extended Operation (Instance Level / Unchecked Response) User may invoke operation at the instance level on any operation name specified by argument in the form: $fooOperation. When using this permission, the operation response is not validated/authorized in any way, so this authority should only be granted for operations that are known to be appropriate for the user.Argument The argument to this permission is the operation name. |
|
FHIR_EXTENDED_OPERATION_ON_ANY_INSTANCE_OF_TYPEImplies: - ROLE_FHIR_CLIENT |
Extended Operation (Instance Level / Unchecked Response) User may invoke operation at the instance level with type and operation name specified by argument in the form: Patient/$fooOperation. When using this permission, the operation response is not validated/authorized in any way, so this authority should only be granted for operations that are known to be appropriate for the user.Argument The argument to this permission is the resource type and operation name. |
|
FHIR_EXTENDED_OPERATION_ON_SERVERImplies: - ROLE_FHIR_CLIENT |
Extended Operation (Server Level / Unchecked Response) User may invoke operation with name specified by argument (e.g. $fooOperation). When using this permission, the operation response is not validated/authorized in any way, so this authority should only be granted for operations that are known to be appropriate for the user.Argument The argument to this permission is the resource type and operation name. |
|
FHIR_EXTENDED_OPERATION_ON_TYPEImplies: - ROLE_FHIR_CLIENT |
Extended Operation (Type Level / Unchecked Response) User may invoke operation at the type level with type and name specified by argument in the form: Patient/$fooOperation. When using this permission, the operation response is not validated/authorized in any way, so this authority should only be granted for operations that are known to be appropriate for the user.Argument The argument to this permission is the resource type and operation name. |
|
FHIR_EXTENDED_OPERATION_SUPERUSERImplies: - ROLE_FHIR_CLIENT |
Extended Operation (Server Level / Unchecked Response) User may invoke any operation except for $expunge and $delete-expunge. When using this permission, the operation response is not validated/authorized in any way, so this authority should only be granted for operations that are known to be appropriate for the user. This permission does not take any arguments. |
|
FHIR_GET_RESOURCE_COUNTSImplies: - ROLE_FHIR_CLIENT |
FHIR Get Server Resource Counts User is permitted to call the $get-resource-counts operation, requesting the total counts of resources on the server.This permission does not take any arguments. |
|
FHIR_GRAPHQLImplies: - ROLE_FHIR_CLIENT |
FHIR GraphQL Operation User may invoke the GraphQL Operation. Note that user must still have additional permissions to see the resources being requested via GraphQL. This permission does not take any arguments. |
|
FHIR_LIVEBUNDLEImplies: - ROLE_FHIR_CLIENT |
FHIR LiveBundle Operations User is allowed to invoke the $livebundle-watchlist-add, $livebundle-watchlist-delete, $livebundle-watchlist, and $livebundle operations This permission does not take any arguments. |
|
FHIR_MANAGE_PARTITIONSImplies: - ROLE_FHIR_CLIENT |
Manage Partitions User is allowed to manage (add/update/delete) partition definitions in the system. Note that this permission is not automatically granted via the ROLE_FHIR_CLIENT_SUPERUSER permission and must be granted explicitly.This permission does not take any arguments. |
|
FHIR_MANUAL_VALIDATIONImplies: - ROLE_FHIR_CLIENT |
FHIR Manual Validation User is allowed to invoke the $validate operation to validate resources.This permission does not take any arguments. |
|
FHIR_MDM_ADMINImplies: - FHIR_OP_MDM_CLEAR - FHIR_OP_MDM_CREATE_LINK - FHIR_OP_MDM_DUPLICATE_GOLDEN_RESOURCES - FHIR_OP_MDM_LINK_HISTORY - FHIR_OP_MDM_MERGE_GOLDEN_RESOURCES - FHIR_OP_MDM_NOT_DUPLICATE - FHIR_OP_MDM_QUERY_LINKS - FHIR_OP_MDM_SUBMIT - FHIR_OP_MDM_UPDATE_LINK |
MDM Administrative privileges Can execute any MDM operation This permission does not take any arguments. |
|
FHIR_META_OPERATIONS_SUPERUSERImplies: - ROLE_FHIR_CLIENT |
Resource Metadata Operations: Superuser User is allowed to invoke the resource metadata operations ( $meta, $meta-add, and $meta-delete) on any resource.This permission does not take any arguments. |
|
FHIR_MODIFY_SEARCH_PARAMETERS |
Modify Search Parameters User is allowed to create, update, and delete search parameters. This permission does not take any arguments. |
|
FHIR_OP_ADD_AND_REMOVE_CONCEPT_MAPPINGImplies: - ROLE_FHIR_CLIENT |
Add/Remove ConceptMapping Entries Invoke the ConceptMap/$hapi.fhir.add-mapping and ConceptMap/$hapi.fhir.remove-mapping operationsThis permission does not take any arguments. |
|
FHIR_OP_APPLYImplies: - ROLE_FHIR_CLIENT |
Apply Execute the Apply Operation This permission does not take any arguments. |
|
FHIR_OP_BINARY_ACCESS_READImplies: - ROLE_FHIR_CLIENT |
FHIR Binary Access Operations (read) User is allowed to invoke the $binary-access-read operation (note that the user will also need permission to read/write the individual resource that is actually being accessed) This permission does not take any arguments. |
|
FHIR_OP_BINARY_ACCESS_WRITEImplies: - ROLE_FHIR_CLIENT |
FHIR Binary Access Operations (write) User is allowed to invoke the $binary-access-write operation (note that the user will also need permission to read/write the individual resource that is actually being accessed) This permission does not take any arguments. |
|
FHIR_OP_BULK_PATCHImplies: - ROLE_FHIR_CLIENT |
Bulk Patch ($hapi.fhir.bulk-patch) User is allowed to initiate a Bulk Patch operation. This permission grants the user authority to modify any resource in the repository, and should only be granted to administrative users. Consider revoking this permission when it is no longer needed. This permission does not take any arguments. |
|
FHIR_OP_BULK_PATCH_REWRITE_HISTORYImplies: - ROLE_FHIR_CLIENT |
Bulk Patch with History Rewrite ($hapi.fhir.bulk-patch-rewrite-history) User is allowed to initiate a Bulk Patch with History Rewrite operation. This permission grants the user authority to destructively modify any resource in the repository, and should only be granted to administrative users. Consider revoking this permission when it is no longer needed. This permission does not take any arguments. |
|
FHIR_OP_CARE_GAPSImplies: - ROLE_FHIR_CLIENT |
CR Care Gaps The care-gaps operation is used to determine gaps-in-care based on the results of quality measures. This permission does not take any arguments. |
|
FHIR_OP_COLLECTDATAImplies: - ROLE_FHIR_CLIENT |
CR Collect Data The effect of invoking this operation is to gather the data required to perform an evaluation of the measure. This permission does not take any arguments. |
|
FHIR_OP_CQLImplies: - ROLE_FHIR_CLIENT |
CR CQL Evaluates a CQL expression and returns the results as a Parameters resource. This permission does not take any arguments. |
|
FHIR_OP_DATAREQUIREMENTSImplies: - ROLE_FHIR_CLIENT |
CR Data Requirements The effect of invoking this operation is to determine the aggregate set of data requirements and dependencies for the measure. This permission does not take any arguments. |
|
FHIR_OP_EMPI_CLEARImplies: - ROLE_FHIR_CLIENT |
EMPI Clear Links Delete all EMPI links, and remove all related Persons This permission does not take any arguments. |
|
FHIR_OP_EMPI_DUPLICATE_PERSONSImplies: - ROLE_FHIR_CLIENT |
EMPI Duplicate Persons Request all EMPI Duplicate Persons This permission does not take any arguments. |
|
FHIR_OP_EMPI_MERGE_PERSONSImplies: - ROLE_FHIR_CLIENT |
Merge to EMPI Person resources Merge one Person resource into another, copying over fields that are empty in the target, and copying over links that are missing in the target. MANUAL links will overwrite AUTO links. The original Person resource is deleted. This permission does not take any arguments. |
|
FHIR_OP_EMPI_QUERY_LINKSImplies: - ROLE_FHIR_CLIENT |
EMPI Query Links Request matching EMPI Links This permission does not take any arguments. |
|
FHIR_OP_EMPI_SUBMITImplies: - ROLE_FHIR_CLIENT |
EMPI Batch Processing. Submit Patients/Practitioners for EMPI processing. This permission does not take any arguments. |
|
FHIR_OP_EMPI_UPDATE_LINKImplies: - ROLE_FHIR_CLIENT |
EMPI Update Link Update an EMPI Link This permission does not take any arguments. |
|
FHIR_OP_ENCOUNTER_EVERYTHINGImplies: - ROLE_FHIR_CLIENT |
Encounter Fetch ($everything) User is allowed to search/fetch across the entire encounter (all resources belonging to that patient's compartment). This permission does not take any arguments. |
|
FHIR_OP_EVALUATEImplies: - ROLE_FHIR_CLIENT |
CR Evaluate The evaluate operation is used to evaluate cql expressions from a specified library resource and returns it as a Parameters resource. This permission does not take any arguments. |
|
FHIR_OP_EVALUATE_MEASUREImplies: - ROLE_FHIR_CLIENT |
Evaluate Measure Execute the CQL Evaluate Measure Operation This permission does not take any arguments. |
|
FHIR_OP_EVALUATE_MEASURESImplies: - ROLE_FHIR_CLIENT |
Evaluate Measures Execute the $evaluate-measures Operation, that allows for processing multiple Measure resources to create multiple MeasureReports with the same subject populationThis permission does not take any arguments. |
|
FHIR_OP_EXTRACTImplies: - ROLE_FHIR_CLIENT |
Extract Execute the Extract Operation This permission does not take any arguments. |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORTImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Export ($export) - All Permissions User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate any kind of bulk export, so it may be more appropriate to use a more nuanced kind.Argument The argument to this permission is an optional space-separated list of allowed resource types, or an empty string to allow all resource types. E.g. 'Patient Encounter Observation'. |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORT_ALL_PATIENTSImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Export ($export) - Patient Export with no restrictions User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate a patient-level export with NO restrictionsArgument There are no arguments for this permission |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORT_GROUPImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Export ($export) - Group Export User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate a group-level export.Argument The argument to this permission is the ID of the group that the user is authorized to export, optionally followed by a space-separated list of allowed resource types. E.g. 'Group/123' or 'Group/123 Patient Encounter Observation'. |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORT_GROUPS_MATCHINGImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Export ($export) - Group Export with Group restrictions by FHIR query filter User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate a group-level export on Groups that match the FHIR query filter provided in the permission argument.Argument The argument to this permission is a FHIR query that matches the Group(s) that the user is authorized to export, optionally followed by a space-separated list of allowed resource types. E.g. '?identifier=foo|bar' or '?identifier=foo|bar Patient Observation'. Note that the Group [resource type] part of the URL is left out, as the resource type is implied. |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORT_PATIENTImplies: - ROLE_FHIR_CLIENT |
DEPRECATED: Initiate Bulk Export ($export) - Patient Export Note: Since 2024.05, this permission has been DEPRECATED in favour of FHIR_OP_INITIATE_BULK_DATA_EXPORT_PATIENTS and FHIR_OP_INITIATE_BULK_DATA_EXPORT_ALL_PATIENTS: User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate a patient-level export.Argument DEPRECATED: The argument to this permission is the ID of the patient that the user is authorized to export, optionally followed by a space-separated list of allowed resource types. E.g. 'Patient/123' or 'Patient/123 Patient Encounter Observation'. |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORT_PATIENTSImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Export ($export) - Patient Export with restrictions on patient IDs and resources User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate a patient-level export with restrictions on patient IDs and resources.Argument The argument to this permission is the comma-separated IDs of the patient that the user is authorized to export, followed either by a * to indicate all resources or a space-separated list of allowed resource types. E.g. 'Patient/123,Patient/456 *' or 'Patient/123,Patient/465 Patient Encounter Observation'. |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORT_PATIENTS_MATCHINGImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Export ($export) - Patient Export with Patient restrictions by FHIR query filter User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate a patient-level export on Patients that match the FHIR query filter provided in the permission argument.Argument The argument to this permission is a FHIR query that matches the Patient(s) that the user is authorized to export, optionally followed by a space-separated list of allowed resource types. E.g. '?identifier=foo|bar' or '?identifier=foo|bar Patient Observation'. Note that the Patient [resource type] part of the URL is left out, as the resource type is implied. |
|
FHIR_OP_INITIATE_BULK_DATA_EXPORT_SYSTEMImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Export ($export) - System Export User may invoke the $export operation to initiate a FHIR Bulk Export Operation. This permission grants the user permission to initiate a system-level export.Argument The argument to this permission is an optional space-separated list of allowed resource types, or an empty string to allow all resource types. E.g. 'Patient Encounter Observation'. |
|
FHIR_OP_INITIATE_BULK_DATA_IMPORTImplies: - ROLE_FHIR_CLIENT |
Initiate Bulk Import ($import) User may invoke the FHIR Bulk Import operation. Note that data being bulk imported is not subjected to any additional authorization checks, so this permission should only be granted to fully trusted users. This permission does not take any arguments. |
|
FHIR_OP_MDM_BUNDLE_MATCHImplies: - ROLE_FHIR_CLIENT |
FHIR MDM Bundle Match User may invoke the $sdh.mdm-bundle-match operation either on a server level or on a Bundle typeThis permission does not take any arguments. |
|
FHIR_OP_MDM_CLEARImplies: - ROLE_FHIR_CLIENT |
MDM Clear Links Delete all MDM links and remove all related Golden Resources This permission does not take any arguments. |
|
FHIR_OP_MDM_CREATE_LINKImplies: - ROLE_FHIR_CLIENT |
MDM Create Link Create an MDM Link This permission does not take any arguments. |
|
FHIR_OP_MDM_DEDUPLICATE |
Deduplicate Operation Allow users to run the mdm deduplicate operation and view the results This permission does not take any arguments. |
|
FHIR_OP_MDM_DUPLICATE_GOLDEN_RESOURCESImplies: - ROLE_FHIR_CLIENT |
MDM Duplicate Golden Resources Request all MDM Duplicate Golden Resources This permission does not take any arguments. |
|
FHIR_OP_MDM_LINK_HISTORYImplies: - ROLE_FHIR_CLIENT |
MDM Link History Request matching Historical MDM Links This permission does not take any arguments. |
|
FHIR_OP_MDM_MERGE_GOLDEN_RESOURCESImplies: - ROLE_FHIR_CLIENT |
Merge two MDM Golden Resources Merge one Golden Resource into another, copying over fields as determined by the survivorship rules, and copying updating MDM links according to the rules. MANUAL links will overwrite AUTO links. The original Golden Resource is deactivated. This permission does not take any arguments. |
|
FHIR_OP_MDM_NOT_DUPLICATEImplies: - ROLE_FHIR_CLIENT |
MDM Not Duplicate Unduplicate MDM Golden Resources This permission does not take any arguments. |
|
FHIR_OP_MDM_QUERY_LINKSImplies: - ROLE_FHIR_CLIENT |
MDM Query Links Request matching MDM Links This permission does not take any arguments. |
|
FHIR_OP_MDM_SUBMITImplies: - ROLE_FHIR_CLIENT |
MDM Batch Processing. Submit target resources for MDM processing This permission does not take any arguments. |
|
FHIR_OP_MDM_UPDATE_LINKImplies: - ROLE_FHIR_CLIENT |
MDM Update Link Update an MDM Link This permission does not take any arguments. |
|
FHIR_OP_MEMBER_MATCHImplies: - ROLE_FHIR_CLIENT |
Member match Operation to find a member by patient and coverage information This permission does not take any arguments. |
|
FHIR_OP_MERGEImplies: - ROLE_FHIR_CLIENT |
Merge. Can call the $merge operation. This permission does not take any arguments. |
|
FHIR_OP_PACKAGEImplies: - ROLE_FHIR_CLIENT |
Package Execute the Package Operation This permission does not take any arguments. |
|
FHIR_OP_PATIENT_EVERYTHINGImplies: - ROLE_FHIR_CLIENT |
Patient Search Chart ($everything) User is allowed to search/fetch across the entire patient's record (all resources belonging to that patient's compartment). This permission does not take any arguments. |
|
FHIR_OP_PATIENT_EVERYTHING_ACCESS_ALLImplies: - ROLE_FHIR_CLIENT |
Patient Fetch ($everything) - Access All User is allowed to search/fetch across the entire patient's record (all resources that references input Patient, including those outside of patient's compartment). Argument The argument to this permission is the ID of the Patient for which user is authorized to execute $everything operation. E.g. 'Patient/123'. |
|
FHIR_OP_PATIENT_MATCHImplies: - ROLE_FHIR_CLIENT |
FHIR MDM Match User may invoke the MDM $match operation either on a server level or on a Patient typeThis permission does not take any arguments. |
|
FHIR_OP_PATIENT_SUMMARYImplies: - ROLE_FHIR_CLIENT |
Generate IPS ($summary) User is allowed to invoke the $summary operation to generate an International Patient Summary document. This permission does not take any arguments. |
|
FHIR_OP_POPULATEImplies: - ROLE_FHIR_CLIENT |
Populate Execute the Populate Operation This permission does not take any arguments. |
|
FHIR_OP_PREPOPULATEImplies: - ROLE_FHIR_CLIENT |
Prepopulate Execute the Prepopulate Operation This permission does not take any arguments. |
|
FHIR_OP_REINDEXImplies: - ROLE_FHIR_CLIENT |
Reindex Resources ($reindex) User is permitted to initiate a Resource Reindex job by invoking the $reindex operationThis permission does not take any arguments. |
|
FHIR_OP_REPLACE_REFERENCESImplies: - ROLE_FHIR_CLIENT |
Replace References. Can call the $hapi.fhir.replace-references operation. This permission does not take any arguments. |
|
FHIR_OP_STRUCTUREDEFINITION_SNAPSHOTImplies: - ROLE_FHIR_CLIENT |
FHIR StructureDefinition Snapshot User may invoke the StructureDefinition $snapshot operationThis permission does not take any arguments. |
|
FHIR_OP_SUBMIT_DATAImplies: - ROLE_FHIR_CLIENT |
CR Submit Data The submit-data operation is used to submit data-of-interest for a measure. There is no expectation that the submitted data represents all the data-of-interest, only that all the data submitted is relevant to the calculation of the measure for a particular subject or population. This permission does not take any arguments. |
|
FHIR_OP_TERMINOLOGY_INVALIDATE_VALUESETImplies: - ROLE_FHIR_CLIENT |
Invalidate ValueSet Expansion Invoke the ValueSet/$invalidate-expansion operation to request a fresh pre-calculation of a ValueSet expansion. This permission does not take any arguments. |
|
FHIR_OP_UPDATE_TOKENIZATIONImplies: - ROLE_FHIR_CLIENT |
Update Tokenization Can update tokenization on existing stored data by invoking the $sdh.update-tokenization operation This permission does not take any arguments. |
|
FHIR_PATCHImplies: - ROLE_FHIR_CLIENT |
FHIR Patch Note: Since 2024.05, this permission has been DEPRECATED in favour of various WRITE permissions ( create, update, patch, etc.). User is allowed to perform a FHIR patch operation. Note that this permission allows a patch to be performed, but the user may need additional permissions in order to be able to write to specific resources.This permission does not take any arguments. |
|
FHIR_PROCESS_MESSAGEImplies: - ROLE_FHIR_CLIENT |
FHIR Process Message ($process-message) User is allowed to invoke the $process-message operation on a server that supports it.This permission does not take any arguments. |
|
FHIR_READ_ALL_IN_COMPARTMENTImplies: - ROLE_FHIR_CLIENT |
FHIR Read ANY in Compartment X User is allowed to read resources of any type in the given compartment. This permission takes an argument that should take the form of the name of the compartment (e.g. Patient/123).Argument The argument to this permission is the name of the compartment to which access is being granted, and an optional query filter to restrict the scope. |
|
FHIR_READ_ALL_OF_TYPEImplies: - ROLE_FHIR_CLIENT |
FHIR Read ANY of Type User is allowed to fetch resources ( read, search, history, etc.) of the specified type. This permission takes an argument that should be the name of the resource type (e.g. Patient).Argument The argument to this permission is the name of the resource type, and an optional query filter to restrict the scope.. |
|
FHIR_READ_INSTANCEImplies: - ROLE_FHIR_CLIENT |
FHIR Read Specific Instance User is allowed to fetch ( read, search, history, etc.) the specified instance. This permission takes an argument that should be the ID of the resource instance (e.g. Patient/123).Argument The argument to this permission is the ID of the resource instance (e.g. Patient/123). |
|
FHIR_READ_SEARCH_PARAMETERS |
Read Search Parameters User is allowed to read/search for search parameters. This permission does not take any arguments. |
|
FHIR_READ_TYPE_IN_COMPARTMENTImplies: - ROLE_FHIR_CLIENT |
FHIR Read (Specific Type in Compartment) User is permitted to read any resource of the given type in the given compartment. Argument The argument to this permission is the name of the type to allow reading from, followed by a colon, followed by the owner of the compartment to which access is being granted, and an optional query filter to restrict the scope. For example, the argument Observation:Patient/123 means that the user is permitted to read any Observation resource in the Patient/123 compartment. |
|
FHIR_REPARTITION_BY_REFERENCE |
Repartition by Reference User is allowed to repartition resources by Reference This permission does not take any arguments. |
|
FHIR_SEMANTIC_UPLIFTImplies: - ROLE_FHIR_CLIENT |
FHIR Semantic Uplift User is allowed to invoke the $semantic-uplift operation. See Semantic Standardization for more information.This permission does not take any arguments. |
|
FHIR_TRANSACTIONImplies: - ROLE_FHIR_CLIENT |
FHIR Transaction User is allowed to perform a FHIR transaction. Note that this permission only allows the transaction operation to happen; the user still needs to have other appropriate permissions for the operations in the transaction or it will be blocked. This permission does not take any arguments. |
|
FHIR_TRIGGER_SUBSCRIPTIONImplies: - ROLE_FHIR_CLIENT |
FHIR Trigger Subscription User is permitted to call the $trigger-subscription operation. See Manually Triggering Subscriptions for information on this function.This permission does not take any arguments. |
|
FHIR_UPDATE_REWRITE_HISTORYImplies: - ROLE_FHIR_CLIENT |
History Rewrite User is allowed to update historical versions of a resource without creating new versions. See Rewrite Resource History for more information. This permission does not take any arguments. |
|
FHIR_UPLOAD_EXTERNAL_TERMINOLOGYImplies: - FHIR_OP_TERMINOLOGY_INVALIDATE_VALUESET - ROLE_FHIR_CLIENT |
Upload External Terminology User is permitted to upload external CodeSystems using the $upload-external-code-system operation, as well as by using the Apply Delta operations. See Uploading External Terminologies for more information on this function.This permission does not take any arguments. |
|
FHIR_WRITE_ALL_IN_COMPARTMENTImplies: - ROLE_FHIR_CLIENT |
FHIR Write ANY in Compartment X User is allowed to write ( create, update, patch, etc.) resources of any type in the given compartment. This permission takes an argument that should take the form of the name of the compartment (e.g. Patient/123).Argument The argument to this permission is the owner of the compartment to which access is being granted, and an optional query filter to restrict the scope. |
|
FHIR_WRITE_ALL_OF_TYPEImplies: - ROLE_FHIR_CLIENT |
FHIR Write ANY of Type User is allowed to write resources ( create, update, patch, etc.) of the specified type. This permission takes an argument that should be the name of the resource type (e.g. Patient).Argument The argument to this permission is the name of the resource, and an optional query filter to restrict the scope. |
|
FHIR_WRITE_INSTANCEImplies: - ROLE_FHIR_CLIENT |
FHIR Write Specific Instance User is allowed to write ( create, update, patch, etc.) the specified instance. This permission takes an argument that should be the ID of the resource instance (e.g. Patient/123).Argument The argument to this permission is the ID of the resource instance (e.g. Patient/123). |
|
FHIR_WRITE_TYPE_IN_COMPARTMENTImplies: - ROLE_FHIR_CLIENT |
FHIR Write (Specific Type in Compartment) User is permitted to write ( create, update, patch, etc.) any resource of the given type in the given compartment.Argument The argument to this permission is the name of the type to allow writing to, followed by a colon, followed by the owner of the compartment to which access is being granted, and an optional query filter to restrict the scope. For example, the argument Observation:Patient/123 means that the user is permitted to write any Observation resource in the Patient/123 compartment. |
|
HFQL_EXECUTE |
Execute HFQL Query User is allowed to execute HFQL/SQL statements. This permission does not take any arguments. |
|
INVOKE_ALL_CAMEL_HTTP_ENDPOINTS_ON_MODULEImplies: - ACCESS_CAMEL_HTTP_ENDPOINT |
Invoke Camel HTTP Endpoints by Module User is allowed to invoke Camel routes configured on a particular instance of the Camel HTTP Endpoint module Argument The argument to this permission is the name of the Camel HTTP Endpoint module |
|
INVOKE_ANY_CAMEL_HTTP_ENDPOINTImplies: - ACCESS_CAMEL_HTTP_ENDPOINT |
Invoke Any Camel HTTP Endpoint User is allowed to invoke any Camel route configured on any instance of the Camel HTTP Endpoint module This permission does not take any arguments. |
|
INVOKE_CAMEL_HTTP_ENDPOINTImplies: - ACCESS_CAMEL_HTTP_ENDPOINT |
Invoke Camel HTTP Endpoints by Mapping Name User is allowed to invoke Camel routes via a particular named mapping on a particular instance of the Camel HTTP Endpoint module Argument The argument to this permission is the name of the Camel HTTP Endpoint module, followed by the name of the allowed mapping, separated by a '/' delimiter. E.g., endpoint_camel/my_mapping |
|
INVOKE_CDS_HOOKS |
CDS Hooks User can call CDS Hooks This permission does not take any arguments. |
|
MANAGE_BATCH_JOBS |
Manage Batch Jobs User has permission to manage (i.e. modify and control) batch jobs This permission does not take any arguments. |
|
MDM_ADMINImplies: - MDM_UPDATE_MATCH_RULES - MDM_VIEW_MATCH_RULES |
MDM Admin User may perform any administrative functions for the MDM. This permission does not take any arguments. |
|
MDM_UPDATE_MATCH_RULES |
MDM Update Match Rules User can set/update matching rules for the MDM. This permission does not take any arguments. |
|
MDM_VIEW_MATCH_RULES |
MDM VIEW Match Rules User can view matching rules for the MDM. This permission does not take any arguments. |
|
MODULE_ADMINImplies: - ARCHIVE_MODULE - CONTROL_MODULE - CREATE_MODULE - REINSTATE_MODULE - START_STOP_MODULE - UPDATE_MODULE_CONFIG - VIEW_MODULE_CONFIG |
Module Admin User is allowed to create, reconfigure, and start/stop modules. This permission does not take any arguments. |
|
MODULE_ADMIN_FOR_MODULEImplies: - CONTROL_MODULE_FOR_MODULE - START_STOP_MODULE_FOR_MODULE - UPDATE_MODULE_CONFIG_FOR_MODULE - VIEW_MODULE_CONFIG_FOR_MODULE |
Module Admin for a specific module in a node. User is allowed to reconfigure and start/stop a specific module in a node. Argument The argument to this permission takes a nodeid and a moduleid separated by /, for which you'd like to grant access to the user. For example: Master/subscription |
|
OIDC_CLIENT_PRESET_PERMISSIONImplies: - OPENID_CONNECT_ADD_CLIENT |
Add OpenID Connect Client with pre-set permissions. User is allowed to create OpenID Connect clients with pre-set permissions. Argument The argument to this permission is the name of permissions (e.g. ACCESS_FHIRWEB). |
|
OPENID_CONNECT_ADD_CLIENT |
Add OpenID Connect Client User is allowed to create OpenID Connect clients. This permission does not take any arguments. |
|
OPENID_CONNECT_ADD_SERVER |
Add OpenID Connect Server User is allowed to create OpenID Connect servers. This permission does not take any arguments. |
|
OPENID_CONNECT_EDIT_CLIENT |
Edit OpenID Connect Client User is allowed to edit existing OpenID Connect clients. This permission does not take any arguments. |
|
OPENID_CONNECT_EDIT_SERVER |
Edit OpenID Connect Server User is allowed to edit existing OpenID Connect servers. This permission does not take any arguments. |
|
OPENID_CONNECT_MANAGE_GLOBAL_SESSIONS |
Manage Sessions (Global/All Users) User is allowed to list and revoke SMART/OIDC sessions for any users in the system. This is an administrative privilege that should only be granted to admin and system users. This permission does not take any arguments. |
|
OPENID_CONNECT_MANAGE_KEYSTORES |
Manage OIDC Keystores User is allowed to manage (view/create/update/delete) OIDC Keystore definitions. This permission does not take any arguments. |
|
OPENID_CONNECT_VIEW_CLIENT_LIST |
View OpenID Connect Client List User is allowed to view the list of registered OpenID Connect clients. This permission does not give the user the ability to create/edit clients. This permission does not take any arguments. |
|
OPENID_CONNECT_VIEW_SERVER_LIST |
View OpenID Connect Server List User is allowed to view the list of registered OpenID Connect servers. This permission does not give the user the ability to create/edit servers. This permission does not take any arguments. |
|
PACKAGE_REGISTRY_READ |
Package Registry: Read Operations User can access data from the package registry. This permission does not take any arguments. |
|
PACKAGE_REGISTRY_WRITE |
Package Registry: Write Operations User can write data to the package registry. This permission does not take any arguments. |
|
READ_ANY_SCHEDULED_JOBImplies: - READ_ANY_SCHEDULED_JOB_HISTORY |
View existing custom scheduled job definitions Allows the user to view any existing scheduled job definitions in any module. This permission does not take any arguments. |
|
READ_ANY_SCHEDULED_JOB_HISTORY |
Read the execution histories of any custom scheduled jobs Allow the user to be able to read the execution history of a custom scheduled jobs, regardless of which module they are in. This permission does not take any arguments. |
|
REINSTATE_MODULEImplies: - VIEW_MODULE_CONFIG |
Reinstate Modules User is allowed to reinstate modules. This permission does not take any arguments. |
|
SAVE_USERImplies: - CREATE_USER - UPDATE_USER - VIEW_USERS |
Save Users User is allowed to create/update users. This permission does not take any arguments. |
|
SDH_CDA_TO_FHIRImplies: - ROLE_FHIR_CLIENT |
User can use the $sdh.cda-to-fhir operation User is allowed is allowed to use the $sdh.cda-to-fhir operation to convert a CDA document to a FHIR Bundle This permission does not take any arguments. |
|
SMILE_GENERATE_CDAImplies: - ROLE_FHIR_CLIENT |
User can use the $sdh.generate-cda operation User is allowed is allowed to use the $sdh.generate-cda operation to convert a FHIR Composition to a CDA document This permission does not take any arguments. |
|
SMILE_PORTAL_ALL |
Smile Portal (all) User is permitted to access all Smile Portal applications This permission does not take any arguments. |
|
SMILE_PORTAL_OF_TYPE |
Smile Portal (by type) User is permitted to access specific Smile Portal application types Argument The argument to this permission is the application type. Valid values include: APPSPHERE_CONSOLE, APPSPHERE_GALLERY, APPSPHERE_PORTAL, AUDIT_LOG, BATCH_JOBS, CONFIG_DIAGNOSTICS, FHIR_ENDPOINT, FHIR_WEB, HEALTH_CHECKS, HELP, INGESTION_DASHBOARD,MDMUI, MODULE_CONFIG, OIDC_CLIENTS, OIDC_KEYSTORES, OIDC_SERVERS, PATIENT_MANAGEMENT, PAYER_TO_PAYER, PRIOR_AUTH, PROVIDER_ACCESS_API, TERMINOLOGY, TERMINOLOGY_MAPPING, TRANSACTION_LOG, USER_MANAGEMENT, EXTERNAL. |
|
START_STOP_MODULE |
Start/Stop Modules User is allowed to start/stop modules and nodes. This permission does not take any arguments. |
|
START_STOP_MODULE_FOR_MODULE |
Start/Stop a specific module in a node User is allowed to start/stop a specific module in a node. Argument The argument to this permission takes a nodeid and a moduleid separated by /, for which you'd like to grant access to the user. For example: Master/subscription |
|
SUBMIT_ATTACHMENTImplies: - ROLE_FHIR_CLIENT |
Submit Attachment User is allowed to use the $submit-attachment operation. This permission does not take any arguments. |
|
TRIGGER_ANY_SCHEDULED_JOBImplies: - READ_ANY_SCHEDULED_JOB |
Run any custom scheduled job immediately. Allows the user to run any custom scheduled jobs (without waiting for the scheduled job's scheduled setting to elapse), regardless of the module in which they reside. This permission does not take any arguments. |
|
UPDATE_ANY_SCHEDULED_JOBImplies: - READ_ANY_SCHEDULED_JOB - TRIGGER_ANY_SCHEDULED_JOB |
Update a custom scheduled job Allows the user to update any existing saved custom scheduled job in any module. This permission does not take any arguments. |
|
UPDATE_MODULE_CONFIGImplies: - VIEW_MODULE_CONFIG |
Update Module Configuration User is allowed to modify a module's configuration. This permission does not take any arguments. |
|
UPDATE_MODULE_CONFIG_FOR_MODULEImplies: - VIEW_MODULE_CONFIG_FOR_MODULE |
Update Module Configuration for a specific module in a node User is allowed to modify a specific module in a node. Argument The argument to this permission takes a nodeid and a moduleid separated by /, for which you'd like to grant access to the user. For example: Master/subscription |
|
UPDATE_USER |
Update Users User is allowed to update other users. This permission does not take any arguments. |
|
USE_CDA_TEMPLATEImplies: - VIEW_CDA_TEMPLATE |
Generate CDA documents via the templates User is allowed to create Compositions / Fhir Documents / CDA Documents via the cda template store. Use caution with this permission with severity relative to how much access the scripts themselves allow. This permission does not take any arguments. |
|
VIEW_AUDIT_LOG |
View Audit Log User is allowed to view the audit log. This permission does not take any arguments. |
|
VIEW_BATCH_JOBS |
View Batch Jobs User has permission to view batch jobs This permission does not take any arguments. |
|
VIEW_CDA_TEMPLATE |
View CDA templates User is allowed to view all CDA templates (including script contents and expected parameters list). This permission does not take any arguments. |
|
VIEW_METRICS |
View Metrics User can access internal metrics API, including thread dump API This permission does not take any arguments. |
|
VIEW_MODULE_CONFIGImplies: - VIEW_MODULE_STATUS |
View Module Configuration User is allowed to view (but not change) module configuration information. This does not include database passwords. This permission does not take any arguments. |
|
VIEW_MODULE_CONFIG_FOR_MODULEImplies: - VIEW_MODULE_STATUS |
View Module Configuration for a specific module in a node User is allowed to view (but not change) configuration for a specific module in a node configuration information. This does not include database passwords. Argument The argument to this permission takes a nodeid and a moduleid separated by /, for which you'd like to grant access to the user. For example: Master/subscription |
|
VIEW_MODULE_STATUS |
View Module Status User is allowed to view (but not change) status information about modules. This includes running/stopped status, health checks, etc. but does not give access to more sensitive details such as logs. This permission does not take any arguments. |
|
VIEW_TRANSACTION_LOG |
View Transaction Log User is allowed to view the overall transaction log. This permission does not take any arguments. |
|
VIEW_TRANSACTION_LOG_EVENT |
View Transaction Log Entries User is allowed to view individual transaction log entries. This permission does not take any arguments. |
|
VIEW_USERS |
View Users User is allowed to view list of users and individual user details. This permission does not take any arguments. |
System-Defined Negative Permissions
The following table lists the negative permissions that are built into Smile CDR and may be assigned to a user. Negative permissions prevent actions from occurring, and take precedence over positive permissions. In other words, if a user has a normal permission indicating the ability to perform an action, but also has a negative permission that contradicts the given permission, the action will not be permitted.
| Negative Permission | Description | |
|---|---|---|
BLOCK_FHIR_READ_UNLESS_CODE_IN_VSImplies: - ROLE_FHIR_CLIENT |
Block FHIR Read Unless Code is in ValueSet When present, this permission indicates that resources of the given type can not be read unless they have a coded field (indicated by a SearchParameter name) is found in the specified ValueSet (indicated by URL). See Block Unless Code in ValueSet for more information. Argument The argument for this permission is in the form [resourceType]/[param name]/[ValueSet URL], e.g. "Observation/code/http://hl7.org/fhir/ValueSet/observation-vitalsignresult" |
|
BLOCK_FHIR_READ_UNLESS_CODE_NOT_IN_VSImplies: - ROLE_FHIR_CLIENT |
Block FHIR Read Unless Code is not in ValueSet When present, this permission indicates that resources of the given type can not be read unless they have a coded field (indicated by a SearchParameter name) is not found in the specified ValueSet (indicated by URL). See Block Unless Code in ValueSet for more information. Argument The argument for this permission is in the form [resourceType]/[param name]/[ValueSet URL], e.g. "Observation/code/http://hl7.org/fhir/ValueSet/observation-vitalsignresult" |
Block Unless Code in ValueSet
A pair of permissions can be used to authorize access to data by checking if a coded field contains a code that is matched by a ValueSet. This functionality can be an allow-list (only allow access to resources matched by the ValueSet) or a block-list (only allow access to resources that are not matched by the ValueSet).
To specify an allow-list, the BLOCK_FHIR_READ_UNLESS_CODE_IN_VS permission should be used. To specify a block-list, the BLOCK_FHIR_READ_UNLESS_CODE_NOT_IN_VS permission should be used. Both of these permissions take an argument in the form: [resourceType]/[param name]/[ValueSet URL].
Because these permissions are negative, they must be combined with a normal permission that actually grants access to resources. In other words, if only a negative permission is present, it will not be possible to access data.
For example, to enforce that a user can only access Observations belonging to Patient/123 where the Observation.code value is in the Vital Signs Result ValueSet, use the following permissions:
FHIR_READ_ALL_IN_COMPARTMENT/Patient/123
BLOCK_FHIR_READ_UNLESS_CODE_IN_VS/Observation/code/http://hl7.org/fhir/ValueSet/observation-vitalsignresult
Copy
To enforce that a user can only access Observations belonging to Patient/123 where the Observation.code value is not in the Vital Signs Result ValueSet, use the following permissions:
FHIR_READ_ALL_IN_COMPARTMENT/Patient/123
BLOCK_FHIR_READ_UNLESS_CODE_NOT_IN_VS/Observation/code/http://hl7.org/fhir/ValueSet/observation-vitalsignresult
Copy
Automatic Search Narrowing
When these permissions are used, it can be helpful to also enable Automatically Narrow Search Scope on your FHIR Endpoint module. This will automatically add appropriate search parameters to searches in order to ensure that they are excluded from search results.
Automatic Search Narrowing Limitations
When the Automatically Narrow Search Scope configuration has been enabled on your FHIR Endpoint module, the calculation of search result totals will not be available to preserve the privacy of possibly-filtered records. This includes the use of the _total=accurate and _summary=count query string parameters.
Note that when using search narrowing with these permissions, the search will have a token:in or token:not-in search parameter added to the search.
These operations are currently not suitable for large ValueSets (containing over 500 codes) and may not perform well at that scale.
User-Defined Roles
User-defined roles are added by including their definitions in a json file pointed by the LOCAL_SECURITY module property seed.custom_roles.file, as shown in the following example.
See Pre-Seeding CustomRoles for details.
{
"roles":
[\
{\
"name": "ROLE_FRONT_DESK",\
"description": "Role for users who perform Front Desk duties",\
"permissions": [\
{\
"permission": "FHIR_DELETE_ALL_OF_TYPE",\
"argument": "Patient"\
},\
{\
"permission": "FHIR_ALL_READ"\
}\
]\
},\
{\
"name": "ROLE_SALES",\
"description": "Role to allow Sales department employees access to ...",\
"permissions": [\
{\
"permission": "ROLE_FHIR_CLIENT_SUPERUSER"\
}\
]\
}\
]
}
Copy
Roles and Permissions
Security
Authentication Protocols Authorization and Consent Inbound Security Module Local Inbound Security Module LDAP Inbound Security Module Scripted Inbound Security Module SAML Inbound Security Module Trusted Client Mode Roles and Permissions Callback Scripts Anonymous Access Consent Service Consent Service: JavaScript API Consent Service: Java API Security Recipes Two Factor Authentication Password Hashing Algorithms JWT Signature Algorithms Troubleshooting Security