Commit Graph

129 Commits

Author SHA1 Message Date
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
a454bd178c fix(abdm): finalize and sync OPD consult and prescription FHIR bundles only on print 2026-10-19 18:53:58 +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
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
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
e41e6bd96f fix(abdm): enforce granted hi_types and dateRange, check live consent status before fetch, safe json parsing 2026-10-16 13:38:53 +05:30
39017a43cf feat(abdm): enforce consent expiration, request-specific printing, and push sync enhancements 2026-10-09 17:38:51 +05:30
b0a5338152 feat(abdm): restore M3 data fetch for self and same entity with multi-facility support 2026-10-08 20:04:59 +05:30
e5b80c75c5 revert: reverse M3 fetch records for same entity / self that caused website hang 2026-10-08 19:45:12 +05:30
c8baa82059 Fix M3 fetch records to retrieve and display health data from same entity and external entities 2026-10-08 17:54:47 +05:30
e2974ec719 fix(abdm): persist HIP link status to db and sync patient profile verification badge 2026-10-08 17:05:45 +05:30
8fb03b3c8f fix(abdm): resolve discharge fhir preview ipd_id and remove synchronous blocking push on discharge save 2026-10-08 14:28:03 +05:30
c76ad4e8bd fix(abdm): ensure lab, radiology, and health document tasks load FHIR bundles and push to bridge 2026-10-08 14:08:34 +05:30
d826f3e072 fix(abdm): expand health_records local link query to match by patient reference and abha 2026-10-08 13:12:46 +05:30
3876a7444e fix(abdm): exclude local_only health_records stubs from care context discovery 2026-10-08 13:00:13 +05:30
0e8cc1fd41 fix(abdm): fix abdm_work_tasks column selection in hipPatientCareContexts 2026-10-08 12:59:32 +05:30
0939cb9ec1 fix(abdm): unify imaging lab types to RAD prefix, merge local record_links into linkedRefs, and prevent pending push queue starvation 2026-10-08 12:55:42 +05:30
18505968bd feat(abdm): add automatic invoice linking and syncOpenInvoices for OPD consultation fees and charge invoices 2026-10-08 12:46:12 +05:30
b3e7a2175f fix(abdm): make FHIR creation async local-only in web requests, auto-link every minute via cron, disable cooling delay 2026-10-08 12:30:47 +05:30
6b1cf04198 fix(abdm): use due_date instead of non-existent scheduled_date in immunization_records query in recordsFetch 2026-10-08 11:14:34 +05:30
1a5bb0efdf fix(abdm): dynamically format ImmunizationRecord display with vaccine name and date in recordsFetch 2026-10-08 11:12:48 +05:30
25ded76a45 fix(abdm): improve care_context_display propagation for immunization in health_records and recordsFetch 2026-10-08 11:11:52 +05:30
f08f7d7c2d fix(abdm): handle response cleanly in autoPushRecord and update immunization_records push status 2026-10-08 11:08:50 +05:30
75e3a820cc fix(abdm): unify immunization payload, resolve CC IMM-53, add on-demand fetch and sync bundle 2026-10-08 11:07:08 +05:30
c9f378870e fix(abdm): define dateStr in health_records loop of findCareContextsForPatient 2026-10-08 10:26:43 +05:30
d949eca6a8 fix(abdm): add __construct to AbdmGateway to initialize db and connector 2026-10-08 10:23:59 +05:30
7d92e542ba feat(abdm): auto-link care contexts on print and record save without modal 2026-10-08 10:20:30 +05:30
204b5f22c6 feat(abdm): make recordsFetch body and reference parsing fully resilient 2026-10-08 09:56:48 +05:30
e8a2cf2cf3 feat(abdm): send care context reference in patient reference field for PHR app clarity 2026-10-08 09:48:15 +05:30
24abc51dea fix(abdm): omit single top-level hi_type when linking mixed care context batches 2026-10-08 09:39:21 +05:30
e86e73d792 fix(abdm): isolate care context hi_types during linking and prevent multiple DocumentReference in DiagnosticReport 2026-10-08 09:34:34 +05:30
a72ab50777 fix(abdm): align OPConsultRecord vs PrescriptionRecord bundles, separate OPD consultation from prescription discovery, and clean FHIR presentation 2026-10-08 09:01:05 +05:30
5130c6b18a fix(abdm): sanitize care context display, fix discharge care_context_reference and bundle generation, fix taskboard sync patientId 2026-10-07 17:59:14 +05:30
6f5d3113b6 fix(wellness): remove SNOMED 419891008 from Composition.type to avoid PHR app displaying HealthDocumentRecord 2026-10-07 16:07:48 +05:30
a44256b530 fix(abdm): replace ampersand and slashes in careContextDisplay to prevent ABDM-9999 Invalid display 2026-10-07 15:53:04 +05:30
bd02f895c5 fix(abdm): resolve wellness patient mismatch in fetch, sugar LOINC codes, duplicate notifications and hi_type mapping 2026-10-07 14:20:41 +05:30
db76ad9759 fix(abdm): resolve patient flipping, duplicate document contexts, and health document FHIR fetch 2026-10-07 13:24:05 +05:30
0fe48f2ec8 feat(abdm): show health documents in HIP link modal and create dedicated ABHA Filter & FHIR Inspector page 2026-10-07 12:16:56 +05:30
a3537c0b29 feat(abdm): enable proactive ABDM bridge push and gateway linking for nursing wellness records 2026-10-07 11:50:51 +05:30
0b1d545a3c fix(abdm): enhance m2HealthInformationFetch and assembleFhirBundleForCareContext for standalone wellness records 2026-10-07 09:56:52 +05:30
49f6a8327d fix(abdm): select entity_type in health_records to discover standalone wellness care contexts 2026-10-07 09:50:16 +05:30
86dc076f5d fix(nursing): auto-create patient_wellness_records, generate full NRCES FHIR bundle on save, and discover standalone wellness care contexts 2026-10-07 09:47:23 +05:30
04eff5e5ba Standardize OPD care context formatting and prevent duplicate session aliases 2026-10-06 16:59:39 +05:30
e2bb0b107a fix(abdm): enrich OPD and INVOICE care contexts with clinical components and bill summary 2026-10-06 16:49:15 +05:30
f367603962 fix(abdm): unify consult visit into single OPConsultRecord bundle and auto-sync on print 2026-10-06 16:40:30 +05:30
d46f222fa3 fix(abdm): set default sandbox linking OTP to 654321 and accept both 654321 and 123456 2026-10-06 15:46:50 +05:30