Learn R Programming

parseRPDR (version 1.1.2)

all_ids_mi2b2: Legacy function to create a vector of all possible IDs for mi2b2 workbench

Description

Legacy function to gather all possible MGH and BWH IDs from mrn.txt and con.txt input sources to provide a vector of all possible MGH or BWH IDs to be used as a data request for mi2b2 workbench.

Usage

all_ids_mi2b2(type = "MGH", d_mrn, d_con)

Value

vector, with all MGH or BWH IDs that occur in the con and mrn datasources for all patients. Previously this was required to for mi2b2 workbenches allowing access to all possible images of the patients, even if the MGH or BWH changed over time.

Arguments

type

string, either "MGH" or "BWH" specifying which IDs to use.

d_mrn

data.table, parsed mrn dataset using the load_mrn function.

d_con

data.table, parsed con dataset using the load_con function.

Examples

Run this code
if (FALSE) {
all_MGH_mrn <- all_ids_mi2b2(type = "MGH", d_mrn = data_mrn, d_con = data_con)
}

Run the code above in your browser using DataLab