-
Notifications
You must be signed in to change notification settings - Fork 137
Pharmacy Disposal Issue Same Department
The "Allow Disposal Issue to Same Department" feature enables pharmacy departments to create disposal/waste issue bills where both the source and destination department are the same pharmacy department.
By default, this is disabled for safety and audit trail clarity. Each department can enable this feature if their workflow requires internal disposal tracking.
- Manages multiple pharmacy sections and needs to track internal waste transfers
- Has a central disposal/waste management section that needs internal routing
- Requires detailed internal consumption/disposal audit trails
- Needs to balance stock between different pharmacy areas
- Sends all waste to a centralized disposal department
- Prefers strict separation between internal and external transfers
- Does not need to track internal waste movements
- Wants simplified pharmacy module workflows
When staff try to create a disposal issue to their own department, they get an error:
Cannot Make an Issue to the Same Department
And must select a different department (e.g., "Waste Management" or "Disposal").
When staff create a disposal issue, they can now select their own department as the destination:
- Go to Pharmacy → Disposal Issue
- Click "Select" and choose your department from the autocomplete
- The system allows this selection (no error)
- Proceed to add items and finalize the disposal bill
The bill is created with:
- From Department: Your Pharmacy
- To Department: Your Pharmacy (same)
- Acts like an internal transfer/consumption record
- Go to Administration → Department Preferences
- Under Pharmacy Settings, check: "Allow Disposal Issue to Same Department"
- Click Save
- Inform your staff that the feature is now enabled
For detailed instructions, see Department Preferences — Administrator Guide.
If you need to enable this feature for multiple departments:
- Log in to each department's admin account
- Follow the steps above for each department
- OR modify the
ConfigOptiontable directly:
INSERT INTO ConfigOption (optionKey, scope, department_id, optionValue, valueType, retired)
VALUES ('Pharmacy - Allow Issue to Same Department', 'DEPARTMENT', <DEPT_ID>, 'true', 'BOOLEAN', false);Where <DEPT_ID> is the department's ID in the DEPARTMENT table.
This preference only affects:
- Pharmacy disposal issue creation (validation logic)
- Error messages when selecting a destination department
This preference does NOT affect:
- Regular pharmacy transfers between departments
- Pharmacy GRN (goods received notes)
- Pharmacy direct purchase
- Any other inventory or billing features
Scenario: A pharmacy has a "Disposal Section" within the same department.
- Admin enables "Allow Disposal Issue to Same Department"
- Pharmacy staff creates a disposal issue:
- Select medicine/device to dispose
- Select "Pharmacy" as destination (same dept)
- Add reason/comment: "Expired stock"
- Finalize the bill
- Bill shows internal waste movement: Pharmacy → Pharmacy
Scenario: Hospital has a separate "Waste Management Department".
- Admin leaves "Allow Disposal Issue to Same Department" disabled (default)
- Pharmacy staff creates a disposal issue:
- Select medicine/device
- Must select "Waste Management" (different dept) — cannot select Pharmacy
- Finalize the bill
- Bill shows external transfer: Pharmacy → Waste Management
Problem: Staff gets this error even though you thought you enabled the feature.
Solutions:
- Verify preference is saved: Go to Department Preferences and confirm the checkbox is checked
- Clear cache: Have the user log out, clear browser cache, and log back in
- Verify privilege: Confirm your user account has Admin privilege
- Check department: Ensure you're modifying preferences for the correct department (name shown at top of page)
Problem: The autocomplete allows selection, but clicking "Select" shows an error.
Possible Cause: Preference was just enabled, but user's session needs refresh.
Solution: User should log out and log back in to refresh their session.
- Department Preferences Overview
- Department Preferences — Administrator Guide
- Pharmacy Disposal Issue — Main disposal issue documentation
- Privileges and Access Control
Questions or issues? Contact your system administrator.