701111b75e
fix(patient): avoid queue_no select on legacy opd_master schema
2026-05-31 21:02:55 +05:30
0ebf8d2a8a
ABDM: enforce PDF-backed report submit and improve gateway tracking
2026-05-31 04:17:39 +05:30
7253fa0cca
Improve radiology template workflow and editor stability
2026-05-30 18:01:20 +05:30
78c23af7e5
Checkpoint: pathology panel modal workflow, gateway component search, and ABDM-style component/print editors
2026-05-30 06:32:30 +05:30
218d7f7e50
fix(pharmacy): calculate invoice unit rate from mrp and packing
2026-05-26 13:21:36 +05:30
298647b80b
fix(pharmacy): finalize product page panel toggle and GST selector behavior
2026-05-26 13:07:46 +05:30
89a4053ede
fix(drug-master): keep search shell visible with nested sub panel
2026-05-26 06:20:56 +05:30
fc2ccc91c2
fix(drug-master): keep add edit flow in medical-main container
2026-05-26 06:15:14 +05:30
4ed366ccb2
feat: commit all pending page and ABDM gateway updates
2026-05-26 06:04:34 +05:30
c97db078a9
fix(product-edit): use short formulation master and manufacturer payload name
2026-05-26 06:02:26 +05:30
e5899e59ac
Fix drug autocomplete to show medicine name over identifiers
2026-05-25 14:38:06 +05:30
0558ac5a2e
Pharmacy: add ABDM drug terminology autocomplete + canonical mapping
2026-05-25 13:57:56 +05:30
12cacc3a9c
Pharmacy drug master: switch to AJAX DataTable search
2026-05-25 12:47:14 +05:30
e15d876a3f
Fix ABDM OPD HMS patient profile link route to person_record
2026-05-25 12:14:23 +05:30
c590087a60
feat(abdm-opd): editable pre-save patient form for Register OPD
2026-05-24 07:16:32 +05:30
b352073ec6
feat(abdm-opd): duplicate-aware Register OPD flow with existing/new patient confirmation
2026-05-24 07:04:42 +05:30
23cca1f9ba
feat(abdm): proper FHIR bundles for lab reports and IPD discharge
...
- FhirR4Builder: rewrite buildLabReportBundle() with DiagnosticReportLab
profile, structured Observation valueQuantity/valueString, reference
ranges, interpretation codes, Binary+DocumentReference for HTML report,
Encounter resource, HFR-based bundle identifier system
- FhirR4Builder: rewrite buildDischargeSummaryBundle() with optional
Practitioner/Organization params, structured ABDM sections (chief
complaints 422843007, medical history 1003642006, investigations
721981007, procedures 1003640003, medications 721912009, follow-up
736271009), HFR-based bundle identifier system
- AbdmGateway: shareIpdDischargeBundle() now builds a real
DischargeSummaryRecord FHIR bundle and posts via pushRecord()
(POST /v3/records/push) instead of the stale shareIpdDischargeBundle()
- AbdmGateway: shareDiagnosisReportBundle() now builds a real
DiagnosticReportRecord FHIR bundle and posts via pushRecord()
instead of the stale shareDiagnosisReportBundle()
- AbdmGateway: add getHospitalProfileForFhir() and mapLabTypeToTitle()
helpers; fix pre-existing undefined \ bug in
getActiveConsentRecord()
- Add ABDM_FHIR reference package, AbdmBridgeLog controller/view,
bridge record migration, debug scripts and misc UI/settings updates
2026-05-23 04:41:59 +05:30
1b6f2c2db7
feat: Add Submit to ABDM button on FHIR bundle preview
...
- POST Opd_prescription/fhir_bundle_submit endpoint:
loads stored FHIR bundle, fetches patient/OPD/doctor context,
calls EAtriaBridgeConnector::pushRecord to push to bridge
- Standalone preview page (/Opd_prescription/fhir_bundle_preview/N):
added Submit to ABDM Bridge button with CSRF-safe AJAX + inline
success/error alert
- FHIR modal in task_board.php: added Submit to ABDM button next
to Copy JSON; JS reads _fhirOpdId/_fhirSessionId and posts to
fhir_bundle_submit with CSRF token refresh
2026-05-22 15:54:13 +05:30
0fe556f37e
fix: preserve doctor original text in FHIR form; add live complaint/diagnosis terms to preview
2026-05-20 03:14:17 +05:30
78060d03c8
feat: FHIR form view — inline diagnosis SNOMED edit + show doctor's original text
2026-05-20 03:02:03 +05:30
70bc85ae0c
fix: restore advice_search() method declaration lost in prior commit
2026-05-20 02:53:48 +05:30
4250000d43
feat: FHIR form view — inline complaint SNOMED edit with live search and save
2026-05-20 02:49:36 +05:30
cd18551ce2
feat: FHIR bundle — use complaint_snomed_json for coded complaints (SNOMED + severity + duration)
2026-05-20 02:08:01 +05:30
32c1dc20e1
feat: Clinical Master workspace — Complaints + Diagnosis edit with SNOMED CT search
2026-05-20 01:25:01 +05:30
e33b0809a0
fix: fhir_bundle_preview returns JSON for AJAX (modal) requests, HTML for direct browser
2026-05-20 00:56:56 +05:30
ed4e7c1fe4
feat: ABDM task board — remove All, rename ABHA Update, add OPD Book + OPD Consult Publish sections
2026-05-20 00:29:00 +05:30
02ec0034d7
fix: stop injecting Diagnosis SNOMED lines into Prescription textarea — data is in diagnosis_json; strip legacy lines on save
2026-05-19 23:46:44 +05:30
e275a20946
fix: remove JS-style \u00a0 from PHP PCRE duration regex (PCRE2 does not support \u)
2026-05-19 22:38:33 +05:30
b702ff6fdc
feat: complaint Extract Codes button with SNOMED chip review panel
...
- Add 'Extract Codes' button to complaint lookup input
- Parse free-text with duration/severity extraction (regex: 3 days, moderate etc)
- Call Opd_prescription/complaints_extract endpoint -> local SNOMED FULLTEXT
- Render inline chip cards: term, concept_id, duration, severity, confidence%
- Doctor clicks confirm (green tick) or reject (red x) per chip in seconds
- Confirm pre-fills duration+severity in complaint table row automatically
- 'Confirm All' bulk action; Dismiss clears panel
- Add complaints_extract controller method + parseComplaintFreeText helper
- Add route Opd_prescription/complaints_extract
2026-05-19 22:30:23 +05:30
a56e8a5776
feat: SNOMED background coding pipeline + ABDM Coding Panel
...
- Add opd_coding_queue + opd_snomed_suggestions migrations
- Add ProcessSnomedCoding spark command (cron: snomed:process-coding)
Extracts clinical phrases, matches local SNOMED FULLTEXT, saves suggestions
- Add AbdmCodingPanel controller: index/review/confirm/reject/correct/mark_fhir_ready/tip_check
- Add coding_panel + coding_panel_review views (Bootstrap 5, AJAX actions)
- Inject queue trigger in opd_prescription_save (fail-open, ON DUPLICATE KEY)
- Add consult form tip badge: polls tip_check 4s after save, shows review link
- Add AbdmCodingPanel routes behind abdm permission filter
- Various ABDM gateway, FHIR, ABHA, SNOMED library updates
2026-05-19 20:40:27 +05:30
0628f8f813
feat: ABDM OPD Queue + ABHA Register flow + patient ABHA search fix
...
ABDM OPD Queue (today):
- New EAtriaBridgeConnector: opdQueueFetch/opdTokenCreate/opdTokenUpdateStatus + patch() helper
- New AbdmOpdQueue controller: index/list/fetchQueue/createToken/updateTokenStatus/processScannedToken
- fetchQueue syncs gateway tokens into abdm_opd_tokens (local DB) and enriches with HMS patient data
- processScannedToken auto-finds/creates patient_master record from ABHA scan data, marks token CALLED
- New migration: abdm_opd_tokens table (gateway_token_id, source, status, patient_id, opd_id, processed_at)
- New view: abdm/opd_queue.php - reception screen with auto-refresh 30s, HMS Patient column (green row when OPD registered)
- Sidebar: ABDM OPD Queue nav link added
- Routes: AbdmOpdQueue with abdmPermFilter
ABHA Register tab (earlier this session):
- New Abha controller: initiate/verifyOtp/communication/verifyCommOtp/validateAbha/card + autoCreateOrFindPatient
- New views: abha/card.php, partials/abha_create_panel.php, partials/abha_otp_modal.php
- Patient_V.php: ABHA Register tab with 4-method wizard (ABHA number, QR scan, facility QR, mobile OTP)
Patient ABHA search fix:
- Patient::search() now detects ABHA column (abha_id/abha_no/abha/abha_address) and searches by it
ABDM Bridge infrastructure:
- EAtriaBridgeConnector: new connector for e-atria.in ABDM bridge gateway
- AbdmConnectorFactory/Interface updated
- AbdmGatewaySettings controller + view
- SNOMED/CSNOTK terminology service skeleton
- Finance payout OPD consult views
- Migration: AddAbdmPushFieldsToOpdAndPatient, CreateSnomedCoreTables
- Docs: abdm/ API specs, architecture, gateway guides
2026-05-16 04:21:31 +05:30
f311d50745
OPD consult: add women history fields, persist in history, update print sections
2026-05-12 12:52:13 +05:30
38a63a628b
abdm: add connector adapter pattern (Interface/Factory/Dreamsoft/Direct) + refactor AbdmGateway
2026-05-08 23:10:24 +05:30
5d5c9656ea
billing: improve patient name display on consult form and history page
2026-05-08 13:49:37 +05:30
fbb03a6abb
billing: redesign ABHA wizard, enhance patient info panels and consult page photo/layout
2026-05-08 13:29:57 +05:30
3c4dff6285
Improve doctor document workflow and print performance
2026-05-06 02:06:18 +05:30
be6f0cd6d0
Set OPD appointment list default order to descending
2026-05-05 22:56:57 +05:30
7ab37ad80d
Finance: separate OPD Consult and Doctor Charges payout screens; compact dashboard cards; add IPD payout tracking migration
2026-05-01 21:02:57 +05:30
44dee3e3d5
Show IPD payout pool as invoice-level rows under IPD grouping
2026-04-30 02:09:26 +05:30
ced87420b4
Remove payout invoice column and align datatable ordering for grouped pool
2026-04-30 02:05:07 +05:30
e72e5590ff
Fix invoice table date filtering to return matching rows
2026-04-30 01:58:19 +05:30
36d3fa843b
Implement medical store credit payout workflow and optimize payout pool DataTable grouping
2026-04-30 01:42:03 +05:30
ec6ceaea98
Add dedicated Save Settings button for user preferences
...
- Add separate Save Settings button below User Settings card
- Create myProfileSaveSettings controller method for dedicated settings save
- Settings save endpoint: POST /my-profile/save-settings
- Validates sidebar_auto_hide_seconds (0-60 range)
- Provides immediate feedback: success/error message display
- Separate from profile photo and password updates
- Message auto-hides after 2 seconds on success
2026-04-28 13:54:46 +05:30
5717763496
Add user-based sidebar auto-hide setting, movable from hospital default
...
- Create user_settings table to store individual user preferences
- UserSettings model for get/set/delete user setting values
- Home::myProfile loads user settings with hospital defaults fallback
- Home::myProfileSave persists user settings to DB
- my_profile.php adds Sidebar Auto-Hide Delay field (0-60 seconds)
- welcome_message.php checks user settings first, then hospital default
- Setting value 0 = auto-hide disabled; blank = use hospital default
- Extensible table design for future user settings (color theme, etc)
2026-04-28 13:47:46 +05:30
0aa0edbbce
Fix OPD confirm payment flow and DataTable initialization
...
- Opd.php: mode-0 (zero amount) no longer inserts payment_history row
and skips HealthPlix sync for faster confirm
- Opd.php: added spid-based idempotency for cash/card to prevent
duplicate payment_history rows on retry
- Opd.php: invoice view hides 0-amount payment_history rows
- opd_appointment_list.php: fix isDataTable call (DataTable -> dataTable)
- jquery.dataTables.min.js: replace non-functional shim with real
DataTables 1.13.8 (supports ext.search, isDataTable, rows() API)
2026-04-28 12:01:53 +05:30
baba5521dd
Fix dashboard and OPD counts for DATETIME appointment_date
2026-04-28 11:23:06 +05:30
5226fde8a0
Fix OPD appointment datetime display and date filtering
2026-04-28 10:59:04 +05:30
6a5519388e
Make HealthPlix Doctor Identifier field optional in Doctor Master
2026-04-28 08:22:00 +05:30
bd274a3fc3
Add OPD appointment time capture and storage with date+time display
2026-04-28 07:59:47 +05:30
cef10f70e1
Reflect actual HealthPlix fetch secret save state
2026-04-28 07:40:22 +05:30