Revoke specimen alias access for a user
Note:
To revoke specimen alias access from a user, use numeric identifiers (row_wids) of the specific study or patient group.Example 1: Revoke access to one study/provider combination
Revoke access to study_wid=99 and Service Provider (row_wid=105) from user TSTUSER1.
begin
vpd_util.revoke_svcprv_user (
i_user_name =>'TSTUSER1',
i_study_wid =>99,
i_issng_svcprv_wid =>105
) ;
end;
/
Example 2: Revoke access to one patient group/provider combination
Revoke access to patient_group_wid=10 and Service Provider (row_wid=105) from user TSTUSER2.
begin
vpd_util.revoke_svcprv_user (
i_user_name =>'TSTUSER2',
i_pt_group_wid =>10,
i_issng_svcprv_wid =>105
) ;
end;
/
Example 3: Revoke access to any study, patient group, and provider granted using parameter I_ANY_STUDY, I_ANY_PT_GROUP, and I_ANY_ISSNG_SVCPRVS
Revoke access from a user to any study or patient group or service provider that was granted through an “any" parameter.
begin
vpd_util.revoke_svcprv_user (
i_user_name =>'TSTUSER3',
i_any_study =>1,
i_any_pt_group =>1,
i_any_issng_svcprvs =>1
) ;
end;
/
Parent topic: Manage access to specimen aliases