Departments
Section Purpose:
This documentation describes hospital departments - how to build their structure, what attributes they have (including the OPK code), and how to manage their members.
Basic Information
Section titled “Basic Information”A department is an organizational unit within a hospital (e.g. ICU, pediatric ward). Departments form a tree - each department can contain sub-departments, allowing you to reflect the facility’s actual structure.
The Departments tab in the hospital details presents this tree. In it you can:
- Create departments - enter a Name (e.g. ICU) and confirm with the Create button. A new department can be added as a top-level element or as a child of another department.
- Rename a department.
- Delete departments.
Department Attributes
Section titled “Department Attributes”For each department, an attribute editing dialog is available with the following fields:
- Acronym - a shortened designation of the department.
- OPK code - the Cost Center (Ośrodek Powstawania Kosztów) code identifying the department for billing purposes.
- Phone - the department’s contact number.
- Street - the department’s address.
- Postal code
- City
Save changes with the Save button.
Department Members
Section titled “Department Members”Users can be assigned to and removed from each department. Membership in a department determines which prescriptions and bags a user has access to.
Scope and “Entire hospital”
Section titled “Scope and “Entire hospital””The prescription and bag lists are filtered by a shared department filter (the Departments button above the table). The filter shows a tree of hospitals and departments with a selection counter:
- Selecting an entire hospital covers all of its departments.
- The filter is shared between the prescription list and the bag list.
The active working department, on the other hand, is chosen in the side menu header - see Getting Started.
Frequently Asked Questions
Section titled “Frequently Asked Questions”Where does a user’s access to a department come from?
Access results from membership - a user must be assigned to a department (technically: a group in Keycloak). Without membership, that department’s prescriptions and bags remain outside their scope.
Can a department have sub-departments?
Yes. Departments form a tree of arbitrary depth - when adding a department, you can indicate its parent department.
