{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-other-icd10-cpt-coding-assistant-f7ef3e2e7fd8","title":"ICD-10 & CPT Coding Assistant for Clinical Notes","summary":"Parse clinical notes to recommend ICD-10 diagnosis codes and CPT procedure codes with confidence scoring. Supports SOAP notes, discharge summaries, and progress notes. Requires human review for compliance and accuracy.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-icd10-cpt-coding-assistant-f7ef3e2e7fd8","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-icd10-cpt-coding-assistant-f7ef3e2e7fd8","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-icd10-cpt-coding-assistant-f7ef3e2e7fd8.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-icd10-cpt-coding-assistant-f7ef3e2e7fd8\/download","category":{"slug":"data-research","name":"Data & Research"},"editor_note":"Ensure de-identification of PHI before processing. Maintain an audit trail of automated recommendations. All codes must be reviewed and approved by qualified personnel.","instructions":"---\nname: icd10-cpt-coding-assistant\ndescription: Parse clinical notes and recommend ICD-10-CM diagnosis codes and CPT procedure codes with confidence scoring. Cross-references diagnoses with procedure codes, generates alternatives for medium-confidence matches, and produces structured coding reports with human-review flags.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n# ICD-10 & CPT Coding Assistant\n\nA medical coding assistant that parses clinical notes and recommends appropriate ICD-10 diagnosis codes and CPT procedure codes with confidence scoring.\n\n## Quick Check\n\nUse this command to verify that the packaged script entry point can be parsed before deeper execution.\n\n```bash\npython -m py_compile scripts\/main.py\n```\n\n## Audit-Ready Commands\n\nUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.\n\n```bash\npython -m py_compile scripts\/main.py\npython scripts\/main.py --help\npython scripts\/main.py --input \"Audit validation sample with explicit symptoms, history, assessment, and next-step plan.\" --format json\n```\n\n## When to Use\n\n- Recommending ICD-10 diagnosis codes from clinical documentation\n- Suggesting CPT procedure codes for billing and documentation\n- Cross-referencing diagnoses with procedure codes\n- Quality-checking existing code assignments\n\n## Workflow\n\n1. **Parse clinical note** \u2014 Input: clinical note text (free-text, SOAP, discharge summary, progress note) \u2192 extract diagnoses, procedures, symptoms \u2192 Output: structured clinical entities\n2. **Map to ICD-10-CM** \u2014 Match diagnoses to ICD-10 codes \u2192 compute confidence scores (0.0-1.0) \u2192 generate alternatives for medium-confidence codes \u2192 Output: ICD-10 recommendation list with evidence\n3. **Map to CPT** \u2014 Match procedures\/services to CPT codes \u2192 determine E\/M level if applicable \u2192 Output: CPT recommendation list with time\/complexity\n4. **Filter by confidence** \u2014 Apply `--confidence-threshold` (default 0.7) \u2192 separate high\/medium\/low confidence recommendations \u2192 \u26d4 Checkpoint: Present low-confidence codes (<0.7) to user for manual review; confirm all codes before output \u2192 Output: filtered code set\n5. **Generate report** \u2014 Format as JSON or text per `--format` flag \u2192 include evidence trail, alternatives, and human-review flags \u2192 Output: final coding report\n\n## Overview\n\nThis skill analyzes clinical documentation to extract relevant medical information and map it to standardized coding systems:\n\n- **ICD-10-CM**: International Classification of Diseases, 10th Revision, Clinical Modification (diagnosis codes)\n- **CPT**: Current Procedural Terminology (procedure\/service codes)\n\n## Technical Difficulty: **HIGH** \u26a0\ufe0f\n\n> **\u26a0\ufe0f HUMAN REVIEW REQUIRED**: Medical coding directly impacts billing, reimbursement, and clinical documentation. All recommendations must be verified by a certified medical coder or healthcare provider.\n\n## Usage\n\n```text\npython scripts\/main.py --input \"clinical_note.txt\" [--format json|text]\n```\n\nOr use programmatically:\n\n```python\nfrom scripts.main import CodingAssistant\n\nassistant = CodingAssistant()\nresult = assistant.analyze(\"Patient presents with acute bronchitis...\")\nprint(result.icd10_codes)\nprint(result.cpt_codes)\n```\n\n## Parameters\n\n| Parameter | Type | Default | Required | Description |\n|-----------|------|---------|----------|-------------|\n| `--input`, `-i` | string | - | Yes | Path to clinical note file |\n| `--format`, `-f` | string | json | No | Output format (json, text) |\n| `--output`, `-o` | string | stdout | No | Output file path |\n| `--confidence-threshold` | float | 0.7 | No | Minimum confidence score (0.0-1.0) |\n| `--include-alternatives` | flag | false | No | Include alternative code suggestions |\n\n## Input Format\n\nAccepts clinical notes in various formats:\n- Free-text narrative\n- SOAP notes (Subjective, Objective, Assessment, Plan)\n- Discharge summaries\n- Progress notes\n- Procedure reports\n\n## Output Format\n\n### ICD-10 Recommendations\n```json\n{\n  \"icd10_codes\": [\n    {\n      \"code\": \"J20.9\",\n      \"description\": \"Acute bronchitis, unspecified\",\n      \"confidence\": 0.92,\n      \"evidence\": [\"cough for 5 days\", \"wheezing on exam\"],\n      \"alternatives\": [\"J20.0\", \"J44.9\"]\n    }\n  ]\n}\n```\n\n### CPT Recommendations\n```json\n{\n  \"cpt_codes\": [\n    {\n      \"code\": \"99213\",\n      \"description\": \"Office visit, established patient, moderate complexity\",\n      \"confidence\": 0.85,\n      \"evidence\": [\"detailed history\", \"low complexity decision making\"],\n      \"time\": \"20 minutes\"\n    }\n  ]\n}\n```\n\n## Confidence Scoring\n\n- **0.90-1.00**: High confidence - Clear documentation, unambiguous mapping\n- **0.70-0.89**: Medium confidence - Good documentation, some interpretation required\n- **0.50-0.69**: Low confidence - Incomplete documentation, multiple possibilities\n- **<0.50**: Very low confidence - Insufficient information, manual review essential\n\n## Limitations\n\n1. **No Medical Advice**: This tool does not provide clinical advice or diagnoses\n2. **Coding Complexity**: Cannot handle all coding nuances (comorbidities, sequencing, modifiers)\n3. **Regional Variations**: May not account for payer-specific coding requirements\n4. **Updates**: Code sets may not reflect the latest annual updates\n\n## References\n\nSee `references\/` folder for:\n- `icd10_common_codes.json`: Frequently used ICD-10 codes by specialty\n- `cpt_common_codes.json`: Frequently used CPT codes by specialty\n- `coding_guidelines.md`: General coding guidelines and conventions\n\n## Safety & Compliance\n\n- **HIPAA Awareness**: Ensure de-identification of PHI before processing\n- **Audit Trail**: Maintain records of automated recommendations for compliance\n- **Human Oversight**: All codes must be reviewed and approved by qualified personnel\n\n## Dependencies\n\n- Python 3.8+\n- See `requirements.txt` for package dependencies\n\n## Risk Assessment\n\n| Risk Indicator | Assessment | Level |\n|----------------|------------|-------|\n| Code Execution | Python\/R scripts executed locally | Medium |\n| Network Access | No external API calls | Low |\n| File System Access | Read input files, write output files | Medium |\n| Instruction Tampering | Standard prompt guidelines | Low |\n| Data Exposure | Output files saved to workspace | Low |\n\n## Security Checklist\n\n- [ ] No hardcoded credentials or API keys\n- [ ] No unauthorized file system access (..\/)\n- [ ] Output does not expose sensitive information\n- [ ] Prompt injection protections in place\n- [ ] Input file paths validated (no ..\/ traversal)\n- [ ] Output directory restricted to workspace\n- [ ] Script execution in sandboxed environment\n- [ ] Error messages sanitized (no stack traces exposed)\n- [ ] Dependencies audited\n\n## Prerequisites\n\n```text\n# Python dependencies\npip install -r requirements.txt\n```\n\n## Evaluation Criteria\n\n### Success Metrics\n- [ ] Successfully executes main functionality\n- [ ] Output meets quality standards\n- [ ] Handles edge cases gracefully\n- [ ] Performance is acceptable\n\n### Test Cases\n1. **Basic Functionality**: Standard input \u2192 Expected output\n2. **Edge Case**: Invalid input \u2192 Graceful error handling\n3. **Performance**: Large dataset \u2192 Acceptable processing time\n\n## Lifecycle Status\n\n- **Current Stage**: Draft\n- **Next Review Date**: 2026-03-06\n- **Known Issues**: None\n- **Planned Improvements**: \n  - Performance optimization\n  - Additional feature support\n\n## Output Requirements\n\nEvery final response should make these items explicit when they are relevant:\n\n- Objective or requested deliverable\n- Inputs used and assumptions introduced\n- Workflow or decision path\n- Core result, recommendation, or artifact\n- Constraints, risks, caveats, or validation needs\n- Unresolved items and next-step checks\n\n## Error Handling\n\n- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.\n- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.\n- If `scripts\/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.\n- Do not fabricate files, citations, data, search results, or execution outcomes.\n\n## Input Validation\n\nThis skill accepts requests that match the documented purpose of `icd10-cpt-coding-assistant` and include enough context to complete the workflow safely.\n\nDo not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:\n\n> `icd10-cpt-coding-assistant` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\n\n## Response Template\n\nUse the following fixed structure for non-trivial requests:\n\n1. Objective\n2. Inputs Received\n3. Assumptions\n4. Workflow\n5. Deliverable\n6. Risks and Limits\n7. Next Checks\n\nIf the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.\n","use_cases":["Recommending ICD-10 diagnosis codes from clinical documentation","Suggesting CPT procedure codes for billing and documentation","Cross-referencing diagnoses with procedure codes","Quality-checking existing code assignments"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Other\/icd10-cpt-coding-assistant\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-26","created_at":"2026-11-24T15:00:48.000000Z","updated_at":"2026-11-26T09:25:02.000000Z","seo_title":"ICD-10 & CPT Coding Assistant for Clinical Notes","seo_description":"Parse clinical notes to recommend ICD-10 diagnosis codes and CPT procedure codes with confidence scoring. Supports SOAP notes, discharge summaries, and progress notes. Re","seo_keywords":["ICD-10 coding assistant","CPT code recommendation","clinical note parser","medical coding tool","diagnosis code generator"]}}