File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " noharm-app" ,
33 "private" : true ,
4- "version" : " 5.4.11 " ,
4+ "version" : " 5.4.12 " ,
55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ export default class Role {
88 static DISPENSING_MANAGER = "DISPENSING_MANAGER" ;
99 static VIEWER = "VIEWER" ;
1010 static REGULATOR = "REGULATOR" ;
11-
12- static CPOE = "cpoe" ; //keep for compatibility (remove after transition)
11+ static SUPPORT_REQUESTER = "SUPPORT_REQUESTER" ;
12+ static SUPPORT_MANAGER = "SUPPORT_MANAGER" ;
1313
1414 static getNewRoles ( t , features ) {
1515 const roles = [
@@ -54,6 +54,18 @@ export default class Role {
5454 } ) ;
5555 }
5656
57+ roles . push ( {
58+ id : Role . SUPPORT_REQUESTER ,
59+ label : t ( `roles.${ Role . SUPPORT_REQUESTER } ` ) ,
60+ description : t ( `rolesDescription.${ Role . SUPPORT_REQUESTER } ` ) ,
61+ } ) ;
62+
63+ roles . push ( {
64+ id : Role . SUPPORT_MANAGER ,
65+ label : t ( `roles.${ Role . SUPPORT_MANAGER } ` ) ,
66+ description : t ( `rolesDescription.${ Role . SUPPORT_MANAGER } ` ) ,
67+ } ) ;
68+
5769 roles . push ( {
5870 id : Role . VIEWER ,
5971 label : t ( `roles.${ Role . VIEWER } ` ) ,
Original file line number Diff line number Diff line change 645645 "DISCHARGE_MANAGER" : " Discharge Manager" ,
646646 "VIEWER" : " Viewer" ,
647647 "DISPENSING_MANAGER" : " Dispensing Manager" ,
648- "REGULATOR" : " Regulator"
648+ "REGULATOR" : " Regulator" ,
649+ "SUPPORT_REQUESTER" : " Support Requester" ,
650+ "SUPPORT_MANAGER" : " Support Manager"
649651 },
650652
651653 "rolesDescription" : {
655657 "DISCHARGE_MANAGER" : " Responsible for creating discharge summaries." ,
656658 "VIEWER" : " Read-only access to prescriptions." ,
657659 "DISPENSING_MANAGER" : " Responsible for managing item dispensing information" ,
658- "REGULATOR" : " Responsible for regulation"
660+ "REGULATOR" : " Responsible for regulation" ,
661+ "SUPPORT_REQUESTER" : " Has the permission to create support tickets" ,
662+ "SUPPORT_MANAGER" : " Visualize tickets from all users."
659663 },
660664
661665 "reportcsv" : {
Original file line number Diff line number Diff line change 649649 "DISCHARGE_MANAGER" : " Gestor de Alta" ,
650650 "VIEWER" : " Visualizador" ,
651651 "DISPENSING_MANAGER" : " Gestor de Dispensação" ,
652- "REGULATOR" : " Regulador"
652+ "REGULATOR" : " Regulador" ,
653+ "SUPPORT_REQUESTER" : " Requerente de Suporte" ,
654+ "SUPPORT_MANAGER" : " Gestor de Suporte"
653655 },
654656
655657 "rolesDescription" : {
659661 "DISCHARGE_MANAGER" : " Responsável pela criação de sumários de alta" ,
660662 "VIEWER" : " Acesso somente leitura às prescrições" ,
661663 "DISPENSING_MANAGER" : " Responsável pela gestão das informações de dispensação dos itens" ,
662- "REGULATOR" : " Responsável pela regulação"
664+ "REGULATOR" : " Responsável pela regulação" ,
665+ "SUPPORT_REQUESTER" : " Este papel permite ao usuário que ele abra chamados de suporte" ,
666+ "SUPPORT_MANAGER" : " Responsável pelo suporte da organização. Pode visualizar todos os chamados abertos para a sua organização."
663667 },
664668
665669 "reportcsv" : {
You can’t perform that action at this time.
0 commit comments