The data set MedicareCharges defines the variable drg as a Direct Recovery Group, but DRG in this context is actually an acronym for Diagnostic Related Group (see https://hmsa.com/portal/provider/zav_pel.fh.DIA.650.htm). In addition, the help file mentions the data set DirectRecoveryGroups which is not included in package mdsr.
Presumably the data sets MedicareCharges and MedicareProviders are taken from package DataComputing, where one also finds DirectRecoveryGroups. Of course DirectRecoveryGroups should be renamed to DiagnosticRelatedGroups, and material in data.R should be modified accordingly.
The data set
MedicareCharges
defines the variabledrg
as a Direct Recovery Group, but DRG in this context is actually an acronym for Diagnostic Related Group (see https://hmsa.com/portal/provider/zav_pel.fh.DIA.650.htm). In addition, the help file mentions the data setDirectRecoveryGroups
which is not included in package mdsr.Presumably the data sets
MedicareCharges
andMedicareProviders
are taken from package DataComputing, where one also findsDirectRecoveryGroups
. Of courseDirectRecoveryGroups
should be renamed toDiagnosticRelatedGroups
, and material indata.R
should be modified accordingly.