Convert MSDRGs into a "base DRG" and complication level
character vector of MSDRG descriptions, e.g. MSDRGDSC
logical; if TRUE will remove age descriptions
This function is not robust to different codings of complication in DRG descriptions. If you have a coding other than "W CC" / "W MCC" / "W CC/MCC" / "W/O CC" / "W/O MCC", please file an issue on Github and we'll try to add support for your coding.
a tibble with three columns: msdrg: the input vector, base_msdrg, and msdrg_complication
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.