devsofttech_hms_ci4/app/Controllers
DevSoftTech Server eec0642466 fix: OPD running validity period no longer extends per running visit
OpdModel.php:
- running_opd_id lookup now uses doctor's configured opd_valid_no_days
  instead of hardcoded 4 days (resolveRunningLookupDate helper)
- Doctors with validity > 5 days now correctly link running OPD back
  to the original paid OPD even on days 5..N of the window

Opd.php (buildOpdLetterPrintData):
- For running OPD entries (running_opd=1 or opd_fee_type=3), expiry
  display now shows "OPD Start Date: [paid visit] | Valid Upto: [paid
  visit + validity]" using old_opd record — mirrors Opd_print_1 legacy
  behavior and prevents validity window from advancing with each visit
2026-04-10 12:48:28 +05:30
..
Billing Port CI3 vitals chart and treatment chart forms to CI4 IPD form print (form_no 6 and 7) 2026-04-09 04:26:09 +05:30
Setting Make IPD forms dynamic and stop stale OPD refresh polling 2026-04-08 11:41:33 +05:30
AbdmGateway.php feat: Add ABDM Task Board module with ABHA workflow 2026-04-05 23:42:24 +05:30
AbdmTaskBoard.php feat: Add ABDM Task Board module with ABHA workflow 2026-04-05 23:42:24 +05:30
BaseController.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Diagnosis.php fix: dynamic ABHA column SELECT in openReportEditorPage to handle remote DB schema 2026-04-05 23:57:16 +05:30
DoctorDocument.php fix: Running OPD zero-value validity, update_doc_field HTTP 500, PDF Unicode font (Devanagari) 2026-04-10 12:30:15 +05:30
Finance.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
Home.php fix: diagnose and reduce STT 400 errors 2026-03-30 19:12:49 +05:30
Invoice.php Fix payment request receipt content and PDF print 2026-04-10 04:16:17 +05:30
Ipd_discharge.php feat: Add ABDM Task Board module with ABHA workflow 2026-04-05 23:42:24 +05:30
IpdPatient.php Add nursing scan-to-structured workflow and discharge UI polish 2026-03-09 00:12:04 +05:30
Item.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
ItemIpd.php Add report panel updates and related billing/discharge enhancements 2026-03-10 02:43:35 +05:30
Medical.php Implement finance phase 2 pharmacy workflow and admin hospital/pharmacy profile settings 2026-03-17 04:05:02 +05:30
OcasePathLap.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Opd_prescription.php Auto-mark OPD visited on consult save or print 2026-04-10 03:59:10 +05:30
Opd.php fix: OPD running validity period no longer extends per running visit 2026-04-10 12:48:28 +05:30
Opdcase.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
OrgPacking.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Package.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Patient.php Enhance OPD and patient workflows with live updates and UX improvements 2026-04-07 03:27:39 +05:30
Payment_Medical.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
Report.php Add refer doctor filter to diagnosis report 2026-04-09 19:11:39 +05:30
Setup.php refactor: remove Gemini integration and seed leakage paths 2026-03-18 06:18:52 +05:30