O3 Framework / LoggedInUser
Defined in: packages/framework/esm-api/src/types/user-resource.ts:14
[anythingElse: string]: any
allowedLocales:
string[]
Defined in: packages/framework/esm-api/src/types/user-resource.ts:45
display:
string
Defined in: packages/framework/esm-api/src/types/user-resource.ts:16
locale:
string
Defined in: packages/framework/esm-api/src/types/user-resource.ts:44
person:
Person
Defined in: packages/framework/esm-api/src/types/user-resource.ts:40
privileges:
Privilege[]
Defined in: packages/framework/esm-api/src/types/user-resource.ts:41
retired:
boolean
Defined in: packages/framework/esm-api/src/types/user-resource.ts:43
roles:
Role[]
Defined in: packages/framework/esm-api/src/types/user-resource.ts:42
systemId:
string
Defined in: packages/framework/esm-api/src/types/user-resource.ts:18
username:
string
Defined in: packages/framework/esm-api/src/types/user-resource.ts:17
userProperties:
null| {[key:string]:undefined|string;defaultLocation?:string;patientsVisited?:string;starredPatientLists?:string; }
Defined in: packages/framework/esm-api/src/types/user-resource.ts:19
null
{[key: string]: undefined | string; defaultLocation?: string; patientsVisited?: string; starredPatientLists?: string; }
[key: string]: undefined | string
optionaldefaultLocation:string
The UUID of the location the user has set preference to use for next logins
optionalpatientsVisited:string
The UUIDs of patients the user has visited
Separated by commas
To get the array, do user.userProperties.patientsVisited.split(',')
To store the array, do patientsVisited: patientsVisited.join(',')
optionalstarredPatientLists:string
The UUIDs of patient lists the user has starred
Separated by commas
To get the array, do user.userProperties.starredPatientLists.split(',')
To store the array, perform starredPatientLists: starredPatientLists.join(',')
uuid:
string
Defined in: packages/framework/esm-api/src/types/user-resource.ts:15