-
Notifications
You must be signed in to change notification settings - Fork 120
Pharmacy Bill Number Configuration
The HMIS system provides flexible bill number generation for pharmacy operations. You can configure how bill numbers are formatted for different types of pharmacy bills, including Purchase Orders, GRNs, Transfers, Sales, and other transactions.
Bill numbers can be configured to include:
- Department codes (e.g., ICU, OPD, WARD)
- Institution codes (e.g., MPH, GH, DH)
- Year (e.g., 25)
- Prefixes (e.g., POR, GRN, TI)
- Sequential numbers (e.g., 000001)
Configure bill numbers when you need:
- Unique identification across multiple departments or institutions
- Year-based numbering that resets annually
- Department-specific numbering
- Institution-wide numbering
- Custom prefixes
- Log in as a system administrator
- Navigate to Admin → Manage Institutions → Preferances → Configuration Options
- Look for configuration options starting with "Bill Number Generation Strategy"
The configuration options are organized by:
- Bill Number Generation Strategy - Controls the format
- Bill Number Suffix - Sets the prefix for each bill type
Format: 000001/2025
- Can vary for each bill type
- Some have a Simple sequential number with the year
- Some have department or institution codes with serial numbers
- Backwards compatibility is preserved if no configuration is changed
When to Use: For single-department institutions or when simplicity is preferred
Format: POR/RHP/MP/25/000001
- POR = Bill type prefix (Purchase Order Request)
- MP = Department code
- RHP = Institution code
- 25 = Year (2025)
- 000001 = Sequential number
Configuration Key:
Bill Number Generation Strategy for Pharmacy [BILL_TYPE] - Prefix + Department Code + Institution Code + Year + Yearly Number
When to Use: For multi-department institutions needing detailed tracking
Format: POR/RHP/25/000001
- POR = Bill type prefix
- RHP = Institution code
- 25 = Year (2025)
- 000001 = Sequential number (counts all bills institution-wide)
Configuration Key:
Bill Number Generation Strategy for Pharmacy [BILL_TYPE] - Prefix + Institution Code + Year + Yearly Number
When to Use: For institution-wide numbering without department separation
| Bill Type | Default Prefix | Description |
|---|---|---|
| Purchase Order Request | POR | Purchase requests from departments |
| Purchase Order Approval | POA | Approved purchase orders |
| Cancelled Purchase Order | C-POR | Cancelled purchase requests |
| GRN (Goods Received Note) | GRN | Items received from suppliers |
| Cancelled GRN | C-GRN | Cancelled goods receipts |
| GRN Return | GRNR | Items returned to suppliers |
| Direct Purchase | DP | Direct pharmacy purchases |
| Cancelled Direct Purchase | C-DP | Cancelled direct purchases |
| Transfer Issue | TI | Items transferred between departments |
| Direct Issue | DTI | Direct issues to patients/departments |
| Sale Pre Bill | SPB | Pre-bills for pharmacy sales |
| Sale Cashier Pre Bill | SCPB | Cashier pre-bills |
| Sale Bill | SB | Final sale bills |
| Sale Return | SR | Returned sale items |
| Sale Return Pre Bill | SRP | Pre-bills for returns |
| Sale Cancelled | SC | Cancelled sales |
| Direct Purchase Refund | DPR | Refunds for direct purchases |
| Issue Cancelled | C-DIS | Cancelled issue bills |
| Transfer Receive | TR | Items received from transfers |
| Disposal Issue | DIS | Items disposed/discarded |
| Transfer Request | PHTRQ | Transfer requests between departments |
- Access Configuration: Admin → System Configuration → Application Configuration
-
Find Option:
Bill Number Generation Strategy for Pharmacy Purchase Order Request - Prefix + Department Code + Institution Code + Year + Yearly Number -
Set Value:
true -
Result: Purchase order numbers will be formatted as
POR/ICU/MPH/25/000001
- Access Configuration: Admin → System Configuration → Application Configuration
-
Find Option:
Bill Number Generation Strategy for Pharmacy GRN - Prefix + Institution Code + Year + Yearly Number -
Set Value:
true -
Result: GRN numbers will be formatted as
GRN/MPH/25/000001
- Access Configuration: Admin → System Configuration → Application Configuration
-
Find Option:
Bill Number Suffix for Purchase Order Request -
Change Value: From
PORtoPUR -
Result: Purchase order numbers will use
PURinstead ofPOR
-
Department Bills:
000001/2025 -
Institution Bills:
000001/2025 - Behavior: Uses traditional numbering format
- Configuration: Enable "Prefix + Department Code + Institution Code + Year + Yearly Number"
-
Department Bills:
POR/ICU/MPH/25/000001 -
Institution Bills:
POR/ICU/MPH/25/000001(same as department) - Behavior: Both use detailed format with department code
- Configuration: Enable "Prefix + Institution Code + Year + Yearly Number"
-
Department Bills:
POR/MPH/25/000001 -
Institution Bills:
POR/MPH/25/000001(same sequence) - Behavior: Simplified format, numbers count institution-wide
-
Department Bills:
POR/MPH/25/000001(counts department bills only) -
Institution Bills:
POR/MPH/25/000015(counts all bills institution-wide) - Behavior: Different counting methods for department vs institution
Solution:
- Verify configuration is saved properly
- Restart the application if necessary
- Check that you're configuring the correct bill type
Causes:
- Mixed configuration settings
- Different counting methods for department vs institution Solution: Choose consistent configuration strategy
Solution:
- Check "Bill Number Suffix" configuration for the specific bill type
- Ensure the suffix field is not empty
- Verify correct spelling of suffix
Cause: Year change or configuration change Solution: This is normal behavior for yearly numbering
A: Yes, each bill type can be configured independently with its own strategy and prefix.
A: Old bill numbers remain unchanged. Only new bills use the new format.
A: No, the separator is fixed as "/" in the current system.
A: No, reports will continue to work with all bill number formats.
A: No, yearly reset is automatic and cannot be disabled.
A: The system automatically adjusts the number length (e.g., 000001, 000010, 000100).
A: No, prefixes are set per bill type institution-wide, not per department.
Institution codes are derived from your institution setup in the system. To change them:
- Navigate to Admin → Institution Management
- Edit your institution
- Update the institution code field
Department codes are derived from your department setup:
- Navigate to Admin → Department Management
- Edit the department
- Update the department code field
To monitor bill number patterns:
- Use Reports → Bill Analysis
- Filter by date range and bill type
- Review bill number sequences for gaps or issues
For configuration assistance:
- Contact your system administrator
- Check the system logs for error messages
- Review this guide for common solutions
- Consult with HMIS support team for complex configurations