# AHRQ CCSR diagnosis and procedure mappings

`medicare_silver.ahrq_ccsr_mapping` · Medicare Advantage, Part D, Medicaid · status live · 5,851,110 rows

Public AHRQ diagnosis and procedure CCS/CCSR history at native multi-category relationship grain, including inpatient/outpatient defaults, source descriptions, category ranks, clinical domains, and row-level lineage.

**Grain.** One row per observed release, source code, CCSR category relationship, and category rank.

| column | type | meaning |
|---|---|---|
| release_version | string |  |
| schema_era | string |  |
| code_system | string |  |
| code | string |  |
| code_description | string |  |
| category_code | string |  |
| category_description | string |  |
| relationship_type | string |  |
| category_rank | int |  |
| clinical_domain | string |  |
| source_asset_id | string |  |
| source_member | string |  |
| source_row_number | bigint |  |
| raw_row_json | string |  |
| quality_flags | string |  |
| is_analytics_eligible | boolean |  |
| observed_period | date |  |
| asserted_at | date |  |
| effective_period_start | date |  |
| effective_period_end | date |  |
| cms_vintage_sequence | int |  |
| parse_revision | int |  |
| parser_artifact_hash | string |  |
| source_url | string |  |
| sha256_content_hash | string |  |
| source_id | string |  |
| is_current | boolean |  |
| bronze_object_key | string |  |
| s3_version_id | string |  |
| vintage_tag | string |  |
| drug_source_version_id | string |  |

Query it: `query_substrate` with `SELECT ... FROM medicare_silver.ahrq_ccsr_mapping WHERE ... LIMIT 100`; read `describe_data_source("medicare_silver.ahrq_ccsr_mapping")` first.
