Learn R Programming

parseRPDR (version 0.2.3)

data_enc_raw: Example of enc.txt output from RPDR.

Description

A enc.txt output from RPDR loaded into a data table in R using data.table::fread().

**NOTE**: Due to potential issues with PHI and PPI, the example datasets can be downloaded from the Partners Gitlab repository under *parserpdr-sample-data*.

Usage

data_enc_raw

Arguments

Value

data table, imported from enc.txt

EMPI

numeric, Unique Partners-wide identifier assigned to the patient used to consolidate patient information.

EPIC_PMRN

numeric, Epic medical record number. This value is unique across Epic instances within the Partners network.

MRN_Type

string, Indicates the institution associated with a specific MRN. This can appear as a comma-delimited list if MRNs from multiple Partners Health System institutions are available.

MRN

string, Unique Medical Record Number for the site identified in the 'MRN_Type' field. This can appear as a comma-delimited list if multiple MRNs from Partners hospitals are available.

Encounter_number

string, Unique identifier of the record/visit. This values includes the source system, hospital, and a unique identifier within the source system.

Encounter_Status

string, Billing account-related notes about the encounter. This will not be populated for all encounters.

Hospital

string, Facility where the encounter occurred.

Inpatient_Outpatient

string, Classifies the type of encounter as either Inpatient or Outpatient. ED visits are currently classified under the 'Outpatient' label.

Service_Line

string, Hospital service line assigned to the encounter.

Attending_MD

string, The attending provider associated with the encounter. For Epic professional billing, this is the billing provider.

Admit_Date

string, Date when the patient was admitted or entered the facility.

Discharge_Date

string, Date when the patient was discharged or left the facility.

LOS_Days

numeric, Length of stay for the encounter.

Clinic_Name

string, Specific department/location where the encounter occured.

Admit_Source

string, Location where the patient was admitted when entering the hospital/clinic.

Discharge_Disposition

string, Patient's anticipated location or status following the encounter.

Payor

string, Payors responsible for the hospital account. Multiple payors (primary, secondary, etc.) may be listed.

Admitting_Diagnosis

string, Initial working diagnosis documented by the admitting or attending physician.

Principal_Diagnosis

string, Condition established, after study, to be chiefly responsible for occasioning the admission of the patient to the hospital for care.

Diagnosis_1

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_1 in RPDR.

Diagnosis_2

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_2 in RPDR.

Diagnosis_3

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_3 in RPDR.

Diagnosis_4

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_4 in RPDR.

Diagnosis_5

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_5 in RPDR.

Diagnosis_6

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_6 in RPDR.

Diagnosis_7

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_7 in RPDR.

Diagnosis_8

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_8 in RPDR.

Diagnosis_9

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_9 in RPDR.

Diagnosis_10

string, Additional diagnoses associated with this encounter or visit, corresponds to Diagnosis_10 in RPDR.

DRG

string, Diagnosis-Related Group for the encounter, in the following format: SYSTEM:CODE - Description.

Patient_Type

string, Provides information regarding the specific patient classifications and status of the patient visit. This field is only populated for McLean Hospital encounters.

Referrer_Discipline

string, Location where the patient has been directed for treatment or follow-up by a staff member. This field is only populated for McLean Hospital encounters.

Format

data.table