* Context |
[This is preliminary documentation and is subject to change.]
Everything that happens in a TOPICA application, happens in some context.
A few objects will be in context all the time, e.g. the logged in user. Most of the time the end user is working in the application, additional object(s) wil be in context.
Setting any object in context requires that the user has read access to that object.
The available commands (menu items etc.) in the user interface will adapt to the object(s) in context.
Several tasks are influenced by the current context - e.g. running reports.
This topic contains the following sections.
Definition of "system context" is, that none of the below mentioned objects are in context.
User interface commands for running tasks in "system context" are always available from the main menu, irrespective of which object(s) (see below) is/are in context.
Set an organizational unit in context in one of the following ways:
Click on a link to an org.unit (the user's employer or one of the associated org.units) in the main menu or in the start page (when this is configured).
Browse to an org.unit using the organizational hierarchy.
Select to an org.unit from the organization search function.
Depending on the logged in user's permissions, hyperlinks to organizational units may appear in various other places in the user interface - for example, records may be related to organizational unit ("data owners").
Set an employee/user in context in one of the following ways:
Click on the link to the employee user in the main menu.
Select an employee from the employee search function.
Note |
---|
Do not confuse the employee in context with the employee user. The employee in context is the employee being worked on - the employee user in context is the logged in user (e.g. a user adminstrator). |
Set a patient in context in one of the following ways:
Enter a "national ID" for a patient in the start page.
Select a patient from the "patient search" function.
Click a link to a patient in the "Recent patients" function.
Reports may have clickable hyperlinks to patients.
A "record" is an instance of a filled in configured form. Technically, it is stored in one database row (aka. a record - hence the name).
Set a record in context in one of the following ways:
Set a patient in context as described above.
Click an "open" node in the record tree.
In the "search patient" function, there is an option to display data (records) of selected types for each patient listed in the search result. Such records are displayed as hyperlinks - click a hyperlink to set the corresponding record in context.
Note that whenever a record is in context, there will also be a patient in context (all records relate to a patient).