There are better solution these days, use i.e. structlog
Map MS-DRG v38.1 DRG/MDC numeric codes to their text description