Authorization for the Business User Workflow to Perform Check Against Institution Attribute

Institution-dependent authorization is required to authorize users to perform RESTful interactions on the resources within the institution for the business user workflow.

To configure the authorization on an institution level, you must perform the following steps:

  1. Define a role collection. For more information, see Define a Role Collection.

  2. Create a role using the HealthData_Authorization_BusinessUser_DesignTime role template. For more information, see SAP Health Data Services for FHIR Preshipped SAP BTP Role Templates.

  3. Assign role collection to users or user groups. For more information, see Assigning Role Collections to Users or User Groups.

  4. Generate a valid OAuth access token using the password grant. For more information, see Generating a Valid OAuth Access Token.

  5. Configure the granular level authorization to get the authorization to access the institution, for example, sample-hospital institution, by performing the following steps:

    1. Create a RolePermission resource:

      HTTP Request

      POST [base]/RolePermission

    2. Create a GroupPolicy resource:

      HTTP Request

      POST [base]/GroupPolicy

      For more information on supported FHIR paths, see Supported FHIR Paths.

    3. Define a new role collection to assign the granular level authorization. For more information, see Define a Role Collection.

    4. You must create a role using the Application_User role template. For more information, see Create Roles for Applications Using Existing Role Templates.

      During the creation of a role, in the Configure Attributes tab, perform the following:

      • For the grouppolicy attribute, choose Static from the Source field and enter the GroupPolicy URL and latest version with the piped operator in the Values field.

      • For the institution attribute, choose Static from the Source field and enter the name of the institution in the Values field.

    5. Assign new role collection to users or user groups. For more information, see Assigning Role Collections to Users or User Groups.

Path Parameters

base: Service endpoint to interact with FHIR resources. For more information, see Service Endpoint.