Learn R Programming

parseRPDR (version 0.2.3)

data_dia_raw: Example of dia.txt output from RPDR.

Description

A dia.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 PPartners Gitlab repository under *parserpdr-sample-data*.

Usage

data_dia_raw

Arguments

Value

data table, imported from dia.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.

Date

string, Date when the diagnosis was noted.

Diagnosis_Name

string, Name of the diagnosis, diagnosis-related group, or phenotype. For more information on available Phenotypes visit https://phenotypes.partners.org/phenotype_list.html.

Code_type

string, Standardized classification system or custom grouping associated with the diagnosis code.

Code

string, IDiagnosis, diagnosis-related group, or phenotype code.

Diagnosis_flag

string, Qualifier for the diagnosis, if any.

Provider

string, Provider of record for the encounter where the diagnosis was entered.

Clinic

string, Specific department/location where the patient encounter took place.

Hospital

numeric, Facility where the encounter occurred.

Inpatient_Outpatient

string, Identifies whether the diagnosis was noted during an inpatient or outpatient encounter.

Encounter_number

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

Format

data.table