Result of a dem.txt output from RPDR loaded into a data table in R using load_dem().
**NOTE**: Due to potential issues with PHI and PPI, the example datasets can be downloaded from the Partners Gitlab repository under *parserpdr-sample-data*.
data_dem
data table, with demographic information data.
numeric, defined IDs by merge_id, used for merging later.
string, Unique Partners-wide identifier assigned to the patient used to consolidate patient information. from dem datasource, corresponds to EMPI in RPDR. Data is formatted using pretty_mrn().
string, Epic medical record number. This value is unique across Epic instances within the Partners network. from dem datasource, corresponds to EPIC_PMRN in RPDR. Data is formatted using pretty_mrn().
string, if mrn_type == TRUE, then the data in MRN_Type and MRN are parsed into IDs corresponding to locations. Data is formatted using pretty_mrn().
string, Patient's legal sex, corresponds to Gender in RPDR. Punctuation marks and white spaces are removed.
POSIXct, Patient's date of birth, corresponds to Date_of_Birth in RPDR. Converted to POSIXct format.
string, Patient's current age (or age at death), corresponds to Age in RPDR.
string, Patient's preferred spoken language, corresponds to Language in RPDR. Punctuation marks and white spaces are removed.
string, Patient's primary race, corresponds to Race in RPDR. Punctuation marks and white spaces are removed.
string, Patient's current marital status, corresponds to Marital_Status in RPDR. Punctuation marks and white spaces are removed.
string, Patient-identified religious preference, corresponds to Religion in RPDR. Punctuation marks and white spaces are removed.
string, Patient's current military veteran status, corresponds to Is_a_veteran in RPDR. Punctuation marks and white spaces are removed.
string, Patient's current country of residence from dem datasource, corresponds to Country in RPDR. Punctuation marks and white spaces are removed.
string, Mailing zip code of patient's primary residence from dem datasource, corresponds to Zip_code in RPDR.Formatted to 5 character zip codes.
string, Identifies if the patient is living or deceased. This data is updated monthly from the Partners registration system and the Social Security Death Master Index, corresponds to Vital_Status in RPDR. Punctuation marks are removed.
POSIXct, Recorded date of death from source in 'Vital_Status'. Date of death information obtained solely from the Social Security Death Index will not be reported until 3 years after death due to privacy concerns. If the value is independently documented by a Partners entity within the 3 year window then the date will be displayed. corresponds to Date_of_Death in RPDR. Converted to POSIXct format.
data.table