Commit Graph

1263 Commits

Author SHA1 Message Date
51c06304d0 fix(billing & pharmacy): fix IPD medical bill package classification, default empty qty, and doctor ajax selection
- IPD Billing: replace ambiguous 'In Package' switch with explicit 'Include in IPD Bill (Normal)' / 'In Package (Covered)' dropdown selector in Medical Bills and Package tabs
- IPD Billing: return recalculated summary metrics from credit-type endpoint and update dashboard cards in real-time
- Pharmacy: classify IPD bills using ipd_credit_type instead of group_invoice_id to correctly show Package: No for credit bills and add to Total Credit
- Pharmacy Billing: default item quantity to blank instead of 0 to allow direct typing without backspacing, with validation against 0/empty submissions
- Pharmacy Invoice: add outside doctor/consulting doctor selection and auto-save via AJAX
2026-10-25 14:15:42 +05:30
6cc34057b5 fix(abdm): capture patient-modified consent dates, fix premature expiry, and update consent UI labels
- Extract and contrast both requested and patient-granted date ranges and eraseAt timestamps from ABDM consent artefacts
- Fix premature session expiration when patient grants longer consent validity than initially requested by HIU
- Update UI labels from Valid From / Valid To to Request From / Request To and Consent Valid Upto
- Show original requested dates struck-through and granted dates highlighted with Updated badges in consent detail modals
- Add visual indicators for patient-modified dates in consent requests tables
2026-10-25 06:39:25 +05:30
43d52163ab fix(abha-create): handle and sanitize upstream ABDM 500 error on address suggestions gracefully 2026-10-24 13:09:50 +05:30
5f9784d7ec feat(abdm & schema): drop patient_master.p_lname and add abha address selector to M1 verify flow 2026-10-24 12:56:13 +05:30
e946000fb9 Allow editing GRN Inspection Details with full item reconciliation and live inventory synchronization 2026-10-23 14:10:31 +05:30
9236ff1da9 fix(abdm): ensure m2LinkInit captures all careContexts and resolves accurate gender 2026-10-23 10:34:23 +05:30
42241beceb docs(abdm): add care context and FHIR standards documentation and agent rules 2026-10-23 09:53:56 +05:30
45f1888227 fix(abdm): preserve structured care context reference in patient referenceNumber during linking 2026-10-23 09:51:31 +05:30
e93ebf7bf6 fix(abdm): support multi-careContext patient array in m2LinkInit 2026-10-23 01:37:58 +05:30
c0196b7e9f fix(abdm): isolate discovery by pending links, session mapping, and historical era cutoff 2026-10-23 00:54:41 +05:30
e4bb4e3464 fix(abdm): partition care context discovery and linking by ABHA address 2026-10-23 00:42:39 +05:30
5219b8bfc6 fix: strictly enforce IP restriction, fix empty whitelist fallback, and update SW to v2 2026-10-22 15:33:26 +05:30
1bd8f57371 fix: explicitly set HTTP 200 on live queue success response 2026-10-22 15:22:27 +05:30
0020d0676c feat(security): restrict /app/queue and live OPD token feed to authorized hospital IPs (WASA CWE-200 remediation) 2026-10-22 15:19:28 +05:30
7547d00bb4 feat(security): place login throttle before CSRF and add visual CAPTCHA verification to login form 2026-10-22 14:45:04 +05:30
61b8bf6a71 feat(medical): use dynamic pharmacy name and hospital branding in GRN and PO print PDFs 2026-10-22 11:16:33 +05:30
9acc580fb7 fix(medical): resolve dynamic container target for Edit Invoice and master edit navigation 2026-10-22 11:06:59 +05:30
deea6529f7 Fix HTTP 500 on GRN view/edit: add self-healing schema migration and null-safe view rendering 2026-10-22 10:44:27 +05:30
09cd46d344 Fix GST calculations and synchronize GRN & Purchase Invoice columns with vendor bill structure 2026-10-22 09:58:04 +05:30
367f63f4f3 Fix WASA observations 5 and 6: user enumeration and login rate limiting 2026-10-21 18:00:25 +05:30
def0d4c80f fix(abdm): include patient_ref and local_patient_id in task pushData 2026-10-21 14:30:19 +05:30
6a247fdb63 fix(abdm): enforce strict ABHA uniqueness and demographic validation on patient linking 2026-10-21 13:59:29 +05:30
4f9f257923 fix(abdm): set link_status to linked on successful push and pass patient_ref 2026-10-21 13:00:56 +05:30
41c70c0151 fix(abdm): provide separate Document Reference section in InvoiceRecord so PHR renders DocumentReference accordion card with embedded PDF 2026-10-21 04:36:54 +05:30
2f0595a3a3 fix(abdm): section.entry should only hold Invoice and DocumentReference without Binary so PHR carousel renders document card 2026-10-21 03:53:46 +05:30
c54cde814c fix(abdm): enforce single section in InvoiceRecord Composition per NRCeS spec so DocumentReference and PDF attach to PHR 2026-10-21 03:40:48 +05:30
5ba548cbbc fix(abdm): enforce NRCeS ISO 8601 with Asia/Kolkata timezone offset across FHIR bundles and ABDM APIs to resolve midnight UTC date mismatch 2026-10-21 03:19:00 +05:30
dfd546b2c2 chore: add dev/ directory to .gitignore for local development tools and notes 2026-10-21 02:00:59 +05:30
050035e1b0 chore: untrack local dev debug scripts and internal notes from repository, update .gitignore 2026-10-21 01:57:44 +05:30
9d568463f1 feat: completely remove HealthPlix integration, controllers, views, and database columns 2026-10-21 01:33:13 +05:30
df2e41c9a4 docs: update repository URLs to Gitea and add deployment pull guide 2026-10-21 01:21:29 +05:30
d098221676 fix(abdm): unify medication request FHIR representation across OPD and discharge (generic salt subtitle, SNOMED food timing, and natural dosage instructions) 2026-10-19 23:06:12 +05:30
a454bd178c fix(abdm): finalize and sync OPD consult and prescription FHIR bundles only on print 2026-10-19 18:53:58 +05:30
ca7d7be953 Update DataTables to 1.13.11 2026-10-19 17:53:35 +05:30
c548c0dce3 Fix WASA security observations: security headers, CSP hardening, JS library updates, API authentication, and data scrubbing 2026-10-19 16:27:17 +05:30
8cbf55537f feat(pharmacy): implement Purchase Orders (PO) and Inward Goods Received Notes (GRN) workflow 2026-10-19 15:48:53 +05:30
65a071928c fix(abdm): force fresh discharge PDF generation and add column safety to byIpdRows 2026-10-19 11:13:20 +05:30
6f3b2a62d9 fix(abdm): populate salt and generic name in IPD discharge medication FHIR resources
- Populate generic salt name in MedicationRequest medicationCodeableConcept.coding[0] to prevent PHR apps displaying 'NA' subtitle
- Retain brand name in medicationCodeableConcept.text and secondary coding
- Extract med_salt from prescription records with automatic resolution from medicine masters and formulation heuristics
- Update discharge PDF and narrative to render generic salt names
- Add unit tests verifying generic salt mapping and dual coding in FHIR bundle
2026-10-19 10:16:05 +05:30
9272bb5a9c docs: add session handover for ABDM IPD discharge summary lifecycle 2026-10-17 13:19:20 +05:30
ab4b68b968 fix(abdm): allow CLI force resync in abdm:resync-discharge 2026-10-17 13:15:45 +05:30
fdd188df6e fix(abdm): generate physical exam observations, extract comorbidities, and trigger FHIR sync only on final discharge 2026-10-17 13:13:46 +05:30
0344561808 fix(abdm): deduplicate chief complaints and medical history, fix medication coding to NRCES spec, and resilient instruction parsing 2026-10-17 03:24:22 +05:30
0af2d557b2 Prefer English food_desc for CarePlan dietary advice in FHIR bundle 2026-10-17 02:49:28 +05:30
8a0396a2c8 Fix record_data column in resync-discharge 2026-10-17 02:48:42 +05:30
a6dd1f7a19 Fix gateway db credentials in resync-discharge 2026-10-17 02:48:11 +05:30
fed5f81296 Enhance resync-discharge with detailed gateway record verification 2026-10-17 02:47:45 +05:30
1290ac2bd8 Make enqueueIpdDischargeSync public with defaults 2026-10-17 02:46:37 +05:30
5cbc5b6743 Add abdm:resync-discharge command 2026-10-17 02:45:40 +05:30
a363e2d0a5 Fix discharge FHIR record full data: medications SNOMED 721912009, dietary advice care plan, and full PDF attachment 2026-10-17 02:44:32 +05:30
7dce405942 fix(security): exempt records/* and v3/* from CSRF filter for bridge communication 2026-10-17 01:42:19 +05:30