Skip to main content

Map MS-DRG v38.1 DRG/MDC numeric codes to their text description

Project description

drg2txt

Mapper for DRG/MDC numeric codes to their text description. Uses MS-DRG v38.1.

Installation

pip install drg2txt

Examples

import drg2txt

[drg2txt.get_drg_description(i) for i in [1, 10, 100]]
>>>
['Heart transplant or implant of heart assist system with MCC',
 'Pancreas transplant',
 'Seizures with MCC']


[drg2txt.get_drg_mdc_description(i) for i in [1, 10, 100]]
>>>
['Has no MDC', 'Has no MDC', 'Diseases and disorders of the nervous system']


[drg2txt.get_mdc_code(i) for i in [1, 10, 100]]
[-1, -1, 1]

Look on original dicts: from drg2txt import drg_descr, drg_mdc, mdc_descr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drg2txt-0.1.0.tar.gz (14.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page