public class DataInserter extends Object
| Constructor and Description |
|---|
DataInserter(Connection connection)
Build a new object with the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
insertCptCodes(List<CPT> cptCodes)
Insert the given list of CPT codes to a target database using the given
connection.
|
void |
insertEncounters(List<Encounter> encounters)
Insert the given list of encounters to a target database using the given
connection.
|
void |
insertIcd9Diagnoses(List<Icd9Diagnosis> diagnoses)
Insert the given list of ICD9 diagnosis codes to a target database using
the given connection.
|
void |
insertIcd9Procedures(List<Icd9Procedure> procedures)
Insert the given list of ICD9 procedure codes to a target database using
the given connection.
|
void |
insertLabs(List<Lab> labs)
Insert the given list of lab results to a target database using the given
connection.
|
void |
insertMedications(List<Medication> medications)
Insert the given list of medications to a target database using the given
connection.
|
void |
insertPatients(List<Patient> patients)
Insert a list of patients to the data base using the given connection.
|
void |
insertProviders(List<Provider> providers)
Insert the given list of providers to a target database using the given
connection.
|
void |
insertVitals(List<Vital> vitals)
Insert the given list of vital signs to a target database using the given
connection.
|
public DataInserter(Connection connection) throws DataInserterException
connection - The database connection information.DataInserterException - Thrown if there are any JDBC errors.public void insertPatients(List<Patient> patients) throws DataInserterException
patients - The list of patients to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertEncounters(List<Encounter> encounters) throws DataInserterException
encounters - The list of encounters to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertProviders(List<Provider> providers) throws DataInserterException
providers - The list of providers to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertCptCodes(List<CPT> cptCodes) throws DataInserterException
cptCodes - The list of CPT codes to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertIcd9Diagnoses(List<Icd9Diagnosis> diagnoses) throws DataInserterException
diagnoses - The list of diagnosis codes to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertIcd9Procedures(List<Icd9Procedure> procedures) throws DataInserterException
procedures - The list of procedure codes to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertMedications(List<Medication> medications) throws DataInserterException
medications - The list of medications to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertLabs(List<Lab> labs) throws DataInserterException
labs - The list of lab results to insert.DataInserterException - Thrown if there are any JDBC errors.public void insertVitals(List<Vital> vitals) throws DataInserterException
vitals - The list of vitals to insert.DataInserterException - Thrown if there are any JDBC errors.Copyright © 2012–2016 Emory University. All rights reserved.