ICD-10 codes have a shape — a letter, two digits, then an optional decimal extension — and the extension is what marks a code billable. Generate both real codes and structurally valid patterns to test a terminology service against each.
What you can control
- Fifteen genuine ICD-10-CM codes with their official descriptions.
- A structural mode produces valid-shaped codes that no terminology server will recognise, for testing the not-found path.
- CPT-style procedure codes and SNOMED-style concept IDs for systems that use more than one vocabulary.
- The chapter column maps the leading letter to its ICD chapter, for grouping and filtering.
Testing ideas
- Real codes. Common-diagnoses mode returns genuine ICD-10-CM codes with descriptions for display and search tests.
- Not-found path. Structural mode returns valid-shaped codes that are not in the code set, for testing lookups that fail.
- Billable flags. Mark billable codes to test claims validation that rejects category-level codes.
- Other vocabularies. CPT-style and SNOMED CT-style IDs test systems that store several code systems side by side.
What this is not
Only the common-diagnoses mode returns real codes. The structural mode produces patterns that look right and mean nothing, which is deliberate — that is the case a terminology lookup needs to handle.