4776bfb37b
Enhance IPD discharge summary FHIR bundle: dual admission/discharge vitals, full medication dosage directions, dietary/discharge advice care plans, and IPD invoice PDF attachment
2026-09-04 05:39:45 +05:30
625c642b02
Fix patient age calculation in IPD discharge search ajax by querying DOB and using get_age_1 helper
2026-09-02 03:51:52 +05:30
2fcfbd922a
Enhance IPD discharge summary: OPD-style Prescribed Medicines table for B&W printing, auto generic lookup, and suppress empty discharge summary heading
2026-09-02 02:53:17 +05:30
73780ac7dd
fix: IPD discharge RxGroup add - fix UI not updating after apply_rx_group, and Remove All not deleting from DB
...
- discharge_create.php (JS): Fixed AJAX done handler to JSON.parse the
raw string response (jQuery with dataType:'html' does not auto-parse
JSON), then re-render #discharge_medicine_tbody from result.drugRows.
Also fixed Remove All (#btn_discharge_med_reset) to send AJAX POST
with action=remove_all_drugs so records are deleted from DB, not just
cleared from the DOM.
- Ipd_discharge.php (Controller): In the AJAX JSON response block,
resolve dosage/dosage_when/dosage_freq IDs to human-readable labels
using getDoseMasterRows() before returning drugRows, so the table
displays 'BD / After Food' instead of raw numeric IDs. Added new
remove_all_drugs action that deletes all medicine rows for the IPD
from both legacy (ipd_discharge_prescrption_prescribed) and classic
(ipd_discharge_drug) tables. Added remove_all_drugs to both
lightweight-action whitelists to skip the expensive getIpdPanelInfo()
join.
2026-09-01 20:24:14 +05:30
b786fe7a08
fix(ipd_discharge): add query error catching and logging to add_drug controller action
2026-09-01 18:28:53 +05:30
144f0a20d5
fix(ipd_discharge): sync full medicine list on main form submit to replace stale DB entries
2026-09-01 18:15:46 +05:30
3fddb3ca26
fix(ipd_discharge): enable dual-source medicine loading and full form submit medicine sync
2026-09-01 18:07:18 +05:30
fe26588dca
fix(ipd_discharge): instant DOM row removal on medicine delete & delete from all drug tables
2026-09-01 17:47:05 +05:30
bfe14048bc
fix(ipd_discharge): resolve status 0 network error on medicine add and sync remove_drug via AJAX
2026-09-01 17:38:09 +05:30
69f0e1fa45
feat(nursing): add Nursing Station Master, ABDM credentials to Nurse Master, and Visual Bed Grid at /ipd/patient
2026-08-28 02:43:37 +05:30
7c04828e99
feat(ipd): align IPD Discharge prescribed medicine form design and autotext with OPD Consult
2026-08-27 04:33:10 +05:30
7ec5149ccf
feat(ipd): manage admission examination fields
...
Add an Admin CRUD master for IPD admission examination fields with enabled state, display order, field types, and select options.
2026-08-24 00:53:01 +05:30
9e35fe41fc
Add discharge template CKEditor and watermarks
2026-08-18 17:50:51 +05:30
3b200e0290
Fail open when caching discharge PDF
2026-08-18 17:35:30 +05:30
306f8ef1c4
Refresh mPDF debug snapshot on build
2026-08-18 17:32:24 +05:30
16de9b0c0c
Force discharge header onto first PDF page
2026-08-18 17:26:43 +05:30
f5743be68a
Prevent duplicate discharge template content
2026-08-18 17:04:38 +05:30
4d5155a2f8
Avoid @page overriding discharge headers
2026-08-18 17:01:11 +05:30
0dbe4c6f64
Register discharge headers before first page
2026-08-18 16:50:42 +05:30
8a6319ac13
Render discharge template header with mPDF API
2026-08-18 16:46:09 +05:30
8cf0e42765
Activate discharge header with mPDF runtime API
2026-08-18 16:41:46 +05:30
28109df663
Build mPDF debug input on demand
2026-08-18 16:36:53 +05:30
53b79b5297
Add raw mPDF input debugger
2026-08-18 16:33:24 +05:30
ebf23b93e8
Use exact OPD header rendering pattern for discharge
2026-08-18 16:29:43 +05:30
94bcf4d37c
Force discharge header on first page
2026-08-18 16:20:04 +05:30
b068fc3be2
Fix @page header activation for body-only template CSS
2026-08-18 16:13:53 +05:30
0ea3fc099a
Use correct mPDF CSS-first structure for discharge
2026-08-18 15:59:23 +05:30
4835d34e0e
Add Debug HTML button to discharge template editor
2026-08-18 15:55:09 +05:30
e353e5afdc
Simplify discharge PDF to plain mPDF fragment
2026-08-18 15:42:01 +05:30
f69d10b417
Move discharge template CSS into PDF head
2026-08-18 15:40:22 +05:30
f9b1e02af8
Fix @page placement for mPDF discharge header
2026-08-18 15:37:22 +05:30
42abe7ed9b
Use mPDF htmlpageheader for discharge header
2026-08-18 15:29:13 +05:30
1fec6c8677
Add IPD discharge template builder
2026-08-18 15:18:13 +05:30
e1de6e3215
Apply discharge header margin setting
2026-08-18 14:50:56 +05:30
c26589fa22
Render discharge header in PDF body
2026-08-18 14:48:23 +05:30
ce04de2adf
Separate NABH audit template selection
2026-08-18 14:29:09 +05:30
aee50cb52f
Rebuild IPD discharge template selection
2026-08-18 14:28:27 +05:30
2e7da51024
Add discharge header mode test buttons
2026-08-18 14:15:39 +05:30
80f9487e8f
Show discharge header in HTML debug
2026-08-18 14:11:50 +05:30
8e9fe8fab3
Apply discharge template CSS to print fragments
2026-08-18 14:08:46 +05:30
e0ce677355
Make discharge header field authoritative
2026-08-18 13:58:14 +05:30
0047a0508a
Respect blank discharge template headers
2026-08-18 13:46:35 +05:30
80593ba931
Preserve legacy discharge template headers
2026-08-18 13:40:52 +05:30
2e8304636b
feat(abdm): add digital share records
...
Generate standardized Digital Share PDFs for invoice and diagnostic records, strengthen FHIR document validation and sync handling, and keep task-board submissions AJAX-only.
2026-08-16 17:35:42 +05:30
670f6d3f1f
fix: respect configured discharge template content
2026-08-10 14:58:50 +05:30
4ca463cc1e
feat: add payment editing and fix discharge templates
2026-08-10 14:48:33 +05:30
711b093487
feat: add IPD nursing and discharge permissions
2026-08-10 00:55:18 +05:30
b2926d5a0b
Add discharge diagnosis and narrative template masters
...
Integrate Final Diagnosis with canonical disease master data and add reusable My/Master template CRUD for discharge narrative sections, including summary investigations, course, other advice, and discharge summary.
2026-08-09 19:50:05 +05:30
b39688dade
Fix IPD discharge form interactions
...
Restore surgery and procedure bindings after SPA updates, validate procedure dates without SQL errors, and prevent medicine autocomplete Enter from submitting while preserving layout and autofill.
2026-08-09 19:05:05 +05:30
ea28bfa837
Improve discharge medication template output
...
Render class-only discharge medication tables with salt and medicine advice, and persist generic salt data from medicine search.
2026-08-09 13:45:50 +05:30