Commit Graph
4 Commits
Author SHA1 Message Date
Abhinav Gupta 536334f9ef fix(clinical-coding): achieve 100% precision across oncology, urology, hepatology, and medicine discharge summaries
- Concept Reasoning & Match Spec:
  - Add 'ampullary_malignancy' family mapping to C24.1 and prevent morphology family prefix from colliding with Chapter 13 bone disorders
  - Add 'acute_kidney_injury' family mapping to N17.9/N17
  - Add 'cbd' -> 'common bile duct' expansion in clinical abbreviation lexicon

- Clinical Gate & Extraction:
  - Strengthen Check 00c, 00e, 00f to filter radiological measurement text, non-diagnostic fat stranding/thickening, and lab prefixes
  - Expand is_symptom_integral_to_primary under CMS Guideline I.B.4 to encompass respiratory viral illness symptoms (cough, coryza, weakness) and GI/biliary symptoms (jaundice, biliary obstruction/stricture)
  - Broaden intra-abdominal lymph node regex to support varying word orders and nodal sites across all oncology protocols
  - Add subsumption rule for biliary obstruction / CBD stricture under primary ampullary/pancreatic malignancies

- Attributes & Validation:
  - Expand ReverseAttributeChecker obstruction stems to include full inflections ('obstruction', 'obstructive', 'obstructed') preventing invalid downgrades of N13.2 to N13.30
  - Preserve document-level abstentions in CodingResult model validator and deduplication loop when raw_term is None
  - Include cpt_5digit provenance in verified procedure formatting
2026-10-15 22:27:20 +05:30
Abhinav Gupta 72d0da1c22 feat(pipeline): complete healing and hardening of clinical reasoning and matching pipeline
- Implement soft dimensional compatibility and 3-way attribute logic (SUPPORTED, CONTRADICTED, UNKNOWN)
- Replace binary hardwall rejection with nuanced compatibility scoring
- Isolate context per diagnosis to prevent cross-condition contamination (MD Sec 41)
- Generalize disease families (liver sarcoma, net, asthma, acl) and category priors
- Add regex word boundary acuity checking and laterality alignment scoring in ranker
- Fix candidate sort by sorting on unconstrained multi-factor raw score before output clamping
- Preserve zero-modification immutability of local Database_2.xlsx
- Pass 100% of full regression test suite (158/158 tests) and ruff linting
2026-10-06 14:43:16 +05:30
Abhinav Gupta d3b000cb7c feat: integrate local multi-system Database (ICD-10-CM, ICD-O, CPT), add cross-platform installers & dedicated runners 2026-10-03 10:15:18 +05:30
Abhinav Gupta 9ed0318b19 feat: initial commit of Agentic ICD-10-CM Autonomous Code Matcher with 10-node LangGraph pipeline, deterministic guardrails, and professional documentation 2026-10-02 23:40:12 +05:30