Parser for FTS files that accompany CMS data from ResDac
See also What is FTS for more details about FTS
Table of Contents
The parser tries to recognize a type of a medicare or a medicaid CMS file and extract metadata
Concrete subclass describing Medicare FTS file
- class MedicareFTS(type_of_data: str)[source]
Bases:
CMSFTS
Subclass describing Medicare data file (usually, FWF dat file)
- Parameters
type_of_data¶ – Can be either ps for personal summary or ip for inpatient admissions data
Concrete subclass describing Medicaid FTS file
Abstract class describing a column in a CMS data file
- class FTSColumn(order, column, c_type, c_format, c_width, label)[source]
Bases:
object
Metadata object for a column described in FTS file
A column can be either a CSV or fixed width (fwf) column
Concrete subclass describing a column in a Medicare data file
- class MedicareFTSColumn(order: int, long_name: str, short_name: str, type: str, start: int, width, desc: str)[source]
Bases:
FTSColumn
Subclass for a column in medicare files
- nattrs = 7