Project

General

Profile

Actions

Feature #624

open
MN AM

Service charges: OPD fee codes are hard-coded (REG-GENERAL / CONS-GENERAL)

Feature #624: Service charges: OPD fee codes are hard-coded (REG-GENERAL / CONS-GENERAL)

Added by Medha N. 16 days ago. Updated 10 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/28/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

Raised by NSS

When trying to add a consultation fee so that it reflects in OPD registration, the fee did not show up. The OPD code is hard-coded, so unless the person configuring the system knows the exact code, they cannot add the consultation fee.

Current behaviour (OPD code, dev branch) - how OPD picks the fee:

Fee Picked only if...
Registration fee Charge code is exactly REG-GENERAL. Added only for a brand-new walk-in patient, never for a returning patient or a booked appointment.
Consultation fee Charge code is exactly CONS-GENERAL. This is the normal consultation fee.
Specialty-specific fee (e.g. Cardiology consultation) Charge is active, in the Service category, with the doctor's specialization set on it. If two match, the cheaper one is used.

Note: the newer code no longer uses a 'default' flag.

Expected: Configurators should be able to mark a charge as the registration/consultation fee from the UI (e.g. a type or flag), without needing to know hard-coded codes.

Actions

Also available in: PDF Atom