shah-in-boots/card

Procedural codes integration

Opened this issue · 0 comments

Procedural codes by CMS need to be integrated into the package dataset such they can be evaluated and selected for in claims-based data.

Overarching aims for procedural code additions:

  • Inclusion of 2023 (or most recent) updated ICD and CPT/HCPCS code lists into internal package data, along with internal documentation of procedural codes
  • Function to generate procedural dataset safely with pipe-friendly approaches for code extraction
  • Cardiovascular-focused code extraction to help simplify data mining tasks

Specific tasks:

  • procedure_codes() function generates appropriate procedural codes
  • update procedure_codes() with previous years of data (although weary of data size)
  • code_to_description() function converts codes appropriately to their descriptive version (as strings)
  • Document the types of procedures and diagnostic codes that are covered