From d4463e408763e5e078db9ab1a07598032748d284 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 4 Sep 2014 13:39:48 -0400 Subject: [PATCH 01/58] Improve `bin/utils/redcap_records.py` - now works with json/xml --- .gitignore | 1 + Makefile | 1 - bin/utils/redcap_records.py | 35 ++++++++++++++++++++++++++--------- vagrant/Makefile | 10 ++++++++++ 4 files changed, 37 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index a9796a5..03f8426 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,5 @@ vagrant/projectDataBootstrap.sql vagrant/sqlPatches vagrant/data/ vagrant/demographic_test_data.csv +vagrant/demographic_test_data.json vagrant/redi.db diff --git a/Makefile b/Makefile index f99a7b3..10525b3 100644 --- a/Makefile +++ b/Makefile @@ -45,5 +45,4 @@ clean: rm -f person_form_event_tree.xml rm -f person_form_event_tree_with_data.xml rm -rf vagrant/data/ - rm -f vagrant/demographic_test_data.csv rm -f vagrant/redi.db diff --git a/bin/utils/redcap_records.py b/bin/utils/redcap_records.py index 9faa7d7..439c7d7 100755 --- a/bin/utils/redcap_records.py +++ b/bin/utils/redcap_records.py @@ -29,10 +29,8 @@ import sys import argparse +import json from redcap import Project, RedcapError -import re -import pprint - def main(): @@ -63,15 +61,25 @@ def main(): dest='forms', default='', help='Specify a list of forms, separated by spaces, for which data should be returned.') + parser.add_argument( + '-t', + '--type', + dest='data_type', + default='csv', + help='Specify the file type used as input or output. Valid types: json, csv, xml') # prepare the arguments we were given args = vars(parser.parse_args()) + # According to http://pycap.readthedocs.org/en/latest/api.html + # allowed data_types are: csv, json, xm + data_type = args['data_type'] + # Turn the 'verify_ssl' parameter into the truth value we need to make a # REDCap connection if args['verify_ssl'] == 'y': args['verify_ssl'] = True - elif args['verify_ssl'] == 'n': + else: args['verify_ssl'] = False # Attempt to connect to the REDCap project @@ -86,17 +94,26 @@ def main(): my_forms = args['forms'].split() data = project.export_records( forms=my_forms, - format='csv', + format = data_type, event_name='unique') - print str(data) - else: # ...or we import data + if 'json' == data_type: + print json.dumps(data, ensure_ascii=False) + else: + print str(data) + else: + # ...or we import data file = args['import_data'] try: input = open(file, 'r') - except: + except IOError: print "Cannot open file " + file quit() - response = project.import_records(input.read(), format='csv') + if 'json' == data_type: + json_data = json.load(input) + response = project.import_records(json_data) + else: + response = project.import_records(input.read(), format = data_type) + print response if __name__ == '__main__': diff --git a/vagrant/Makefile b/vagrant/Makefile index f697c66..21dd0c6 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -33,12 +33,21 @@ rc_clean: rc_demographics: ../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -i demographic_test_data.csv +rc_demographics_json: + ../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -i demographic_test_data.json -t json + rc_post: python ../bin/redi.py -c ../config rc_get: ../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -f "demographics chemistry cbc inr hcv_rna_results" +rc_get_json: + @../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -f "demographics chemistry cbc inr hcv_rna_results" -t json + +rc_get_json_demographics: + @../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -f "demographics" -t json + rc_fresh: make copy_project_data make rc_clean @@ -80,3 +89,4 @@ copy_project_data: @test -f ../config/vagrant-data/demographic_test_data.csv || (echo 'Please obtain the demographics file first' && exit 1) cp ../config/vagrant-data/demographic_test_data.csv . test ! -d ../config/vagrant-data/sqlPatches || (echo "Copying sqlPatches folder from project configuration to vagrant folder" && cp -r ../config/vagrant-data/sqlPatches .) + cp ../config/vagrant-data/demographic_test_data.json . From 54a0feb2715cd706f3668098a097d2734bb172ad Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Wed, 10 Sep 2014 10:27:28 -0400 Subject: [PATCH 02/58] Add `choices` to indicate valid `-t` option for running redcap_records.py Usage now displays: [-t {json,csv,xml}] When there is an error we get: redcap_records.py: error: argument -t/--type: invalid choice: 'csv2' (choose from 'json', 'csv', 'xml') --- bin/utils/redcap_records.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/utils/redcap_records.py b/bin/utils/redcap_records.py index 439c7d7..3d9d12e 100755 --- a/bin/utils/redcap_records.py +++ b/bin/utils/redcap_records.py @@ -64,6 +64,7 @@ def main(): parser.add_argument( '-t', '--type', + choices=['json', 'csv', 'xml'], dest='data_type', default='csv', help='Specify the file type used as input or output. Valid types: json, csv, xml') @@ -72,7 +73,7 @@ def main(): args = vars(parser.parse_args()) # According to http://pycap.readthedocs.org/en/latest/api.html - # allowed data_types are: csv, json, xm + # allowed data_types are: csv, json, xml data_type = args['data_type'] # Turn the 'verify_ssl' parameter into the truth value we need to make a From a66374e212e1802caac1993c1c2e1805116d8b02 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 11 Sep 2014 10:15:20 -0400 Subject: [PATCH 03/58] One line fix - closes issue #49 (Exceeded event list for record) --- bin/redi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/redi.py b/bin/redi.py index 742306f..b9007a2 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -998,7 +998,7 @@ def update_event_name(data, lookup_data, undefined): # issue a warning if old_form_name is not "dummy" and \ - event_index >= len(lookup_table[old_form_name]): + event_index > len(lookup_table[old_form_name]): max_event_alert.append("Exceeded event list for record "\ "group with Subject ID.: " + last_study_id + " and "\ "Form Name: " + last_form_name + ". Event count "\ From b67e470b0aa315da8f33415f48405b46b20a03d5 Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Thu, 11 Sep 2014 16:39:24 -0400 Subject: [PATCH 04/58] Add clinical-commit-to-loinc.xml helper scripts - generate_cctl.py generates the XML from a CSV - cctl_to_csv.py writes out a CSV from an XML Careful, the CSV from cctl_to_csv.py cannot be read in by generate_cctl.py without modification. --- scripts/cctl_to_csv.py | 26 ++++++++++++++++++++++++ scripts/generate_cctl.py | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100755 scripts/cctl_to_csv.py create mode 100755 scripts/generate_cctl.py diff --git a/scripts/cctl_to_csv.py b/scripts/cctl_to_csv.py new file mode 100755 index 0000000..edd459e --- /dev/null +++ b/scripts/cctl_to_csv.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +""" Converts clinical-component-to-loinc.xml to CSV """ + +import argparse +import sys +from xml.etree import ElementTree + + +def main(): + """ Main entry point """ + parser = argparse.ArgumentParser( + description='Converts clinical-component-to-loinc.xml to CSV', + usage='%(prog)s < clinical-component-to-loinc.xml') + parser.parse_args() + + clinical_datum = ElementTree.fromstring(sys.stdin.read()) + + for component in clinical_datum.findall('.//component'): + print "{description}, {code}, {loinc}".format( + description=component.findtext('description'), + code=component.findtext('source/value'), + loinc=component.findtext('target/value')) + + +if __name__ == '__main__': + main() diff --git a/scripts/generate_cctl.py b/scripts/generate_cctl.py new file mode 100755 index 0000000..a29aad9 --- /dev/null +++ b/scripts/generate_cctl.py @@ -0,0 +1,43 @@ +#!/usr/bin/env python +""" Generates a clinical-component-to-loinc.xml from a 4-column CSV """ +import argparse +import sys + + +def main(): + """ Main entry point """ + parser = argparse.ArgumentParser( + description='Generates a clinical-component-to-loinc.xml from a ' + '4-column CSV', + epilog='Expected columns are: description, local-code, units, ' + 'loinc-code', + usage='%(prog)s < mapping.csv > clinical-component-to-loinc.xml') + parser.parse_args() + + print '' + print """ + + 1.0 + A mapping of local clinical component identifiers to their corresponding LOINC codes + """ + + for (description, code, unit, loinc) in map(lambda x: x.rstrip().split(','), sys.stdin.readlines()): + print """ + + {description} + + COMPONENT_ID + {code} + + + loinc_code + {loinc} + + """.format(description=description, code=code, loinc=loinc) + + print "" + print "" + + +if __name__ == '__main__': + main() From 79e222c5e13aad39df8759593fac41f3212e34a6 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 11 Sep 2014 17:38:04 -0400 Subject: [PATCH 05/58] Add unit test `TestRediEmail.py` to verify changed code for Issue #47 --- test/TestRediEmail.py | 93 +++++++++++++++++++++++++++++++++++++++++++ test/TestSuite.py | 8 +--- 2 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 test/TestRediEmail.py diff --git a/test/TestRediEmail.py b/test/TestRediEmail.py new file mode 100644 index 0000000..b106a8d --- /dev/null +++ b/test/TestRediEmail.py @@ -0,0 +1,93 @@ +import unittest +import smtplib +from mock import patch, call +import redi +from utils import redi_email + + +class TestRediEmail(unittest.TestCase): + """ + Check functions in the `utils/redi_email` module + To run individually: + $ PYTHONPATH=bin python test/TestRediEmail.py + """ + + def setUp(self): + """ Prepare the settings objects""" + settings = { + 'smtp_host_for_outbound_mail': "a.com", + 'smtp_port_for_outbound_mail': 1234, + 'redcap_support_sender_email': "support@example.com", + 'redcap_support_receiver_email': "a@example.com b@example.com", + 'redcap_uri': "http://example.com", + 'batch_warning_days': 13, + 'sender_email': 'report_sender@example.com', + 'receiver_email': 'rep_a@example.com rep_b@example.com', + } + self.settings = type("", (), settings)() + self.email_settings = redi.get_email_settings(self.settings) + + def test_get_email_settings(self): + """Check if we picked proper values from the global settings""" + ese = self.email_settings + + self.assertEqual(ese['smtp_host_for_outbound_mail'], "a.com") + self.assertEqual(ese['smtp_port_for_outbound_mail'], 1234) + self.assertEqual(ese['redcap_support_sender_email'], \ + "support@example.com") + self.assertEqual(ese['redcap_support_receiving_list'], \ + ["a@example.com", "b@example.com"]) + self.assertEqual(ese['redcap_uri'], "http://example.com") + self.assertEqual(ese['batch_warning_days'], 13) + self.assertEqual(ese['batch_report_sender_email'], \ + "report_sender@example.com") + self.assertEqual(ese['batch_report_receiving_list'], \ + ["rep_a@example.com", "rep_b@example.com"]) + + def dummy_send_success(*args, **kwargs): + """Skip sending email""" + return True + + def dummy_send_failed(*args, **kwargs): + """Skip sending email""" + return False + + @patch.multiple(redi_email, send_email=dummy_send_success) + def test_success(self): + """ Verify return true when email is sent""" + ese = self.email_settings + self.assertTrue(redi_email.send_email_redcap_connection_error(ese)) + self.assertTrue(redi_email.send_email_input_data_unchanged(ese)) + + @patch.multiple(redi_email, send_email=dummy_send_failed) + def test_failed(self): + """ Verify return false when email is not sent""" + ese = self.email_settings + self.assertFalse(redi_email.send_email_redcap_connection_error(ese)) + self.assertFalse(redi_email.send_email_input_data_unchanged(ese)) + + @patch("smtplib.SMTP") + def test_mime_email(self, mock_smtp): + """ Mock the sendmail function """ + ese = self.email_settings + instance = mock_smtp.return_value + instance.sendmail.return_value = {} + refused_list = redi_email.send_email_data_import_completed(ese) + self.assertIsInstance(refused_list, dict) + self.assertEqual(refused_list, {}) + + @patch("smtplib.SMTP") + def test_mime_email_exception(self, mock_smtp): + """ Mock the sendmail exception """ + ese = self.email_settings + instance = mock_smtp.return_value + instance.sendmail.side_effect = smtplib.SMTPRecipientsRefused({}) + self.assertRaises(smtplib.SMTPRecipientsRefused, redi_email.send_email_data_import_completed, ese) + self.assertEqual(instance.sendmail.call_count, 1) + + def tearDown(self): + """ Remove dictionary""" + self.email_settings.clear() + +if __name__ == '__main__': + unittest.main() diff --git a/test/TestSuite.py b/test/TestSuite.py index dd0e300..cd64d11 100755 --- a/test/TestSuite.py +++ b/test/TestSuite.py @@ -1,11 +1,6 @@ ''' -@author : Radha -email : rkandula@ufl.edu - This file creates a test suite for all the test classes. -''' -''' IMPORTANT: the imports should be updated in order to add the test to the test suite. Notes: @@ -46,7 +41,7 @@ from TestPersonFormEventsRepository import TestPersonFormEventsRepository from TestVerifyAndCorrectCollectionDate import TestVerifyAndCorrectCollectionDate from TestSkipBlanks import TestSkipBlanks - +from TestRediEmail import TestRediEmail class redi_suite(unittest.TestSuite): @@ -87,6 +82,7 @@ def suite(self): redi_test_suite.addTest(TestResume) redi_test_suite.addTest(TestPersonFormEventsRepository) redi_test_suite.addTest(TestSkipBlanks) + redi_test_suite.addTest(TestRediEmail) # return the suite return unittest.TestSuite([redi_test_suite]) From 732966b8b979c5ea9cae9cc19e21df82710dd8d5 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 11 Sep 2014 17:43:04 -0400 Subject: [PATCH 06/58] Closes issue #47 - hardcoded `smtp.ufl.edu` --- bin/redi.py | 37 ++++------------- bin/utils/redi_email.py | 90 +++++++++++++++++++++++++++++++++-------- 2 files changed, 81 insertions(+), 46 deletions(-) diff --git a/bin/redi.py b/bin/redi.py index 742306f..b9552de 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -301,9 +301,7 @@ def _run(config_file, configuration_directory, do_keep_gen_files, dry_run, # send report via email if settings.send_email: - sender = settings.sender_email - receiver = settings.receiver_email.split() - send_report(sender, receiver, html_str) + redi_email.send_email_data_import_completed(email_settings, html_str) else: logger.info("Email will not be sent as 'send_email' parameter"\ " in {0} is set to 'N'".format(config_file)) @@ -1212,28 +1210,6 @@ def configure_logging(data_folder, verbose=False): return logger -def send_report(sender, receiver, body): - """Function to email the report of the redi run.""" - from email.MIMEMultipart import MIMEMultipart - from email.MIMEText import MIMEText - msg = MIMEMultipart() - msg['From'] = sender - msg['To'] = ",".join(receiver) - msg['Subject'] = "Data Import Report" - msg.attach(MIMEText(body, 'html')) - - """ - Sending email - """ - - try: - smtpObj = smtplib.SMTP('smtp.ufl.edu', 25) - smtpObj.sendmail(sender, receiver, msg.as_string()) - logger.info("Successfully sent email to: " + str(receiver)) - except Exception: - logger.info("Error: unable to send report email to: " + str(receiver)) - - def create_summary_report(report_parameters, report_data, alert_summary, \ collection_date_summary_dict): root = etree.Element("report") @@ -1969,7 +1945,7 @@ def verify_and_correct_collection_date(data, input_date_format): continue subject.remove(result_date_element) if collection_date_summary_dict['blank'] > 0: - logger.info("There were {0} out of {1} blank specimen taken times "\ + logger.debug("There were {0} out of {1} blank specimen taken times "\ "in this run.".format(collection_date_summary_dict['blank'], collection_date_summary_dict['total'])) return data, collection_date_summary_dict @@ -1981,14 +1957,17 @@ def get_email_settings(settings): """ email_settings = {} email_settings['smtp_host_for_outbound_mail'] = settings.smtp_host_for_outbound_mail + email_settings['smtp_port_for_outbound_mail'] = settings.smtp_port_for_outbound_mail email_settings['redcap_support_sender_email'] = settings.redcap_support_sender_email + email_settings['redcap_support_receiving_list'] = \ + settings.redcap_support_receiver_email.split() if settings.redcap_support_receiver_email else [] email_settings['redcap_uri'] = settings.redcap_uri - email_settings['smtp_port_for_outbound_mail'] = settings.smtp_port_for_outbound_mail - email_settings['redcap_support_receiver_email'] = settings.redcap_support_receiver_email email_settings['batch_warning_days'] = settings.batch_warning_days + email_settings['batch_report_sender_email'] = settings.sender_email + email_settings['batch_report_receiving_list'] = \ + settings.receiver_email.split() if settings.receiver_email else [] return email_settings - def get_redcap_settings(settings): """ Helper function for grouping redcap connection properties diff --git a/bin/utils/redi_email.py b/bin/utils/redi_email.py index 8702860..16b6694 100644 --- a/bin/utils/redi_email.py +++ b/bin/utils/redi_email.py @@ -1,37 +1,84 @@ import smtplib from smtplib import SMTPException +from email.mime.text import MIMEText +from email.mime.multipart import MIMEMultipart import logging -def send_email_redcap_connection_error(email_settings, subject='', msg=''): - sender = email_settings['redcap_support_sender_email'] +logger = logging.getLogger(__name__) +logger.addHandler(logging.NullHandler()) + +""" +This module groups together related functions for +sending emails. +Module unit test: test/TestRediEmail.py +""" - receiver = email_settings['redcap_support_receiver_email'].split() +def send_email_redcap_connection_error(email_settings, subject='', msg=''): + """ + Notify the designated `REDCap support` person about problems + with reaching REDCap + + :return True if the email was sent + """ + sender = email_settings['redcap_support_sender_email'] + to_addr_list = email_settings['redcap_support_receiving_list'] host = email_settings['smtp_host_for_outbound_mail'] port = email_settings['smtp_port_for_outbound_mail'] subject = 'Communication failure: Unable to reach REDCap instance' msg = 'A problem was encountered when connecting to the REDCap. Please investigate if REDCap is running.' - send_email(host, str(port), sender, receiver, None, subject, msg) - logging.error('Exception: Unable to communicate with REDCap instance at: ' + email_settings['redcap_uri']) - + logger.error('Exception: Unable to communicate with REDCap instance at: ' + email_settings['redcap_uri']) + return send_email(host, str(port), sender, to_addr_list, None, subject, msg) - -""" +def send_email_input_data_unchanged(email_settings, subject='', msg=''): + """ Send a warning email to the `redcap_support_receiver_email` if the input file did not change for more than `batch_warning_days` -""" - -def send_email_input_data_unchanged(email_settings, subject='', msg=''): + :return True if the email was sent + """ sender = email_settings['redcap_support_sender_email'] - receiver = email_settings['redcap_support_receiver_email'].split() + to_addr_list = email_settings['redcap_support_receiving_list'] host = email_settings['smtp_host_for_outbound_mail'] port = email_settings['smtp_port_for_outbound_mail'] subject = 'Input data is static.' - msg = 'Administrators, \n For the past %s days the input data for the REDI application did not change. Please investigate.' % email_settings['batch_warning_days'] - send_email(host, str(port), sender, receiver, None, subject, msg) + msg = """ + Administrators, + For the past {} days the input data for the REDI application did not change. + Please investigate.""".format(email_settings['batch_warning_days']) + return send_email(host, str(port), sender, to_addr_list, None, subject, msg) +def send_email_data_import_completed(email_settings, body=''): + """ + Email the html report after redi completed the data transfer + :email_settings the dictionary produced by redi.get_email_settings() + :body: the html string produced by transforming the xsl + generated by redi.create_summary_report() + + :return a dictionary, with one entry for each recipient that was refused + """ + sender = email_settings['batch_report_sender_email'] + to_addr_list = email_settings['batch_report_receiving_list'] + host = email_settings['smtp_host_for_outbound_mail'] + port = email_settings['smtp_port_for_outbound_mail'] + subject = 'Data Import Report' + msg = MIMEMultipart() + msg.attach(MIMEText(body, 'html')) + + refused_list = {} + try: + smtpObj = smtplib.SMTP(host, port) + refused_list = smtpObj.sendmail(sender, to_addr_list, msg.as_string()) + logger.info("Successfully sent email to: " + str(to_addr_list)) + except Exception: + logger.error("Unable to send email with subject[{}] to {}" \ + .format(subject, str(to_addr_list))) + raise + finally: + smtpObj.quit() + + return refused_list def send_email( host, @@ -41,7 +88,14 @@ def send_email( cc_addr_list, subject, msg_body): + """ + The email deliverer + :to_addr_list: must be a list not a string + + :return True if the email was sent + """ #print ('host %s, port: %s' % (host, port)) + success = False try: smtp = smtplib.SMTP(host, port) header = 'From: %s\n' % sender @@ -52,11 +106,13 @@ def send_email( header += 'Subject: %s\n\n' % subject msg = header + msg_body smtp.sendmail(sender, to_addr_list, msg) - logging.info( + success = True + logger.info( 'Success: Email with subject [' + subject + '] was sent to:' + str(to_addr_list)) except SMTPException: - logging.warn("Error: Unable to send email to " + to_addr_list) - return + logger.error("Unable to send email with subject[{}] to {}" \ + .format(subject, str(to_addr_list))) + return success From 87d9fa13fb52e1ff98761bf1253dabcde2df73bd Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 11 Sep 2014 17:53:57 -0400 Subject: [PATCH 07/58] Set the email subject properly --- bin/utils/redi_email.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/utils/redi_email.py b/bin/utils/redi_email.py index 16b6694..5aad02a 100644 --- a/bin/utils/redi_email.py +++ b/bin/utils/redi_email.py @@ -64,6 +64,9 @@ def send_email_data_import_completed(email_settings, body=''): port = email_settings['smtp_port_for_outbound_mail'] subject = 'Data Import Report' msg = MIMEMultipart() + msg['From'] = sender + msg['To'] = ",".join(to_addr_list) + msg['Subject'] = subject msg.attach(MIMEText(body, 'html')) refused_list = {} @@ -72,7 +75,7 @@ def send_email_data_import_completed(email_settings, body=''): refused_list = smtpObj.sendmail(sender, to_addr_list, msg.as_string()) logger.info("Successfully sent email to: " + str(to_addr_list)) except Exception: - logger.error("Unable to send email with subject[{}] to {}" \ + logger.error("Unable to send email with subject [{}] to {}" \ .format(subject, str(to_addr_list))) raise finally: From e1a3166ad051d368b5694d55d66a2333c7f2150b Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Fri, 12 Sep 2014 14:54:45 -0400 Subject: [PATCH 08/58] Add support for 3-col CSV to generate_cctl.py --- scripts/generate_cctl.py | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/scripts/generate_cctl.py b/scripts/generate_cctl.py index a29aad9..246325f 100755 --- a/scripts/generate_cctl.py +++ b/scripts/generate_cctl.py @@ -1,16 +1,23 @@ #!/usr/bin/env python -""" Generates a clinical-component-to-loinc.xml from a 4-column CSV """ +""" Generates a clinical-component-to-loinc.xml from CSV """ import argparse +import csv +import StringIO import sys def main(): """ Main entry point """ parser = argparse.ArgumentParser( - description='Generates a clinical-component-to-loinc.xml from a ' - '4-column CSV', - epilog='Expected columns are: description, local-code, units, ' - 'loinc-code', + description='Generates a clinical-component-to-loinc.xml from a CSV', + formatter_class=argparse.RawDescriptionHelpFormatter, + epilog="The expected format is 4-columns without headers. \n" + "The column order is: \n" + "\tdescription, local-code, units, loinc-code\n" + "\n" + "Since the third column 'units' is not used, however, a \n" + "3-column format is also acceptable: \n" + "\tdescription, local-code, loinc-code", usage='%(prog)s < mapping.csv > clinical-component-to-loinc.xml') parser.parse_args() @@ -21,7 +28,17 @@ def main(): A mapping of local clinical component identifiers to their corresponding LOINC codes """ - for (description, code, unit, loinc) in map(lambda x: x.rstrip().split(','), sys.stdin.readlines()): + stdin_as_file = StringIO.StringIO(sys.stdin.read()) + reader = csv.reader(stdin_as_file) + for line in reader: + length = len(line) + if 4 == length: + (description, code, unit, loinc) = line[0:4] + elif 3 == length: + (description, code, loinc) = line[0:3] + else: + raise Exception('Unexpected CSV format: ' + str(line)) + print """ {description} @@ -33,7 +50,9 @@ def main(): loinc_code {loinc} - """.format(description=description, code=code, loinc=loinc) + """.format(description=description, + code=code, + loinc=loinc.rstrip()) print "" print "" From 757bc56d0cdb017b077e77d647e734545cee4404 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Fri, 12 Sep 2014 15:07:53 -0400 Subject: [PATCH 09/58] Avoid `referenced before assignment` error when smtp server is not available --- bin/utils/redi_email.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/utils/redi_email.py b/bin/utils/redi_email.py index 5aad02a..b63117a 100644 --- a/bin/utils/redi_email.py +++ b/bin/utils/redi_email.py @@ -78,9 +78,7 @@ def send_email_data_import_completed(email_settings, body=''): logger.error("Unable to send email with subject [{}] to {}" \ .format(subject, str(to_addr_list))) raise - finally: - smtpObj.quit() - + smtpObj.quit() return refused_list def send_email( From 13d8ff4fb5c14ae96a51cd8d0a68d9314e0d77bd Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 11:47:22 -0400 Subject: [PATCH 10/58] Read `redcap_uri` and `token` from settings.ini This commit represents part 1 for issue #58 --- vagrant/Makefile | 86 +++++++++++++++++++++++++++++++----------------- 1 file changed, 56 insertions(+), 30 deletions(-) diff --git a/vagrant/Makefile b/vagrant/Makefile index 21dd0c6..40ec166 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -1,10 +1,30 @@ -# Displays the list of available actions +# This file is intended to help the developers +# with common testing tasks. +# +# Note: Some tasks depend on variables set in the config file +# therefore the proper path must be set for `CONFIG_FOLDER` +CONFIG_FOLDER := ../config +CONFIG_FILE := $(CONFIG_FOLDER)/settings.ini +BOOTSTRAP_SQL_FILE := $(CONFIG_FOLDER)/vagrant-data/projectDataBootstrap.sql +REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER)/vagrant-data/redcap.zip +REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER)/vagrant-data/sqlPatches +ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER)/vagrant-data/demographic_test_data.csv +ENROLLMENT_JSON_FILE := $(CONFIG_FOLDER)/vagrant-data/demographic_test_data.json + +REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_uri=' | cut -d '=' -f2) +REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) +REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'token=' | cut -d '=' -f2) +REDCAP_RECORDS_CMD:=../bin/utils/redcap_records.py --token=$(REDCAP_VM_TOKEN) --url=$(REDCAP_API_URI) + +.PHONY: help help: @echo "\n Available tasks:" + @echo "\t show_config: - display the parameters retrieved from $(CONFIG_FILE)" @echo "\t rc_check - checks if REDCap is running" @echo "\t rc_list - list the id of all REDCap projects" @echo "\t rc_save - save a backup of REDCap database" @echo "\t rc_clean - remove data for default test project" + @echo "\t rc_demographics - load demographic data for default test project" @echo "\t rc_post - send test data to REDCap" @echo "\t rc_get - get stored test data from REDCap" @@ -14,11 +34,24 @@ help: @echo "\t egg_test - deploy the redi egg file to the vagrant box and run redi" @echo "\t clean - remove files created by testing" @echo "\t copy_redcap_code: - copy the redcap.zip file from the 'config' folder if available" - @echo "\t copy_project_data: - copy *.sql files from the 'config' folder if available" + @echo "\t copy_project_data: - copy extra files from the 'config' folder if available" + +check_config: + @# This task is used as a dependency checker + @test -d $(CONFIG_FOLDER) || (echo 'Please create a "config" folder with necessary files first' && exit 1) + @test -f $(CONFIG_FILE) || (echo 'Please obtain the config file "$(CONFIG_FILE)"' && exit 1) + @test -f $(BOOTSTRAP_SQL_FILE) || (echo 'Please obtain the project sql dump file "$(BOOTSTRAP_SQL_FILE)"' && exit 1) + @test -f $(REDCAP_CODE_ZIP_FILE) || (echo 'Please obtain the redcap software zip file "$(REDCAP_CODE_ZIP_FILE)"' && exit 1) + @test -f $(ENROLLMENT_CSV_FILE) || (echo 'Config error: missing file "$(ENROLLMENT_CSV_FILE)"' && exit 1) +show_config: check_config + @echo "Reading parameters from config file - $(CONFIG_FILE)" + @echo "Using REDCAP_VM_URI : $(REDCAP_VM_URI)" + @echo "Using REDCAP_VM_TOKEN : $(REDCAP_VM_TOKEN)" + @echo "Using REDCAP_RECORDS_CMD : $(REDCAP_RECORDS_CMD)" -rc_check: - curl -s http://localhost:8998/redcap/ | grep -i 'Welcome\|Critical Error' +rc_check: check_config + curl -s $(REDCAP_VM_URI) | grep -i 'Welcome\|Critical Error' rc_list: vagrant ssh -c 'cd /vagrant/scripts && php redcapdbm.php -l' @@ -30,23 +63,23 @@ rc_clean: # TODO: add support for project id as parameter vagrant ssh -c 'cd /vagrant/scripts && php redcapdbm.php -d 12' -rc_demographics: - ../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -i demographic_test_data.csv +rc_demographics: check_config + $(REDCAP_RECORDS_CMD) -i $(ENROLLMENT_CSV_FILE) -rc_demographics_json: - ../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -i demographic_test_data.json -t json +rc_demographics_json: check_config + $(REDCAP_RECORDS_CMD) -i $(ENROLLMENT_JSON_FILE) -t json rc_post: - python ../bin/redi.py -c ../config + python ../bin/redi.py -c $(CONFIG_FOLDER) -rc_get: - ../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -f "demographics chemistry cbc inr hcv_rna_results" +rc_get: check_config + $(REDCAP_RECORDS_CMD) -f "demographics chemistry cbc inr hcv_rna_results" -rc_get_json: - @../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -f "demographics chemistry cbc inr hcv_rna_results" -t json +rc_get_json: check_config + $(REDCAP_RECORDS_CMD) "demographics chemistry cbc inr hcv_rna_results" -t json -rc_get_json_demographics: - @../bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -f "demographics" -t json +rc_get_json_demographics: check_config + $(REDCAP_RECORDS_CMD) -f "demographics" -t json rc_fresh: make copy_project_data @@ -65,9 +98,8 @@ rc_set_rate: test_egg: make egg_test -egg_test: +egg_test: check_config @test -f ../dist/REDI*.egg || (echo 'Please execute "make egg" from the project root first' && exit 1) - @test -d config || (echo 'Please create a "config" folder with necessary files first' && exit 1) cp ../dist/REDI*.egg . vagrant ssh -c 'sudo easy_install /vagrant/REDI*.egg' make rc_clean @@ -77,16 +109,10 @@ egg_test: clean: rm -f report.html -copy_redcap_code: - @test -d ../config || (echo 'Please create a "config" folder with necessary files first' && exit 1) - @test -f ../config/vagrant-data/redcap.zip || (echo 'Please obtain the redcap software zip file first' && exit 1) - cp ../config/vagrant-data/redcap.zip . - -copy_project_data: - @test -d ../config || (echo 'Please create a "config" folder with necessary files first' && exit 1) - @test -f ../config/vagrant-data/projectDataBootstrap.sql || (echo 'Please obtain the project sql dump first' && exit 1) - cp ../config/vagrant-data/projectDataBootstrap.sql . - @test -f ../config/vagrant-data/demographic_test_data.csv || (echo 'Please obtain the demographics file first' && exit 1) - cp ../config/vagrant-data/demographic_test_data.csv . - test ! -d ../config/vagrant-data/sqlPatches || (echo "Copying sqlPatches folder from project configuration to vagrant folder" && cp -r ../config/vagrant-data/sqlPatches .) - cp ../config/vagrant-data/demographic_test_data.json . +copy_redcap_code: check_config + cp $(REDCAP_CODE_ZIP_FILE) . + +copy_project_data: check_config + cp $(BOOTSTRAP_SQL_FILE) . + @test ! -d $(REDCAP_SQL_PATCHES_FOLDER) || (echo "Copying 'sqlPatches' folder to vagrant folder" && cp -r $(REDCAP_SQL_PATCHES_FOLDER) .) + @test ! -f $(ENROLLMENT_JSON_FILE) || (echo "Copying $(ENROLLMENT_JSON_FILE) to vagrant folder" && cp $(ENROLLMENT_JSON_FILE) . ) From c691cc886d7135f91df85785ef2d1db42575a9dd Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 12:15:55 -0400 Subject: [PATCH 11/58] Define `REDCAP_PROJECT_ID` value in `Makefile.ini` to be used by the `rc_clean` task This commit represents part 2 for issue #58 --- vagrant/Makefile | 6 ++++-- vagrant/Makefile.ini | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 vagrant/Makefile.ini diff --git a/vagrant/Makefile b/vagrant/Makefile index 40ec166..e192855 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -3,7 +3,8 @@ # # Note: Some tasks depend on variables set in the config file # therefore the proper path must be set for `CONFIG_FOLDER` -CONFIG_FOLDER := ../config +MAKE_CONFIG_FILE := Makefile.ini +CONFIG_FOLDER := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'config_folder=' | cut -d '=' -f2) CONFIG_FILE := $(CONFIG_FOLDER)/settings.ini BOOTSTRAP_SQL_FILE := $(CONFIG_FOLDER)/vagrant-data/projectDataBootstrap.sql REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER)/vagrant-data/redcap.zip @@ -15,6 +16,7 @@ REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_ur REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'token=' | cut -d '=' -f2) REDCAP_RECORDS_CMD:=../bin/utils/redcap_records.py --token=$(REDCAP_VM_TOKEN) --url=$(REDCAP_API_URI) +REDCAP_PROJECT_ID := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_id=' | cut -d '=' -f2) .PHONY: help help: @@ -61,7 +63,7 @@ rc_save: rc_clean: # TODO: add support for project id as parameter - vagrant ssh -c 'cd /vagrant/scripts && php redcapdbm.php -d 12' + vagrant ssh -c 'cd /vagrant/scripts && php redcapdbm.php -d $(REDCAP_PROJECT_ID)' rc_demographics: check_config $(REDCAP_RECORDS_CMD) -i $(ENROLLMENT_CSV_FILE) diff --git a/vagrant/Makefile.ini b/vagrant/Makefile.ini new file mode 100644 index 0000000..f1e786e --- /dev/null +++ b/vagrant/Makefile.ini @@ -0,0 +1,6 @@ +# This file is used to configure the developer tasks +# defined in the vagrant/Makefile +config_folder = ../config-example + +# This is the database id for the default REDCap project +redcap_project_id = 1 From 463a07b46d5872c1f68b5290e3e92b852b6dbef1 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 12:50:01 -0400 Subject: [PATCH 12/58] Define `REDCAP_PROJECT_FORMS` to be used by `rc_get` task This commit represents part 3 for issue #58 --- .gitignore | 1 + config-example/vagrant-data/demographic_test_data.csv | 1 + config-example/vagrant-data/projectDataBootstrap.sql | 1 + vagrant/Makefile | 5 +++-- vagrant/Makefile.ini | 3 +++ 5 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 config-example/vagrant-data/demographic_test_data.csv create mode 100644 config-example/vagrant-data/projectDataBootstrap.sql diff --git a/.gitignore b/.gitignore index 03f8426..2077cdb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.pyc *.pyo REDI.egg-info/ +config-example/vagrant-data/redcap.zip formData.xml rawData.xml translationalData.xml diff --git a/config-example/vagrant-data/demographic_test_data.csv b/config-example/vagrant-data/demographic_test_data.csv new file mode 100644 index 0000000..486c9a8 --- /dev/null +++ b/config-example/vagrant-data/demographic_test_data.csv @@ -0,0 +1 @@ +-- No content yet diff --git a/config-example/vagrant-data/projectDataBootstrap.sql b/config-example/vagrant-data/projectDataBootstrap.sql new file mode 100644 index 0000000..486c9a8 --- /dev/null +++ b/config-example/vagrant-data/projectDataBootstrap.sql @@ -0,0 +1 @@ +-- No content yet diff --git a/vagrant/Makefile b/vagrant/Makefile index e192855..5c2c712 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -17,6 +17,7 @@ REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'token=' | cut -d '=' -f2) REDCAP_RECORDS_CMD:=../bin/utils/redcap_records.py --token=$(REDCAP_VM_TOKEN) --url=$(REDCAP_API_URI) REDCAP_PROJECT_ID := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_id=' | cut -d '=' -f2) +REDCAP_PROJECT_FORMS := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_forms=' | cut -d '=' -f2) .PHONY: help help: @@ -75,10 +76,10 @@ rc_post: python ../bin/redi.py -c $(CONFIG_FOLDER) rc_get: check_config - $(REDCAP_RECORDS_CMD) -f "demographics chemistry cbc inr hcv_rna_results" + $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" rc_get_json: check_config - $(REDCAP_RECORDS_CMD) "demographics chemistry cbc inr hcv_rna_results" -t json + $(REDCAP_RECORDS_CMD) "$(REDCAP_PROJECT_FORMS)" -t json rc_get_json_demographics: check_config $(REDCAP_RECORDS_CMD) -f "demographics" -t json diff --git a/vagrant/Makefile.ini b/vagrant/Makefile.ini index f1e786e..43bbd47 100644 --- a/vagrant/Makefile.ini +++ b/vagrant/Makefile.ini @@ -4,3 +4,6 @@ config_folder = ../config-example # This is the database id for the default REDCap project redcap_project_id = 1 + +# This is the list of forms exported from the REDCap project +redcap_project_forms = enrollment, chemistry, cbc From a46e5f777c3818724c9f1cf1b9bc77d09d37dc11 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 14:11:31 -0400 Subject: [PATCH 13/58] Remove references to `demographics` This commit represents part r for issue #58 --- ...st_data.csv => demographic_test_data.json} | 0 .../vagrant-data/enrollment_test_data.csv | 1 + vagrant/Makefile | 25 +++++++++++-------- vagrant/Makefile.ini | 4 +++ 4 files changed, 20 insertions(+), 10 deletions(-) rename config-example/vagrant-data/{demographic_test_data.csv => demographic_test_data.json} (100%) create mode 100644 config-example/vagrant-data/enrollment_test_data.csv diff --git a/config-example/vagrant-data/demographic_test_data.csv b/config-example/vagrant-data/demographic_test_data.json similarity index 100% rename from config-example/vagrant-data/demographic_test_data.csv rename to config-example/vagrant-data/demographic_test_data.json diff --git a/config-example/vagrant-data/enrollment_test_data.csv b/config-example/vagrant-data/enrollment_test_data.csv new file mode 100644 index 0000000..486c9a8 --- /dev/null +++ b/config-example/vagrant-data/enrollment_test_data.csv @@ -0,0 +1 @@ +-- No content yet diff --git a/vagrant/Makefile b/vagrant/Makefile index 5c2c712..d9cb4b8 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -9,7 +9,7 @@ CONFIG_FILE := $(CONFIG_FOLDER)/settings.ini BOOTSTRAP_SQL_FILE := $(CONFIG_FOLDER)/vagrant-data/projectDataBootstrap.sql REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER)/vagrant-data/redcap.zip REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER)/vagrant-data/sqlPatches -ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER)/vagrant-data/demographic_test_data.csv +ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER)/vagrant-data/enrollment_test_data.csv ENROLLMENT_JSON_FILE := $(CONFIG_FOLDER)/vagrant-data/demographic_test_data.json REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_uri=' | cut -d '=' -f2) @@ -18,6 +18,7 @@ REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'token=' REDCAP_RECORDS_CMD:=../bin/utils/redcap_records.py --token=$(REDCAP_VM_TOKEN) --url=$(REDCAP_API_URI) REDCAP_PROJECT_ID := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_id=' | cut -d '=' -f2) REDCAP_PROJECT_FORMS := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_forms=' | cut -d '=' -f2) +REDCAP_PROJECT_ENROLLMENT_FORM := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_enrollment_form=' | cut -d '=' -f2) .PHONY: help help: @@ -28,7 +29,7 @@ help: @echo "\t rc_save - save a backup of REDCap database" @echo "\t rc_clean - remove data for default test project" - @echo "\t rc_demographics - load demographic data for default test project" + @echo "\t rc_enrollment - load enrollment data for default test project" @echo "\t rc_post - send test data to REDCap" @echo "\t rc_get - get stored test data from REDCap" @echo "\t rc_fresh - erase/insert/retrieve test data from REDCap" @@ -48,10 +49,13 @@ check_config: @test -f $(ENROLLMENT_CSV_FILE) || (echo 'Config error: missing file "$(ENROLLMENT_CSV_FILE)"' && exit 1) show_config: check_config - @echo "Reading parameters from config file - $(CONFIG_FILE)" + @echo "Reading parameters from config files : $(CONFIG_FILE), $(MAKE_CONFIG_FILE)" @echo "Using REDCAP_VM_URI : $(REDCAP_VM_URI)" @echo "Using REDCAP_VM_TOKEN : $(REDCAP_VM_TOKEN)" @echo "Using REDCAP_RECORDS_CMD : $(REDCAP_RECORDS_CMD)" + @echo "Using REDCAP_PROJECT_ID : $(REDCAP_PROJECT_ID)" + @echo "Using REDCAP_PROJECT_FORMS : $(REDCAP_PROJECT_FORMS)" + @echo "Using REDCAP_PROJECT_ENROLLMENT_FORM : $(REDCAP_PROJECT_ENROLLMENT_FORM)" rc_check: check_config curl -s $(REDCAP_VM_URI) | grep -i 'Welcome\|Critical Error' @@ -66,10 +70,11 @@ rc_clean: # TODO: add support for project id as parameter vagrant ssh -c 'cd /vagrant/scripts && php redcapdbm.php -d $(REDCAP_PROJECT_ID)' -rc_demographics: check_config +rc_enrollment: check_config $(REDCAP_RECORDS_CMD) -i $(ENROLLMENT_CSV_FILE) -rc_demographics_json: check_config +rc_enrollment_json: check_config + @test -f $(ENROLLMENT_JSON_FILE) || (echo 'Config error: missing file "$(ENROLLMENT_JSON_FILE)"' && exit 1) $(REDCAP_RECORDS_CMD) -i $(ENROLLMENT_JSON_FILE) -t json rc_post: @@ -79,15 +84,15 @@ rc_get: check_config $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" rc_get_json: check_config - $(REDCAP_RECORDS_CMD) "$(REDCAP_PROJECT_FORMS)" -t json + $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" -t json -rc_get_json_demographics: check_config - $(REDCAP_RECORDS_CMD) -f "demographics" -t json +rc_get_json_enrollment: check_config + $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_ENROLLMENT_FORM)" -t json rc_fresh: make copy_project_data make rc_clean - make rc_demographics + make rc_enrollment make rc_post make rc_get @@ -106,7 +111,7 @@ egg_test: check_config cp ../dist/REDI*.egg . vagrant ssh -c 'sudo easy_install /vagrant/REDI*.egg' make rc_clean - make rc_demographics + make rc_enrollment vagrant ssh -c 'redi -c /vagrant/config' clean: diff --git a/vagrant/Makefile.ini b/vagrant/Makefile.ini index 43bbd47..e68a00b 100644 --- a/vagrant/Makefile.ini +++ b/vagrant/Makefile.ini @@ -7,3 +7,7 @@ redcap_project_id = 1 # This is the list of forms exported from the REDCap project redcap_project_forms = enrollment, chemistry, cbc + +# This the name of the enrollment form +# which needs to be imported before any data can be sent to REDCap +redcap_project_enrollment_form = enrollment From 0d76612da5afca9253d57abd595259a6f954c1f7 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 14:24:35 -0400 Subject: [PATCH 14/58] Remove redundant json file: `vagrant-data/demographic_test_data.json` (per Philip) --- .../vagrant-data/demographic_test_data.json | 1 - vagrant/Makefile | 14 +++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) delete mode 100644 config-example/vagrant-data/demographic_test_data.json diff --git a/config-example/vagrant-data/demographic_test_data.json b/config-example/vagrant-data/demographic_test_data.json deleted file mode 100644 index 486c9a8..0000000 --- a/config-example/vagrant-data/demographic_test_data.json +++ /dev/null @@ -1 +0,0 @@ --- No content yet diff --git a/vagrant/Makefile b/vagrant/Makefile index d9cb4b8..986e728 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -10,7 +10,6 @@ BOOTSTRAP_SQL_FILE := $(CONFIG_FOLDER)/vagrant-data/projectDataBootstrap.sql REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER)/vagrant-data/redcap.zip REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER)/vagrant-data/sqlPatches ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER)/vagrant-data/enrollment_test_data.csv -ENROLLMENT_JSON_FILE := $(CONFIG_FOLDER)/vagrant-data/demographic_test_data.json REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_uri=' | cut -d '=' -f2) REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) @@ -29,9 +28,11 @@ help: @echo "\t rc_save - save a backup of REDCap database" @echo "\t rc_clean - remove data for default test project" - @echo "\t rc_enrollment - load enrollment data for default test project" + @echo "\t rc_enrollment - load csv enrollment test data for the default project" + @echo "\t rc_get_enrollment - retrieve csv enrollment test data for the default project" @echo "\t rc_post - send test data to REDCap" @echo "\t rc_get - get stored test data from REDCap" + @echo "\t rc_get_json - get stored test data from REDCap in json format" @echo "\t rc_fresh - erase/insert/retrieve test data from REDCap" @echo "\t rc_get_rate - shows the config option value: 'page_hit_threshold_per_minute' " @echo "\t rc_set_rate - set the value for: 'page_hit_threshold_per_minute' " @@ -73,10 +74,6 @@ rc_clean: rc_enrollment: check_config $(REDCAP_RECORDS_CMD) -i $(ENROLLMENT_CSV_FILE) -rc_enrollment_json: check_config - @test -f $(ENROLLMENT_JSON_FILE) || (echo 'Config error: missing file "$(ENROLLMENT_JSON_FILE)"' && exit 1) - $(REDCAP_RECORDS_CMD) -i $(ENROLLMENT_JSON_FILE) -t json - rc_post: python ../bin/redi.py -c $(CONFIG_FOLDER) @@ -86,8 +83,8 @@ rc_get: check_config rc_get_json: check_config $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" -t json -rc_get_json_enrollment: check_config - $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_ENROLLMENT_FORM)" -t json +rc_get_enrollment: check_config + $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_ENROLLMENT_FORM)" -t csv rc_fresh: make copy_project_data @@ -123,4 +120,3 @@ copy_redcap_code: check_config copy_project_data: check_config cp $(BOOTSTRAP_SQL_FILE) . @test ! -d $(REDCAP_SQL_PATCHES_FOLDER) || (echo "Copying 'sqlPatches' folder to vagrant folder" && cp -r $(REDCAP_SQL_PATCHES_FOLDER) .) - @test ! -f $(ENROLLMENT_JSON_FILE) || (echo "Copying $(ENROLLMENT_JSON_FILE) to vagrant folder" && cp $(ENROLLMENT_JSON_FILE) . ) From a06abdcefec1f8fa1f8cc402608b93520d615d39 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 15:21:47 -0400 Subject: [PATCH 15/58] Add filter: grep -v '^\#' to skip comments when parsing the ini file --- vagrant/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/vagrant/Makefile b/vagrant/Makefile index 986e728..4053305 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -4,20 +4,21 @@ # Note: Some tasks depend on variables set in the config file # therefore the proper path must be set for `CONFIG_FOLDER` MAKE_CONFIG_FILE := Makefile.ini -CONFIG_FOLDER := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'config_folder=' | cut -d '=' -f2) +CONFIG_FOLDER := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'config_folder=' | cut -d '=' -f2) CONFIG_FILE := $(CONFIG_FOLDER)/settings.ini BOOTSTRAP_SQL_FILE := $(CONFIG_FOLDER)/vagrant-data/projectDataBootstrap.sql REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER)/vagrant-data/redcap.zip REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER)/vagrant-data/sqlPatches ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER)/vagrant-data/enrollment_test_data.csv -REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_uri=' | cut -d '=' -f2) +REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_uri=' | cut -d '=' -f2) REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) -REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep 'token=' | cut -d '=' -f2) +REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'token=' | cut -d '=' -f2) REDCAP_RECORDS_CMD:=../bin/utils/redcap_records.py --token=$(REDCAP_VM_TOKEN) --url=$(REDCAP_API_URI) -REDCAP_PROJECT_ID := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_id=' | cut -d '=' -f2) -REDCAP_PROJECT_FORMS := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_forms=' | cut -d '=' -f2) -REDCAP_PROJECT_ENROLLMENT_FORM := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep 'redcap_project_enrollment_form=' | cut -d '=' -f2) +REDCAP_PROJECT_ID := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_id=' | cut -d '=' -f2) +REDCAP_PROJECT_FORMS := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_forms=' | cut -d '=' -f2) +REDCAP_PROJECT_ENROLLMENT_FORM := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_enrollment_form=' | cut -d '=' -f2) + .PHONY: help help: From cc39b616f88deea70f258e8491e91cca74557f78 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 15:47:38 -0400 Subject: [PATCH 16/58] Add `vagrant/Makefile.ini` to the list of ignored files since developers will have to override it with their own copy from devconfig/vagrant-files/Makefile.ini in order to test --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 2077cdb..f6dd7a0 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ person_form_event_tree_with_data.xml .figleaf build/ dist/ +vagrant/Makefile.ini vagrant/.vagrant/ vagrant/.vimrc vagrant/report.html From 2ae39fc1b5e9af82b73aaf06e2ed56a59b54785b Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 16:16:43 -0400 Subject: [PATCH 17/58] Small cleanup of the help strings --- vagrant/Makefile | 2 +- vagrant/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/vagrant/Makefile b/vagrant/Makefile index 4053305..7487590 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -51,7 +51,7 @@ check_config: @test -f $(ENROLLMENT_CSV_FILE) || (echo 'Config error: missing file "$(ENROLLMENT_CSV_FILE)"' && exit 1) show_config: check_config - @echo "Reading parameters from config files : $(CONFIG_FILE), $(MAKE_CONFIG_FILE)" + @echo "$(MAKE_CONFIG_FILE) indicates that extra parameters should be read from : $(CONFIG_FILE)" @echo "Using REDCAP_VM_URI : $(REDCAP_VM_URI)" @echo "Using REDCAP_VM_TOKEN : $(REDCAP_VM_TOKEN)" @echo "Using REDCAP_RECORDS_CMD : $(REDCAP_RECORDS_CMD)" diff --git a/vagrant/README.md b/vagrant/README.md index aea65f0..f84d0b4 100644 --- a/vagrant/README.md +++ b/vagrant/README.md @@ -112,11 +112,11 @@ You can perform basic data imports and exports with the VM using the tool redcap Below is an example for export - ./bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ --forms demographics + ./bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ --forms enrollment -If the above content is redirected to a file, demographics.csv, that data can be re-imported with this command: +If the above content is redirected to a file, enrollment.csv, that data can be re-imported with this command: - ./bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -i demographics.csv + ./bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -i enrollment.csv ### 5.3.To backup the redcap database Please follow below procedure to backup your REDCap database @@ -168,4 +168,4 @@ If you have data in this project that needs to be preserved, you can export it u If you would like to backup this project along with other `REDCap` projects, please follow the procedures listed in the section `5.3`. If you want to initialize the project with no data in it, follow the procedures in section `5.2`. ### 7.6 Document the Existence of the Project -Please update the README-projects.md document with a detailed decription of the new project. \ No newline at end of file +Please update the README-projects.md document with a detailed decription of the new project. From ceb4e368ee76229211e36523ee3ecc29ddb075e3 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 15 Sep 2014 16:35:02 -0400 Subject: [PATCH 18/58] Add new makefile task `rc_compare` to help comparison with the reference dataset --- config-example/vagrant-data/redi_out_reference.csv | 1 + vagrant/Makefile | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 config-example/vagrant-data/redi_out_reference.csv diff --git a/config-example/vagrant-data/redi_out_reference.csv b/config-example/vagrant-data/redi_out_reference.csv new file mode 100644 index 0000000..486c9a8 --- /dev/null +++ b/config-example/vagrant-data/redi_out_reference.csv @@ -0,0 +1 @@ +-- No content yet diff --git a/vagrant/Makefile b/vagrant/Makefile index 7487590..824f7db 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -10,6 +10,7 @@ BOOTSTRAP_SQL_FILE := $(CONFIG_FOLDER)/vagrant-data/projectDataBootstrap.sql REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER)/vagrant-data/redcap.zip REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER)/vagrant-data/sqlPatches ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER)/vagrant-data/enrollment_test_data.csv +REFERENCE_OUTPUT_FILE:= $(CONFIG_FOLDER)/vagrant-data/redi_out_reference.csv REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_uri=' | cut -d '=' -f2) REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) @@ -114,6 +115,7 @@ egg_test: check_config clean: rm -f report.html + rm -f out.csv copy_redcap_code: check_config cp $(REDCAP_CODE_ZIP_FILE) . @@ -121,3 +123,8 @@ copy_redcap_code: check_config copy_project_data: check_config cp $(BOOTSTRAP_SQL_FILE) . @test ! -d $(REDCAP_SQL_PATCHES_FOLDER) || (echo "Copying 'sqlPatches' folder to vagrant folder" && cp -r $(REDCAP_SQL_PATCHES_FOLDER) .) + +rc_compare: + @# This task can be used to compare the current project data with the reference data + $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" > out.csv + diff -u $(REFERENCE_OUTPUT_FILE) out.csv From 3eb40599daf92415e9e6cb316e69c04509b0b604 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Tue, 16 Sep 2014 09:52:06 -0400 Subject: [PATCH 19/58] Moved Makefile.ini to config-example folder to avoid unexpected commits for developers --- .gitignore | 1 + {vagrant => config-example/vagrant-data}/Makefile.ini | 0 2 files changed, 1 insertion(+) rename {vagrant => config-example/vagrant-data}/Makefile.ini (100%) diff --git a/.gitignore b/.gitignore index f6dd7a0..448afa2 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ vagrant/data/ vagrant/demographic_test_data.csv vagrant/demographic_test_data.json vagrant/redi.db +.idea/ diff --git a/vagrant/Makefile.ini b/config-example/vagrant-data/Makefile.ini similarity index 100% rename from vagrant/Makefile.ini rename to config-example/vagrant-data/Makefile.ini From 7425e38724e25b18c2bba890c841d36ac7536fc2 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Tue, 16 Sep 2014 09:53:01 -0400 Subject: [PATCH 20/58] Added `get_config_example` and `get_config_ddevelop` tasks to help managing the Makefile.ini file --- vagrant/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vagrant/Makefile b/vagrant/Makefile index 824f7db..21473d6 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -43,6 +43,13 @@ help: @echo "\t copy_redcap_code: - copy the redcap.zip file from the 'config' folder if available" @echo "\t copy_project_data: - copy extra files from the 'config' folder if available" +get_config_example: + @# Copy the config file for running make tasks + cp ../config-example/vagrant-data/Makefile.ini . + +get_config_develop: + cp ../config/vagrant-data/Makefile.ini . + check_config: @# This task is used as a dependency checker @test -d $(CONFIG_FOLDER) || (echo 'Please create a "config" folder with necessary files first' && exit 1) From 71ff2b4e51cd0f6c056685781a151c469a722542 Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Tue, 16 Sep 2014 10:41:51 -0400 Subject: [PATCH 21/58] Remove unnecessary StringIO --- scripts/generate_cctl.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/generate_cctl.py b/scripts/generate_cctl.py index 246325f..d1750e8 100755 --- a/scripts/generate_cctl.py +++ b/scripts/generate_cctl.py @@ -2,7 +2,6 @@ """ Generates a clinical-component-to-loinc.xml from CSV """ import argparse import csv -import StringIO import sys @@ -28,8 +27,7 @@ def main(): A mapping of local clinical component identifiers to their corresponding LOINC codes """ - stdin_as_file = StringIO.StringIO(sys.stdin.read()) - reader = csv.reader(stdin_as_file) + reader = csv.reader(sys.stdin) for line in reader: length = len(line) if 4 == length: From f637507a07872c4b077e67e4a60e10017829c797 Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Tue, 16 Sep 2014 12:10:50 -0400 Subject: [PATCH 22/58] Add sample project SQL The sample project is named "RED-I Sample Project". It's Project #12 and has an API Key of "THIS_IS_THE_API_KEY". --- config-example/redi_sample_project.sql | 2142 ++++++++++++++++++++++++ 1 file changed, 2142 insertions(+) create mode 100644 config-example/redi_sample_project.sql diff --git a/config-example/redi_sample_project.sql b/config-example/redi_sample_project.sql new file mode 100644 index 0000000..a053d30 --- /dev/null +++ b/config-example/redi_sample_project.sql @@ -0,0 +1,2142 @@ +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; +DROP TABLE IF EXISTS `redcap_actions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_actions` ( + `action_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `survey_id` int(10) DEFAULT NULL, + `action_trigger` enum('MANUAL','ENDOFSURVEY','SURVEYQUESTION') COLLATE utf8_unicode_ci DEFAULT NULL, + `action_response` enum('NONE','EMAIL','STOPSURVEY','PROMPT') COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_text` text COLLATE utf8_unicode_ci, + `recipient_id` int(10) DEFAULT NULL COMMENT 'FK user_information', + PRIMARY KEY (`action_id`), + UNIQUE KEY `survey_recipient_id` (`survey_id`,`recipient_id`), + KEY `project_id` (`project_id`), + KEY `recipient_id` (`recipient_id`), + CONSTRAINT `redcap_actions_ibfk_3` FOREIGN KEY (`survey_id`) REFERENCES `redcap_surveys` (`survey_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_actions_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_actions_ibfk_2` FOREIGN KEY (`recipient_id`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_actions` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_actions` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_auth`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_auth` ( + `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `password` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'MD5 hash of user''s password', + `temp_pwd` int(1) NOT NULL DEFAULT '0' COMMENT 'Flag to force user to re-enter password', + `password_question` int(10) DEFAULT NULL COMMENT 'PK of question', + `password_answer` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'MD5 hash of answer to password recovery question', + `password_question_reminder` datetime DEFAULT NULL COMMENT 'When to prompt user to set up security question', + PRIMARY KEY (`username`), + KEY `password_question` (`password_question`), + CONSTRAINT `redcap_auth_ibfk_1` FOREIGN KEY (`password_question`) REFERENCES `redcap_auth_questions` (`qid`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_auth` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_auth` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_auth_history`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_auth_history` ( + `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `password` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `timestamp` datetime DEFAULT NULL, + KEY `username_password` (`username`,`password`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores last 5 passwords'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_auth_history` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_auth_history` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_auth_questions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_auth_questions` ( + `qid` int(10) NOT NULL AUTO_INCREMENT, + `question` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`qid`) +) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_auth_questions` DISABLE KEYS */; +INSERT INTO `redcap_auth_questions` VALUES (1,'What was your childhood nickname?'),(2,'In what city did you meet your spouse/significant other?'),(3,'What is the name of your favorite childhood friend?'),(4,'What street did you live on in third grade?'),(5,'What is your oldest sibling\'s birthday month and year? (e.g., January 1900)'),(6,'What is the middle name of your oldest child?'),(7,'What is your oldest sibling\'s middle name?'),(8,'What school did you attend for sixth grade?'),(9,'What was your childhood phone number including area code? (e.g., 000-000-0000)'),(10,'What is your oldest cousin\'s first and last name?'),(11,'What was the name of your first stuffed animal?'),(12,'In what city or town did your mother and father meet?'),(13,'Where were you when you had your first kiss?'),(14,'What is the first name of the boy or girl that you first kissed?'),(15,'What was the last name of your third grade teacher?'),(16,'In what city does your nearest sibling live?'),(17,'What is your oldest brother\'s birthday month and year? (e.g., January 1900)'),(18,'What is your maternal grandmother\'s maiden name?'),(19,'In what city or town was your first job?'),(20,'What is the name of the place your wedding reception was held?'),(21,'What is the name of a college you applied to but didn\'t attend?'); +/*!40000 ALTER TABLE `redcap_auth_questions` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_config`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_config` ( + `field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `value` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`field_name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores global settings'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_config` DISABLE KEYS */; +INSERT INTO `redcap_config` VALUES ('allow_create_db_default','1'),('amazon_s3_bucket',''),('amazon_s3_key',''),('amazon_s3_secret',''),('api_enabled','1'),('auth_meth_global','none'),('auto_prod_changes','2'),('auto_report_stats','1'),('auto_report_stats_last_sent','2000-01-01'),('autologout_timer','30'),('certify_text_create',''),('certify_text_prod',''),('data_entry_trigger_enabled','1'),('display_nonauth_projects','1'),('display_project_logo_institution','0'),('display_today_now_button','1'),('doc_to_edoc_transfer_complete','1'),('dts_enabled_global','0'),('edoc_field_option_enabled','1'),('edoc_path',''),('edoc_storage_option','0'),('edoc_upload_max',''),('email_domain_whitelist',''),('enable_edit_prod_events','1'),('enable_edit_survey_response','1'),('enable_http_compression','1'),('enable_plotting','2'),('enable_plotting_survey_results','1'),('enable_projecttype_forms','1'),('enable_projecttype_singlesurvey','1'),('enable_projecttype_singlesurveyforms','1'),('enable_url_shortener','1'),('enable_user_whitelist','0'),('file_attachment_upload_max',''),('file_repository_enabled','1'),('file_repository_upload_max',''),('footer_links',''),('footer_text',''),('google_translate_enabled','0'),('googlemap_key',''),('grant_cite',''),('headerlogo',''),('helpfaq_custom_text',''),('homepage_contact',''),('homepage_contact_email',''),('homepage_custom_text',''),('homepage_grant_cite',''),('identifier_keywords','name, street, address, city, county, precinct, zip, postal, date, phone, fax, mail, ssn, social security, mrn, dob, dod, medical, record, id, age'),('institution',''),('language_global','English'),('login_autocomplete_disable','0'),('login_custom_text',''),('login_logo',''),('logout_fail_limit','5'),('logout_fail_window','15'),('my_profile_enable_edit','1'),('openid_provider_name',''),('openid_provider_url',''),('page_hit_threshold_per_minute','600'),('password_history_limit','0'),('password_recovery_custom_text',''),('password_reset_duration','0'),('project_contact_email',''),('project_contact_name',''),('project_contact_prod_changes_email',''),('project_contact_prod_changes_name',''),('project_language','English'),('proxy_hostname',''),('pub_matching_email_days','7'),('pub_matching_email_limit','3'),('pub_matching_email_subject',''),('pub_matching_email_text',''),('pub_matching_emails','0'),('pub_matching_enabled','0'),('pub_matching_institution','Vanderbilt\nMeharry'),('randomization_global','1'),('realtime_webservice_custom_text',''),('realtime_webservice_data_fetch_interval','24'),('realtime_webservice_display_info_project_setup','1'),('realtime_webservice_global_enabled','0'),('realtime_webservice_source_system_custom_name',''),('realtime_webservice_stop_fetch_inactivity_days','7'),('realtime_webservice_url_data',''),('realtime_webservice_url_metadata',''),('realtime_webservice_url_user_access',''),('realtime_webservice_user_rights_super_users_only','1'),('redcap_base_url',''),('redcap_base_url_display_error_on_mismatch','1'),('redcap_last_install_date','2014-09-16'),('redcap_version','5.7.4'),('sendit_enabled','1'),('sendit_upload_max',''),('shared_library_enabled','1'),('shibboleth_logout',''),('shibboleth_username_field','none'),('site_org_type',''),('superusers_only_create_project','0'),('superusers_only_move_to_prod','1'),('suspend_users_inactive_days','180'),('suspend_users_inactive_send_email','1'),('suspend_users_inactive_type',''),('system_offline','0'),('system_offline_message',''),('temp_files_last_delete','2014-09-16 16:01:02'),('user_access_dashboard_custom_notification',''),('user_access_dashboard_enable','1'); +/*!40000 ALTER TABLE `redcap_config` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_crons`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_crons` ( + `cron_id` int(10) NOT NULL AUTO_INCREMENT, + `cron_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Unique name for each job', + `cron_description` text COLLATE utf8_unicode_ci, + `cron_enabled` enum('ENABLED','DISABLED') COLLATE utf8_unicode_ci DEFAULT 'ENABLED', + `cron_frequency` int(10) DEFAULT NULL COMMENT 'seconds', + `cron_max_run_time` int(10) DEFAULT NULL COMMENT 'max # seconds a cron should run', + `cron_instances_max` int(2) NOT NULL DEFAULT '1' COMMENT 'Number of instances that can run simultaneously', + `cron_instances_current` int(2) NOT NULL DEFAULT '0' COMMENT 'Current number of instances running', + `cron_last_run_start` datetime DEFAULT NULL, + `cron_last_run_end` datetime DEFAULT NULL, + `cron_times_failed` int(2) NOT NULL DEFAULT '0' COMMENT 'After X failures, set as Disabled', + `cron_external_url` text COLLATE utf8_unicode_ci COMMENT 'URL to call for custom jobs not defined by REDCap', + PRIMARY KEY (`cron_id`), + UNIQUE KEY `cron_name` (`cron_name`) +) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='List of all jobs to be run by universal cron job'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_crons` DISABLE KEYS */; +INSERT INTO `redcap_crons` VALUES (1,'PubMed','Query the PubMed API to find publications associated with PIs in REDCap, and store publication attributes and PI/project info. Emails will then be sent to any PIs that have been found to have publications in PubMed, and (if applicable) will be asked to associate their publication to a REDCap project.','DISABLED',86400,7200,1,0,NULL,NULL,0,NULL),(2,'RemoveTempAndDeletedFiles','Delete all files from the REDCap temp directory, and delete all edoc and Send-It files marked for deletion.','ENABLED',120,600,1,0,NULL,NULL,0,NULL),(3,'ExpireSurveys','For any surveys where an expiration timestamp is set, if the timestamp <= NOW, then make the survey inactive.','ENABLED',120,600,1,0,NULL,NULL,0,NULL),(4,'SurveyInvitationEmailer','Mailer that sends any survey invitations that have been scheduled.','ENABLED',60,1800,5,0,NULL,NULL,0,NULL),(5,'DeleteProjects','Delete all projects that are scheduled for permanent deletion','ENABLED',300,1200,1,0,NULL,NULL,0,NULL),(6,'ClearIPCache','Clear all IP addresses older than X minutes from the redcap_ip_cache table.','ENABLED',180,60,1,0,NULL,NULL,0,NULL),(7,'ExpireUsers','For any users whose expiration timestamp is set, if the timestamp <= NOW, then suspend the user\'s account and set expiration time back to NULL.','ENABLED',120,600,1,0,NULL,NULL,0,NULL),(8,'WarnUsersAccountExpiration','For any users whose expiration timestamp is set, if the expiration time is less than X days from now, then email the user to warn them of their impending account expiration.','ENABLED',86400,600,1,0,NULL,NULL,0,NULL),(9,'SuspendInactiveUsers','For any users whose last login time exceeds the defined max days of inactivity, auto-suspend their account (if setting enabled).','ENABLED',86400,600,1,0,NULL,NULL,0,NULL),(10,'ReminderUserAccessDashboard','At a regular interval, email all users to remind them to visit the User Access Dashboard page. Enables the ReminderUserAccessDashboardEmail cron job.','ENABLED',86400,600,1,0,NULL,NULL,0,NULL),(11,'ReminderUserAccessDashboardEmail','Email all users in batches to remind them to visit the User Access Dashboard page. Will disable itself when done.','DISABLED',60,1800,5,0,NULL,NULL,0,NULL),(12,'DDPQueueRecordsAllProjects','Queue records that are ready to be fetched from the external source system via the DDP service.','ENABLED',300,600,1,0,NULL,NULL,0,NULL),(13,'DDPFetchRecordsAllProjects','Fetch data from the external source system for records already queued by the DDP service.','ENABLED',60,1800,10,0,NULL,NULL,0,NULL),(14,'PurgeCronHistory','Purges all rows from the crons history table that are older than one week.','ENABLED',86400,600,1,0,NULL,NULL,0,NULL); +/*!40000 ALTER TABLE `redcap_crons` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_crons_history`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_crons_history` ( + `ch_id` int(10) NOT NULL AUTO_INCREMENT, + `cron_id` int(10) DEFAULT NULL, + `cron_run_start` datetime DEFAULT NULL, + `cron_run_end` datetime DEFAULT NULL, + `cron_run_status` enum('PROCESSING','COMPLETED','FAILED') COLLATE utf8_unicode_ci DEFAULT NULL, + `cron_info` text COLLATE utf8_unicode_ci COMMENT 'Any pertinent info that might be logged', + PRIMARY KEY (`ch_id`), + KEY `cron_id` (`cron_id`), + KEY `cron_run_start` (`cron_run_start`), + KEY `cron_run_end` (`cron_run_end`), + CONSTRAINT `redcap_crons_history_ibfk_1` FOREIGN KEY (`cron_id`) REFERENCES `redcap_crons` (`cron_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='History of all jobs run by universal cron job'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_crons_history` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_crons_history` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_dashboard_ip_location_cache`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_dashboard_ip_location_cache` ( + `ip` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `latitude` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `longitude` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `region` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`ip`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_dashboard_ip_location_cache` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_dashboard_ip_location_cache` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_data` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `event_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` text COLLATE utf8_unicode_ci, + KEY `event_id` (`event_id`), + KEY `project_field` (`project_id`,`field_name`), + KEY `proj_record_field` (`project_id`,`record`,`field_name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_data` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_data` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_data_access_groups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_data_access_groups` ( + `group_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `group_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`group_id`), + KEY `project_id` (`project_id`), + CONSTRAINT `redcap_data_access_groups_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_data_access_groups` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_data_access_groups` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_data_quality_resolutions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_data_quality_resolutions` ( + `res_id` int(10) NOT NULL AUTO_INCREMENT, + `status_id` int(10) DEFAULT NULL COMMENT 'FK from data_quality_status', + `ts` datetime DEFAULT NULL COMMENT 'Date/time added', + `user_id` int(10) DEFAULT NULL COMMENT 'Current user', + `response_requested` int(1) NOT NULL DEFAULT '0' COMMENT 'Is a response requested?', + `response` enum('DATA_MISSING','TYPOGRAPHICAL_ERROR','CONFIRMED_CORRECT','WRONG_SOURCE','OTHER') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Response category if user responded to query', + `comment` text COLLATE utf8_unicode_ci COMMENT 'Text for comment', + `current_query_status` enum('OPEN','CLOSED','VERIFIED','DEVERIFIED') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Current query status of thread', + `upload_doc_id` int(10) DEFAULT NULL COMMENT 'FK of uploaded document', + PRIMARY KEY (`res_id`), + KEY `doc_id` (`upload_doc_id`), + KEY `status_id` (`status_id`), + KEY `user_id` (`user_id`), + CONSTRAINT `redcap_data_quality_resolutions_ibfk_1` FOREIGN KEY (`status_id`) REFERENCES `redcap_data_quality_status` (`status_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_resolutions_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_resolutions_ibfk_3` FOREIGN KEY (`upload_doc_id`) REFERENCES `redcap_edocs_metadata` (`doc_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_data_quality_resolutions` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_data_quality_resolutions` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_data_quality_rules`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_data_quality_rules` ( + `rule_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `rule_order` int(3) DEFAULT '1', + `rule_name` text COLLATE utf8_unicode_ci, + `rule_logic` text COLLATE utf8_unicode_ci, + `real_time_execute` int(1) NOT NULL DEFAULT '0' COMMENT 'Run in real-time on data entry forms?', + PRIMARY KEY (`rule_id`), + KEY `project_id` (`project_id`), + CONSTRAINT `redcap_data_quality_rules_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_data_quality_rules` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_data_quality_rules` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_data_quality_status`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_data_quality_status` ( + `status_id` int(10) NOT NULL AUTO_INCREMENT, + `rule_id` int(10) DEFAULT NULL COMMENT 'FK from data_quality_rules table', + `pd_rule_id` int(2) DEFAULT NULL COMMENT 'Name of pre-defined rules', + `non_rule` int(1) DEFAULT NULL COMMENT '1 for non-rule, else NULL', + `project_id` int(11) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Only used if field-level is required', + `status` int(2) DEFAULT NULL COMMENT 'Current status of discrepancy', + `exclude` int(1) NOT NULL DEFAULT '0' COMMENT 'Hide from results', + `query_status` enum('OPEN','CLOSED','VERIFIED','DEVERIFIED') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Status of data query', + `assigned_user_id` int(10) DEFAULT NULL COMMENT 'UI ID of user assigned to query', + PRIMARY KEY (`status_id`), + UNIQUE KEY `rule_record_event` (`rule_id`,`record`,`event_id`), + UNIQUE KEY `pd_rule_proj_record_event_field` (`pd_rule_id`,`record`,`event_id`,`field_name`,`project_id`), + UNIQUE KEY `nonrule_proj_record_event_field` (`non_rule`,`project_id`,`record`,`event_id`,`field_name`), + KEY `event_id` (`event_id`), + KEY `pd_rule_proj_record_event` (`pd_rule_id`,`record`,`event_id`,`project_id`), + KEY `project_query_status` (`project_id`,`query_status`), + KEY `assigned_user_id` (`assigned_user_id`), + CONSTRAINT `redcap_data_quality_status_ibfk_4` FOREIGN KEY (`assigned_user_id`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_status_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `redcap_data_quality_rules` (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_status_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_status_ibfk_3` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_data_quality_status` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_data_quality_status` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ddp_log_view`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ddp_log_view` ( + `ml_id` int(10) NOT NULL AUTO_INCREMENT, + `time_viewed` datetime DEFAULT NULL COMMENT 'Time the data was displayed to the user', + `user_id` int(10) DEFAULT NULL COMMENT 'PK from user_information table', + `project_id` int(10) DEFAULT NULL, + `source_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ID value from source system (e.g. MRN)', + PRIMARY KEY (`ml_id`), + KEY `source_id` (`source_id`), + KEY `project_id` (`project_id`), + KEY `user_project` (`user_id`,`project_id`), + KEY `time_viewed` (`time_viewed`), + CONSTRAINT `redcap_ddp_log_view_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_ddp_log_view_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ddp_log_view` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_ddp_log_view` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ddp_log_view_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ddp_log_view_data` ( + `ml_id` int(10) DEFAULT NULL COMMENT 'PK from ddp_log_view table', + `source_field` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Field name from source system', + `source_timestamp` datetime DEFAULT NULL COMMENT 'Date of service from source system', + `md_id` int(10) DEFAULT NULL COMMENT 'PK from ddp_records_data table', + KEY `ml_id` (`ml_id`), + KEY `source_timestamp` (`source_timestamp`), + KEY `md_id` (`md_id`), + KEY `source_field` (`source_field`), + CONSTRAINT `redcap_ddp_log_view_data_ibfk_1` FOREIGN KEY (`ml_id`) REFERENCES `redcap_ddp_log_view` (`ml_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_ddp_log_view_data_ibfk_2` FOREIGN KEY (`md_id`) REFERENCES `redcap_ddp_records_data` (`md_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ddp_log_view_data` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_ddp_log_view_data` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ddp_mapping`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ddp_mapping` ( + `map_id` int(10) NOT NULL AUTO_INCREMENT, + `external_source_field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Unique name of field mapped from external data source', + `is_record_identifier` int(1) DEFAULT NULL COMMENT '1=Yes, Null=No', + `project_id` int(10) DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `temporal_field` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'REDCap date field', + `preselect` enum('MIN','MAX','FIRST','LAST') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Preselect a source value for temporal fields only', + PRIMARY KEY (`map_id`), + UNIQUE KEY `project_identifier` (`project_id`,`is_record_identifier`), + UNIQUE KEY `project_field_event_source` (`project_id`,`event_id`,`field_name`,`external_source_field_name`), + KEY `field_name` (`field_name`), + KEY `event_id` (`event_id`), + KEY `external_source_field_name` (`external_source_field_name`), + KEY `temporal_field` (`temporal_field`), + CONSTRAINT `redcap_ddp_mapping_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_ddp_mapping_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ddp_mapping` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_ddp_mapping` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ddp_preview_fields`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ddp_preview_fields` ( + `project_id` int(10) NOT NULL, + `field1` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `field2` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `field3` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `field4` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `field5` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`project_id`), + CONSTRAINT `redcap_ddp_preview_fields_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ddp_preview_fields` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_ddp_preview_fields` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ddp_records`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ddp_records` ( + `mr_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `updated_at` datetime DEFAULT NULL COMMENT 'Time of last data fetch', + `item_count` int(10) DEFAULT NULL COMMENT 'New item count (as of last viewing)', + `fetch_status` enum('QUEUED','FETCHING') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Current status of data fetch for this record', + PRIMARY KEY (`mr_id`), + UNIQUE KEY `project_record` (`project_id`,`record`), + KEY `project_updated_at` (`updated_at`,`project_id`), + KEY `project_id_fetch_status` (`fetch_status`,`project_id`), + CONSTRAINT `redcap_ddp_records_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ddp_records` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_ddp_records` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ddp_records_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ddp_records_data` ( + `md_id` int(10) NOT NULL AUTO_INCREMENT, + `map_id` int(10) NOT NULL COMMENT 'PK from ddp_mapping table', + `mr_id` int(10) DEFAULT NULL COMMENT 'PK from ddp_records table', + `source_timestamp` datetime DEFAULT NULL COMMENT 'Date of service from source system', + `source_value` text COLLATE utf8_unicode_ci COMMENT 'Encrypted data value from source system', + `adjudicated` int(1) NOT NULL DEFAULT '0' COMMENT 'Has source value been adjudicated?', + `exclude` int(1) NOT NULL DEFAULT '0' COMMENT 'Has source value been excluded?', + PRIMARY KEY (`md_id`), + KEY `map_id_timestamp` (`map_id`,`source_timestamp`), + KEY `map_id_mr_id_timestamp_value` (`map_id`,`mr_id`,`source_timestamp`,`source_value`(255)), + KEY `mr_id_adjudicated` (`mr_id`,`adjudicated`), + KEY `mr_id_exclude` (`mr_id`,`exclude`), + CONSTRAINT `redcap_ddp_records_data_ibfk_1` FOREIGN KEY (`map_id`) REFERENCES `redcap_ddp_mapping` (`map_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_ddp_records_data_ibfk_2` FOREIGN KEY (`mr_id`) REFERENCES `redcap_ddp_records` (`mr_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Cached data values from web service'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ddp_records_data` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_ddp_records_data` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_docs`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_docs` ( + `docs_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) NOT NULL DEFAULT '0', + `docs_date` date DEFAULT NULL, + `docs_name` text COLLATE utf8_unicode_ci, + `docs_size` double DEFAULT NULL, + `docs_type` text COLLATE utf8_unicode_ci, + `docs_file` longblob, + `docs_comment` text COLLATE utf8_unicode_ci, + `docs_rights` text COLLATE utf8_unicode_ci, + `export_file` int(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`docs_id`), + KEY `docs_name` (`docs_name`(128)), + KEY `project_id_export_file` (`project_id`,`export_file`), + KEY `project_id_comment` (`project_id`,`docs_comment`(128)), + CONSTRAINT `redcap_docs_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_docs` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_docs` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_docs_to_edocs`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_docs_to_edocs` ( + `docs_id` int(11) NOT NULL COMMENT 'PK redcap_docs', + `doc_id` int(11) NOT NULL COMMENT 'PK redcap_edocs_metadata', + PRIMARY KEY (`docs_id`,`doc_id`), + KEY `doc_id` (`doc_id`), + CONSTRAINT `redcap_docs_to_edocs_ibfk_2` FOREIGN KEY (`doc_id`) REFERENCES `redcap_edocs_metadata` (`doc_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_docs_to_edocs_ibfk_1` FOREIGN KEY (`docs_id`) REFERENCES `redcap_docs` (`docs_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_docs_to_edocs` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_docs_to_edocs` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_edocs_metadata`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_edocs_metadata` ( + `doc_id` int(10) NOT NULL AUTO_INCREMENT, + `stored_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'stored name', + `mime_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `doc_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `doc_size` int(10) DEFAULT NULL, + `file_extension` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_id` int(10) DEFAULT NULL, + `stored_date` datetime DEFAULT NULL COMMENT 'stored date', + `delete_date` datetime DEFAULT NULL COMMENT 'date deleted', + `date_deleted_server` datetime DEFAULT NULL COMMENT 'When really deleted from server', + PRIMARY KEY (`doc_id`), + KEY `project_id` (`project_id`), + KEY `date_deleted` (`delete_date`,`date_deleted_server`), + CONSTRAINT `redcap_edocs_metadata_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_edocs_metadata` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_edocs_metadata` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_esignatures`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_esignatures` ( + `esign_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `timestamp` datetime DEFAULT NULL, + PRIMARY KEY (`esign_id`), + UNIQUE KEY `proj_rec_event_form` (`project_id`,`record`,`event_id`,`form_name`), + KEY `username` (`username`), + KEY `event_id` (`event_id`), + CONSTRAINT `redcap_esignatures_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_esignatures_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_esignatures` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_esignatures` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_events_arms`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_events_arms` ( + `arm_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) NOT NULL DEFAULT '0', + `arm_num` int(2) NOT NULL DEFAULT '1', + `arm_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Arm 1', + PRIMARY KEY (`arm_id`), + UNIQUE KEY `proj_arm_num` (`project_id`,`arm_num`), + CONSTRAINT `redcap_events_arms_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_events_arms` DISABLE KEYS */; +INSERT INTO `redcap_events_arms` VALUES (1,1,1,'Arm 1'),(2,2,1,'Drug A'),(3,2,2,'Drug B'),(4,3,1,'Arm 1'),(5,4,1,'Drug A'),(6,5,1,'Arm 1'),(7,6,1,'Arm 1'),(8,7,1,'Arm 1'),(9,8,1,'Arm 1'),(10,9,1,'Arm 1'),(11,10,1,'Arm 1'),(12,11,1,'Arm 1'),(13,12,1,'Arm 1'); +/*!40000 ALTER TABLE `redcap_events_arms` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_events_calendar`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_events_calendar` ( + `cal_id` int(10) NOT NULL AUTO_INCREMENT, + `record` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_id` int(10) DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `baseline_date` date DEFAULT NULL, + `group_id` int(10) DEFAULT NULL, + `event_date` date DEFAULT NULL, + `event_time` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'HH:MM', + `event_status` int(2) DEFAULT NULL COMMENT 'NULL=Ad Hoc, 0=Due Date, 1=Scheduled, 2=Confirmed, 3=Cancelled, 4=No Show', + `note_type` int(2) DEFAULT NULL, + `notes` text COLLATE utf8_unicode_ci, + `extra_notes` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`cal_id`), + KEY `project_date` (`project_id`,`event_date`), + KEY `project_record` (`project_id`,`record`), + KEY `event_id` (`event_id`), + KEY `group_id` (`group_id`), + CONSTRAINT `redcap_events_calendar_ibfk_3` FOREIGN KEY (`group_id`) REFERENCES `redcap_data_access_groups` (`group_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_events_calendar_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_events_calendar_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Calendar Data'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_events_calendar` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_events_calendar` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_events_forms`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_events_forms` ( + `event_id` int(10) NOT NULL DEFAULT '0', + `form_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + UNIQUE KEY `event_form` (`event_id`,`form_name`), + CONSTRAINT `redcap_events_forms_ibfk_1` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_events_forms` DISABLE KEYS */; +INSERT INTO `redcap_events_forms` VALUES (2,'baseline_data'),(2,'contact_info'),(2,'demographics'),(3,'patient_morale_questionnaire'),(4,'patient_morale_questionnaire'),(4,'visit_blood_workup'),(4,'visit_lab_data'),(4,'visit_observed_behavior'),(5,'patient_morale_questionnaire'),(6,'patient_morale_questionnaire'),(6,'visit_blood_workup'),(6,'visit_lab_data'),(6,'visit_observed_behavior'),(7,'patient_morale_questionnaire'),(8,'patient_morale_questionnaire'),(8,'visit_blood_workup'),(8,'visit_lab_data'),(8,'visit_observed_behavior'),(9,'completion_data'),(9,'completion_project_questionnaire'),(9,'patient_morale_questionnaire'),(9,'visit_blood_workup'),(9,'visit_observed_behavior'),(10,'baseline_data'),(10,'contact_info'),(10,'demographics'),(11,'contact_info'),(12,'patient_morale_questionnaire'),(13,'patient_morale_questionnaire'),(13,'visit_blood_workup'),(13,'visit_lab_data'),(13,'visit_observed_behavior'),(14,'patient_morale_questionnaire'),(15,'patient_morale_questionnaire'),(15,'visit_blood_workup'),(15,'visit_lab_data'),(15,'visit_observed_behavior'),(16,'completion_data'),(16,'completion_project_questionnaire'),(16,'patient_morale_questionnaire'),(16,'visit_blood_workup'),(16,'visit_lab_data'),(16,'visit_observed_behavior'),(17,'contact_info'),(19,'baseline_data'),(19,'contact_info'),(19,'demographics'),(20,'patient_morale_questionnaire'),(21,'patient_morale_questionnaire'),(21,'visit_blood_workup'),(21,'visit_lab_data'),(21,'visit_observed_behavior'),(22,'patient_morale_questionnaire'),(23,'patient_morale_questionnaire'),(23,'visit_blood_workup'),(23,'visit_lab_data'),(23,'visit_observed_behavior'),(24,'patient_morale_questionnaire'),(25,'patient_morale_questionnaire'),(25,'visit_blood_workup'),(25,'visit_lab_data'),(25,'visit_observed_behavior'),(26,'completion_data'),(26,'completion_project_questionnaire'),(26,'patient_morale_questionnaire'),(26,'visit_blood_workup'),(26,'visit_observed_behavior'),(32,'participant_info_survey'),(32,'prescreening_survey'),(33,'participant_morale_questionnaire'),(34,'participant_morale_questionnaire'),(35,'participant_morale_questionnaire'),(36,'participant_morale_questionnaire'),(37,'completion_data'),(39,'cbc'),(39,'chemistry'),(39,'enrollment'),(40,'cbc'),(40,'chemistry'),(41,'cbc'),(41,'chemistry'),(42,'cbc'),(42,'chemistry'),(43,'cbc'),(43,'chemistry'),(44,'cbc'),(44,'chemistry'),(45,'cbc'),(45,'chemistry'),(46,'cbc'),(46,'chemistry'),(47,'cbc'),(47,'chemistry'),(48,'cbc'),(48,'chemistry'),(49,'cbc'),(49,'chemistry'),(50,'cbc'),(50,'chemistry'),(51,'cbc'),(51,'chemistry'),(52,'cbc'),(52,'chemistry'),(53,'cbc'),(53,'chemistry'),(54,'cbc'),(54,'chemistry'),(55,'cbc'),(55,'chemistry'),(56,'cbc'),(56,'chemistry'),(57,'cbc'),(57,'chemistry'),(58,'cbc'),(58,'chemistry'),(59,'cbc'),(59,'chemistry'),(60,'cbc'),(60,'chemistry'),(61,'cbc'),(61,'chemistry'),(62,'cbc'),(62,'chemistry'),(63,'cbc'),(63,'chemistry'),(64,'cbc'),(64,'chemistry'),(65,'cbc'),(65,'chemistry'),(66,'cbc'),(66,'chemistry'),(67,'cbc'),(67,'chemistry'),(68,'cbc'),(68,'chemistry'); +/*!40000 ALTER TABLE `redcap_events_forms` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_events_metadata`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_events_metadata` ( + `event_id` int(10) NOT NULL AUTO_INCREMENT, + `arm_id` int(10) NOT NULL DEFAULT '0' COMMENT 'FK for events_arms', + `day_offset` float NOT NULL DEFAULT '0' COMMENT 'Days from Start Date', + `offset_min` float NOT NULL DEFAULT '0', + `offset_max` float NOT NULL DEFAULT '0', + `descrip` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Event 1' COMMENT 'Event Name', + `external_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`event_id`), + KEY `external_id` (`external_id`), + KEY `arm_dayoffset_descrip` (`arm_id`,`day_offset`,`descrip`), + KEY `day_offset` (`day_offset`), + KEY `descrip` (`descrip`), + CONSTRAINT `redcap_events_metadata_ibfk_1` FOREIGN KEY (`arm_id`) REFERENCES `redcap_events_arms` (`arm_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_events_metadata` DISABLE KEYS */; +INSERT INTO `redcap_events_metadata` VALUES (1,1,0,0,0,'Event 1',NULL),(2,2,0,0,0,'Enrollment',NULL),(3,2,1,0,0,'Dose 1',NULL),(4,2,3,0,0,'Visit 1',NULL),(5,2,8,0,0,'Dose 2',NULL),(6,2,10,0,0,'Visit 2',NULL),(7,2,15,0,0,'Dose 3',NULL),(8,2,17,0,0,'Visit 3',NULL),(9,2,30,0,0,'Final visit',NULL),(10,3,0,0,0,'Enrollment',NULL),(11,3,5,0,0,'Deadline to opt out of study',NULL),(12,3,7,0,0,'First dose',NULL),(13,3,10,2,2,'First visit',NULL),(14,3,13,0,0,'Second dose',NULL),(15,3,15,2,2,'Second visit',NULL),(16,3,20,2,2,'Final visit',NULL),(17,3,30,0,0,'Deadline to return feedback',NULL),(18,4,0,0,0,'Event 1',NULL),(19,5,0,0,0,'Enrollment',NULL),(20,5,1,0,0,'Dose 1',NULL),(21,5,3,0,0,'Visit 1',NULL),(22,5,8,0,0,'Dose 2',NULL),(23,5,10,0,0,'Visit 2',NULL),(24,5,15,0,0,'Dose 3',NULL),(25,5,17,0,0,'Visit 3',NULL),(26,5,30,0,0,'Final visit',NULL),(27,6,0,0,0,'Event 1',NULL),(28,7,0,0,0,'Event 1',NULL),(29,8,0,0,0,'Event 1',NULL),(30,9,0,0,0,'Event 1',NULL),(31,10,0,0,0,'Event 1',NULL),(32,11,0,0,0,'Initial Data',NULL),(33,11,1,0,0,'Week 1',NULL),(34,11,8,0,0,'Week 2',NULL),(35,11,15,0,0,'Week 3',NULL),(36,11,22,0,0,'Week 4',NULL),(37,11,30,0,0,'Final Data',NULL),(38,12,0,0,0,'Event 1',NULL),(39,13,0,0,0,'1',NULL),(40,13,1,0,0,'2',NULL),(41,13,2,0,0,'3',NULL),(42,13,3,0,0,'4',NULL),(43,13,4,0,0,'5',NULL),(44,13,5,0,0,'6',NULL),(45,13,6,0,0,'7',NULL),(46,13,7,0,0,'8',NULL),(47,13,8,0,0,'9',NULL),(48,13,9,0,0,'10',NULL),(49,13,10,0,0,'11',NULL),(50,13,11,0,0,'12',NULL),(51,13,12,0,0,'13',NULL),(52,13,13,0,0,'14',NULL),(53,13,14,0,0,'15',NULL),(54,13,15,0,0,'16',NULL),(55,13,16,0,0,'17',NULL),(56,13,17,0,0,'18',NULL),(57,13,18,0,0,'19',NULL),(58,13,19,0,0,'20',NULL),(59,13,20,0,0,'21',NULL),(60,13,21,0,0,'22',NULL),(61,13,22,0,0,'23',NULL),(62,13,23,0,0,'24',NULL),(63,13,24,0,0,'25',NULL),(64,13,25,0,0,'26',NULL),(65,13,26,0,0,'27',NULL),(66,13,27,0,0,'28',NULL),(67,13,28,0,0,'29',NULL),(68,13,29,0,0,'30',NULL); +/*!40000 ALTER TABLE `redcap_events_metadata` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_external_links`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_external_links` ( + `ext_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `link_order` int(5) NOT NULL DEFAULT '1', + `link_url` text COLLATE utf8_unicode_ci, + `link_label` text COLLATE utf8_unicode_ci, + `open_new_window` int(10) NOT NULL DEFAULT '0', + `link_type` enum('LINK','POST_AUTHKEY','REDCAP_PROJECT') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'LINK', + `user_access` enum('ALL','DAG','SELECTED') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'ALL', + `append_record_info` int(1) NOT NULL DEFAULT '0' COMMENT 'Append record and event to URL', + `append_pid` int(1) NOT NULL DEFAULT '0' COMMENT 'Append project_id to URL', + `link_to_project_id` int(10) DEFAULT NULL, + PRIMARY KEY (`ext_id`), + KEY `project_id` (`project_id`), + KEY `link_to_project_id` (`link_to_project_id`), + CONSTRAINT `redcap_external_links_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_external_links_ibfk_2` FOREIGN KEY (`link_to_project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_external_links` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_external_links` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_external_links_dags`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_external_links_dags` ( + `ext_id` int(11) NOT NULL AUTO_INCREMENT, + `group_id` int(10) NOT NULL DEFAULT '0', + PRIMARY KEY (`ext_id`,`group_id`), + KEY `group_id` (`group_id`), + CONSTRAINT `redcap_external_links_dags_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `redcap_data_access_groups` (`group_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_external_links_dags_ibfk_1` FOREIGN KEY (`ext_id`) REFERENCES `redcap_external_links` (`ext_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_external_links_dags` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_external_links_dags` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_external_links_exclude_projects`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_external_links_exclude_projects` ( + `ext_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) NOT NULL DEFAULT '0', + PRIMARY KEY (`ext_id`,`project_id`), + KEY `project_id` (`project_id`), + CONSTRAINT `redcap_external_links_exclude_projects_ibfk_2` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_external_links_exclude_projects_ibfk_1` FOREIGN KEY (`ext_id`) REFERENCES `redcap_external_links` (`ext_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Projects to exclude for global external links'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_external_links_exclude_projects` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_external_links_exclude_projects` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_external_links_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_external_links_users` ( + `ext_id` int(11) NOT NULL AUTO_INCREMENT, + `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + PRIMARY KEY (`ext_id`,`username`), + KEY `username` (`username`), + CONSTRAINT `redcap_external_links_users_ibfk_1` FOREIGN KEY (`ext_id`) REFERENCES `redcap_external_links` (`ext_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_external_links_users` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_external_links_users` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ip_banned`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ip_banned` ( + `ip` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `time_of_ban` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`ip`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ip_banned` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_ip_banned` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_ip_cache`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ip_cache` ( + `ip_hash` varchar(32) COLLATE utf8_unicode_ci NOT NULL, + `timestamp` timestamp NULL DEFAULT NULL, + KEY `timestamp` (`timestamp`), + KEY `ip_hash` (`ip_hash`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_ip_cache` DISABLE KEYS */; +INSERT INTO `redcap_ip_cache` VALUES ('f8dec66cedc353b1f1ebcca3861d13a4','2014-09-16 16:01:02'),('f3554d59ed857c15a9548b61046d3411','2014-09-16 16:01:05'); +/*!40000 ALTER TABLE `redcap_ip_cache` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_library_map`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_library_map` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `form_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `type` int(11) NOT NULL DEFAULT '0' COMMENT '1 = Downloaded; 2 = Uploaded', + `library_id` int(10) NOT NULL DEFAULT '0', + `upload_timestamp` datetime DEFAULT NULL, + `acknowledgement` text COLLATE utf8_unicode_ci, + `acknowledgement_cache` datetime DEFAULT NULL, + PRIMARY KEY (`project_id`,`form_name`,`type`,`library_id`), + KEY `library_id` (`library_id`), + KEY `form_name` (`form_name`), + KEY `type` (`type`), + CONSTRAINT `redcap_library_map_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_library_map` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_library_map` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_locking_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_locking_data` ( + `ld_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `timestamp` datetime DEFAULT NULL, + PRIMARY KEY (`ld_id`), + UNIQUE KEY `proj_rec_event_form` (`project_id`,`record`,`event_id`,`form_name`), + KEY `username` (`username`), + KEY `event_id` (`event_id`), + CONSTRAINT `redcap_locking_data_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_locking_data_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_locking_data` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_locking_data` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_locking_labels`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_locking_labels` ( + `ll_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(11) DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `label` text COLLATE utf8_unicode_ci, + `display` int(1) NOT NULL DEFAULT '1', + `display_esignature` int(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`ll_id`), + UNIQUE KEY `project_form` (`project_id`,`form_name`), + CONSTRAINT `redcap_locking_labels_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_locking_labels` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_locking_labels` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_log_event`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_log_event` ( + `log_event_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) NOT NULL DEFAULT '0', + `ts` bigint(14) DEFAULT NULL, + `user` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ip` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `page` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `event` enum('UPDATE','INSERT','DELETE','SELECT','ERROR','LOGIN','LOGOUT','OTHER','DATA_EXPORT','DOC_UPLOAD','DOC_DELETE','MANAGE','LOCK_RECORD','ESIGNATURE') COLLATE utf8_unicode_ci DEFAULT NULL, + `object_type` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL, + `sql_log` mediumtext COLLATE utf8_unicode_ci, + `pk` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `data_values` text COLLATE utf8_unicode_ci, + `description` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `legacy` int(1) NOT NULL DEFAULT '0', + `change_reason` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`log_event_id`), + KEY `user` (`user`), + KEY `user_project` (`project_id`,`user`), + KEY `object_type` (`object_type`), + KEY `ts` (`ts`), + KEY `event_project` (`event`,`project_id`), + KEY `description` (`description`), + KEY `pk` (`pk`) +) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_log_event` DISABLE KEYS */; +INSERT INTO `redcap_log_event` VALUES (1,12,20140916153231,'site_admin','10.0.2.2','ProjectGeneral/create_project.php','MANAGE','redcap_projects',NULL,'12',NULL,'project_id = 12','Create project',0,NULL),(2,12,20140916153237,'site_admin','10.0.2.2','ProjectSetup/modify_project_setting_ajax.php','MANAGE','redcap_projects','update redcap_projects set repeatforms = \'1\' \r\n where project_id = 12','12',NULL,'project_id = 12','Modify project settings',0,NULL),(3,12,20140916153800,'site_admin','10.0.2.2','Design/data_dictionary_upload.php','MANAGE','redcap_metadata',NULL,'12',NULL,'project_id = 12','Upload data dictionary',0,NULL),(4,12,20140916154459,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'Event 2\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','40',NULL,'Event: Event 2, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(5,12,20140916154506,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'Event 3\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','41',NULL,'Event: Event 3, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(6,12,20140916154540,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 0, descrip = \'1\', \r\n offset_min = 0, offset_max = 0 where event_id = \'39\'','39',NULL,'Event: 1, Days Offset: 0, Offset Range: -0/+0','Edit event',0,NULL),(7,12,20140916154547,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 0, descrip = \'2\', \r\n offset_min = 0, offset_max = 0 where event_id = \'40\'','40',NULL,'Event: 2, Days Offset: 0, Offset Range: -0/+0','Edit event',0,NULL),(8,12,20140916154553,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 0, descrip = \'3\', \r\n offset_min = 0, offset_max = 0 where event_id = \'41\'','41',NULL,'Event: 3, Days Offset: 0, Offset Range: -0/+0','Edit event',0,NULL),(9,12,20140916154619,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'4\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','42',NULL,'Event: 4, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(10,12,20140916154623,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'5\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','43',NULL,'Event: 5, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(11,12,20140916154633,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'6\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','44',NULL,'Event: 6, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(12,12,20140916154857,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'7\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','45',NULL,'Event: 7, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(13,12,20140916154859,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'8\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','46',NULL,'Event: 8, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(14,12,20140916154901,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'9\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','47',NULL,'Event: 9, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(15,12,20140916154903,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'10\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','48',NULL,'Event: 10, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(16,12,20140916154934,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 9, descrip = \'10\', \r\n offset_min = 0, offset_max = 0 where event_id = \'48\'','48',NULL,'Event: 10, Days Offset: 9, Offset Range: -0/+0','Edit event',0,NULL),(17,12,20140916154938,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 1, descrip = \'2\', \r\n offset_min = 0, offset_max = 0 where event_id = \'40\'','40',NULL,'Event: 2, Days Offset: 1, Offset Range: -0/+0','Edit event',0,NULL),(18,12,20140916154943,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 2, descrip = \'3\', \r\n offset_min = 0, offset_max = 0 where event_id = \'41\'','41',NULL,'Event: 3, Days Offset: 2, Offset Range: -0/+0','Edit event',0,NULL),(19,12,20140916154947,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 3, descrip = \'4\', \r\n offset_min = 0, offset_max = 0 where event_id = \'42\'','42',NULL,'Event: 4, Days Offset: 3, Offset Range: -0/+0','Edit event',0,NULL),(20,12,20140916154951,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 4, descrip = \'5\', \r\n offset_min = 0, offset_max = 0 where event_id = \'43\'','43',NULL,'Event: 5, Days Offset: 4, Offset Range: -0/+0','Edit event',0,NULL),(21,12,20140916154955,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 5, descrip = \'6\', \r\n offset_min = 0, offset_max = 0 where event_id = \'44\'','44',NULL,'Event: 6, Days Offset: 5, Offset Range: -0/+0','Edit event',0,NULL),(22,12,20140916154958,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 6, descrip = \'7\', \r\n offset_min = 0, offset_max = 0 where event_id = \'45\'','45',NULL,'Event: 7, Days Offset: 6, Offset Range: -0/+0','Edit event',0,NULL),(23,12,20140916155002,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 7, descrip = \'8\', \r\n offset_min = 0, offset_max = 0 where event_id = \'46\'','46',NULL,'Event: 8, Days Offset: 7, Offset Range: -0/+0','Edit event',0,NULL),(24,12,20140916155006,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 8, descrip = \'9\', \r\n offset_min = 0, offset_max = 0 where event_id = \'47\'','47',NULL,'Event: 9, Days Offset: 8, Offset Range: -0/+0','Edit event',0,NULL),(25,12,20140916155010,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'10\', \'11\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','49',NULL,'Event: 11, Days Offset: 10, Offset Range: -0/+0','Create event',0,NULL),(26,12,20140916155013,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'11\', \'12\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','50',NULL,'Event: 12, Days Offset: 11, Offset Range: -0/+0','Create event',0,NULL),(27,12,20140916155015,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'12\', \'13\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','51',NULL,'Event: 13, Days Offset: 12, Offset Range: -0/+0','Create event',0,NULL),(28,12,20140916155018,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'13\', \'14\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','52',NULL,'Event: 14, Days Offset: 13, Offset Range: -0/+0','Create event',0,NULL),(29,12,20140916155021,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'14\', \'15\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','53',NULL,'Event: 15, Days Offset: 14, Offset Range: -0/+0','Create event',0,NULL),(30,12,20140916155033,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'15\', \'16\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','54',NULL,'Event: 16, Days Offset: 15, Offset Range: -0/+0','Create event',0,NULL),(31,12,20140916155036,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'16\', \'17\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','55',NULL,'Event: 17, Days Offset: 16, Offset Range: -0/+0','Create event',0,NULL),(32,12,20140916155039,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'17\', \'18\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','56',NULL,'Event: 18, Days Offset: 17, Offset Range: -0/+0','Create event',0,NULL),(33,12,20140916155041,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'18\', \'19\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','57',NULL,'Event: 19, Days Offset: 18, Offset Range: -0/+0','Create event',0,NULL),(34,12,20140916155044,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'19\', \'20\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','58',NULL,'Event: 20, Days Offset: 19, Offset Range: -0/+0','Create event',0,NULL),(35,12,20140916155046,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'20\', \'21\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','59',NULL,'Event: 21, Days Offset: 20, Offset Range: -0/+0','Create event',0,NULL),(36,12,20140916155048,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'21\', \'22\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','60',NULL,'Event: 22, Days Offset: 21, Offset Range: -0/+0','Create event',0,NULL),(37,12,20140916155050,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'22\', \'23\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','61',NULL,'Event: 23, Days Offset: 22, Offset Range: -0/+0','Create event',0,NULL),(38,12,20140916155054,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'23\', \'24\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','62',NULL,'Event: 24, Days Offset: 23, Offset Range: -0/+0','Create event',0,NULL),(39,12,20140916155056,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'24\', \'25\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','63',NULL,'Event: 25, Days Offset: 24, Offset Range: -0/+0','Create event',0,NULL),(40,12,20140916155059,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'25\', \'26\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','64',NULL,'Event: 26, Days Offset: 25, Offset Range: -0/+0','Create event',0,NULL),(41,12,20140916155101,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'26\', \'27\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','65',NULL,'Event: 27, Days Offset: 26, Offset Range: -0/+0','Create event',0,NULL),(42,12,20140916155104,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'27\', \'28\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','66',NULL,'Event: 28, Days Offset: 27, Offset Range: -0/+0','Create event',0,NULL),(43,12,20140916155106,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'28\', \'29\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','67',NULL,'Event: 29, Days Offset: 28, Offset Range: -0/+0','Create event',0,NULL),(44,12,20140916155108,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'29\', \'30\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','68',NULL,'Event: 30, Days Offset: 29, Offset Range: -0/+0','Create event',0,NULL),(45,12,20140916155210,'site_admin','10.0.2.2','Design/designate_forms_ajax.php','MANAGE','redcap_events_forms','delete from redcap_events_forms where event_id in \r\n (select m.event_id from redcap_events_metadata m, redcap_events_arms a where a.project_id = 12 \r\n and a.arm_num = 1 and a.arm_id = m.arm_id);\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'39\', \'enrollment\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'39\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'40\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'41\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'42\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'43\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'44\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'45\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'46\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'47\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'48\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'49\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'50\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'51\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'52\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'53\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'54\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'55\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'56\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'57\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'58\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'59\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'60\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'61\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'62\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'63\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'64\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'65\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'66\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'67\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'68\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'39\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'40\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'41\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'42\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'43\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'44\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'45\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'46\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'47\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'48\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'49\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'50\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'51\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'52\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'53\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'54\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'55\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'56\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'57\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'58\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'59\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'60\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'61\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'62\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'63\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'64\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'65\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'66\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'67\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'68\', \'chemistry\')','1',NULL,'arm_num = 1','Designate data collection instruments for events',0,NULL),(46,0,20140916155236,'site_admin','10.0.2.2','ControlCenter/user_api_ajax.php','MANAGE','redcap_user_rights',NULL,'site_admin',NULL,'user = \'site_admin\'','Set API rights for user',0,NULL),(47,0,20140916155236,'site_admin','10.0.2.2','ControlCenter/user_api_ajax.php','MANAGE','redcap_user_rights',NULL,'site_admin',NULL,'user = \'site_admin\'','Create API token for user',0,NULL); +/*!40000 ALTER TABLE `redcap_log_event` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_log_view`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_log_view` ( + `log_view_id` int(11) NOT NULL AUTO_INCREMENT, + `ts` timestamp NULL DEFAULT NULL, + `user` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `event` enum('LOGIN_SUCCESS','LOGIN_FAIL','LOGOUT','PAGE_VIEW') COLLATE utf8_unicode_ci DEFAULT NULL, + `ip` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `browser_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `browser_version` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `full_url` text COLLATE utf8_unicode_ci, + `page` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_id` int(10) DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `record` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `miscellaneous` text COLLATE utf8_unicode_ci, + `session_id` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`log_view_id`), + KEY `ts` (`ts`), + KEY `ip` (`ip`), + KEY `event` (`event`), + KEY `browser_name` (`browser_name`), + KEY `browser_version` (`browser_version`), + KEY `page` (`page`), + KEY `session_id` (`session_id`), + KEY `user_project` (`user`,`project_id`), + KEY `project_event_record` (`project_id`,`event_id`,`record`) +) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_log_view` DISABLE KEYS */; +INSERT INTO `redcap_log_view` VALUES (1,'2014-09-16 15:30:25','site_admin','PAGE_VIEW','::1','unknown','unknown','http://localhost/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'n7n4bbgvbnv09urc5f6atpak26'),(2,'2014-09-16 15:31:53','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(3,'2014-09-16 15:31:55','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=create','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(4,'2014-09-16 15:31:57','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(5,'2014-09-16 15:32:06','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=create','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(6,'2014-09-16 15:32:31','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ProjectGeneral/create_project.php','ProjectGeneral/create_project.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(93,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_tokens.php?action=createToken&api_username=site_admin&api_pid=12&goto_proj=1','ControlCenter/user_api_tokens.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(94,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByUser&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(95,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByProj&project_id=&controlCenterView=1','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(96,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIRights&api_username=site_admin&api_pid=12','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(97,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForUserJS&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(98,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForProjJS&project_id=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(99,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=createToken&api_username=site_admin&api_pid=12&api_export=1&api_import=1&api_send_email=0','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(100,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByUser&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(101,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByProj&project_id=&controlCenterView=1','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(102,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForUserJS&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(103,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForProjJS&project_id=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(106,'2014-09-16 15:53:20','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(107,'2014-09-16 15:53:20','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(108,'2014-09-16 15:53:25','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(110,'2014-09-16 16:01:02','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(111,'2014-09-16 16:01:05','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ProjectSetup/index.php?pid=12','ProjectSetup/index.php',12,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'); +/*!40000 ALTER TABLE `redcap_log_view` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_metadata`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_metadata` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `field_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `field_phi` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `form_menu_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `field_order` float DEFAULT NULL, + `field_units` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_preceding_header` mediumtext COLLATE utf8_unicode_ci, + `element_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_label` mediumtext COLLATE utf8_unicode_ci, + `element_enum` mediumtext COLLATE utf8_unicode_ci, + `element_note` mediumtext COLLATE utf8_unicode_ci, + `element_validation_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_min` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_max` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_checktype` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `branching_logic` text COLLATE utf8_unicode_ci, + `field_req` int(1) NOT NULL DEFAULT '0', + `edoc_id` int(10) DEFAULT NULL COMMENT 'image/file attachment', + `edoc_display_img` int(1) NOT NULL DEFAULT '0', + `custom_alignment` enum('LH','LV','RH','RV') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'RV = NULL = default', + `stop_actions` text COLLATE utf8_unicode_ci, + `question_num` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `grid_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Unique name of grid group', + `misc` text COLLATE utf8_unicode_ci COMMENT 'Miscellaneous field attributes', + PRIMARY KEY (`project_id`,`field_name`), + KEY `project_id_form` (`project_id`,`form_name`), + KEY `field_name` (`field_name`), + KEY `project_id_fieldorder` (`project_id`,`field_order`), + KEY `edoc_id` (`edoc_id`), + CONSTRAINT `redcap_metadata_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_metadata_ibfk_2` FOREIGN KEY (`edoc_id`) REFERENCES `redcap_edocs_metadata` (`doc_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_metadata` DISABLE KEYS */; +INSERT INTO `redcap_metadata` VALUES (1,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_1',NULL,'month_1_data',NULL,56,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_2',NULL,'month_2_data',NULL,76,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_3',NULL,'month_3_data',NULL,104,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_1',NULL,'month_1_data',NULL,44,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_2',NULL,'month_2_data',NULL,64,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_3',NULL,'month_3_data',NULL,85,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_b',NULL,'baseline_data',NULL,26,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'int','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'baseline_data_complete',NULL,'baseline_data',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_1',NULL,'month_1_data',NULL,61,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_2',NULL,'month_2_data',NULL,81,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_3',NULL,'month_3_data',NULL,109,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_1',NULL,'month_1_data',NULL,55,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_2',NULL,'month_2_data',NULL,75,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_3',NULL,'month_3_data',NULL,103,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_1',NULL,'month_1_data',NULL,48,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_2',NULL,'month_2_data',NULL,68,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_3',NULL,'month_3_data',NULL,89,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_b',NULL,'baseline_data',NULL,30,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'complete_study',NULL,'completion_data','Completion Data',111,NULL,'Study Completion Information','select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'complete_study_date',NULL,'completion_data',NULL,114,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'completion_data_complete',NULL,'completion_data',NULL,116,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_1',NULL,'month_1_data',NULL,53,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_2',NULL,'month_2_data',NULL,73,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_3',NULL,'month_3_data',NULL,101,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_1',NULL,'month_1_data',NULL,46,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_2',NULL,'month_2_data',NULL,66,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_3',NULL,'month_3_data',NULL,87,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_b',NULL,'baseline_data',NULL,28,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_blood_3',NULL,'month_3_data',NULL,84,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_blood_b',NULL,'baseline_data',NULL,25,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_1',NULL,'month_1_data',NULL,60,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_2',NULL,'month_2_data',NULL,80,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_3',NULL,'month_3_data',NULL,108,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_supplement_dispensed',NULL,'baseline_data',NULL,41,NULL,NULL,'text','Date patient begins supplement',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_1',NULL,'month_1_data','Month 1 Data',43,NULL,'Month 1','text','Date of Month 1 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_2',NULL,'month_2_data','Month 2 Data',63,NULL,'Month 2','text','Date of Month 2 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_3',NULL,'month_3_data','Month 3 Data',83,NULL,'Month 3','text','Date of Month 3 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_b',NULL,'baseline_data','Baseline Data',24,NULL,'Baseline Measurements','text','Date of baseline visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_1',NULL,'month_1_data',NULL,59,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_2',NULL,'month_2_data',NULL,79,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_3',NULL,'month_3_data',NULL,107,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_1',NULL,'month_1_data',NULL,57,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_2',NULL,'month_2_data',NULL,77,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_3',NULL,'month_3_data',NULL,105,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_1',NULL,'month_1_data',NULL,58,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_2',NULL,'month_2_data',NULL,78,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_3',NULL,'month_3_data',NULL,106,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'drywt_1',NULL,'month_1_data',NULL,51,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_2',NULL,'month_2_data',NULL,71,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_3',NULL,'month_3_data',NULL,92,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_b',NULL,'baseline_data',NULL,33,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(1,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_1',NULL,'month_1_data',NULL,54,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_2',NULL,'month_2_data',NULL,74,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_3',NULL,'month_3_data',NULL,102,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_1',NULL,'month_1_data',NULL,50,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_2',NULL,'month_2_data',NULL,70,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_3',NULL,'month_3_data',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_b',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_1_data_complete',NULL,'month_1_data',NULL,62,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_2_data_complete',NULL,'month_2_data',NULL,82,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_3_data_complete',NULL,'month_3_data',NULL,110,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_1',NULL,'month_1_data',NULL,52,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_2',NULL,'month_2_data',NULL,72,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_3',NULL,'month_3_data',NULL,100,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_1',NULL,'month_1_data',NULL,47,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_2',NULL,'month_2_data',NULL,67,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_3',NULL,'month_3_data',NULL,88,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_b',NULL,'baseline_data',NULL,29,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma1_3',NULL,'month_3_data',NULL,93,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma1_b',NULL,'baseline_data',NULL,34,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma2_3',NULL,'month_3_data',NULL,94,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma2_b',NULL,'baseline_data',NULL,35,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma3_3',NULL,'month_3_data',NULL,95,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma3_b',NULL,'baseline_data',NULL,36,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_1',NULL,'month_1_data',NULL,45,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_2',NULL,'month_2_data',NULL,65,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_3',NULL,'month_3_data',NULL,86,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_b',NULL,'baseline_data',NULL,27,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum1_3',NULL,'month_3_data',NULL,96,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum1_b',NULL,'baseline_data',NULL,37,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum2_3',NULL,'month_3_data',NULL,97,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum2_b',NULL,'baseline_data',NULL,38,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum3_3',NULL,'month_3_data',NULL,98,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum3_b',NULL,'baseline_data',NULL,39,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sga_3',NULL,'month_3_data',NULL,99,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sga_b',NULL,'baseline_data',NULL,40,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'study_comments',NULL,'completion_data',NULL,115,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_1',NULL,'month_1_data',NULL,49,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_2',NULL,'month_2_data',NULL,69,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_3',NULL,'month_3_data',NULL,90,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_b',NULL,'baseline_data',NULL,31,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'withdraw_date',NULL,'completion_data',NULL,112,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'withdraw_reason',NULL,'completion_data',NULL,113,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'alb_4',NULL,'completion_data',NULL,80,NULL,NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'baseline_data_complete',NULL,'baseline_data',NULL,39,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'bmi2',NULL,'baseline_data',NULL,33,NULL,NULL,'calc','BMI','round(([weight2]*10000)/(([height2])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'chol_4',NULL,'completion_data',NULL,86,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'chol_b',NULL,'baseline_data',NULL,37,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'complete_study',NULL,'completion_data',NULL,77,NULL,NULL,'select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'completion_data_complete',NULL,'completion_data',NULL,88,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'completion_project_questionnaire_complete',NULL,'completion_project_questionnaire',NULL,102,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'contact_info_complete',NULL,'contact_info',NULL,30,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq1',NULL,'completion_project_questionnaire','Completion Project Questionnaire',89,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq10',NULL,'completion_project_questionnaire',NULL,98,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq11',NULL,'completion_project_questionnaire',NULL,99,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq12',NULL,'completion_project_questionnaire',NULL,100,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq13',NULL,'completion_project_questionnaire',NULL,101,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq2',NULL,'completion_project_questionnaire',NULL,90,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq3',NULL,'completion_project_questionnaire',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq4',NULL,'completion_project_questionnaire',NULL,92,NULL,NULL,'text','Dry weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq5',NULL,'completion_project_questionnaire',NULL,93,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq6',NULL,'completion_project_questionnaire',NULL,94,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq7',NULL,'completion_project_questionnaire',NULL,95,NULL,NULL,'select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq8',NULL,'completion_project_questionnaire',NULL,96,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq9',NULL,'completion_project_questionnaire',NULL,97,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'creat_4',NULL,'completion_data',NULL,82,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'creat_b',NULL,'baseline_data',NULL,35,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'date_visit_4',NULL,'completion_data',NULL,79,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_schedule_days',NULL,'contact_info',NULL,26,NULL,NULL,'text','Next of Kin Contact Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_schedule_time',NULL,'contact_info',NULL,27,NULL,NULL,'textarea','Next of Kin Contact Address',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_unit_name',NULL,'contact_info','Contact Info',24,NULL,NULL,'text','Emergency Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_unit_phone',NULL,'contact_info',NULL,25,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'discharge_date_4',NULL,'completion_data',NULL,83,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'discharge_summary_4',NULL,'completion_data',NULL,84,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(2,'etiology_esrd',NULL,'contact_info',NULL,28,NULL,NULL,'text','Next of Kin Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'height2',NULL,'baseline_data','Baseline Data',31,NULL,NULL,'text','Height (cm)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'npcr_4',NULL,'completion_data',NULL,85,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'npcr_b',NULL,'baseline_data',NULL,36,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'patient_morale_questionnaire_complete',NULL,'patient_morale_questionnaire',NULL,50,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq1',NULL,'patient_morale_questionnaire','Patient Morale Questionnaire',46,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq2',NULL,'patient_morale_questionnaire',NULL,47,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq3',NULL,'patient_morale_questionnaire',NULL,48,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq4',NULL,'patient_morale_questionnaire',NULL,49,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'prealb_4',NULL,'completion_data',NULL,81,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'prealb_b',NULL,'baseline_data',NULL,34,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'study_comments',NULL,'completion_data','Completion Data',76,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'subject_comments',NULL,'contact_info',NULL,29,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'transferrin_b',NULL,'baseline_data',NULL,38,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw1',NULL,'visit_blood_workup','Visit Blood Workup',51,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw2',NULL,'visit_blood_workup',NULL,52,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw3',NULL,'visit_blood_workup',NULL,53,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw4',NULL,'visit_blood_workup',NULL,54,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw5',NULL,'visit_blood_workup',NULL,55,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw6',NULL,'visit_blood_workup',NULL,56,NULL,NULL,'radio','Blood draw shift?','0, AM \\n 1, PM',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw7',NULL,'visit_blood_workup',NULL,57,NULL,NULL,'radio','Blood draw by','0, RN \\n 1, LPN \\n 2, nurse assistant \\n 3, doctor',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw8',NULL,'visit_blood_workup',NULL,58,NULL,NULL,'select','Level of patient anxiety','0, not anxious \\n 1, undecided \\n 2, very anxious',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw9',NULL,'visit_blood_workup',NULL,59,NULL,NULL,'select','Patient scheduled for future draws?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_blood_workup_complete',NULL,'visit_blood_workup',NULL,60,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_lab_data_complete',NULL,'visit_lab_data',NULL,45,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_observed_behavior_complete',NULL,'visit_observed_behavior',NULL,75,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld1',NULL,'visit_lab_data','Visit Lab Data',40,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld2',NULL,'visit_lab_data',NULL,41,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld3',NULL,'visit_lab_data',NULL,42,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld4',NULL,'visit_lab_data',NULL,43,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld5',NULL,'visit_lab_data',NULL,44,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob1',NULL,'visit_observed_behavior','Visit Observed Behavior',61,NULL,'Was the patient...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob10',NULL,'visit_observed_behavior',NULL,70,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob11',NULL,'visit_observed_behavior',NULL,71,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob12',NULL,'visit_observed_behavior',NULL,72,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob13',NULL,'visit_observed_behavior',NULL,73,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob14',NULL,'visit_observed_behavior',NULL,74,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob2',NULL,'visit_observed_behavior',NULL,62,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob3',NULL,'visit_observed_behavior',NULL,63,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob4',NULL,'visit_observed_behavior',NULL,64,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob5',NULL,'visit_observed_behavior',NULL,65,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob6',NULL,'visit_observed_behavior',NULL,66,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob7',NULL,'visit_observed_behavior',NULL,67,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob8',NULL,'visit_observed_behavior',NULL,68,NULL,'Were you...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob9',NULL,'visit_observed_behavior',NULL,69,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'weight2',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'withdraw_date',NULL,'completion_data',NULL,78,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'withdraw_reason',NULL,'completion_data',NULL,87,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'aerobics',NULL,'survey',NULL,11.2,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'comment_box',NULL,'survey',NULL,15,NULL,NULL,'textarea','If you need the respondent to enter a large amount of text, you may use a NOTES BOX.

This question has also been set as a REQUIRED QUESTION, so the respondent cannot fully submit the survey until this question has been answered. ANY question type can be set to be required.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(3,'date_ymd',NULL,'survey',NULL,8,NULL,NULL,'text','DATE questions are also an option. If you click the calendar icon on the right, a pop-up calendar will appear, thus allowing the respondent to easily select a date. Or it can be simply typed in.',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'descriptive',NULL,'survey',NULL,11,NULL,NULL,'descriptive','You may also use DESCRIPTIVE TEXT to provide informational text within a survey section. ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'drink',NULL,'survey',NULL,11.4,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'dropdown',NULL,'survey',NULL,3,NULL,NULL,'select','You may also set multiple choice questions as DROP-DOWN MENUs.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Etc.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'eat',NULL,'survey',NULL,11.3,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'file',NULL,'survey',NULL,9,NULL,NULL,'file','The FILE UPLOAD question type allows respondents to upload any type of document to the survey that you may afterward download and open when viewing your survey results.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'gym',NULL,'survey',NULL,11.1,NULL,'Below is a matrix of checkbox fields. A matrix can also be displayed as radio button fields.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'hidden_branch',NULL,'survey',NULL,13,NULL,NULL,'text','HIDDEN QUESTION: This question will only appear when you select the second option of the question immediately above.',NULL,NULL,NULL,'undefined','undefined','soft_typed','[radio_branch] = \"2\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'ma',NULL,'survey',NULL,5,NULL,NULL,'checkbox','This type of multiple choice question, known as CHECKBOXES, allows for more than one answer choice to be selected, whereas radio buttons and drop-downs only allow for one choice.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Select as many as you like',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'participant_id',NULL,'survey','Example Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'radio',NULL,'survey',NULL,2,NULL,'Section 1 (This is a section header with descriptive text. It only provides informational text and is used to divide the survey into sections for organization. If the survey is set to be displayed as \"one section per page\", then these section headers will begin each new page of the survey.)','radio','You may create MULTIPLE CHOICE questions and set the answer choices for them. You can have as many answer choices as you need. This multiple choice question is rendered as RADIO buttons.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Etc.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'radio_branch',NULL,'survey',NULL,12,NULL,'ADVANCED FEATURES: The questions below will illustrate how some advanced survey features are used.','radio','BRANCHING LOGIC: The question immediately following this one is using branching logic, which means that the question will stay hidden until defined criteria are specified.\n\nFor example, the following question has been set NOT to appear until the respondent selects the second option to the right. ','1, This option does nothing. \\n 2, Clicking this option will trigger the branching logic to reveal the next question. \\n 3, This option also does nothing.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'slider',NULL,'survey',NULL,10,NULL,NULL,'slider','A SLIDER is a question type that allows the respondent to choose an answer along a continuum. The respondent\'s answer is saved as an integer between 0 (far left) and 100 (far right) with a step of 1.','You can provide labels above the slider | Middle label | Right-hand label',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'stop_actions',NULL,'survey',NULL,14,NULL,NULL,'checkbox','STOP ACTIONS may be used with any multiple choice question. Stop actions can be applied to any (or all) answer choices. When that answer choice is selected by a respondent, their survey responses are then saved, and the survey is immediately ended.\n\nThe third option to the right has a stop action.','1, This option does nothing. \\n 2, This option also does nothing. \\n 3, Click here to trigger the stop action and end the survey.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,'3',NULL,NULL,NULL),(3,'survey_complete',NULL,'survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'textbox',NULL,'survey',NULL,4,NULL,NULL,'text','This is a TEXT BOX, which allows respondents to enter a small amount of text. A Text Box can be validated, if needed, as a number, integer, phone number, email, or zipcode. If validated as a number or integer, you may also set the minimum and/or maximum allowable values.\n\nThis question has \"number\" validation set with a minimum of 1 and a maximum of 10. ',NULL,NULL,'float','1','10','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'tf',NULL,'survey',NULL,7,NULL,NULL,'truefalse','And you can also create TRUE-FALSE questions.

This question has horizontal alignment.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'RH',NULL,NULL,NULL,NULL),(3,'yn',NULL,'survey',NULL,6,NULL,NULL,'yesno','You can create YES-NO questions.

This question has vertical alignment of choices on the right.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'alb_4',NULL,'completion_data',NULL,80,NULL,NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'baseline_data_complete',NULL,'baseline_data',NULL,39,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'bmi2',NULL,'baseline_data',NULL,33,NULL,NULL,'calc','BMI','round(([weight2]*10000)/(([height2])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'chol_4',NULL,'completion_data',NULL,86,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'chol_b',NULL,'baseline_data',NULL,37,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'complete_study',NULL,'completion_data',NULL,77,NULL,NULL,'select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'completion_data_complete',NULL,'completion_data',NULL,88,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'completion_project_questionnaire_complete',NULL,'completion_project_questionnaire',NULL,102,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'contact_info_complete',NULL,'contact_info',NULL,30,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq1',NULL,'completion_project_questionnaire','Completion Project Questionnaire',89,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq10',NULL,'completion_project_questionnaire',NULL,98,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq11',NULL,'completion_project_questionnaire',NULL,99,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq12',NULL,'completion_project_questionnaire',NULL,100,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq13',NULL,'completion_project_questionnaire',NULL,101,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq2',NULL,'completion_project_questionnaire',NULL,90,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq3',NULL,'completion_project_questionnaire',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq4',NULL,'completion_project_questionnaire',NULL,92,NULL,NULL,'text','Dry weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq5',NULL,'completion_project_questionnaire',NULL,93,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq6',NULL,'completion_project_questionnaire',NULL,94,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq7',NULL,'completion_project_questionnaire',NULL,95,NULL,NULL,'select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq8',NULL,'completion_project_questionnaire',NULL,96,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq9',NULL,'completion_project_questionnaire',NULL,97,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'creat_4',NULL,'completion_data',NULL,82,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'creat_b',NULL,'baseline_data',NULL,35,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'date_visit_4',NULL,'completion_data',NULL,79,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_schedule_days',NULL,'contact_info',NULL,26,NULL,NULL,'text','Next of Kin Contact Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_schedule_time',NULL,'contact_info',NULL,27,NULL,NULL,'textarea','Next of Kin Contact Address',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_unit_name',NULL,'contact_info','Contact Info',24,NULL,NULL,'text','Emergency Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_unit_phone',NULL,'contact_info',NULL,25,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'discharge_date_4',NULL,'completion_data',NULL,83,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'discharge_summary_4',NULL,'completion_data',NULL,84,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(4,'etiology_esrd',NULL,'contact_info',NULL,28,NULL,NULL,'text','Next of Kin Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'height2',NULL,'baseline_data','Baseline Data',31,NULL,NULL,'text','Height (cm)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'npcr_4',NULL,'completion_data',NULL,85,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'npcr_b',NULL,'baseline_data',NULL,36,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'patient_morale_questionnaire_complete',NULL,'patient_morale_questionnaire',NULL,50,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq1',NULL,'patient_morale_questionnaire','Patient Morale Questionnaire',46,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq2',NULL,'patient_morale_questionnaire',NULL,47,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq3',NULL,'patient_morale_questionnaire',NULL,48,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq4',NULL,'patient_morale_questionnaire',NULL,49,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'prealb_4',NULL,'completion_data',NULL,81,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'prealb_b',NULL,'baseline_data',NULL,34,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'study_comments',NULL,'completion_data','Completion Data',76,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'subject_comments',NULL,'contact_info',NULL,29,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'transferrin_b',NULL,'baseline_data',NULL,38,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw1',NULL,'visit_blood_workup','Visit Blood Workup',51,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw2',NULL,'visit_blood_workup',NULL,52,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw3',NULL,'visit_blood_workup',NULL,53,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw4',NULL,'visit_blood_workup',NULL,54,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw5',NULL,'visit_blood_workup',NULL,55,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw6',NULL,'visit_blood_workup',NULL,56,NULL,NULL,'radio','Blood draw shift?','0, AM \\n 1, PM',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw7',NULL,'visit_blood_workup',NULL,57,NULL,NULL,'radio','Blood draw by','0, RN \\n 1, LPN \\n 2, nurse assistant \\n 3, doctor',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw8',NULL,'visit_blood_workup',NULL,58,NULL,NULL,'select','Level of patient anxiety','0, not anxious \\n 1, undecided \\n 2, very anxious',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw9',NULL,'visit_blood_workup',NULL,59,NULL,NULL,'select','Patient scheduled for future draws?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_blood_workup_complete',NULL,'visit_blood_workup',NULL,60,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_lab_data_complete',NULL,'visit_lab_data',NULL,45,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_observed_behavior_complete',NULL,'visit_observed_behavior',NULL,75,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld1',NULL,'visit_lab_data','Visit Lab Data',40,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld2',NULL,'visit_lab_data',NULL,41,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld3',NULL,'visit_lab_data',NULL,42,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld4',NULL,'visit_lab_data',NULL,43,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld5',NULL,'visit_lab_data',NULL,44,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob1',NULL,'visit_observed_behavior','Visit Observed Behavior',61,NULL,'Was the patient...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob10',NULL,'visit_observed_behavior',NULL,70,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob11',NULL,'visit_observed_behavior',NULL,71,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob12',NULL,'visit_observed_behavior',NULL,72,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob13',NULL,'visit_observed_behavior',NULL,73,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob14',NULL,'visit_observed_behavior',NULL,74,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob2',NULL,'visit_observed_behavior',NULL,62,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob3',NULL,'visit_observed_behavior',NULL,63,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob4',NULL,'visit_observed_behavior',NULL,64,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob5',NULL,'visit_observed_behavior',NULL,65,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob6',NULL,'visit_observed_behavior',NULL,66,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob7',NULL,'visit_observed_behavior',NULL,67,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob8',NULL,'visit_observed_behavior',NULL,68,NULL,'Were you...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob9',NULL,'visit_observed_behavior',NULL,69,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'weight2',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'withdraw_date',NULL,'completion_data',NULL,78,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'withdraw_reason',NULL,'completion_data',NULL,87,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(5,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'record_id',NULL,'demographics','Basic Demography Form',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'telephone','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'amendment_number',NULL,'project',NULL,9,NULL,NULL,'select','Amendment Number','0 \\n 1 \\n 2 \\n 3 \\n 4 \\n 5 \\n 6 \\n 7 \\n 8 \\n 9 \\n 10 \\n 11 \\n 12 \\n 13 \\n 14 \\n 15 \\n 16 \\n 17 \\n 18 \\n 19 \\n 20','',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'amendment_status',NULL,'project',NULL,8,NULL,'Amendment Information','radio','Amendment?','0, No \\n 1, Yes','',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_pi_response',NULL,'workflow',NULL,33,NULL,NULL,'textarea','Comments - PI Process',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_preprereview',NULL,'workflow',NULL,26,NULL,NULL,'textarea','Comments - Pre-Pre-Review',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_prereview',NULL,'workflow',NULL,30,NULL,NULL,'textarea','Comments - Pre-Review',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_src',NULL,'post_award_administration',NULL,126,NULL,NULL,'textarea','Comments - SRC Award',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_cores',NULL,'post_award_administration',NULL,129,NULL,NULL,'text','CRC Cores ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_facilities',NULL,'post_award_administration',NULL,127,NULL,NULL,'text','CRC Facilities ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_original_review',NULL,'project',NULL,12,NULL,NULL,'select','CRC Original Review?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_personnel',NULL,'post_award_administration',NULL,128,NULL,NULL,'text','CRC Nursing ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_type',NULL,'project',NULL,10,NULL,'CRC Legacy System Data','select','CRC Type','A \\n B \\n C \\n D',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_webcamp_import',NULL,'project',NULL,11,NULL,NULL,'select','CRC WebCamp Project Import?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_agenda',NULL,'workflow',NULL,35,NULL,'Agenda Information','text','Agenda Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_pi_notification',NULL,'workflow',NULL,31,NULL,'PI Notification Information','text','PI Notification Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_pi_response',NULL,'workflow',NULL,32,NULL,NULL,'text','PI Response Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_receipt',NULL,'workflow','Workflow',23,NULL,'Pre-Pre-Review Information','text','Project Receipt Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_start_preprereview',NULL,'workflow',NULL,24,NULL,NULL,'text','Pre-Pre-Review - Start Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_start_prereview',NULL,'workflow',NULL,28,NULL,'Pre-Review Information','text','Pre-Review Notification Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_stop_preprereview',NULL,'workflow',NULL,25,NULL,NULL,'text','Pre-Pre-Review - Stop Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_stop_prereview',NULL,'workflow',NULL,29,NULL,NULL,'text','Pre-Review Completion Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'equipment',NULL,'post_award_administration',NULL,133,NULL,NULL,'text','Equipment ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch1',NULL,'project',NULL,15,NULL,NULL,'file','Biosketch(1)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch2',NULL,'project',NULL,16,NULL,NULL,'file','Biosketch(2)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch3',NULL,'project',NULL,17,NULL,NULL,'file','Biosketch(3)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_budget',NULL,'project',NULL,14,NULL,NULL,'file','Budget',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_crc',NULL,'project',NULL,18,NULL,NULL,'file','CRC Resources',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other1',NULL,'project',NULL,19,NULL,NULL,'file','Other(1)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other2',NULL,'project',NULL,20,NULL,NULL,'file','Other(2)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other3',NULL,'project',NULL,21,NULL,NULL,'file','Other(3)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_pi_comments',NULL,'workflow',NULL,34,NULL,NULL,'file','PI response',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_proposal',NULL,'project',NULL,13,NULL,'Project Files','file','Research Proposal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'hospital_ancillaries',NULL,'post_award_administration',NULL,135,NULL,NULL,'text','Hospital Ancillaries ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'irb_number',NULL,'project',NULL,7,NULL,NULL,'text','IRB Number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'misc_services',NULL,'post_award_administration',NULL,134,NULL,NULL,'text','Misc. Services ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_administrative',NULL,'prereview_administrative','Pre-Review Administrative',43,NULL,NULL,'select','Requires Administrative?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_biostatistics',NULL,'prereview_biostatistics','Pre-Review Biostatistics',49,NULL,NULL,'select','Requires Biostatistics?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_budget',NULL,'prereview_budget','Pre-Review Budget',68,NULL,NULL,'select','Requires Budget?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_community',NULL,'prereview_community','Pre-Review Community',98,NULL,NULL,'select','Requires Community?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_cores',NULL,'prereview_cores','Pre-Review Cores',80,NULL,NULL,'select','Requires Cores?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_nursing',NULL,'prereview_nursing','Pre-Review Nursing',74,NULL,NULL,'select','Requires Nursing?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_nutrition',NULL,'prereview_nutrition','Pre-Review Nutrition',92,NULL,NULL,'select','Requires Nutrition?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_other',NULL,'prereview_ctc','Pre-Review CTC',104,NULL,NULL,'select','Requires Other?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_participant',NULL,'prereview_participant','Pre-Review Participant',62,NULL,NULL,'select','Requires Participant?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_pi_response',NULL,'prereview_pi_response','Pre-Review PI Response',110,NULL,NULL,'select','Requires PI Response?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_scientific',NULL,'prereview_scientific','Pre-Review Scientific',56,NULL,NULL,'select','Requires Scientific?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_sleep',NULL,'prereview_sleep','Pre-Review Sleep',86,NULL,NULL,'select','Requires Sleep?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'owner_prepreview',NULL,'workflow',NULL,27,NULL,NULL,'select','Owner (Liaison)','0, Shraddha \\n 1, Jennifer \\n 2, Terri \\n 3, Cheryl \\n 4, Lynda',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'personnel',NULL,'post_award_administration',NULL,132,NULL,NULL,'text','Personnel ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_firstname',NULL,'project',NULL,3,NULL,NULL,'text','PI First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_lastname',NULL,'project',NULL,4,NULL,NULL,'text','PI Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_vunetid',NULL,'project',NULL,5,NULL,NULL,'text','PI VUnetID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'post_award_administration_complete',NULL,'post_award_administration',NULL,138,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative',NULL,'prereview_administrative',NULL,44,NULL,'Enter PI Pre-Review Notes Or Attach File','textarea','Notes',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_administrative] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_complete',NULL,'prereview_administrative',NULL,48,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_date_received',NULL,'prereview_administrative',NULL,47,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_date_sent',NULL,'prereview_administrative',NULL,46,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_doc',NULL,'prereview_administrative',NULL,45,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_administrative] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics',NULL,'prereview_biostatistics',NULL,50,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_biostatistics] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_complete',NULL,'prereview_biostatistics',NULL,55,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_date_received',NULL,'prereview_biostatistics',NULL,53,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_date_sent',NULL,'prereview_biostatistics',NULL,52,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_doc',NULL,'prereview_biostatistics',NULL,51,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_biostatistics] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_hours_awarded',NULL,'prereview_biostatistics',NULL,54,NULL,'Biostatistics Award','text','Consultation Hours Awarded',NULL,NULL,'float','0','5000','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget',NULL,'prereview_budget',NULL,69,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_complete',NULL,'prereview_budget',NULL,73,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_date_received',NULL,'prereview_budget',NULL,72,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_date_sent',NULL,'prereview_budget',NULL,71,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_budget] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_doc',NULL,'prereview_budget',NULL,70,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_budget] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community',NULL,'prereview_community',NULL,99,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_complete',NULL,'prereview_community',NULL,103,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_date_received',NULL,'prereview_community',NULL,102,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_date_sent',NULL,'prereview_community',NULL,101,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_community] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_doc',NULL,'prereview_community',NULL,100,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_community] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores',NULL,'prereview_cores',NULL,81,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_complete',NULL,'prereview_cores',NULL,85,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_date_received',NULL,'prereview_cores',NULL,84,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_date_sent',NULL,'prereview_cores',NULL,83,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_cores] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_doc',NULL,'prereview_cores',NULL,82,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_cores] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_ctc_complete',NULL,'prereview_ctc',NULL,109,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing',NULL,'prereview_nursing',NULL,75,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_complete',NULL,'prereview_nursing',NULL,79,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_date_received',NULL,'prereview_nursing',NULL,78,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_date_sent',NULL,'prereview_nursing',NULL,77,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_nursing] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_doc',NULL,'prereview_nursing',NULL,76,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_nursing] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition',NULL,'prereview_nutrition',NULL,93,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_complete',NULL,'prereview_nutrition',NULL,97,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_date_received',NULL,'prereview_nutrition',NULL,96,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_date_sent',NULL,'prereview_nutrition',NULL,95,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_nutrition] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_doc',NULL,'prereview_nutrition',NULL,94,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_nutrition] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other',NULL,'prereview_ctc',NULL,105,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_date_received',NULL,'prereview_ctc',NULL,108,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_date_sent',NULL,'prereview_ctc',NULL,107,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_doc',NULL,'prereview_ctc',NULL,106,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant',NULL,'prereview_participant',NULL,63,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_participant] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_complete',NULL,'prereview_participant',NULL,67,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_date_received',NULL,'prereview_participant',NULL,66,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_date_sent',NULL,'prereview_participant',NULL,65,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_doc',NULL,'prereview_participant',NULL,64,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_participant] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response',NULL,'prereview_pi_response',NULL,111,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI response',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_complete',NULL,'prereview_pi_response',NULL,115,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_date_received',NULL,'prereview_pi_response',NULL,114,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_date_sent',NULL,'prereview_pi_response',NULL,113,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_doc',NULL,'prereview_pi_response',NULL,112,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_pi_response] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific',NULL,'prereview_scientific',NULL,57,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_scientific] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_complete',NULL,'prereview_scientific',NULL,61,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_date_received',NULL,'prereview_scientific',NULL,60,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_date_sent',NULL,'prereview_scientific',NULL,59,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_doc',NULL,'prereview_scientific',NULL,58,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_scientific] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep',NULL,'prereview_sleep',NULL,87,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_complete',NULL,'prereview_sleep',NULL,91,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_date_received',NULL,'prereview_sleep',NULL,90,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_date_sent',NULL,'prereview_sleep',NULL,89,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_sleep] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_doc',NULL,'prereview_sleep',NULL,88,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_sleep] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'proj_id',NULL,'project','Project',1,NULL,NULL,'text','Project ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'project_complete',NULL,'project',NULL,22,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'project_type',NULL,'project',NULL,6,NULL,NULL,'select','Project Type','1, Expedited \\n 2, Full Committee \\n 3, Industry only',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev_notification_date',NULL,'workflow',NULL,38,NULL,NULL,'text','Date - Sent to Reviewers',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev1_name',NULL,'workflow',NULL,36,NULL,NULL,'text','Reviewer 1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev2_name',NULL,'workflow',NULL,37,NULL,NULL,'text','Reviewer 2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'sleep_cores',NULL,'post_award_administration',NULL,130,NULL,NULL,'text','Sleep Core ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number',NULL,'post_award_administration',NULL,122,NULL,NULL,'text','SRC Center Number - Institutional',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_crc',NULL,'post_award_administration',NULL,124,NULL,NULL,'text','SRC Center Number - CRC',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_ctsa',NULL,'post_award_administration',NULL,123,NULL,NULL,'text','SRC Center Number - CTSA',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_dh',NULL,'post_award_administration',NULL,125,NULL,NULL,'text','D & H Number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_full_project_period',NULL,'post_award_administration',NULL,121,NULL,NULL,'text','SRC full project period',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_letter_date',NULL,'post_award_administration',NULL,118,NULL,NULL,'text','SRC letter sent',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_letter_document',NULL,'post_award_administration',NULL,119,NULL,NULL,'file','SRC letter',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_notification_date',NULL,'workflow',NULL,39,NULL,NULL,'text','Date- Sent to SRC',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_percent_funded',NULL,'post_award_administration','Post-Award Administration',116,NULL,'Post-Award Administration','text','Percent of request funded (%)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_priority_score',NULL,'workflow',NULL,41,NULL,NULL,'text','SRC Priority Score',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_project_completion',NULL,'post_award_administration',NULL,137,NULL,NULL,'text','SRC completion date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_project_ending',NULL,'post_award_administration',NULL,120,NULL,NULL,'text','SRC project ending date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_total_award_amount',NULL,'post_award_administration',NULL,117,NULL,NULL,'text','SRC Total Award Amount ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'status_src_award',NULL,'workflow',NULL,40,NULL,NULL,'select','SRC Award Status','0, Approved \\n 1, Pending \\n 2, Deferred (Studio) \\n 3, Disapproved \\n 4, Tabled \\n 5, Withdrawn',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'title',NULL,'project',NULL,2,NULL,'Demographic Characteristics','textarea','Project Title',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'victr_status',NULL,'post_award_administration',NULL,136,NULL,NULL,'radio','VICTR Status','0, Inactive \\n 1, Active',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'vumc_core_facilities',NULL,'post_award_administration',NULL,131,NULL,NULL,'text','VUMC Core Facilities ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'workflow_complete',NULL,'workflow',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_1',NULL,'month_1_data',NULL,56,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_2',NULL,'month_2_data',NULL,76,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_3',NULL,'month_3_data',NULL,104,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_1',NULL,'month_1_data',NULL,44,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_2',NULL,'month_2_data',NULL,64,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_3',NULL,'month_3_data',NULL,85,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_b',NULL,'baseline_data',NULL,26,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'int','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'baseline_data_complete',NULL,'baseline_data',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_1',NULL,'month_1_data',NULL,61,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_2',NULL,'month_2_data',NULL,81,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_3',NULL,'month_3_data',NULL,109,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_1',NULL,'month_1_data',NULL,55,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_2',NULL,'month_2_data',NULL,75,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_3',NULL,'month_3_data',NULL,103,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_1',NULL,'month_1_data',NULL,48,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_2',NULL,'month_2_data',NULL,68,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_3',NULL,'month_3_data',NULL,89,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_b',NULL,'baseline_data',NULL,30,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'complete_study',NULL,'completion_data','Completion Data',111,NULL,'Study Completion Information','select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'complete_study_date',NULL,'completion_data',NULL,114,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'completion_data_complete',NULL,'completion_data',NULL,116,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_1',NULL,'month_1_data',NULL,53,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_2',NULL,'month_2_data',NULL,73,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_3',NULL,'month_3_data',NULL,101,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_1',NULL,'month_1_data',NULL,46,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_2',NULL,'month_2_data',NULL,66,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_3',NULL,'month_3_data',NULL,87,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_b',NULL,'baseline_data',NULL,28,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_blood_3',NULL,'month_3_data',NULL,84,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_blood_b',NULL,'baseline_data',NULL,25,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_1',NULL,'month_1_data',NULL,60,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_2',NULL,'month_2_data',NULL,80,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_3',NULL,'month_3_data',NULL,108,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_supplement_dispensed',NULL,'baseline_data',NULL,41,NULL,NULL,'text','Date patient begins supplement',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_1',NULL,'month_1_data','Month 1 Data',43,NULL,'Month 1','text','Date of Month 1 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_2',NULL,'month_2_data','Month 2 Data',63,NULL,'Month 2','text','Date of Month 2 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_3',NULL,'month_3_data','Month 3 Data',83,NULL,'Month 3','text','Date of Month 3 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_b',NULL,'baseline_data','Baseline Data',24,NULL,'Baseline Measurements','text','Date of baseline visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_1',NULL,'month_1_data',NULL,59,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_2',NULL,'month_2_data',NULL,79,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_3',NULL,'month_3_data',NULL,107,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_1',NULL,'month_1_data',NULL,57,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_2',NULL,'month_2_data',NULL,77,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_3',NULL,'month_3_data',NULL,105,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_1',NULL,'month_1_data',NULL,58,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_2',NULL,'month_2_data',NULL,78,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_3',NULL,'month_3_data',NULL,106,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_1',NULL,'month_1_data',NULL,51,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_2',NULL,'month_2_data',NULL,71,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_3',NULL,'month_3_data',NULL,92,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_b',NULL,'baseline_data',NULL,33,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(7,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_1',NULL,'month_1_data',NULL,54,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_2',NULL,'month_2_data',NULL,74,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_3',NULL,'month_3_data',NULL,102,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_1',NULL,'month_1_data',NULL,50,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_2',NULL,'month_2_data',NULL,70,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_3',NULL,'month_3_data',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_b',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_1_data_complete',NULL,'month_1_data',NULL,62,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_2_data_complete',NULL,'month_2_data',NULL,82,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_3_data_complete',NULL,'month_3_data',NULL,110,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_1',NULL,'month_1_data',NULL,52,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_2',NULL,'month_2_data',NULL,72,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_3',NULL,'month_3_data',NULL,100,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_1',NULL,'month_1_data',NULL,47,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_2',NULL,'month_2_data',NULL,67,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_3',NULL,'month_3_data',NULL,88,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_b',NULL,'baseline_data',NULL,29,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma1_3',NULL,'month_3_data',NULL,93,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma1_b',NULL,'baseline_data',NULL,34,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma2_3',NULL,'month_3_data',NULL,94,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma2_b',NULL,'baseline_data',NULL,35,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma3_3',NULL,'month_3_data',NULL,95,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma3_b',NULL,'baseline_data',NULL,36,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_1',NULL,'month_1_data',NULL,45,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_2',NULL,'month_2_data',NULL,65,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_3',NULL,'month_3_data',NULL,86,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_b',NULL,'baseline_data',NULL,27,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'randomization_form_complete',NULL,'randomization_form',NULL,23.2,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'randomization_group',NULL,'randomization_form','Randomization Form',23.1,NULL,'General Comments','select','Randomization Group','0, Drug A \\n 1, Drug B \\n 2, Drug C',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum1_3',NULL,'month_3_data',NULL,96,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum1_b',NULL,'baseline_data',NULL,37,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum2_3',NULL,'month_3_data',NULL,97,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum2_b',NULL,'baseline_data',NULL,38,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum3_3',NULL,'month_3_data',NULL,98,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum3_b',NULL,'baseline_data',NULL,39,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sga_3',NULL,'month_3_data',NULL,99,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sga_b',NULL,'baseline_data',NULL,40,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'study_comments',NULL,'completion_data',NULL,115,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_1',NULL,'month_1_data',NULL,49,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_2',NULL,'month_2_data',NULL,69,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_3',NULL,'month_3_data',NULL,90,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_b',NULL,'baseline_data',NULL,31,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'withdraw_date',NULL,'completion_data',NULL,112,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'withdraw_reason',NULL,'completion_data',NULL,113,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'age',NULL,'id_shipping',NULL,8,NULL,NULL,'text','Age',NULL,'Age at surgery, DOB not available','float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'age_at_surgery',NULL,'pathology_review',NULL,70,NULL,NULL,'calc','Age at Surgery','round(datediff([date_of_birth],[date_surgery],\"y\",\"mdy\",true),0)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'another_accnumber',NULL,'tma_information',NULL,186,NULL,NULL,'yesno','Another_AccNumber?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'bc_molecularsubtype',NULL,'pathology_review',NULL,94,NULL,NULL,'select','BC_MolecularSubtype','1, Luminal A \\n 2, Luminal B \\n 3, HER2 \\n 4, Triple Negative \\n 5, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'bc_precancerous',NULL,'pathology_review',NULL,98,NULL,NULL,'select','BC_Precancerous','1, Not seen \\n 2, DCIS \\n 3, LCIS \\n 4, DCIS+LCIS',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'blk_no_received',NULL,'id_shipping',NULL,17,NULL,NULL,'text','Block_ Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_metastatic',NULL,'pathology_review',NULL,76,NULL,NULL,'text','BlockNum_Metastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_normal',NULL,'pathology_review',NULL,75,NULL,NULL,'text','BlockNum_Normal',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_precancerous',NULL,'pathology_review',NULL,77,NULL,NULL,'text','BlockNum_Precancerous',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_received2',NULL,'id_shipping',NULL,37,NULL,NULL,'text','Block_ Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_received3',NULL,'id_shipping',NULL,55,NULL,NULL,'text','Block_ Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_tumor',NULL,'pathology_review',NULL,74,NULL,NULL,'text','BlockNum_Tumor',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_breast',NULL,'pathology_review',NULL,84,NULL,'For Breast Cancer Samples','select','Clin_Diagn_Breast','1, Noninvasive carcinoma (NOS) \\n 2, Ductal carcinoma in situ \\n 3, Lobular carcinoma in situ \\n 4, Paget disease without invasive carcinoma \\n 5, Invasive carcinoma (NOS) \\n 6, Invasive ductal carcinoma \\n 7, IDC with an extensive intraductal component \\n 8, IDC with Paget disease \\n 9, Invasive lobular \\n 10, Mucinous \\n 11, Medullary \\n 12, Papillary \\n 13, Tubular \\n 14, Adenoid cystic \\n 15, Secretory (juvenile) \\n 16, Apocrine \\n 17, Cribriform \\n 18, Carcinoma with squamous metaplasia \\n 19, Carcinoma with spindle cell metaplasia \\n 20, Carcinoma with cartilaginous/osseous metaplasia \\n 21, Carcinoma with metaplasia, mixed type \\n 22, Other(s) (specify) \\n 23, Not assessable \\n 24, No cancer tissue \\n 25, IDC+ILC (50 -90% each component)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_lung',NULL,'pathology_review',NULL,125,NULL,'For Lung Cancer Samples','select','Clin_Diagn_Lung','1, Squamous cell carcinoma 8070/3 \\n 2, Small cell carcinoma 8041/3 \\n 3, Adenocarcinoma 8140/3 \\n 4, Adenocarcinoma, mixed subtype 8255/3 \\n 5, Adenocarcinoma, Acinar 8550/3 \\n 6, Adenocarcinoma, Papillary 8260/3 \\n 7, Adenocarcinoma, Micropapillary \\n 8, Bronchioloalveolar carcinoma 8250/3 \\n 9, Solid adenocarcinoma with mucin 8230/3 \\n 10, Adenosquamous carcinoma 8560/3 \\n 11, Large cell carcinoma 8012/3 \\n 12, Sarcomatoid carcinoma 8033/3 \\n 13, Carcinoid tumour 8240/3 \\n 14, Mucoepidermoid carcinoma 8430/3 \\n 15, Epithelial-myoepithelial carcinoma 8562/3 \\n 16, Adenoid cystic carcinoma 8200/3 \\n 17, Unclassified carcinoma \\n 18, Others \\n 19, Large cell neuroendocrine carcinoma 8013/3',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_others',NULL,'pathology_review',NULL,133,NULL,'For Other Cancer Samples','text','Clin_Diagn_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_prostate',NULL,'pathology_review',NULL,102,NULL,'For Prostate Cancer Samples','select','Clin_Diagn_Prostate','1, Adenocarcinoma,NOS \\n 2, Prostatic duct adenocarcinoma \\n 3, Mucinous adenocarcinoma \\n 4, Signet-ring cell carcinoma \\n 5, Adenosquemous carcinoma \\n 6, Small cell carcinoma \\n 7, Sarcomatoid carcinoma \\n 8, Other (specifiy) \\n 9, Undifferentiated carcinoma, NOS \\n 10, Cannot be determined',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_giag_colon',NULL,'pathology_review',NULL,115,NULL,'For Colon Cancer Samples','select','Clin_Diagn_Colon','1, 1 Adenocarcinoma \\n 2, 2 Mucinous adenocarcinoma \\n 3, 3 Medullary carcinoma \\n 4, 4 Signet ring cell carcinoma \\n 5, 5 Small cell carcinoma \\n 6, 6 Squamous cell carcinoma \\n 7, 7 Adenosquamous carcinoma \\n 8, 8 Others \\n 9, 9 Adenoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_gleason_score',NULL,'pathology_review',NULL,105,NULL,NULL,'text','Clin_Gleason_Score',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_breast',NULL,'pathology_review',NULL,88,NULL,NULL,'select','Clin_Grade_Breast','1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 1~2 \\n 5, 2~3 \\n 6, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_colon',NULL,'pathology_review',NULL,119,NULL,NULL,'select','Clin_Grade_Colon','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A \\n 5, Low-Intermediate \\n 6, Intermediate-High',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_lung',NULL,'pathology_review',NULL,128,NULL,NULL,'select','Clin_Grade_Lung','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A \\n 5, Low-Intermediate \\n 6, Intermediate-High',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_others',NULL,'pathology_review',NULL,135,NULL,NULL,'text','Clin_Grade_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_pro',NULL,'pathology_review',NULL,106,NULL,NULL,'select','Clin_Grade_Pro','1, Low(1-4) \\n 2, Intermediate(5-7) \\n 3, High(8-10)','Gleason Score System',NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'collection_note2',NULL,'id_shipping',NULL,27,NULL,NULL,'textarea','FollowUp_Note2',NULL,NULL,NULL,NULL,NULL,NULL,'[follow_up_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'collection_note3',NULL,'id_shipping',NULL,45,NULL,NULL,'textarea','FollowUp_Note',NULL,NULL,NULL,NULL,NULL,NULL,'[follow_up_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'date_of_birth','1','id_shipping',NULL,7,NULL,NULL,'text','Date of Birth',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'date_surgery',NULL,'pathology_review',NULL,69,NULL,'Clinical Pathology Information','text','Date_Surgery',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'dna_index',NULL,'pathology_review',NULL,97,NULL,NULL,'text','DNA Index',NULL,'Unfavorable: >1.1',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'estrogen_receptor',NULL,'pathology_review',NULL,90,NULL,NULL,'select','Estrogen Receptor','0, negative \\n 1, week (<1%) \\n 2, positive (>=1%) \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'extraprostate_extention',NULL,'pathology_review',NULL,114,NULL,NULL,'select','ExtraProstate Extention','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city',NULL,'id_shipping',NULL,10,NULL,NULL,'text','Facility_City',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city2',NULL,'id_shipping',NULL,30,NULL,NULL,'text','Facility_City2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\' and [samefacasbefore] = \'0\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city3',NULL,'id_shipping',NULL,48,NULL,NULL,'text','Facility_City3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name',NULL,'id_shipping',NULL,9,NULL,'Shipping Information','text','Facility_Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name2',NULL,'id_shipping',NULL,29,NULL,NULL,'text','Facility_Name2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacasbefore] = \'0\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name3',NULL,'id_shipping',NULL,47,NULL,NULL,'text','Facility_Name3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state',NULL,'id_shipping',NULL,11,NULL,NULL,'text','Facility_State',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state2',NULL,'id_shipping',NULL,31,NULL,NULL,'text','Facility_State2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\' and [samefacasbefore] = \'0\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state3',NULL,'id_shipping',NULL,49,NULL,NULL,'text','Facility_State3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'first_name','1','id_shipping',NULL,3,NULL,NULL,'text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_met_currentquant',NULL,'slide_information',NULL,166,NULL,NULL,'text','5um_Met_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_met_quant',NULL,'slide_information',NULL,165,NULL,NULL,'text','5um_Met_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_currquant',NULL,'slide_information',NULL,145,NULL,NULL,'text','5um_Nor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_currquant2',NULL,'slide_information',NULL,157,NULL,NULL,'text','5um_Nor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_quant',NULL,'slide_information',NULL,144,NULL,NULL,'text','5um_Nor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_quant2',NULL,'slide_information',NULL,156,NULL,NULL,'text','5um_Nor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_precancer_curquant',NULL,'slide_information',NULL,174,NULL,NULL,'text','5um_Precancer_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_precancer_quant',NULL,'slide_information',NULL,173,NULL,NULL,'text','5um_Precancer_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_currquant',NULL,'slide_information',NULL,141,NULL,NULL,'text','5um_Tumor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_currquant2',NULL,'slide_information',NULL,153,NULL,NULL,'text','5um_Tumor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_quant',NULL,'slide_information','Slide Information',140,NULL,NULL,'text','5um_Tumor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_quant2',NULL,'slide_information',NULL,152,NULL,NULL,'text','5um_Tumor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'follow_up_needed2',NULL,'id_shipping',NULL,26,NULL,NULL,'yesno','Follow up needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'follow_up_needed3',NULL,'id_shipping',NULL,44,NULL,NULL,'yesno','Follow up needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'followup_note',NULL,'id_shipping',NULL,24,NULL,NULL,'textarea','FollowUp_Note',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'forwhoseproject',NULL,'slide_tracking',NULL,195,NULL,NULL,'text','ForWhoseProject1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'gender',NULL,'pathology_review',NULL,71,NULL,NULL,'select','Gender','1, male \\n 2, female \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'her2_fish',NULL,'pathology_review',NULL,93,NULL,NULL,'select','HER2_FISH','0, 0 (Non-Amplified, <1.8) \\n 1, 1 (Amplified, >2.2) \\n 2, 2 (Borderline, 1.8~2.2) \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'her2_immunohistochemistry',NULL,'pathology_review',NULL,92,NULL,NULL,'select','HER2_Immunohistochemistry','0, 0 \\n 1, 1 (1~9% cells positivity) \\n 2, 2 (10-30% cells positivity) \\n 3, 3 (>30% cells positivity with strong color) \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'id_shipping_complete',NULL,'id_shipping',NULL,61,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_ilc_subtype',NULL,'pathology_review',NULL,86,NULL,NULL,'select','ILC_Subtype','901, classical ILC \\n 902, solid ILC \\n 903, pleomorphic ILC \\n 904, alveolar ILC \\n 905, tubulolobular ILC \\n 906, mixed ILC \\n 907, signet ring cell ILC \\n 908, others',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\' and [lab_diagn_breast] = \'9\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_no_location2',NULL,'slide_information',NULL,161,NULL,NULL,'text','If_No_Location2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[same_slideloc] = \'0\' and [is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_others_specify',NULL,'pathology_review',NULL,127,NULL,NULL,'text','If_Others_Specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'4\' and [lab_diagn_lung] = \'10\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize1',NULL,'pathology_review',NULL,78,NULL,NULL,'text','InvitroSize1',NULL,'Maximum size in centimeter','float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize2',NULL,'pathology_review',NULL,79,NULL,NULL,'text','InvitroSize2',NULL,'In % of total tissue volume for prostate cancer','float',NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize3',NULL,'pathology_review',NULL,80,NULL,NULL,'text','InvitroSize3',NULL,'The seceond largest tumor',NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_another_accnumber',NULL,'slide_information',NULL,150,NULL,NULL,'yesno','Is there another AccNumber?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_metastatic_tumor',NULL,'slide_information',NULL,163,NULL,NULL,'yesno','Is there Metastatic Tumor?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_precancer',NULL,'slide_information',NULL,171,NULL,NULL,'yesno','Is There Precancer?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ki_67',NULL,'pathology_review',NULL,95,NULL,NULL,'text','Ki-67',NULL,'positive cells in percentage','float',NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diag_prostate',NULL,'pathology_review',NULL,103,NULL,NULL,'select','Lab_Diag_Prostate','1, Adenocarcinoma,NOS \\n 2, Prostatic duct adenocarcinoma \\n 3, Mucinous adenocarcinoma \\n 4, Signet-ring cell carcinoma \\n 5, Adenosquemous carcinoma \\n 6, Small cell carcinoma \\n 7, Sarcomatoid carcinoma \\n 8, Other (specifiy) \\n 9, Undifferentiated carcinoma, NOS \\n 10, Cannot be determined',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_breast',NULL,'pathology_review',NULL,85,NULL,NULL,'select','Lab_Diagn_Breast','1, Noninvasive carcinoma (NOS) \\n 2, Ductal carcinoma in situ \\n 3, Lobular carcinoma in situ \\n 4, Paget disease without invasive carcinoma \\n 5, Invasive carcinoma (NOS) \\n 6, Invasive ductal carcinoma \\n 7, IDC with an extensive intraductal component \\n 8, IDC with Paget disease \\n 9, Invasive lobular \\n 10, Mucinous \\n 11, Medullary \\n 12, Papillary \\n 13, Tubular \\n 14, Adenoid cystic \\n 15, Secretory (juvenile) \\n 16, Apocrine \\n 17, Cribriform \\n 18, Carcinoma with squamous metaplasia \\n 19, Carcinoma with spindle cell metaplasia \\n 20, Carcinoma with cartilaginous/osseous metaplasia \\n 21, Carcinoma with metaplasia, mixed type \\n 22, Other(s) (specify) \\n 23, Not assessable \\n 24, No cancer tissue \\n 25, IDC+ILC (50 -90% each component)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_colon',NULL,'pathology_review',NULL,117,NULL,NULL,'select','Lab_Diagn_Colon','1, 1 Adenocarcinoma \\n 2, 2 Mucinous adenocarcinoma \\n 3, 3 Medullary carcinoma \\n 4, 4 Signet ring cell carcinoma \\n 5, 5 Small cell carcinoma \\n 6, 6 Squamous cell carcinoma \\n 7, 7 Adenosquamous carcinoma \\n 8, 8 Others \\n 9, 9 Adenoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_lung',NULL,'pathology_review',NULL,126,NULL,NULL,'select','Lab_Diagn_Lung','1, Squamous cell carcinoma 8070/3 \\n 2, Small cell carcinoma 8041/3 \\n 3, Adenocarcinoma 8140/3 \\n 4, Adenocarcinoma, mixed subtype 8255/3 \\n 5, Adenocarcinoma, Acinar 8550/3 \\n 6, Adenocarcinoma, Papillary 8260/3 \\n 7, Adenocarcinoma, Micropapillary \\n 8, Bronchioloalveolar carcinoma 8250/3 \\n 9, Solid adenocarcinoma with mucin 8230/3 \\n 10, Adenosquamous carcinoma 8560/3 \\n 11, Large cell carcinoma 8012/3 \\n 12, Sarcomatoid carcinoma 8033/3 \\n 13, Carcinoid tumour 8240/3 \\n 14, Mucoepidermoid carcinoma 8430/3 \\n 15, Epithelial-myoepithelial carcinoma 8562/3 \\n 16, Adenoid cystic carcinoma 8200/3 \\n 17, Unclassified carcinoma \\n 18, Others \\n 19, Large cell neuroendocrine carcinoma 8013/3',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_others',NULL,'pathology_review',NULL,134,NULL,NULL,'text','Lab_Diagn_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_gleason_score',NULL,'pathology_review',NULL,107,NULL,NULL,'text','Lab_Gleason_Score',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_breast',NULL,'pathology_review',NULL,89,NULL,NULL,'select','Lab_Grade_Breast','1, 1 \\n 2, 2 \\n 3, 3 \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_colon',NULL,'pathology_review',NULL,120,NULL,NULL,'select','Lab_Grade_Colon','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_lung',NULL,'pathology_review',NULL,129,NULL,NULL,'select','Lab_Grade_Lung','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_others',NULL,'pathology_review',NULL,136,NULL,NULL,'text','Lab_Grade_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_pro',NULL,'pathology_review',NULL,108,NULL,NULL,'select','Lab_Grade_Pro','1, Low(1-4) \\n 2, Intermediate(5-7) \\n 3, High(8-10)','Gleason Score System (1-10)',NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_id','0','id_shipping','ID Shipping',1,NULL,'IDs','text','Lab ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'labcirculation_time',NULL,'id_shipping',NULL,23,NULL,NULL,'calc','LabCirculation_time','round(datediff([receivedate],[return_date],\"d\",\"mdy\"))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'last_name','1','id_shipping',NULL,5,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'metastatic_accnum',NULL,'slide_information',NULL,164,NULL,NULL,'text','Metastatic_AccNum',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'middle_name',NULL,'id_shipping',NULL,4,NULL,NULL,'text','Middle Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'other_acc_no',NULL,'pathology_review',NULL,73,NULL,NULL,'text','Other_Acc_No',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'other_location_lung',NULL,'pathology_review',NULL,67,NULL,NULL,'text','Other location_lung',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'4\' and [tumor_location_lung] = \'11\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber',NULL,'id_shipping',NULL,36,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber2',NULL,'id_shipping',NULL,16,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber3',NULL,'id_shipping',NULL,54,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'p53_ihc',NULL,'pathology_review',NULL,96,NULL,NULL,'text','p53_IHC',NULL,'positive cells in percentage',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_1',NULL,'slide_information',NULL,149,NULL,NULL,'text','ParaPieceLoc_1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_2',NULL,'slide_information',NULL,162,NULL,NULL,'text','ParaPieceLoc_2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_metastatic',NULL,'slide_information',NULL,170,NULL,NULL,'text','ParaPieceLoc_Metastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_precancer',NULL,'slide_information',NULL,178,NULL,NULL,'text','ParaPieceLoc_Precancer',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnum_2',NULL,'slide_information',NULL,151,NULL,NULL,'text','PathAccNum_2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber','1','id_shipping',NULL,15,NULL,NULL,'text','PathAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber2',NULL,'id_shipping',NULL,35,NULL,NULL,'text','PathAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber3',NULL,'id_shipping',NULL,53,NULL,NULL,'text','PathAccNumber3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathoireview_note',NULL,'pathology_review',NULL,138,NULL,NULL,'textarea','PatholReview_Note',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathol_acc_no','1','pathology_review',NULL,72,NULL,NULL,'text','Pathol_Acc_No',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathology_review_complete',NULL,'pathology_review',NULL,139,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'perineuralinvasion',NULL,'pathology_review',NULL,81,NULL,NULL,'select','PerineuralInvasion','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pre_cancerous_colon',NULL,'pathology_review',NULL,124,NULL,NULL,'textarea','Pre-cancerous_Colon',NULL,NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'precancer_accnum',NULL,'slide_information',NULL,172,NULL,NULL,'text','PreCancer_AccNum',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'progesterone_receptor',NULL,'pathology_review',NULL,91,NULL,NULL,'select','Progesterone Receptor','0, negative (0~2) \\n 1, week (3~4) \\n 2, intermediate (5~6) \\n 3, strong (7~8) \\n 4, N/A','Allred Score System 0-8',NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'psa_level',NULL,'pathology_review',NULL,112,NULL,NULL,'text','PSA_Level',NULL,'ng/mL',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pulled_quant1',NULL,'slide_tracking',NULL,197,NULL,NULL,'text','Pulled_Quant1',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pulling_date1',NULL,'slide_tracking','Slide Tracking',194,NULL,NULL,'text','Pulling_Date1',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate','1','id_shipping',NULL,12,NULL,NULL,'text','ReceiveDate',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate2',NULL,'id_shipping',NULL,32,NULL,NULL,'text','ReceiveDate2',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate3',NULL,'id_shipping',NULL,50,NULL,NULL,'text','ReceiveDate3',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivetracking2',NULL,'id_shipping',NULL,34,NULL,NULL,'text','ReceiveTracking2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivetracking3',NULL,'id_shipping',NULL,52,NULL,NULL,'text','ReceiveTracking3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_date',NULL,'id_shipping',NULL,21,NULL,NULL,'text','ReturnDate',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed',NULL,'id_shipping',NULL,20,NULL,NULL,'yesno','Return_Needed?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed2',NULL,'id_shipping',NULL,40,NULL,NULL,'yesno','Return_needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed3',NULL,'id_shipping',NULL,58,NULL,NULL,'yesno','Return_needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_tracking',NULL,'id_shipping',NULL,22,NULL,NULL,'text','ReturnTracking',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_tracking2',NULL,'id_shipping',NULL,42,NULL,NULL,'text','ReturnTracking2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[return_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returndate2',NULL,'id_shipping',NULL,41,NULL,NULL,'text','ReturnDate2',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[return_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returndate3',NULL,'id_shipping',NULL,59,NULL,NULL,'text','ReturnDate3',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[return_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returntracking3',NULL,'id_shipping',NULL,60,NULL,NULL,'text','ReturnTracking3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[return_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'same_slideloc',NULL,'slide_information',NULL,160,NULL,NULL,'yesno','Same_SlideLoc?',NULL,NULL,NULL,NULL,NULL,NULL,'[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'samefacasbefore',NULL,'id_shipping',NULL,28,NULL,NULL,'yesno','SameFacilityAsBefore?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'samefacilityasbefore2',NULL,'id_shipping',NULL,46,NULL,NULL,'yesno','SameFacilityAsBefore?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'secondtime_getsample',NULL,'id_shipping',NULL,25,NULL,'If Receive Sample 2nd Time','yesno','2nd_Time_Receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'seminalinvasion',NULL,'pathology_review',NULL,113,NULL,NULL,'select','SeminalInvasion','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod',NULL,'id_shipping',NULL,13,NULL,NULL,'select','ShipMethod','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod2',NULL,'id_shipping',NULL,33,NULL,NULL,'select','ShipMethod2','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod3',NULL,'id_shipping',NULL,51,NULL,NULL,'select','ShipMethod3','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slide_information_complete',NULL,'slide_information',NULL,179,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slide_tracking_complete',NULL,'slide_tracking',NULL,198,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_1',NULL,'slide_information',NULL,148,NULL,NULL,'text','SlideLoc_1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_metmetastatic',NULL,'slide_information',NULL,169,NULL,NULL,'text','SlideLoc_Metmetastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_precancer',NULL,'slide_information',NULL,177,NULL,NULL,'text','SlideLoc_Precancer',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_colon_clin',NULL,'pathology_review',NULL,116,NULL,NULL,'text','If others_specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'3\' and [clin_giag_colon] = \'8\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_colon_lab',NULL,'pathology_review',NULL,118,NULL,NULL,'text','If others_specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'3\' and [lab_diagn_colon] = \'8\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_if_other_type_br',NULL,'pathology_review',NULL,87,NULL,NULL,'text','Specify_If_Other_Type_Br',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_if_other_type_pro',NULL,'pathology_review',NULL,104,NULL,NULL,'text','Specify_If_Other_type_Pro',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_other_location',NULL,'pathology_review',NULL,68,NULL,NULL,'text','Specify_Other_Location',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_other_origin',NULL,'pathology_review',NULL,63,NULL,NULL,'text','Specify_Other_Origin',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received',NULL,'id_shipping',NULL,18,NULL,NULL,'text','StainedSlide_Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received2',NULL,'id_shipping',NULL,38,NULL,NULL,'text','StainedSlide_Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received3',NULL,'id_shipping',NULL,56,NULL,NULL,'text','StainedSlide_Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'suffix',NULL,'id_shipping',NULL,6,NULL,NULL,'text','Suffix',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'surgical_margin_cancer_pre',NULL,'pathology_review',NULL,83,NULL,NULL,'select','Surgical margin cancer present','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_met_currentquant',NULL,'slide_information',NULL,168,NULL,NULL,'text','10um_Met_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_met_quant',NULL,'slide_information',NULL,167,NULL,NULL,'text','10um_Met_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_currquant',NULL,'slide_information',NULL,147,NULL,NULL,'text','10um_Nor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_currquant2',NULL,'slide_information',NULL,159,NULL,NULL,'text','10um_Nor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_quant',NULL,'slide_information',NULL,146,NULL,NULL,'text','10um_Nor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_quant2',NULL,'slide_information',NULL,158,NULL,NULL,'text','10um_Nor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_precancer_curquant',NULL,'slide_information',NULL,176,NULL,NULL,'text','10um_Precancer_CurQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_precancer_quant',NULL,'slide_information',NULL,175,NULL,NULL,'text','10um_Precancer_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_currquant',NULL,'slide_information',NULL,143,NULL,NULL,'text','10um_Tumor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_currquant2',NULL,'slide_information',NULL,155,NULL,NULL,'text','10um_Tumor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_quant',NULL,'slide_information',NULL,142,NULL,NULL,'text','10um_Tumor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_quant2',NULL,'slide_information',NULL,154,NULL,NULL,'text','10um_Tumor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'thirdtime_getsample',NULL,'id_shipping',NULL,43,NULL,'If Receive Sample 3rd Time','yesno','3rd_Time_Receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos1',NULL,'tma_information','TMA Information',180,NULL,NULL,'text','TMA_Ca_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos2',NULL,'tma_information',NULL,181,NULL,NULL,'text','TMA_Ca_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos3',NULL,'tma_information',NULL,187,NULL,NULL,'text','TMA_Ca_pos3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos4',NULL,'tma_information',NULL,188,NULL,NULL,'text','TMA_Ca_pos4',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_information_complete',NULL,'tma_information',NULL,193,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_metastatic_pos',NULL,'tma_information',NULL,185,NULL,NULL,'text','TMA Metastatic_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_metastatic_pos2',NULL,'tma_information',NULL,192,NULL,NULL,'text','TMA Metastatic_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos1',NULL,'tma_information',NULL,182,NULL,NULL,'text','TMA_Nor_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos2',NULL,'tma_information',NULL,183,NULL,NULL,'text','TMA_Nor_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos3',NULL,'tma_information',NULL,189,NULL,NULL,'text','TMA_Nor_pos3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos4',NULL,'tma_information',NULL,190,NULL,NULL,'text','TMA_Nor_pos4',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_preca_pos',NULL,'tma_information',NULL,184,NULL,NULL,'text','TMA_ PreCa_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_preca_pos2',NULL,'tma_information',NULL,191,NULL,NULL,'text','TMA_ PreCa_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnm_breast_tumor',NULL,'pathology_review',NULL,99,NULL,NULL,'select','TNMbreast_PrimTum(T)','1, TX:Primary tumor cannot be assessed \\n 2, T0:No evidence of primary tumor \\n 3, Tis:DCIS/LCIS/Paget\'s dis w/o associated tumor \\n 4, T1mic:Microinvasion <=0.1 cm \\n 5, T1a:>0.1 but <=0.5 cm \\n 6, T1b:>0.5 cm but <=1.0 cm \\n 7, T1c:>1.0 cm but <=2.0 cm \\n 8, T2:Tumor >2.0 cm but <=5.0 cm \\n 9, T3:Tumor >5.0 cm \\n 10, T4a:Any size with direct extension to chest wall \\n 11, T4b:skin Edema/ulceration;satellite skin nodules \\n 12, T4c:Both of T4a and T4b \\n 13, T4d:Inflammatory carcinoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnm_stage',NULL,'pathology_review',NULL,137,NULL,NULL,'text','TNM_Stage',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmbreast_distantmetast_m',NULL,'pathology_review',NULL,101,NULL,NULL,'select','TNMbreast_DistantMetast (M)','1, MX: cannot be assessed \\n 2, M0: No distant metastasis \\n 3, M1: yes includes ipsilateral supraclavicular LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmbreast_ln_n',NULL,'pathology_review',NULL,100,NULL,NULL,'select','TNMbreast_LN (N)','1, NX: Regional LNs cannot be assessed \\n 2, N0: No regional LNs metastasis \\n 3, N1: Movable ipsilateral axillary LN(s) \\n 4, N2: Ipsilateral axillary LN(s) fixed \\n 5, N3: Ipsilateral internal mammary LN(s) \\n 6, pNX: Regional LNs cannot be assessed \\n 7, pN0: No regional LNs metastasis \\n 8, pN1: movable ipsilateral axillary LN(s) \\n 9, pN1a:Only micrometastasis <=0.2 cm \\n 10, pN1b: Metastasis any >0.2 cm \\n 11, pN1bi:1 to 3 LNs, any >0.2 cm and all <2.0 cm \\n 12, pN1bii: >=4 LN3, any >0.2 cm and all <2.0 cm \\n 13, pN1biii: beyond LN capsule,metastasis <2.0 cm \\n 14, pN1biv: Metastasis to a LN >=2.0 cm \\n 15, pN2: to ipsilateral axillaryLN(s) fixed \\n 16, pN3: to ipsilateral internal mammary LN(s) \\n 17, pN0(i+)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_m',NULL,'pathology_review',NULL,123,NULL,NULL,'select','TNMcolon_M','M0, M0 No distant spread \\n M1a, M1a to 1 distant organ or set of distant LNs \\n M1b, M1b to >1 or distant parts peritoneum \\n MX, MX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_n',NULL,'pathology_review',NULL,122,NULL,NULL,'select','TNMcolon_N','Nx, Nx incomplete information. \\n N0, N0 No cancer in nearby LNs \\n N1a, N1a in 1 nearby LN \\n N1b, N1b in 2 to 3 nearby LNs \\n N1c, N1c cancer cells in areas of fat near LN, but not in LNs \\n N2a, N2a in 4 to 6 nearby LN \\n N2b, N2b in 7 or more nearby LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_t',NULL,'pathology_review',NULL,121,NULL,NULL,'select','TNMcolon_T','Tx, Tx \\n Tis, Tis earliest stage (in situ) involves only mucosa \\n T1, T1 through the muscularis mucosa \\n T2, T2 through submucosa into muscularis propria \\n T3, T3 through muscularis propria into outermost layers \\n T4a, T4a through serosa/visceral peritoneum \\n T4b, T4b through the wall attach/invade nearby tissues',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_m',NULL,'pathology_review',NULL,132,NULL,NULL,'select','TNMlung_M','13, MX \\n 14, M0 \\n 15, M1 Distant metastasis, includes separate tumour nodule(s) in different lobe',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_n',NULL,'pathology_review',NULL,131,NULL,NULL,'select','TNMlung_N','8, NX \\n 9, N0 \\n 10, N1 Ipsilateral peribronchial/ipsilateral hilar LNs and intrapulmonary LNs \\n 11, N2 ipsilateral mediastinal/subcarinal LNs \\n 12, N3 contralateral mediastinal, contralateral hilar, ipsilateral or contralateral scalene, or supraclavicular LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_t',NULL,'pathology_review',NULL,130,NULL,NULL,'select','TNMlung_T','1, TX \\n 2, T0 No evidence of primary tumour \\n 3, Tis Carcinoma in situ \\n 4, T1 <= 3 cm, without invasion \\n 5, T2 > 3 cm; or involves main bronchus(>2 cm distal to carina)/visceral pleura; or Associated with atelectasis or obstructive pneumonitis that does not involve entire lung \\n 6, T3 any size that directly invades any of:chest wall, diaphragm, mediastinal pleura, parietal pericardium; or tumour in main bronchus < 2 cm distal to carina but without involvement of carina; or associated atelectasis or obstructive pneumonitis of entire lung \\n 7, T4 any size that invades any of: mediastinum, heart, great vessels, trachea, oesophagus, vertebral body, carina; separate tumour nodule(s) in same lobe; tumour with malignant pleural effusion',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_m',NULL,'pathology_review',NULL,111,NULL,NULL,'select','TNMprostate_M','1, M0: spread only regionally in pelvic area \\n 2, M1: spread beyond pelvic area \\n 3, MX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_n',NULL,'pathology_review',NULL,110,NULL,NULL,'select','TNMprostate_N','1, N0: not to pelvic LN \\n 2, N1: a single pelvic LN,<= 2 cm \\n 3, N2: a single pelvic LN,2-5cm \\n 4, N3: >5 cm in size \\n 5, NX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_t',NULL,'pathology_review',NULL,109,NULL,NULL,'select','TNMprostate_T','1, T1: Microscopic, DRE/Ultrasound undetectable \\n 2, T1a: <=5 percent \\n 3, T1b: >5 percent \\n 4, T1c: as F/U of screening w/ high PSA \\n 5, T2: within prost, DRE/ultrasound detectable \\n 6, T2a: >half of one lobe \\n 7, T2b: >half of one lobe,DRE detectable often \\n 8, T2c: involve both lobes \\n 9, T3: surrounding tissues or seminal vesicles \\n 10, T3a: outside prostate on one side \\n 11, T3b: outside prostate on both sides \\n 12, T3c: to one or both seminal tubes \\n 13, T4a: to bladder or rectum \\n 14, T4b: beyond prostate or levator muscles \\n 15, TX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'trackingnumber',NULL,'id_shipping',NULL,14,NULL,NULL,'text','ReceiveTracking',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'trc_id',NULL,'id_shipping',NULL,2,NULL,NULL,'text','TRC ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location',NULL,'pathology_review',NULL,64,NULL,NULL,'select','Location_Breast_Prostate','1, Left \\n 2, Right \\n 3, Bilateral \\n 4, Multiple \\n 5, Unclear','Multiple means 2 or more',NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\' or [tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location_colorectum',NULL,'pathology_review',NULL,65,NULL,NULL,'select','Location_Colorectum','1, Appendix \\n 2, Cecum \\n 3, Ascending \\n 4, Hepatic Flexure \\n 5, Transverse \\n 6, Splenic Flexure \\n 7, Descending \\n 8, Sigmoid \\n 9, Rectum \\n 10, Anus \\n 11, Left \\n 12, Right \\n 13, Unclear',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location_lung',NULL,'pathology_review',NULL,66,NULL,NULL,'select','Location_Lung','1, Right Upper Lobe \\n 2, Right Middle Lobe \\n 3, Right Lower Lobe \\n 4, Left Upper Lobe \\n 5, Left Lower Lobe \\n 6, Right Bronchus \\n 7, Left Bronchus \\n 8, Right \\n 9, Left \\n 10, Unclear \\n 11, Others (specify it)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_origin',NULL,'pathology_review','Pathology Review',62,NULL,'Tumor Origin and Location','select','Tumor_Origin','1, Breast \\n 2, Prostate \\n 3, Colorectum \\n 4, Lung \\n 5, Others',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received',NULL,'id_shipping',NULL,19,NULL,NULL,'text','UnstainedSlide_Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received2',NULL,'id_shipping',NULL,39,NULL,NULL,'text','UnstainedSlide_Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received3',NULL,'id_shipping',NULL,57,NULL,NULL,'text','UnstainedSlide_Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'vascular_invasion',NULL,'pathology_review',NULL,82,NULL,NULL,'select','Vascular invasion present','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'whichslidepulled1',NULL,'slide_tracking',NULL,196,NULL,NULL,'text','WhichSlidePulled1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'address','1','participant_info_survey',NULL,8,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'complete_study',NULL,'completion_data','Completion Data (to be entered by study personnel only)',22,NULL,'This form is to be filled out by study personnel.','yesno','Has patient completed study?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'completion_data_complete',NULL,'completion_data',NULL,29,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'consent',NULL,'prescreening_survey',NULL,4,NULL,NULL,'checkbox','By checking this box, I certify that I am at least 18 years old and that I give my consent freely to participant in this study.','1, I consent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'date_visit_4',NULL,'completion_data',NULL,25,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'discharge_date_4',NULL,'completion_data',NULL,26,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'discharge_summary_4',NULL,'completion_data',NULL,27,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'dob',NULL,'prescreening_survey',NULL,2,NULL,'Please fill out the information below.','text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'email','1','prescreening_survey',NULL,2.1,NULL,NULL,'text','E-mail address',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'ethnicity',NULL,'participant_info_survey',NULL,11,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(9,'first_name','1','participant_info_survey','Participant Info Survey',6,NULL,'As a participant in this study, please answer the questions below. Thank you!','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'has_diabetes',NULL,'prescreening_survey',NULL,3,NULL,NULL,'truefalse','I currently have Type 2 Diabetes',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'height',NULL,'participant_info_survey',NULL,14,NULL,NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'last_name','1','participant_info_survey',NULL,7,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_id',NULL,'prescreening_survey','Pre-Screening Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_info_survey_complete',NULL,'participant_info_survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_morale_questionnaire_complete',NULL,'participant_morale_questionnaire',NULL,21,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq1',NULL,'participant_morale_questionnaire','Participant Morale Questionnaire',17,NULL,'As a participant in this study, please answer the questions below. Thank you!','select','On average, how many pills did you take each day last week?','0, Less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, Over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq2',NULL,'participant_morale_questionnaire',NULL,18,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq3',NULL,'participant_morale_questionnaire',NULL,19,NULL,NULL,'yesno','Would you be willing to discuss your experiences with a psychiatrist?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq4',NULL,'participant_morale_questionnaire',NULL,20,NULL,NULL,'select','How open are you to further testing?','0, Not open \\n 1, Undecided \\n 2, Very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'prescreening_survey_complete',NULL,'prescreening_survey',NULL,5,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'race',NULL,'participant_info_survey',NULL,12,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'sex',NULL,'participant_info_survey',NULL,13,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'study_comments',NULL,'completion_data',NULL,28,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'telephone_1','1','participant_info_survey',NULL,9,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'weight',NULL,'participant_info_survey',NULL,15,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'withdraw_date',NULL,'completion_data',NULL,23,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'withdraw_reason',NULL,'completion_data',NULL,24,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'address','1','participant_info_survey',NULL,8,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'choices',NULL,'participant_morale_questionnaire',NULL,19,NULL,'Concerning the past week, how do you feel about ...','radio','The choices you made','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'complete_study',NULL,'completion_data','Completion Data (to be entered by study personnel only)',24,NULL,'This form is to be filled out by study personnel.','yesno','Has patient completed study?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'completion_data_complete',NULL,'completion_data',NULL,31,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'consent',NULL,'prescreening_survey',NULL,4,NULL,NULL,'checkbox','By checking this box, I certify that I am at least 18 years old and that I give my consent freely to participant in this study.','1, I consent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'date_visit_4',NULL,'completion_data',NULL,27,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'discharge_date_4',NULL,'completion_data',NULL,28,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'discharge_summary_4',NULL,'completion_data',NULL,29,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'dob',NULL,'prescreening_survey',NULL,2,NULL,'Please fill out the information below.','text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'email','1','prescreening_survey',NULL,2.1,NULL,NULL,'text','E-mail address',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'ethnicity',NULL,'participant_info_survey',NULL,11,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(10,'family',NULL,'participant_morale_questionnaire',NULL,22,NULL,NULL,'radio','Your family life','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'first_name','1','participant_info_survey','Participant Info Survey',6,NULL,'As a participant in this study, please answer the questions below. Thank you!','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'has_diabetes',NULL,'prescreening_survey',NULL,3,NULL,NULL,'truefalse','I currently have Type 2 Diabetes',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'height',NULL,'participant_info_survey',NULL,14,NULL,NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'job',NULL,'participant_morale_questionnaire',NULL,21,NULL,NULL,'radio','Your job','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'last_name','1','participant_info_survey',NULL,7,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'life',NULL,'participant_morale_questionnaire',NULL,20,NULL,NULL,'radio','Your life overall','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'participant_id',NULL,'prescreening_survey','Pre-Screening Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'participant_info_survey_complete',NULL,'participant_info_survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'participant_morale_questionnaire_complete',NULL,'participant_morale_questionnaire',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'pmq1',NULL,'participant_morale_questionnaire','Participant Morale Questionnaire',17,NULL,'As a participant in this study, please answer the questions below concerning the PAST WEEK. Thank you!','select','On average, how many pills did you take each day last week?','0, Less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, Over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'pmq2',NULL,'participant_morale_questionnaire',NULL,18,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'prescreening_survey_complete',NULL,'prescreening_survey',NULL,5,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'race',NULL,'participant_info_survey',NULL,12,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'sex',NULL,'participant_info_survey',NULL,13,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'study_comments',NULL,'completion_data',NULL,30,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'telephone_1','1','participant_info_survey',NULL,9,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'weight',NULL,'participant_info_survey',NULL,15,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'withdraw_date',NULL,'completion_data',NULL,25,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'withdraw_reason',NULL,'completion_data',NULL,26,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'calc',NULL,'survey',NULL,8,NULL,NULL,'calc','Your favorite number above multiplied by 4 is:','[number]*4','[number] x 4 = [calc]',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'confirm_name',NULL,'survey',NULL,9,NULL,NULL,'radio','Please confirm your name','0, [first_name] Harris \\n 1, [first_name] [last_name] \\n 2, [first_name] Taylor \\n 3, [first_name] deGrasse Tyson',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'confirm_name_error',NULL,'survey',NULL,10,NULL,NULL,'descriptive','
ERROR: Please try again!
',NULL,NULL,NULL,NULL,NULL,NULL,'[confirm_name] != \'\' and [confirm_name] != \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'date_today',NULL,'survey',NULL,4,NULL,NULL,'text','[first_name], please enter today\'s date?',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'first_name',NULL,'survey',NULL,2,NULL,'Section 1','text','Your first name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'ice_cream',NULL,'survey',NULL,5,NULL,NULL,'radio','What is your favorite ice cream?','1, Chocolate \\n 2, Vanilla \\n 3, Strawberry',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'last_name',NULL,'survey',NULL,3,NULL,NULL,'text','Your last name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'number',NULL,'survey',NULL,7,NULL,NULL,'text','Enter your favorite number',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'participant_id',NULL,'survey','Example Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'review_answers',NULL,'survey',NULL,11,NULL,'Review answers','descriptive','Review your answers below:\n\n
Date: [date_today]\nName: [first_name] [last_name]\nFavorite ice cream: [ice_cream]\nFavorite number multiplied by 4: [calc]
\n\nIf all your responses look correct and you did not leave any blank, then click the Submit button below.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'slider',NULL,'survey',NULL,6,NULL,'Section 2','slider','How much do you like [ice_cream] ice cream?','Hate it | Indifferent | I love [ice_cream]!',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'survey_complete',NULL,'survey',NULL,12,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0362923',NULL,'cbc','Cbc',7,NULL,NULL,'text','Hemoglobin:MCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0362923_units',NULL,'cbc',NULL,8,NULL,NULL,'text','Hemoglobin:MCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363876',NULL,'chemistry','Chemistry',18,NULL,NULL,'text','Alanine aminotransferase:CCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363876_units',NULL,'chemistry',NULL,19,NULL,NULL,'text','Alanine aminotransferase:CCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363885',NULL,'chemistry',NULL,20,NULL,NULL,'text','Albumin:MCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363885_units',NULL,'chemistry',NULL,21,NULL,NULL,'text','Albumin:MCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364055',NULL,'chemistry',NULL,22,NULL,NULL,'text','Aspartate aminotransferase:CCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364055_units',NULL,'chemistry',NULL,23,NULL,NULL,'text','Aspartate aminotransferase:CCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364101',NULL,'chemistry',NULL,26,NULL,NULL,'text','Bilirubin.glucuronidated+Bilirubin.albumin bound:MCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364101_units',NULL,'chemistry',NULL,27,NULL,NULL,'text','Bilirubin.glucuronidated+Bilirubin.albumin bound:MCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364108',NULL,'chemistry',NULL,24,NULL,NULL,'text','Bilirubin:MCnc:Pt:Ser',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364108_units',NULL,'chemistry',NULL,25,NULL,NULL,'text','Bilirubin:MCnc:Pt:Ser units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364294',NULL,'chemistry',NULL,28,NULL,NULL,'text','Creatinine [Mass/volume] in Serum or Plasma',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364294_units',NULL,'chemistry',NULL,29,NULL,NULL,'text','Creatinine [Mass/volume] in Serum or Plasma units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364479',NULL,'chemistry',NULL,30,NULL,NULL,'text','Glucose:MCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364479_units',NULL,'chemistry',NULL,31,NULL,NULL,'text','Glucose:MCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364961',NULL,'chemistry',NULL,32,NULL,NULL,'text','Potassium:SCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364961_units',NULL,'chemistry',NULL,33,NULL,NULL,'text','Potassium:SCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0365091',NULL,'chemistry',NULL,34,NULL,NULL,'text','Sodium:SCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0365091_units',NULL,'chemistry',NULL,35,NULL,NULL,'text','Sodium:SCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0806020',NULL,'enrollment',NULL,5,NULL,NULL,'text','End Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942437',NULL,'cbc',NULL,11,NULL,NULL,'text','Lymphocytes:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942437_units',NULL,'cbc',NULL,12,NULL,NULL,'text','Lymphocytes:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942461',NULL,'cbc',NULL,13,NULL,NULL,'text','Neutrophils:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942461_units',NULL,'cbc',NULL,14,NULL,NULL,'text','Neutrophils:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942474',NULL,'cbc',NULL,15,NULL,NULL,'text','Platelets:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942474_units',NULL,'cbc',NULL,16,NULL,NULL,'text','Platelets:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0945357',NULL,'cbc',NULL,9,NULL,NULL,'text','Leukocytes:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0945357_units',NULL,'cbc',NULL,10,NULL,NULL,'text','Leukocytes:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c1301894',NULL,'enrollment',NULL,3,NULL,NULL,'text','Medical record number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c2826694',NULL,'enrollment',NULL,2,NULL,NULL,'text','Subject Identifier',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c2985782',NULL,'enrollment',NULL,4,NULL,NULL,'text','Informed Consent Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'cbc_complete',NULL,'cbc',NULL,17,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'chemistry_complete',NULL,'chemistry',NULL,36,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'enrollment_complete',NULL,'enrollment',NULL,6,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'record_id',NULL,'enrollment','Enrollment',1,NULL,NULL,'text','Record ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL); +/*!40000 ALTER TABLE `redcap_metadata` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_metadata_archive`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_metadata_archive` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `field_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `field_phi` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `form_menu_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `field_order` float DEFAULT NULL, + `field_units` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_preceding_header` mediumtext COLLATE utf8_unicode_ci, + `element_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_label` mediumtext COLLATE utf8_unicode_ci, + `element_enum` mediumtext COLLATE utf8_unicode_ci, + `element_note` mediumtext COLLATE utf8_unicode_ci, + `element_validation_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_min` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_max` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_checktype` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `branching_logic` text COLLATE utf8_unicode_ci, + `field_req` int(1) NOT NULL DEFAULT '0', + `edoc_id` int(10) DEFAULT NULL COMMENT 'image/file attachment', + `edoc_display_img` int(1) NOT NULL DEFAULT '0', + `custom_alignment` enum('LH','LV','RH','RV') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'RV = NULL = default', + `stop_actions` text COLLATE utf8_unicode_ci, + `question_num` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `grid_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Unique name of grid group', + `misc` text COLLATE utf8_unicode_ci COMMENT 'Miscellaneous field attributes', + `pr_id` int(10) DEFAULT NULL, + UNIQUE KEY `project_field_prid` (`project_id`,`field_name`,`pr_id`), + KEY `project_id_form` (`project_id`,`form_name`), + KEY `field_name` (`field_name`), + KEY `pr_id` (`pr_id`), + KEY `edoc_id` (`edoc_id`), + CONSTRAINT `redcap_metadata_archive_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_metadata_archive_ibfk_3` FOREIGN KEY (`pr_id`) REFERENCES `redcap_metadata_prod_revisions` (`pr_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_metadata_archive_ibfk_4` FOREIGN KEY (`edoc_id`) REFERENCES `redcap_edocs_metadata` (`doc_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_metadata_archive` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_metadata_archive` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_metadata_prod_revisions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_metadata_prod_revisions` ( + `pr_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) NOT NULL DEFAULT '0', + `ui_id_requester` int(10) DEFAULT NULL, + `ui_id_approver` int(10) DEFAULT NULL, + `ts_req_approval` datetime DEFAULT NULL, + `ts_approved` datetime DEFAULT NULL, + PRIMARY KEY (`pr_id`), + KEY `project_user` (`project_id`,`ui_id_requester`), + KEY `project_approved` (`project_id`,`ts_approved`), + KEY `ui_id_requester` (`ui_id_requester`), + KEY `ui_id_approver` (`ui_id_approver`), + CONSTRAINT `redcap_metadata_prod_revisions_ibfk_3` FOREIGN KEY (`ui_id_approver`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_metadata_prod_revisions_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_metadata_prod_revisions_ibfk_2` FOREIGN KEY (`ui_id_requester`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_metadata_prod_revisions` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_metadata_prod_revisions` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_metadata_temp`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_metadata_temp` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `field_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `field_phi` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `form_menu_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `field_order` float DEFAULT NULL, + `field_units` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_preceding_header` mediumtext COLLATE utf8_unicode_ci, + `element_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_label` mediumtext COLLATE utf8_unicode_ci, + `element_enum` mediumtext COLLATE utf8_unicode_ci, + `element_note` mediumtext COLLATE utf8_unicode_ci, + `element_validation_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_min` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_max` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `element_validation_checktype` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `branching_logic` text COLLATE utf8_unicode_ci, + `field_req` int(1) NOT NULL DEFAULT '0', + `edoc_id` int(10) DEFAULT NULL COMMENT 'image/file attachment', + `edoc_display_img` int(1) NOT NULL DEFAULT '0', + `custom_alignment` enum('LH','LV','RH','RV') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'RV = NULL = default', + `stop_actions` text COLLATE utf8_unicode_ci, + `question_num` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `grid_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Unique name of grid group', + `misc` text COLLATE utf8_unicode_ci COMMENT 'Miscellaneous field attributes', + PRIMARY KEY (`project_id`,`field_name`), + KEY `project_id_form` (`project_id`,`form_name`), + KEY `field_name` (`field_name`), + KEY `edoc_id` (`edoc_id`), + CONSTRAINT `redcap_metadata_temp_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_metadata_temp_ibfk_2` FOREIGN KEY (`edoc_id`) REFERENCES `redcap_edocs_metadata` (`doc_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_metadata_temp` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_metadata_temp` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_page_hits`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_page_hits` ( + `date` date NOT NULL, + `page_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `page_hits` float NOT NULL DEFAULT '1', + UNIQUE KEY `date` (`date`,`page_name`), + KEY `page_name` (`page_name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_page_hits` DISABLE KEYS */; +INSERT INTO `redcap_page_hits` VALUES ('2014-09-16','redcap/index.php',1),('2014-09-16','ProjectSetup/index.php',1); +/*!40000 ALTER TABLE `redcap_page_hits` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_project_checklist`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_project_checklist` ( + `list_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`list_id`), + UNIQUE KEY `project_name` (`project_id`,`name`), + CONSTRAINT `redcap_project_checklist_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_project_checklist` DISABLE KEYS */; +INSERT INTO `redcap_project_checklist` VALUES (1,7,'design'),(2,7,'modify_project'),(3,7,'modules'); +/*!40000 ALTER TABLE `redcap_project_checklist` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_projects`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_projects` ( + `project_id` int(10) NOT NULL AUTO_INCREMENT, + `project_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `app_title` text COLLATE utf8_unicode_ci, + `status` int(1) NOT NULL DEFAULT '0', + `creation_time` datetime DEFAULT NULL, + `production_time` datetime DEFAULT NULL, + `inactive_time` datetime DEFAULT NULL, + `created_by` int(10) DEFAULT NULL COMMENT 'FK from User Info', + `draft_mode` int(1) NOT NULL DEFAULT '0', + `surveys_enabled` int(1) NOT NULL DEFAULT '0' COMMENT '0 = forms only, 1 = survey+forms, 2 = single survey only', + `repeatforms` int(1) NOT NULL DEFAULT '0', + `scheduling` int(1) NOT NULL DEFAULT '0', + `purpose` int(2) DEFAULT NULL, + `purpose_other` text COLLATE utf8_unicode_ci, + `show_which_records` int(1) NOT NULL DEFAULT '0', + `__SALT__` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Alphanumeric hash unique to each project', + `count_project` int(1) NOT NULL DEFAULT '1', + `investigators` text COLLATE utf8_unicode_ci, + `project_note` text COLLATE utf8_unicode_ci, + `online_offline` int(1) NOT NULL DEFAULT '1', + `auth_meth` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `double_data_entry` int(1) NOT NULL DEFAULT '0', + `project_language` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'English', + `is_child_of` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_shift_max` int(10) NOT NULL DEFAULT '364', + `institution` text COLLATE utf8_unicode_ci, + `site_org_type` text COLLATE utf8_unicode_ci, + `grant_cite` text COLLATE utf8_unicode_ci, + `project_contact_name` text COLLATE utf8_unicode_ci, + `project_contact_email` text COLLATE utf8_unicode_ci, + `project_contact_prod_changes_name` text COLLATE utf8_unicode_ci, + `project_contact_prod_changes_email` text COLLATE utf8_unicode_ci, + `headerlogo` text COLLATE utf8_unicode_ci, + `auto_inc_set` int(1) NOT NULL DEFAULT '0', + `custom_data_entry_note` text COLLATE utf8_unicode_ci, + `custom_index_page_note` text COLLATE utf8_unicode_ci, + `order_id_by` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_reports` mediumtext COLLATE utf8_unicode_ci COMMENT 'Legacy report builder', + `report_builder` mediumtext COLLATE utf8_unicode_ci, + `mobile_project` int(1) NOT NULL DEFAULT '0', + `mobile_project_export_flag` int(1) NOT NULL DEFAULT '1', + `disable_data_entry` int(1) NOT NULL DEFAULT '0', + `google_translate_default` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, + `require_change_reason` int(1) NOT NULL DEFAULT '0', + `dts_enabled` int(1) NOT NULL DEFAULT '0', + `project_pi_firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_mi` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_lastname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_alias` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_pub_exclude` int(1) DEFAULT NULL, + `project_pub_matching_institution` text COLLATE utf8_unicode_ci, + `project_irb_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_grant_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `history_widget_enabled` int(1) NOT NULL DEFAULT '1', + `secondary_pk` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'field_name of seconary identifier', + `custom_record_label` text COLLATE utf8_unicode_ci, + `display_project_logo_institution` int(1) NOT NULL DEFAULT '1', + `imported_from_rs` int(1) NOT NULL DEFAULT '0' COMMENT 'If imported from REDCap Survey', + `display_today_now_button` int(1) NOT NULL DEFAULT '1', + `auto_variable_naming` int(1) NOT NULL DEFAULT '0', + `randomization` int(1) NOT NULL DEFAULT '0', + `enable_participant_identifiers` int(1) NOT NULL DEFAULT '0', + `survey_email_participant_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Field name that stores participant email', + `data_entry_trigger_url` text COLLATE utf8_unicode_ci COMMENT 'URL for sending Post request when a record is created or modified', + `template_id` int(10) DEFAULT NULL COMMENT 'If created from a project template, the project_id of the template', + `date_deleted` datetime DEFAULT NULL COMMENT 'Time that project was flagged for deletion', + `data_resolution_enabled` int(1) NOT NULL DEFAULT '1' COMMENT '0=Disabled, 1=Field comment log, 2=Data Quality resolution workflow', + `realtime_webservice_enabled` int(1) NOT NULL DEFAULT '0' COMMENT 'Is real-time web service enabled for external data import?', + `realtime_webservice_offset_days` int(3) NOT NULL DEFAULT '1' COMMENT 'Default value of days offset', + `realtime_webservice_offset_plusminus` enum('+','-','+-') COLLATE utf8_unicode_ci NOT NULL DEFAULT '+-' COMMENT 'Default value of plus-minus range for days offset', + `last_logged_event` datetime DEFAULT NULL, + PRIMARY KEY (`project_id`), + UNIQUE KEY `project_name` (`project_name`), + KEY `created_by` (`created_by`), + KEY `template_id` (`template_id`), + KEY `last_logged_event` (`last_logged_event`), + CONSTRAINT `redcap_projects_ibfk_2` FOREIGN KEY (`created_by`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_projects_ibfk_1` FOREIGN KEY (`template_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores project-level values'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_projects` DISABLE KEYS */; +INSERT INTO `redcap_projects` VALUES (1,'redcap_demo_789df9','Classic Database',1,'2014-09-16 15:29:47','2014-09-16 15:29:47',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(2,'redcap_demo_97600d','Longitudinal Database (2 arms)',1,'2014-09-16 15:29:47','2014-09-16 15:29:47',NULL,NULL,0,0,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(3,'redcap_demo_1f66d7','Single Survey',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(4,'redcap_demo_873daf','Longitudinal Database (1 arm)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(5,'redcap_demo_7633af','Basic Demography',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(6,'redcap_demo_bffd55','Project Tracking Database',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(7,'redcap_demo_44df3d','Randomized Clinical Trial',0,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,1,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(8,'redcap_demo_f26eb3','Human Cancer Tissue Biobank',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(9,'redcap_demo_2700c3','Multiple Surveys (classic)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,'email',NULL,NULL,NULL,1,0,1,'+-',NULL),(10,'redcap_demo_432731','Multiple Surveys (longitudinal)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,'email',NULL,NULL,NULL,1,0,1,'+-',NULL),(11,'redcap_demo_910823','Piping Example Project',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(12,'redi_sample_project','RED-I Sample Project',0,'2014-09-16 15:32:31',NULL,NULL,1,0,0,1,0,0,NULL,0,'e4ed4c0c59',1,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-','2014-09-16 15:52:10'); +/*!40000 ALTER TABLE `redcap_projects` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_projects_external`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_projects_external` ( + `project_id` varchar(32) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Brief user-defined project identifier unique within custom_type', + `custom_type` varchar(32) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Brief user-defined name for the resource/category/bucket under which the project falls', + `app_title` text COLLATE utf8_unicode_ci, + `creation_time` datetime DEFAULT NULL, + `project_pi_firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_mi` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_lastname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_alias` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_pi_pub_exclude` int(1) DEFAULT NULL, + `project_pub_matching_institution` text COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`project_id`,`custom_type`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_projects_external` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_projects_external` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_projects_templates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_projects_templates` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `title` text COLLATE utf8_unicode_ci, + `description` text COLLATE utf8_unicode_ci, + `enabled` int(1) NOT NULL DEFAULT '0' COMMENT 'If enabled, template is visible to users in list.', + PRIMARY KEY (`project_id`), + CONSTRAINT `redcap_projects_templates_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Info about which projects are used as templates'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_projects_templates` DISABLE KEYS */; +INSERT INTO `redcap_projects_templates` VALUES (1,'Classic Database','Contains six data entry forms, including forms for demography and baseline data, three monthly data forms, and concludes with a completion data form.',1),(2,'Longitudinal Database (2 arms)','Contains nine data entry forms (beginning with a demography form) for collecting data on two different arms (Drug A and Drug B) with each arm containing eight different events.',1),(3,'Single Survey','Contains a single data collection instrument enabled as a survey, which contains questions to demonstrate all the different field types.',1),(4,'Longitudinal Database (1 arm)','Contains nine data entry forms (beginning with a demography form) for collecting data longitudinally over eight different events.',1),(5,'Basic Demography','Contains a single data collection instrument to capture basic demographic information.',1),(6,'Project Tracking Database','Contains fifteen data entry forms dedicated to recording the attributes of and tracking and progress of projects/studies.',1),(7,'Randomized Clinical Trial','Contains seven data entry forms for collecting data for a randomized clinical trial. Incluses a short demographics form followed by a form where randomization is performed. An example randomization model has already been set up, although randomization allocation tables have not yet been created.',1),(8,'Human Cancer Tissue Biobank','Contains five data entry forms for collecting and tracking information for cancer tissue.',1),(9,'Multiple Surveys (classic)','Contains three surveys and a data entry form. Includes a pre-screening survey followed by two follow-up surveys to capture information from the participant, and then a data entry form for final data to be entered by the study personnel. The project data is captured in classic data collection format.',1),(10,'Multiple Surveys (longitudinal)','Contains three surveys and a data entry form. Includes a pre-screening survey followed by two follow-up surveys, one of which is a questionnaire takenly weekly to capture participant information longitudinally over a period of one month. The surveys are followed by a data entry form for final data to be entered by the study personnel. The project data is captured in longitudinal data collection format.',1),(11,'Piping Example Project','Contains a single data collection instrument enabled as a survey, which contains questions to demonstrate the Piping feature.',1); +/*!40000 ALTER TABLE `redcap_projects_templates` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_pub_articles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_pub_articles` ( + `article_id` int(10) NOT NULL AUTO_INCREMENT, + `pubsrc_id` int(10) NOT NULL, + `pub_id` varchar(16) COLLATE utf8_unicode_ci NOT NULL COMMENT 'The publication source''s ID for the article (e.g., a PMID in the case of PubMed)', + `title` text COLLATE utf8_unicode_ci, + `volume` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL, + `issue` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL, + `pages` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL, + `journal` text COLLATE utf8_unicode_ci, + `journal_abbrev` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, + `pub_date` date DEFAULT NULL, + `epub_date` date DEFAULT NULL, + PRIMARY KEY (`article_id`), + UNIQUE KEY `pubsrc_id` (`pubsrc_id`,`pub_id`), + CONSTRAINT `redcap_pub_articles_ibfk_1` FOREIGN KEY (`pubsrc_id`) REFERENCES `redcap_pub_sources` (`pubsrc_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Articles pulled from a publication source (e.g., PubMed)'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_pub_articles` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_pub_articles` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_pub_authors`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_pub_authors` ( + `author_id` int(10) NOT NULL AUTO_INCREMENT, + `article_id` int(10) DEFAULT NULL, + `author` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`author_id`), + KEY `article_id` (`article_id`), + KEY `author` (`author`), + CONSTRAINT `redcap_pub_authors_ibfk_1` FOREIGN KEY (`article_id`) REFERENCES `redcap_pub_articles` (`article_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_pub_authors` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_pub_authors` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_pub_matches`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_pub_matches` ( + `match_id` int(11) NOT NULL AUTO_INCREMENT, + `article_id` int(11) NOT NULL, + `project_id` int(11) DEFAULT NULL, + `external_project_id` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'FK 1/2 referencing redcap_projects_external (not explicitly defined as FK to allow redcap_projects_external to be blown away)', + `external_custom_type` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'FK 2/2 referencing redcap_projects_external (not explicitly defined as FK to allow redcap_projects_external to be blown away)', + `search_term` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `matched` int(1) DEFAULT NULL, + `matched_time` datetime DEFAULT NULL, + `email_count` int(11) NOT NULL DEFAULT '0', + `email_time` datetime DEFAULT NULL, + `unique_hash` varchar(32) COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`match_id`), + UNIQUE KEY `unique_hash` (`unique_hash`), + KEY `article_id` (`article_id`), + KEY `project_id` (`project_id`), + KEY `external_project_id` (`external_project_id`), + KEY `external_custom_type` (`external_custom_type`), + CONSTRAINT `redcap_pub_matches_ibfk_8` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON UPDATE CASCADE, + CONSTRAINT `redcap_pub_matches_ibfk_7` FOREIGN KEY (`article_id`) REFERENCES `redcap_pub_articles` (`article_id`) ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_pub_matches` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_pub_matches` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_pub_mesh_terms`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_pub_mesh_terms` ( + `mesh_id` int(10) NOT NULL AUTO_INCREMENT, + `article_id` int(10) DEFAULT NULL, + `mesh_term` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`mesh_id`), + KEY `article_id` (`article_id`), + KEY `mesh_term` (`mesh_term`), + CONSTRAINT `redcap_pub_mesh_terms_ibfk_1` FOREIGN KEY (`article_id`) REFERENCES `redcap_pub_articles` (`article_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_pub_mesh_terms` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_pub_mesh_terms` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_pub_sources`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_pub_sources` ( + `pubsrc_id` int(11) NOT NULL, + `pubsrc_name` varchar(32) COLLATE utf8_unicode_ci NOT NULL, + `pubsrc_last_crawl_time` datetime DEFAULT NULL, + PRIMARY KEY (`pubsrc_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The different places where we grab publications from'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_pub_sources` DISABLE KEYS */; +INSERT INTO `redcap_pub_sources` VALUES (1,'PubMed',NULL); +/*!40000 ALTER TABLE `redcap_pub_sources` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_randomization`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_randomization` ( + `rid` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `stratified` int(1) NOT NULL DEFAULT '1' COMMENT '1=Stratified, 0=Block', + `group_by` enum('DAG','FIELD') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Randomize by group?', + `target_field` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `target_event` int(10) DEFAULT NULL, + `source_field1` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event1` int(10) DEFAULT NULL, + `source_field2` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event2` int(10) DEFAULT NULL, + `source_field3` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event3` int(10) DEFAULT NULL, + `source_field4` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event4` int(10) DEFAULT NULL, + `source_field5` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event5` int(10) DEFAULT NULL, + `source_field6` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event6` int(10) DEFAULT NULL, + `source_field7` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event7` int(10) DEFAULT NULL, + `source_field8` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event8` int(10) DEFAULT NULL, + `source_field9` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event9` int(10) DEFAULT NULL, + `source_field10` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event10` int(10) DEFAULT NULL, + `source_field11` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event11` int(10) DEFAULT NULL, + `source_field12` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event12` int(10) DEFAULT NULL, + `source_field13` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event13` int(10) DEFAULT NULL, + `source_field14` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event14` int(10) DEFAULT NULL, + `source_field15` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `source_event15` int(10) DEFAULT NULL, + PRIMARY KEY (`rid`), + UNIQUE KEY `project_id` (`project_id`), + KEY `target_event` (`target_event`), + KEY `source_event1` (`source_event1`), + KEY `source_event2` (`source_event2`), + KEY `source_event3` (`source_event3`), + KEY `source_event4` (`source_event4`), + KEY `source_event5` (`source_event5`), + KEY `source_event6` (`source_event6`), + KEY `source_event7` (`source_event7`), + KEY `source_event8` (`source_event8`), + KEY `source_event9` (`source_event9`), + KEY `source_event10` (`source_event10`), + KEY `source_event11` (`source_event11`), + KEY `source_event12` (`source_event12`), + KEY `source_event13` (`source_event13`), + KEY `source_event14` (`source_event14`), + KEY `source_event15` (`source_event15`), + CONSTRAINT `redcap_randomization_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_10` FOREIGN KEY (`source_event9`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_11` FOREIGN KEY (`source_event10`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_12` FOREIGN KEY (`source_event11`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_13` FOREIGN KEY (`source_event12`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_14` FOREIGN KEY (`source_event13`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_15` FOREIGN KEY (`source_event14`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_16` FOREIGN KEY (`source_event15`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_17` FOREIGN KEY (`target_event`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_2` FOREIGN KEY (`source_event1`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_3` FOREIGN KEY (`source_event2`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_4` FOREIGN KEY (`source_event3`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_5` FOREIGN KEY (`source_event4`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_6` FOREIGN KEY (`source_event5`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_7` FOREIGN KEY (`source_event6`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_8` FOREIGN KEY (`source_event7`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_ibfk_9` FOREIGN KEY (`source_event8`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_randomization` DISABLE KEYS */; +INSERT INTO `redcap_randomization` VALUES (1,7,1,NULL,'randomization_group',NULL,'race',29,'sex',29,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); +/*!40000 ALTER TABLE `redcap_randomization` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_randomization_allocation`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_randomization_allocation` ( + `aid` int(10) NOT NULL AUTO_INCREMENT, + `rid` int(10) NOT NULL DEFAULT '0', + `project_status` int(1) NOT NULL DEFAULT '0' COMMENT 'Used in dev or prod status', + `is_used_by` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Used by a record?', + `group_id` int(10) DEFAULT NULL COMMENT 'DAG', + `target_field` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field1` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field2` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field3` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field4` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field5` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field6` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field7` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field8` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field9` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field10` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field11` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field12` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field13` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field14` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + `source_field15` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Data value', + PRIMARY KEY (`aid`), + UNIQUE KEY `rid_status_usedby` (`rid`,`project_status`,`is_used_by`), + KEY `group_id` (`group_id`), + CONSTRAINT `redcap_randomization_allocation_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `redcap_data_access_groups` (`group_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_randomization_allocation_ibfk_1` FOREIGN KEY (`rid`) REFERENCES `redcap_randomization` (`rid`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_randomization_allocation` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_randomization_allocation` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_sendit_docs`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_sendit_docs` ( + `document_id` int(11) NOT NULL AUTO_INCREMENT, + `doc_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `doc_orig_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `doc_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `doc_size` int(11) DEFAULT NULL, + `send_confirmation` int(1) NOT NULL DEFAULT '0', + `expire_date` datetime DEFAULT NULL, + `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `location` int(1) NOT NULL DEFAULT '0' COMMENT '1 = Home page; 2 = File Repository; 3 = Form', + `docs_id` int(11) NOT NULL DEFAULT '0', + `date_added` datetime DEFAULT NULL, + `date_deleted` datetime DEFAULT NULL COMMENT 'When really deleted from server (only applicable for location=1)', + PRIMARY KEY (`document_id`), + KEY `user_id` (`username`), + KEY `docs_id_location` (`location`,`docs_id`), + KEY `expire_location_deleted` (`expire_date`,`location`,`date_deleted`), + KEY `date_added` (`date_added`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_sendit_docs` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_sendit_docs` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_sendit_recipients`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_sendit_recipients` ( + `recipient_id` int(11) NOT NULL AUTO_INCREMENT, + `email_address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `sent_confirmation` int(1) NOT NULL DEFAULT '0', + `download_date` datetime DEFAULT NULL, + `download_count` int(11) NOT NULL DEFAULT '0', + `document_id` int(11) NOT NULL DEFAULT '0' COMMENT 'FK from redcap_sendit_docs', + `guid` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `pwd` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`recipient_id`), + KEY `document_id` (`document_id`), + KEY `email_address` (`email_address`), + KEY `guid` (`guid`), + CONSTRAINT `redcap_sendit_recipients_ibfk_1` FOREIGN KEY (`document_id`) REFERENCES `redcap_sendit_docs` (`document_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_sendit_recipients` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_sendit_recipients` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_sessions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_sessions` ( + `session_id` varchar(32) COLLATE utf8_unicode_ci NOT NULL, + `session_data` text COLLATE utf8_unicode_ci, + `session_expiration` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`session_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores user authentication session data'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_sessions` DISABLE KEYS */; +INSERT INTO `redcap_sessions` VALUES ('r1a1r2fb6o1vr50fmuivn7lia6','redcap_csrf_token|a:2:{s:19:\"2014-09-16 16:01:02\";s:32:\"9eab6531142b4c4252fe31366c91d727\";s:19:\"2014-09-16 16:01:05\";s:32:\"4264b00738ded6f002688ee20b8fe0f3\";}','2014-09-16 16:31:05'); +/*!40000 ALTER TABLE `redcap_sessions` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_standard`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_standard` ( + `standard_id` int(10) NOT NULL AUTO_INCREMENT, + `standard_name` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, + `standard_version` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, + `standard_desc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`standard_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_standard` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_standard` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_standard_code`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_standard_code` ( + `standard_code_id` int(10) NOT NULL AUTO_INCREMENT, + `standard_code` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, + `standard_code_desc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `standard_id` int(10) NOT NULL DEFAULT '0', + PRIMARY KEY (`standard_code_id`), + KEY `standard_id` (`standard_id`), + CONSTRAINT `redcap_standard_code_ibfk_1` FOREIGN KEY (`standard_id`) REFERENCES `redcap_standard` (`standard_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_standard_code` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_standard_code` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_standard_map`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_standard_map` ( + `standard_map_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `standard_code_id` int(10) NOT NULL DEFAULT '0', + `data_conversion` mediumtext COLLATE utf8_unicode_ci, + `data_conversion2` mediumtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`standard_map_id`), + KEY `standard_code_id` (`standard_code_id`), + KEY `project_id` (`project_id`), + CONSTRAINT `redcap_standard_map_ibfk_2` FOREIGN KEY (`standard_code_id`) REFERENCES `redcap_standard_code` (`standard_code_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_standard_map_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_standard_map` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_standard_map` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_standard_map_audit`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_standard_map_audit` ( + `audit_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `field_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `standard_code` int(10) DEFAULT NULL, + `action_id` int(10) DEFAULT NULL, + `user` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `timestamp` datetime DEFAULT NULL, + PRIMARY KEY (`audit_id`), + KEY `project_id` (`project_id`), + KEY `action_id` (`action_id`), + KEY `standard_code` (`standard_code`), + CONSTRAINT `redcap_standard_map_audit_ibfk_5` FOREIGN KEY (`standard_code`) REFERENCES `redcap_standard_code` (`standard_code_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_standard_map_audit_ibfk_2` FOREIGN KEY (`action_id`) REFERENCES `redcap_standard_map_audit_action` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_standard_map_audit_ibfk_4` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_standard_map_audit` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_standard_map_audit` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_standard_map_audit_action`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_standard_map_audit_action` ( + `id` int(10) NOT NULL DEFAULT '0', + `action` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_standard_map_audit_action` DISABLE KEYS */; +INSERT INTO `redcap_standard_map_audit_action` VALUES (1,'add mapped field'),(2,'modify mapped field'),(3,'remove mapped field'); +/*!40000 ALTER TABLE `redcap_standard_map_audit_action` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys` ( + `survey_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'NULL = assume first form', + `title` text COLLATE utf8_unicode_ci COMMENT 'Survey title', + `instructions` text COLLATE utf8_unicode_ci COMMENT 'Survey instructions', + `acknowledgement` text COLLATE utf8_unicode_ci COMMENT 'Survey acknowledgement', + `question_by_section` int(1) NOT NULL DEFAULT '0' COMMENT '0 = one-page survey', + `question_auto_numbering` int(1) NOT NULL DEFAULT '1', + `survey_enabled` int(1) NOT NULL DEFAULT '1', + `save_and_return` int(1) NOT NULL DEFAULT '0', + `logo` int(10) DEFAULT NULL COMMENT 'FK for redcap_edocs_metadata', + `hide_title` int(1) NOT NULL DEFAULT '0', + `view_results` int(1) NOT NULL DEFAULT '0', + `min_responses_view_results` int(5) NOT NULL DEFAULT '10', + `check_diversity_view_results` int(1) NOT NULL DEFAULT '0', + `end_survey_redirect_url` text COLLATE utf8_unicode_ci COMMENT 'URL to redirect to after completing survey', + `end_survey_redirect_url_append_id` int(1) NOT NULL DEFAULT '0' COMMENT 'Append participant_id to URL', + `survey_expiration` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Timestamp when survey expires', + PRIMARY KEY (`survey_id`), + UNIQUE KEY `logo` (`logo`), + UNIQUE KEY `project_form` (`project_id`,`form_name`), + KEY `survey_expiration_enabled` (`survey_expiration`,`survey_enabled`), + CONSTRAINT `redcap_surveys_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_ibfk_2` FOREIGN KEY (`logo`) REFERENCES `redcap_edocs_metadata` (`doc_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Table for survey data'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys` DISABLE KEYS */; +INSERT INTO `redcap_surveys` VALUES (1,3,'survey','Example Survey','<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; text-align: left; line-height: 1.5em; max-width: 700px; clear: both; padding: 0px;">These are your survey instructions that you would enter for your survey participants. You may put whatever text you like here, which may include information about the purpose of the survey, who is taking the survey, or how to take the survey.</p>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; text-align: left; line-height: 1.5em; max-width: 700px; clear: both; padding: 0px;">Surveys can use a single survey link for all respondents, which can be posted on a webpage or emailed out from your email application of choice.&nbsp;<strong>By default, all survey responses are collected anonymously</strong>&nbsp;(that is, unless your survey asks for name, email, or other identifying information).&nbsp;If you wish to track individuals who have taken your survey, you may upload a list of email addresses into a Participant List within REDCap, in which you can have REDCap send them an email invitation, which will track if they have taken the survey and when it was taken. This method still collects responses anonymously, but if you wish to identify an individual respondent\'s answers, you may do so by also providing an Identifier in your Participant List. Of course, in that case you may want to inform your respondents in your survey\'s instructions that their responses are not being collected anonymously and can thus be traced back to them.</p>','<p><strong>Thank you for taking the survey.</strong></p>
<p>Have a nice day!</p>',0,0,1,1,NULL,0,0,10,0,NULL,0,NULL),(2,9,'participant_info_survey','Follow-Up Survey','<p><strong>Please complete the survey below.</strong></p>\r\n<p>Thank you!</p>','<p><strong>Thank you for taking the survey.</strong></p>\r\n<p>Have a nice day!</p>',0,1,1,1,NULL,0,0,10,0,NULL,0,NULL),(3,9,'participant_morale_questionnaire','Patient Morale Questionnaire','<p><strong>Please complete the survey below.</strong></p>\r\n<p>Thank you!</p>','<p><strong>Thank you for taking the survey.</strong></p>\r\n<p>Have a nice day!</p>',0,1,1,1,NULL,0,0,10,0,NULL,0,NULL),(4,9,'prescreening_survey','Pre-Screening Survey','<p><strong>Please complete the survey below.</strong></p>\r\n<p>Thank you!</p>','<p><strong>Thank you for taking the survey.</strong></p>\r\n<p>Have a nice day!</p>',0,1,1,0,NULL,0,0,10,0,NULL,0,NULL),(5,10,'participant_info_survey','Follow-Up Survey','<p><strong>Please complete the survey below.</strong></p>\r\n<p>Thank you!</p>','<p><strong>Thank you for taking the survey.</strong></p>\r\n<p>Have a nice day!</p>',0,1,1,1,NULL,0,0,10,0,NULL,0,NULL),(6,10,'participant_morale_questionnaire','Patient Morale Questionnaire','<p><strong>Please complete the survey below.</strong></p>\r\n<p>Thank you!</p>','<p><strong>Thank you for taking the survey.</strong></p>\r\n<p>Have a nice day!</p>',0,1,1,1,NULL,0,0,10,0,NULL,0,NULL),(7,10,'prescreening_survey','Pre-Screening Survey','<p><strong>Please complete the survey below.</strong></p>\r\n<p>Thank you!</p>','<p><strong>Thank you for taking the survey.</strong></p>\r\n<p>Have a nice day!</p>',0,1,1,0,NULL,0,0,10,0,NULL,0,NULL),(8,11,'survey','Example Survey to Demonstrate Piping','This survey will demonstrate some basic examples of the Piping feature in REDCap.','<p style=\"font-size:14px;\"><strong>[first_name], thank you for taking the survey.</strong></p>
<p>Have a nice day!</p>',1,0,1,0,NULL,0,0,10,0,NULL,0,NULL); +/*!40000 ALTER TABLE `redcap_surveys` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_emails`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_emails` ( + `email_id` int(10) NOT NULL AUTO_INCREMENT, + `survey_id` int(10) DEFAULT NULL, + `email_subject` text COLLATE utf8_unicode_ci, + `email_content` text COLLATE utf8_unicode_ci, + `email_sender` int(10) DEFAULT NULL COMMENT 'FK ui_id from redcap_user_information', + `email_account` enum('1','2','3') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Sender''s account (1=Primary, 2=Secondary, 3=Tertiary)', + `email_static` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Sender''s static email address (only for scheduled invitations)', + `email_sent` datetime DEFAULT NULL COMMENT 'Null=Not sent yet (scheduled)', + PRIMARY KEY (`email_id`), + KEY `email_sender` (`email_sender`), + KEY `email_sent` (`email_sent`), + KEY `survey_id_email_sent` (`survey_id`,`email_sent`), + CONSTRAINT `redcap_surveys_emails_ibfk_1` FOREIGN KEY (`survey_id`) REFERENCES `redcap_surveys` (`survey_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_emails_ibfk_2` FOREIGN KEY (`email_sender`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE SET NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Track emails sent out'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_emails` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_emails` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_emails_recipients`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_emails_recipients` ( + `email_recip_id` int(10) NOT NULL AUTO_INCREMENT, + `email_id` int(10) DEFAULT NULL COMMENT 'FK redcap_surveys_emails', + `participant_id` int(10) DEFAULT NULL COMMENT 'FK redcap_surveys_participants', + `static_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Static email address of recipient (used when participant has no email)', + PRIMARY KEY (`email_recip_id`), + KEY `emt_id` (`email_id`), + KEY `participant_id` (`participant_id`), + CONSTRAINT `redcap_surveys_emails_recipients_ibfk_1` FOREIGN KEY (`email_id`) REFERENCES `redcap_surveys_emails` (`email_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_emails_recipients_ibfk_2` FOREIGN KEY (`participant_id`) REFERENCES `redcap_surveys_participants` (`participant_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Track email recipients'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_emails_recipients` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_emails_recipients` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_emails_send_rate`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_emails_send_rate` ( + `esr_id` int(10) NOT NULL AUTO_INCREMENT, + `sent_begin_time` datetime DEFAULT NULL COMMENT 'Time email batch was sent', + `emails_per_batch` int(10) DEFAULT NULL COMMENT 'Number of emails sent in this batch', + `emails_per_minute` int(6) DEFAULT NULL COMMENT 'Number of emails sent per minute for this batch', + PRIMARY KEY (`esr_id`), + KEY `sent_begin_time` (`sent_begin_time`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Capture the rate that emails are sent per minute by REDCap'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_emails_send_rate` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_emails_send_rate` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_participants`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_participants` ( + `participant_id` int(10) NOT NULL AUTO_INCREMENT, + `survey_id` int(10) DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `hash` varchar(10) CHARACTER SET latin1 COLLATE latin1_general_cs DEFAULT NULL, + `legacy_hash` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Migrated from RS', + `participant_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'NULL if public survey', + `participant_identifier` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`participant_id`), + UNIQUE KEY `hash` (`hash`), + UNIQUE KEY `legacy_hash` (`legacy_hash`), + KEY `participant_email` (`participant_email`), + KEY `survey_event_email` (`survey_id`,`event_id`,`participant_email`), + KEY `event_id` (`event_id`), + CONSTRAINT `redcap_surveys_participants_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_participants_ibfk_1` FOREIGN KEY (`survey_id`) REFERENCES `redcap_surveys` (`survey_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Table for survey data'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_participants` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_participants` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_response`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_response` ( + `response_id` int(11) NOT NULL AUTO_INCREMENT, + `participant_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `first_submit_time` datetime DEFAULT NULL, + `completion_time` datetime DEFAULT NULL, + `return_code` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL, + `results_code` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`response_id`), + UNIQUE KEY `participant_record` (`participant_id`,`record`), + KEY `return_code` (`return_code`), + KEY `results_code` (`results_code`), + KEY `first_submit_time` (`first_submit_time`), + KEY `completion_time` (`completion_time`), + CONSTRAINT `redcap_surveys_response_ibfk_1` FOREIGN KEY (`participant_id`) REFERENCES `redcap_surveys_participants` (`participant_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_response` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_response` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_response_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_response_users` ( + `response_id` int(10) DEFAULT NULL, + `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + UNIQUE KEY `response_user` (`response_id`,`username`), + KEY `username` (`username`), + CONSTRAINT `redcap_surveys_response_users_ibfk_1` FOREIGN KEY (`response_id`) REFERENCES `redcap_surveys_response` (`response_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_response_users` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_response_users` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_response_values`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_response_values` ( + `response_id` int(10) DEFAULT NULL, + `project_id` int(10) NOT NULL DEFAULT '0', + `event_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` text COLLATE utf8_unicode_ci, + KEY `event_id` (`event_id`), + KEY `project_field` (`project_id`,`field_name`), + KEY `proj_record_field` (`project_id`,`record`,`field_name`), + KEY `response_id` (`response_id`), + CONSTRAINT `redcap_surveys_response_values_ibfk_1` FOREIGN KEY (`response_id`) REFERENCES `redcap_surveys_response` (`response_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_response_values_ibfk_2` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_response_values_ibfk_3` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Storage for completed survey responses (archival purposes)'; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_response_values` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_response_values` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_scheduler`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_scheduler` ( + `ss_id` int(10) NOT NULL AUTO_INCREMENT, + `survey_id` int(10) DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `active` int(1) NOT NULL DEFAULT '1' COMMENT 'Is it currently active?', + `email_subject` text COLLATE utf8_unicode_ci COMMENT 'Survey invitation subject', + `email_content` text COLLATE utf8_unicode_ci COMMENT 'Survey invitation text', + `email_sender` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Static email address of sender', + `condition_surveycomplete_survey_id` int(10) DEFAULT NULL COMMENT 'survey_id of trigger', + `condition_surveycomplete_event_id` int(10) DEFAULT NULL COMMENT 'event_id of trigger', + `condition_andor` enum('AND','OR') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Include survey complete AND/OR logic', + `condition_logic` text COLLATE utf8_unicode_ci COMMENT 'Logic using field values', + `condition_send_time_option` enum('IMMEDIATELY','TIME_LAG','NEXT_OCCURRENCE','EXACT_TIME') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'When to send invites after condition is met', + `condition_send_time_lag_days` int(3) DEFAULT NULL COMMENT 'Wait X days to send invites after condition is met', + `condition_send_time_lag_hours` int(2) DEFAULT NULL COMMENT 'Wait X hours to send invites after condition is met', + `condition_send_time_lag_minutes` int(2) DEFAULT NULL COMMENT 'Wait X seconds to send invites after condition is met', + `condition_send_next_day_type` enum('DAY','WEEKDAY','WEEKENDDAY','SUNDAY','MONDAY','TUESDAY','WEDNESDAY','THURSDAY','FRIDAY','SATURDAY') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Wait till specific day/time to send invites after condition is met', + `condition_send_next_time` time DEFAULT NULL COMMENT 'Wait till specific day/time to send invites after condition is met', + `condition_send_time_exact` datetime DEFAULT NULL COMMENT 'Wait till exact date/time to send invites after condition is met', + PRIMARY KEY (`ss_id`), + UNIQUE KEY `survey_event` (`survey_id`,`event_id`), + KEY `event_id` (`event_id`), + KEY `condition_surveycomplete_event_id` (`condition_surveycomplete_event_id`), + KEY `condition_surveycomplete_survey_event` (`condition_surveycomplete_survey_id`,`condition_surveycomplete_event_id`), + CONSTRAINT `redcap_surveys_scheduler_ibfk_1` FOREIGN KEY (`survey_id`) REFERENCES `redcap_surveys` (`survey_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_scheduler_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_scheduler_ibfk_3` FOREIGN KEY (`condition_surveycomplete_survey_id`) REFERENCES `redcap_surveys` (`survey_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_scheduler_ibfk_4` FOREIGN KEY (`condition_surveycomplete_event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_scheduler` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_scheduler` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_surveys_scheduler_queue`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_scheduler_queue` ( + `ssq_id` int(10) NOT NULL AUTO_INCREMENT, + `ss_id` int(10) DEFAULT NULL COMMENT 'FK for surveys_scheduler table', + `email_recip_id` int(10) DEFAULT NULL COMMENT 'FK for redcap_surveys_emails_recipients table', + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'NULL if record not created yet', + `scheduled_time_to_send` datetime DEFAULT NULL COMMENT 'Time invitation will be sent', + `status` enum('QUEUED','SENDING','SENT','DID NOT SEND') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'QUEUED' COMMENT 'Survey invitation status (default=QUEUED)', + `time_sent` datetime DEFAULT NULL COMMENT 'Actual time invitation was sent', + `reason_not_sent` enum('EMAIL ADDRESS NOT FOUND','EMAIL ATTEMPT FAILED','UNKNOWN','SURVEY ALREADY COMPLETED') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Explanation of why invitation did not send, if applicable', + PRIMARY KEY (`ssq_id`), + UNIQUE KEY `ss_id_record` (`ss_id`,`record`), + UNIQUE KEY `email_recip_id_record` (`email_recip_id`,`record`), + KEY `time_sent` (`time_sent`), + KEY `status` (`status`), + KEY `send_sent_status` (`scheduled_time_to_send`,`time_sent`,`status`), + CONSTRAINT `redcap_surveys_scheduler_queue_ibfk_2` FOREIGN KEY (`email_recip_id`) REFERENCES `redcap_surveys_emails_recipients` (`email_recip_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_scheduler_queue_ibfk_1` FOREIGN KEY (`ss_id`) REFERENCES `redcap_surveys_scheduler` (`ss_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_surveys_scheduler_queue` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_surveys_scheduler_queue` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_user_information`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_user_information` ( + `ui_id` int(10) NOT NULL AUTO_INCREMENT, + `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `user_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Primary email', + `user_email2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Secondary email', + `user_email3` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Tertiary email', + `user_firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `user_lastname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `user_inst_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `super_user` int(1) NOT NULL DEFAULT '0', + `user_creation` datetime DEFAULT NULL COMMENT 'Time user account was created', + `user_firstvisit` datetime DEFAULT NULL, + `user_firstactivity` datetime DEFAULT NULL, + `user_lastactivity` datetime DEFAULT NULL, + `user_lastlogin` datetime DEFAULT NULL, + `user_suspended_time` datetime DEFAULT NULL, + `user_expiration` datetime DEFAULT NULL COMMENT 'Time at which the user will be automatically suspended from REDCap', + `user_access_dashboard_view` datetime DEFAULT NULL, + `user_access_dashboard_email_queued` enum('QUEUED','SENDING') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Tracks status of email reminder for User Access Dashboard', + `user_sponsor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Username of user''s sponsor or contact person', + `user_comments` text COLLATE utf8_unicode_ci COMMENT 'Miscellaneous comments about user', + `allow_create_db` int(1) NOT NULL DEFAULT '1', + `email_verify_code` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Primary email verification code', + `email2_verify_code` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Secondary email verification code', + `email3_verify_code` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Tertiary email verification code', + PRIMARY KEY (`ui_id`), + UNIQUE KEY `username` (`username`), + UNIQUE KEY `email_verify_code` (`email_verify_code`), + UNIQUE KEY `email2_verify_code` (`email2_verify_code`), + UNIQUE KEY `email3_verify_code` (`email3_verify_code`), + KEY `user_firstname` (`user_firstname`), + KEY `user_lastname` (`user_lastname`), + KEY `user_access_dashboard_view` (`user_access_dashboard_view`), + KEY `user_creation` (`user_creation`), + KEY `user_firstvisit` (`user_firstvisit`), + KEY `user_firstactivity` (`user_firstactivity`), + KEY `user_lastactivity` (`user_lastactivity`), + KEY `user_lastlogin` (`user_lastlogin`), + KEY `user_suspended_time` (`user_suspended_time`), + KEY `user_expiration` (`user_expiration`), + KEY `user_access_dashboard_email_queued` (`user_access_dashboard_email_queued`), + KEY `user_email` (`user_email`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_user_information` DISABLE KEYS */; +INSERT INTO `redcap_user_information` VALUES (1,'site_admin','joe.user@project-redcap.org',NULL,NULL,'Joe','User',NULL,1,NULL,'2014-09-16 15:29:47','2014-09-16 15:32:31','2014-09-16 15:52:36','2014-09-16 15:31:53',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL); +/*!40000 ALTER TABLE `redcap_user_information` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_user_rights`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_user_rights` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `expiration` date DEFAULT NULL, + `role_id` int(10) DEFAULT NULL, + `group_id` int(10) DEFAULT NULL, + `lock_record` int(1) NOT NULL DEFAULT '0', + `lock_record_multiform` int(1) NOT NULL DEFAULT '0', + `lock_record_customize` int(1) NOT NULL DEFAULT '0', + `data_export_tool` int(1) NOT NULL DEFAULT '1', + `data_import_tool` int(1) NOT NULL DEFAULT '1', + `data_comparison_tool` int(1) NOT NULL DEFAULT '1', + `data_logging` int(1) NOT NULL DEFAULT '1', + `file_repository` int(1) NOT NULL DEFAULT '1', + `double_data` int(1) NOT NULL DEFAULT '0', + `user_rights` int(1) NOT NULL DEFAULT '1', + `data_access_groups` int(1) NOT NULL DEFAULT '1', + `graphical` int(1) NOT NULL DEFAULT '1', + `reports` int(1) NOT NULL DEFAULT '1', + `design` int(1) NOT NULL DEFAULT '0', + `calendar` int(1) NOT NULL DEFAULT '1', + `data_entry` text COLLATE utf8_unicode_ci, + `api_token` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL, + `api_export` int(1) NOT NULL DEFAULT '0', + `api_import` int(1) NOT NULL DEFAULT '0', + `record_create` int(1) NOT NULL DEFAULT '1', + `record_rename` int(1) NOT NULL DEFAULT '0', + `record_delete` int(1) NOT NULL DEFAULT '0', + `dts` int(1) NOT NULL DEFAULT '0' COMMENT 'DTS adjudication page', + `participants` int(1) NOT NULL DEFAULT '1', + `data_quality_design` int(1) NOT NULL DEFAULT '0', + `data_quality_execute` int(1) NOT NULL DEFAULT '0', + `data_quality_resolution` int(1) NOT NULL DEFAULT '0' COMMENT '0=No access, 1=View only, 2=Respond, 3=Open, close, respond', + `random_setup` int(1) NOT NULL DEFAULT '0', + `random_dashboard` int(1) NOT NULL DEFAULT '0', + `random_perform` int(1) NOT NULL DEFAULT '0', + `realtime_webservice_mapping` int(1) NOT NULL DEFAULT '0' COMMENT 'User can map fields for RTWS', + `realtime_webservice_adjudicate` int(1) NOT NULL DEFAULT '0' COMMENT 'User can adjudicate data for RTWS', + PRIMARY KEY (`project_id`,`username`), + UNIQUE KEY `api_token` (`api_token`), + KEY `username` (`username`), + KEY `project_id` (`project_id`), + KEY `group_id` (`group_id`), + KEY `role_id` (`role_id`), + CONSTRAINT `redcap_user_rights_ibfk_2` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_user_rights_ibfk_3` FOREIGN KEY (`group_id`) REFERENCES `redcap_data_access_groups` (`group_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_user_rights_ibfk_4` FOREIGN KEY (`role_id`) REFERENCES `redcap_user_roles` (`role_id`) ON DELETE SET NULL ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_user_rights` DISABLE KEYS */; +INSERT INTO `redcap_user_rights` VALUES (1,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0),(2,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0),(3,'site_admin',NULL,NULL,NULL,0,0,0,1,0,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0),(4,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0),(5,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0),(6,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0),(7,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,1,0,1,0,1,1,1,0,0),(8,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0),(9,'site_admin',NULL,NULL,NULL,0,0,0,1,0,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0),(10,'site_admin',NULL,NULL,NULL,0,0,0,1,0,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0),(11,'site_admin',NULL,NULL,NULL,0,0,0,1,0,1,1,1,0,0,0,1,1,0,1,'',NULL,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0),(12,'site_admin',NULL,NULL,NULL,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,'[enrollment,1][cbc,1][chemistry,1]','THIS_IS_THE_API_KEY',1,1,1,0,0,0,1,1,1,0,0,0,0,0,0); +/*!40000 ALTER TABLE `redcap_user_rights` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_user_roles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_user_roles` ( + `role_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `role_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Name of user role', + `lock_record` int(1) NOT NULL DEFAULT '0', + `lock_record_multiform` int(1) NOT NULL DEFAULT '0', + `lock_record_customize` int(1) NOT NULL DEFAULT '0', + `data_export_tool` int(1) NOT NULL DEFAULT '1', + `data_import_tool` int(1) NOT NULL DEFAULT '1', + `data_comparison_tool` int(1) NOT NULL DEFAULT '1', + `data_logging` int(1) NOT NULL DEFAULT '1', + `file_repository` int(1) NOT NULL DEFAULT '1', + `double_data` int(1) NOT NULL DEFAULT '0', + `user_rights` int(1) NOT NULL DEFAULT '1', + `data_access_groups` int(1) NOT NULL DEFAULT '1', + `graphical` int(1) NOT NULL DEFAULT '1', + `reports` int(1) NOT NULL DEFAULT '1', + `design` int(1) NOT NULL DEFAULT '0', + `calendar` int(1) NOT NULL DEFAULT '1', + `data_entry` text COLLATE utf8_unicode_ci, + `api_export` int(1) NOT NULL DEFAULT '0', + `api_import` int(1) NOT NULL DEFAULT '0', + `record_create` int(1) NOT NULL DEFAULT '1', + `record_rename` int(1) NOT NULL DEFAULT '0', + `record_delete` int(1) NOT NULL DEFAULT '0', + `dts` int(1) NOT NULL DEFAULT '0' COMMENT 'DTS adjudication page', + `participants` int(1) NOT NULL DEFAULT '1', + `data_quality_design` int(1) NOT NULL DEFAULT '0', + `data_quality_execute` int(1) NOT NULL DEFAULT '0', + `data_quality_resolution` int(1) NOT NULL DEFAULT '0' COMMENT '0=No access, 1=View only, 2=Respond, 3=Open, close, respond', + `random_setup` int(1) NOT NULL DEFAULT '0', + `random_dashboard` int(1) NOT NULL DEFAULT '0', + `random_perform` int(1) NOT NULL DEFAULT '0', + `realtime_webservice_mapping` int(1) NOT NULL DEFAULT '0' COMMENT 'User can map fields for RTWS', + `realtime_webservice_adjudicate` int(1) NOT NULL DEFAULT '0' COMMENT 'User can adjudicate data for RTWS', + PRIMARY KEY (`role_id`), + KEY `project_id` (`project_id`), + CONSTRAINT `redcap_user_roles_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_user_roles` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_user_roles` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_user_whitelist`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_user_whitelist` ( + `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + PRIMARY KEY (`username`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_user_whitelist` DISABLE KEYS */; +/*!40000 ALTER TABLE `redcap_user_whitelist` ENABLE KEYS */; +DROP TABLE IF EXISTS `redcap_validation_types`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_validation_types` ( + `validation_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Unique name for Data Dictionary', + `validation_label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Label in Online Designer', + `regex_js` text COLLATE utf8_unicode_ci, + `regex_php` text COLLATE utf8_unicode_ci, + `data_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `legacy_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `visible` int(1) NOT NULL DEFAULT '1' COMMENT 'Show in Online Designer?', + UNIQUE KEY `validation_name` (`validation_name`), + KEY `data_type` (`data_type`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +/*!40000 ALTER TABLE `redcap_validation_types` DISABLE KEYS */; +INSERT INTO `redcap_validation_types` VALUES ('alpha_only','Letters only','/^[a-z]+$/i','/^[a-z]+$/i','text',NULL,0),('date_dmy','Date (D-M-Y)','/^((29([-\\/.]?)02\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1\\d|2[0-8])([-\\/.]?)(0[1-9]|1[012]))|((29|30)([-\\/.]?)(0[13-9]|1[012]))|(31([-\\/.]?)(0[13578]|1[02])))(\\11|\\15|\\18)\\d{4}))$/','/^((29([-\\/.]?)02\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1\\d|2[0-8])([-\\/.]?)(0[1-9]|1[012]))|((29|30)([-\\/.]?)(0[13-9]|1[012]))|(31([-\\/.]?)(0[13578]|1[02])))(\\11|\\15|\\18)\\d{4}))$/','date',NULL,1),('date_mdy','Date (M-D-Y)','/^((02([-\\/.]?)29\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1[012])([-\\/.]?)(0[1-9]|1\\d|2[0-8]))|((0[13-9]|1[012])([-\\/.]?)(29|30))|((0[13578]|1[02])([-\\/.]?)31))(\\11|\\15|\\19)\\d{4}))$/','/^((02([-\\/.]?)29\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1[012])([-\\/.]?)(0[1-9]|1\\d|2[0-8]))|((0[13-9]|1[012])([-\\/.]?)(29|30))|((0[13578]|1[02])([-\\/.]?)31))(\\11|\\15|\\19)\\d{4}))$/','date',NULL,1),('date_ymd','Date (Y-M-D)','/^(((\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00))([-\\/.]?)02(\\6)29)|(\\d{4}([-\\/.]?)((0[1-9]|1[012])(\\9)(0[1-9]|1\\d|2[0-8])|((0[13-9]|1[012])(\\9)(29|30))|((0[13578]|1[02])(\\9)31))))$/','/^(((\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00))([-\\/.]?)02(\\6)29)|(\\d{4}([-\\/.]?)((0[1-9]|1[012])(\\9)(0[1-9]|1\\d|2[0-8])|((0[13-9]|1[012])(\\9)(29|30))|((0[13578]|1[02])(\\9)31))))$/','date','date',1),('datetime_dmy','Datetime (D-M-Y H:M)','/^((29([-\\/.]?)02\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1\\d|2[0-8])([-\\/.]?)(0[1-9]|1[012]))|((29|30)([-\\/.]?)(0[13-9]|1[012]))|(31([-\\/.]?)(0[13578]|1[02])))(\\11|\\15|\\18)\\d{4})) (\\d|[0-1]\\d|[2][0-3]):[0-5]\\d$/','/^((29([-\\/.]?)02\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1\\d|2[0-8])([-\\/.]?)(0[1-9]|1[012]))|((29|30)([-\\/.]?)(0[13-9]|1[012]))|(31([-\\/.]?)(0[13578]|1[02])))(\\11|\\15|\\18)\\d{4})) (\\d|[0-1]\\d|[2][0-3]):[0-5]\\d$/','datetime',NULL,1),('datetime_mdy','Datetime (M-D-Y H:M)','/^((02([-\\/.]?)29\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1[012])([-\\/.]?)(0[1-9]|1\\d|2[0-8]))|((0[13-9]|1[012])([-\\/.]?)(29|30))|((0[13578]|1[02])([-\\/.]?)31))(\\11|\\15|\\19)\\d{4})) (\\d|[0-1]\\d|[2][0-3]):[0-5]\\d$/','/^((02([-\\/.]?)29\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1[012])([-\\/.]?)(0[1-9]|1\\d|2[0-8]))|((0[13-9]|1[012])([-\\/.]?)(29|30))|((0[13578]|1[02])([-\\/.]?)31))(\\11|\\15|\\19)\\d{4})) (\\d|[0-1]\\d|[2][0-3]):[0-5]\\d$/','datetime',NULL,1),('datetime_seconds_dmy','Datetime w/ seconds (D-M-Y H:M:S)','/^((29([-\\/.]?)02\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1\\d|2[0-8])([-\\/.]?)(0[1-9]|1[012]))|((29|30)([-\\/.]?)(0[13-9]|1[012]))|(31([-\\/.]?)(0[13578]|1[02])))(\\11|\\15|\\18)\\d{4})) (\\d|[0-1]\\d|[2][0-3])(:[0-5]\\d){2}$/','/^((29([-\\/.]?)02\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1\\d|2[0-8])([-\\/.]?)(0[1-9]|1[012]))|((29|30)([-\\/.]?)(0[13-9]|1[012]))|(31([-\\/.]?)(0[13578]|1[02])))(\\11|\\15|\\18)\\d{4})) (\\d|[0-1]\\d|[2][0-3])(:[0-5]\\d){2}$/','datetime_seconds',NULL,1),('datetime_seconds_mdy','Datetime w/ seconds (M-D-Y H:M:S)','/^((02([-\\/.]?)29\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1[012])([-\\/.]?)(0[1-9]|1\\d|2[0-8]))|((0[13-9]|1[012])([-\\/.]?)(29|30))|((0[13578]|1[02])([-\\/.]?)31))(\\11|\\15|\\19)\\d{4})) (\\d|[0-1]\\d|[2][0-3])(:[0-5]\\d){2}$/','/^((02([-\\/.]?)29\\3(\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00)))|((((0[1-9]|1[012])([-\\/.]?)(0[1-9]|1\\d|2[0-8]))|((0[13-9]|1[012])([-\\/.]?)(29|30))|((0[13578]|1[02])([-\\/.]?)31))(\\11|\\15|\\19)\\d{4})) (\\d|[0-1]\\d|[2][0-3])(:[0-5]\\d){2}$/','datetime_seconds',NULL,1),('datetime_seconds_ymd','Datetime w/ seconds (Y-M-D H:M:S)','/^(((\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00))([-\\/.]?)02(\\6)29)|(\\d{4}([-\\/.]?)((0[1-9]|1[012])(\\9)(0[1-9]|1\\d|2[0-8])|((0[13-9]|1[012])(\\9)(29|30))|((0[13578]|1[02])(\\9)31)))) (\\d|[0-1]\\d|[2][0-3])(:[0-5]\\d){2}$/','/^(((\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00))([-\\/.]?)02(\\6)29)|(\\d{4}([-\\/.]?)((0[1-9]|1[012])(\\9)(0[1-9]|1\\d|2[0-8])|((0[13-9]|1[012])(\\9)(29|30))|((0[13578]|1[02])(\\9)31)))) (\\d|[0-1]\\d|[2][0-3])(:[0-5]\\d){2}$/','datetime_seconds','datetime_seconds',1),('datetime_ymd','Datetime (Y-M-D H:M)','/^(((\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00))([-\\/.]?)02(\\6)29)|(\\d{4}([-\\/.]?)((0[1-9]|1[012])(\\9)(0[1-9]|1\\d|2[0-8])|((0[13-9]|1[012])(\\9)(29|30))|((0[13578]|1[02])(\\9)31)))) (\\d|[0-1]\\d|[2][0-3]):[0-5]\\d$/','/^(((\\d{2}([13579][26]|[2468][048]|04|08)|(1600|2[048]00))([-\\/.]?)02(\\6)29)|(\\d{4}([-\\/.]?)((0[1-9]|1[012])(\\9)(0[1-9]|1\\d|2[0-8])|((0[13-9]|1[012])(\\9)(29|30))|((0[13578]|1[02])(\\9)31)))) (\\d|[0-1]\\d|[2][0-3]):[0-5]\\d$/','datetime','datetime',1),('email','Email','/^([_a-z0-9-\']+)(\\.[_a-z0-9-\']+)*@([a-z0-9-]+)(\\.[a-z0-9-]+)*(\\.[a-z]{2,4})$/i','/^([_a-z0-9-\']+)(\\.[_a-z0-9-\']+)*@([a-z0-9-]+)(\\.[a-z0-9-]+)*(\\.[a-z]{2,4})$/i','email',NULL,1),('integer','Integer','/^[-+]?\\b\\d+\\b$/','/^[-+]?\\b\\d+\\b$/','integer','int',1),('mrn_10d','MRN (10 digits)','/^\\d{10}$/','/^\\d{10}$/','text',NULL,0),('number','Number','/^[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?$/','/^[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?$/','number','float',1),('number_1dp','Number (1 decimal place)','/^-?\\d+\\.\\d$/','/^-?\\d+\\.\\d$/','number',NULL,0),('number_2dp','Number (2 decimal places)','/^-?\\d+\\.\\d{2}$/','/^-?\\d+\\.\\d{2}$/','number',NULL,0),('number_3dp','Number (3 decimal places)','/^-?\\d+\\.\\d{3}$/','/^-?\\d+\\.\\d{3}$/','number',NULL,0),('number_4dp','Number (4 decimal places)','/^-?\\d+\\.\\d{4}$/','/^-?\\d+\\.\\d{4}$/','number',NULL,0),('phone','Phone (U.S.)','/^(?:\\(?([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\\)?)\\s*(?:[.-]\\s*)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\\s*(?:[.-]\\s*)?([0-9]{4})(?:\\s*(?:#|x\\.?|ext\\.?|extension)\\s*(\\d+))?$/','/^(?:\\(?([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\\)?)\\s*(?:[.-]\\s*)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\\s*(?:[.-]\\s*)?([0-9]{4})(?:\\s*(?:#|x\\.?|ext\\.?|extension)\\s*(\\d+))?$/','phone',NULL,1),('phone_australia','Phone (Australia)','/^(\\(0[2-8]\\)|0[2-8])\\s*\\d{4}\\s*\\d{4}$/','/^(\\(0[2-8]\\)|0[2-8])\\s*\\d{4}\\s*\\d{4}$/','phone',NULL,0),('postalcode_australia','Postal Code (Australia)','/^\\d{4}$/','/^\\d{4}$/','postal_code',NULL,0),('postalcode_canada','Postal Code (Canada)','/^[ABCEGHJKLMNPRSTVXY]{1}\\d{1}[A-Z]{1}\\s*\\d{1}[A-Z]{1}\\d{1}$/i','/^[ABCEGHJKLMNPRSTVXY]{1}\\d{1}[A-Z]{1}\\s*\\d{1}[A-Z]{1}\\d{1}$/i','postal_code',NULL,0),('ssn','Social Security Number (U.S.)','/^\\d{3}-\\d\\d-\\d{4}$/','/^\\d{3}-\\d\\d-\\d{4}$/','ssn',NULL,0),('time','Time (HH:MM)','/^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$/','/^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$/','time',NULL,1),('time_mm_ss','Time (MM:SS)','/^[0-5]\\d:[0-5]\\d$/','/^[0-5]\\d:[0-5]\\d$/','time',NULL,0),('vmrn','Vanderbilt MRN','/^[0-9]{4,9}$/','/^[0-9]{4,9}$/','mrn',NULL,0),('zipcode','Zipcode (U.S.)','/^\\d{5}(-\\d{4})?$/','/^\\d{5}(-\\d{4})?$/','postal_code',NULL,1); +/*!40000 ALTER TABLE `redcap_validation_types` ENABLE KEYS */; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; +DROP TABLE IF EXISTS `redcap_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_data` ( + `project_id` int(10) NOT NULL DEFAULT '0', + `event_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` text COLLATE utf8_unicode_ci, + KEY `event_id` (`event_id`), + KEY `project_field` (`project_id`,`field_name`), + KEY `proj_record_field` (`project_id`,`record`,`field_name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_events_calendar`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_events_calendar` ( + `cal_id` int(10) NOT NULL AUTO_INCREMENT, + `record` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, + `project_id` int(10) DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `baseline_date` date DEFAULT NULL, + `group_id` int(10) DEFAULT NULL, + `event_date` date DEFAULT NULL, + `event_time` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'HH:MM', + `event_status` int(2) DEFAULT NULL COMMENT 'NULL=Ad Hoc, 0=Due Date, 1=Scheduled, 2=Confirmed, 3=Cancelled, 4=No Show', + `note_type` int(2) DEFAULT NULL, + `notes` text COLLATE utf8_unicode_ci, + `extra_notes` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`cal_id`), + KEY `project_date` (`project_id`,`event_date`), + KEY `project_record` (`project_id`,`record`), + KEY `event_id` (`event_id`), + KEY `group_id` (`group_id`), + CONSTRAINT `redcap_events_calendar_ibfk_3` FOREIGN KEY (`group_id`) REFERENCES `redcap_data_access_groups` (`group_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_events_calendar_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_events_calendar_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Calendar Data'; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_log_event`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_log_event` ( + `log_event_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) NOT NULL DEFAULT '0', + `ts` bigint(14) DEFAULT NULL, + `user` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ip` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `page` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `event` enum('UPDATE','INSERT','DELETE','SELECT','ERROR','LOGIN','LOGOUT','OTHER','DATA_EXPORT','DOC_UPLOAD','DOC_DELETE','MANAGE','LOCK_RECORD','ESIGNATURE') COLLATE utf8_unicode_ci DEFAULT NULL, + `object_type` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL, + `sql_log` mediumtext COLLATE utf8_unicode_ci, + `pk` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `data_values` text COLLATE utf8_unicode_ci, + `description` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `legacy` int(1) NOT NULL DEFAULT '0', + `change_reason` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`log_event_id`), + KEY `user` (`user`), + KEY `user_project` (`project_id`,`user`), + KEY `object_type` (`object_type`), + KEY `ts` (`ts`), + KEY `event_project` (`event`,`project_id`), + KEY `description` (`description`), + KEY `pk` (`pk`) +) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_docs`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_docs` ( + `docs_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) NOT NULL DEFAULT '0', + `docs_date` date DEFAULT NULL, + `docs_name` text COLLATE utf8_unicode_ci, + `docs_size` double DEFAULT NULL, + `docs_type` text COLLATE utf8_unicode_ci, + `docs_file` longblob, + `docs_comment` text COLLATE utf8_unicode_ci, + `docs_rights` text COLLATE utf8_unicode_ci, + `export_file` int(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`docs_id`), + KEY `docs_name` (`docs_name`(128)), + KEY `project_id_export_file` (`project_id`,`export_file`), + KEY `project_id_comment` (`project_id`,`docs_comment`(128)), + CONSTRAINT `redcap_docs_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_locking_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_locking_data` ( + `ld_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `timestamp` datetime DEFAULT NULL, + PRIMARY KEY (`ld_id`), + UNIQUE KEY `proj_rec_event_form` (`project_id`,`record`,`event_id`,`form_name`), + KEY `username` (`username`), + KEY `event_id` (`event_id`), + CONSTRAINT `redcap_locking_data_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_locking_data_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_esignatures`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_esignatures` ( + `esign_id` int(11) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `form_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `timestamp` datetime DEFAULT NULL, + PRIMARY KEY (`esign_id`), + UNIQUE KEY `proj_rec_event_form` (`project_id`,`record`,`event_id`,`form_name`), + KEY `username` (`username`), + KEY `event_id` (`event_id`), + CONSTRAINT `redcap_esignatures_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_esignatures_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_surveys_participants`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_participants` ( + `participant_id` int(10) NOT NULL AUTO_INCREMENT, + `survey_id` int(10) DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `hash` varchar(10) CHARACTER SET latin1 COLLATE latin1_general_cs DEFAULT NULL, + `legacy_hash` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Migrated from RS', + `participant_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'NULL if public survey', + `participant_identifier` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`participant_id`), + UNIQUE KEY `hash` (`hash`), + UNIQUE KEY `legacy_hash` (`legacy_hash`), + KEY `participant_email` (`participant_email`), + KEY `survey_event_email` (`survey_id`,`event_id`,`participant_email`), + KEY `event_id` (`event_id`), + CONSTRAINT `redcap_surveys_participants_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_participants_ibfk_1` FOREIGN KEY (`survey_id`) REFERENCES `redcap_surveys` (`survey_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Table for survey data'; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_surveys_emails`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_emails` ( + `email_id` int(10) NOT NULL AUTO_INCREMENT, + `survey_id` int(10) DEFAULT NULL, + `email_subject` text COLLATE utf8_unicode_ci, + `email_content` text COLLATE utf8_unicode_ci, + `email_sender` int(10) DEFAULT NULL COMMENT 'FK ui_id from redcap_user_information', + `email_account` enum('1','2','3') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Sender''s account (1=Primary, 2=Secondary, 3=Tertiary)', + `email_static` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Sender''s static email address (only for scheduled invitations)', + `email_sent` datetime DEFAULT NULL COMMENT 'Null=Not sent yet (scheduled)', + PRIMARY KEY (`email_id`), + KEY `email_sender` (`email_sender`), + KEY `email_sent` (`email_sent`), + KEY `survey_id_email_sent` (`survey_id`,`email_sent`), + CONSTRAINT `redcap_surveys_emails_ibfk_1` FOREIGN KEY (`survey_id`) REFERENCES `redcap_surveys` (`survey_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_surveys_emails_ibfk_2` FOREIGN KEY (`email_sender`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE SET NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Track emails sent out'; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_surveys_response`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_surveys_response` ( + `response_id` int(11) NOT NULL AUTO_INCREMENT, + `participant_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `first_submit_time` datetime DEFAULT NULL, + `completion_time` datetime DEFAULT NULL, + `return_code` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL, + `results_code` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`response_id`), + UNIQUE KEY `participant_record` (`participant_id`,`record`), + KEY `return_code` (`return_code`), + KEY `results_code` (`results_code`), + KEY `first_submit_time` (`first_submit_time`), + KEY `completion_time` (`completion_time`), + CONSTRAINT `redcap_surveys_response_ibfk_1` FOREIGN KEY (`participant_id`) REFERENCES `redcap_surveys_participants` (`participant_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_data_quality_status`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_data_quality_status` ( + `status_id` int(10) NOT NULL AUTO_INCREMENT, + `rule_id` int(10) DEFAULT NULL COMMENT 'FK from data_quality_rules table', + `pd_rule_id` int(2) DEFAULT NULL COMMENT 'Name of pre-defined rules', + `non_rule` int(1) DEFAULT NULL COMMENT '1 for non-rule, else NULL', + `project_id` int(11) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `event_id` int(10) DEFAULT NULL, + `field_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Only used if field-level is required', + `status` int(2) DEFAULT NULL COMMENT 'Current status of discrepancy', + `exclude` int(1) NOT NULL DEFAULT '0' COMMENT 'Hide from results', + `query_status` enum('OPEN','CLOSED','VERIFIED','DEVERIFIED') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Status of data query', + `assigned_user_id` int(10) DEFAULT NULL COMMENT 'UI ID of user assigned to query', + PRIMARY KEY (`status_id`), + UNIQUE KEY `rule_record_event` (`rule_id`,`record`,`event_id`), + UNIQUE KEY `pd_rule_proj_record_event_field` (`pd_rule_id`,`record`,`event_id`,`field_name`,`project_id`), + UNIQUE KEY `nonrule_proj_record_event_field` (`non_rule`,`project_id`,`record`,`event_id`,`field_name`), + KEY `event_id` (`event_id`), + KEY `pd_rule_proj_record_event` (`pd_rule_id`,`record`,`event_id`,`project_id`), + KEY `project_query_status` (`project_id`,`query_status`), + KEY `assigned_user_id` (`assigned_user_id`), + CONSTRAINT `redcap_data_quality_status_ibfk_4` FOREIGN KEY (`assigned_user_id`) REFERENCES `redcap_user_information` (`ui_id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_status_ibfk_1` FOREIGN KEY (`rule_id`) REFERENCES `redcap_data_quality_rules` (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_status_ibfk_2` FOREIGN KEY (`event_id`) REFERENCES `redcap_events_metadata` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `redcap_data_quality_status_ibfk_3` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_ddp_records`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ddp_records` ( + `mr_id` int(10) NOT NULL AUTO_INCREMENT, + `project_id` int(10) DEFAULT NULL, + `record` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `updated_at` datetime DEFAULT NULL COMMENT 'Time of last data fetch', + `item_count` int(10) DEFAULT NULL COMMENT 'New item count (as of last viewing)', + `fetch_status` enum('QUEUED','FETCHING') COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Current status of data fetch for this record', + PRIMARY KEY (`mr_id`), + UNIQUE KEY `project_record` (`project_id`,`record`), + KEY `project_updated_at` (`updated_at`,`project_id`), + KEY `project_id_fetch_status` (`fetch_status`,`project_id`), + CONSTRAINT `redcap_ddp_records_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `redcap_projects` (`project_id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_ip_cache`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_ip_cache` ( + `ip_hash` varchar(32) COLLATE utf8_unicode_ci NOT NULL, + `timestamp` timestamp NULL DEFAULT NULL, + KEY `timestamp` (`timestamp`), + KEY `ip_hash` (`ip_hash`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_page_hits`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_page_hits` ( + `date` date NOT NULL, + `page_name` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `page_hits` float NOT NULL DEFAULT '1', + UNIQUE KEY `date` (`date`,`page_name`), + KEY `page_name` (`page_name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; +DROP TABLE IF EXISTS `redcap_sessions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `redcap_sessions` ( + `session_id` varchar(32) COLLATE utf8_unicode_ci NOT NULL, + `session_data` text COLLATE utf8_unicode_ci, + `session_expiration` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`session_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores user authentication session data'; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + From 0c2ba7ceff77030e7b932c9926a2e6ba9d4f6f4a Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Tue, 16 Sep 2014 13:34:52 -0400 Subject: [PATCH 23/58] Write summary email to `report.html` if `send_email_data_import_completed` fails due smtp server errors This is part 2 for issue #59 --- bin/redi.py | 56 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 44 insertions(+), 12 deletions(-) diff --git a/bin/redi.py b/bin/redi.py index f4d8065..96885c3 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -292,25 +292,17 @@ def _run(config_file, configuration_directory, do_keep_gen_files, dry_run, xml_report_tree = create_summary_report(report_parameters, report_data, alert_summary, collection_date_summary_dict) - # print ElementTree.tostring(xml_report_tree) - + # print etree.tostring(xml_report_tree) + report_xsl = proj_root + "bin/utils/report.xsl" xslt = etree.parse(report_xsl) transform = etree.XSLT(xslt) html_report = transform(xml_report_tree) html_str = etree.tostring(html_report, method='html', pretty_print=True) - # send report via email if settings.send_email: - redi_email.send_email_data_import_completed(email_settings, html_str) + deliver_report_as_email(email_settings, html_str) else: - logger.info("Email will not be sent as 'send_email' parameter"\ - " in {0} is set to 'N'".format(config_file)) - try: - report_file = open(settings.report_file_path2, 'w') - except IOError: - logger.exception('could not open file %s' % settings.report_file_path2) - raise - report_file.write(html_str) + deliver_report_as_file(settings.report_file_path2, html_str) if batch: # Update the batch row @@ -325,6 +317,46 @@ def _run(config_file, configuration_directory, do_keep_gen_files, dry_run, if not do_keep_gen_files: redi_lib.delete_temporary_folder(data_folder) +def deliver_report_as_file(html_report_path, html): + """ + Deliver the summary report by writing it to a file + or logging it to the console if writing the file fails + + :html_report_path the path where the report will be stored + :html the actual report content + """ + problem_found = False + try: + report_file = open(html_report_path, 'w') + except (IOError, OSError) as e: + logger.exception('Could not open file: %s' % html_report_path) + problem_found = True + else: + try: + report_file.write(html) + logger.info("==> You can review the summary report by opening: {}"\ + " in your browser".format(html_report_path)) + except IOError: + logger.exception('Could not write file: %s' % report_html_file) + problem_found = True + finally: + report_file.close() + if problem_found: + logger.info("== Summary report ==" + html) + +def deliver_report_as_email(email_settings, html): + """ + Deliver summary report as an email + + :email_settings dictinary with email parameters + :html the actual report content + """ + try: + redi_email.send_email_data_import_completed(email_settings, html) + logger.info("Summary report was emailed: parameter 'send_email = Y'") + except Exception as e: + logger.error("Unable to deliver the summary report due error: %s" % e) + deliver_report_as_file("report.html", html) def _create_person_form_event_tree_with_data(config_file, \ configuration_directory, email_settings, form_events_file, raw_xml_file,\ From 8de5ea4f08df391cab28a407487ab707afc0a9e8 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Tue, 16 Sep 2014 13:43:35 -0400 Subject: [PATCH 24/58] Set default value for optional param `receiver_email` because when `send_email = N` the code still expects the attribute to be set --- bin/utils/SimpleConfigParser.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/bin/utils/SimpleConfigParser.py b/bin/utils/SimpleConfigParser.py index 6928943..3e035d5 100755 --- a/bin/utils/SimpleConfigParser.py +++ b/bin/utils/SimpleConfigParser.py @@ -113,6 +113,7 @@ "rate_limiter_value_in_redcap": 600, "batch_info_database": "redi.db", "send_email": 'N', + "receiver_email": "test@example.com", "verify_ssl": True, "replace_fields_in_raw_data_xml": None, "include_rule_errors_in_report": False, @@ -172,7 +173,7 @@ def set_attributes(self): if not self.getoptionslist(): message = "ERROR: Configuration file '{0}' is empty! Program "\ "will now terminate...".format(self.filename) - logging.error(message) + logger.error(message) sys.exit() else: @@ -190,7 +191,7 @@ def check_parameters(self): message = DEFAULT_MESSAGE_NO_VALUE.format(option, \ self.filename) + required_files_dict[option] +\ DEFAULT_MESSAGE - logging.error(message) + logger.error(message) sys.exit() else: setattr(self, option, self.getoption(option)) @@ -200,9 +201,11 @@ def check_parameters(self): if not self.hasoption(option) or self.getoption(option) == "": message = DEFAULT_MESSAGE_NO_VALUE.format(option, \ self.filename) + DEFAULT_MESSAGE - logging.error(message) + logger.error(message) sys.exit() else: + logger.debug("Setting required parameter {} = {} "\ + .format(option, self.getoption(option))) setattr(self, option, self.getoption(option)) # check for receiver email if send_email = 'Y' @@ -211,15 +214,13 @@ def check_parameters(self): self.getoption('receiver_email') == "": message = DEFAULT_MESSAGE_NO_VALUE.format(option, \ self.filename) + DEFAULT_MESSAGE - logging.error(message) + logger.error(message) sys.exit() - else: - setattr(self, 'receiver_email', self.getoption('receiver_email')) # set optional parameters with default values if missing for option in optional_parameters_dict: if not self.hasoption(option) or self.getoption(option) == "": - logging.warn("Parameter '{0}' in {1} does not have"\ + logger.warn("Parameter '{0}' in {1} does not have"\ " a value. Default value '{2}' applied.".format(option, \ self.filename, optional_parameters_dict[option])) setattr(self, option, optional_parameters_dict[option]) From 3b9b7827f2f28a4949c31c776d57d97a7c1b9309 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Tue, 16 Sep 2014 13:50:23 -0400 Subject: [PATCH 25/58] Update .gitignore: .idea/, data/, report.html, redi.db --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 03f8426..ad4d88b 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,8 @@ vagrant/data/ vagrant/demographic_test_data.csv vagrant/demographic_test_data.json vagrant/redi.db + +.idea/ +data/ +redi.db +report.html From a6efdb3fecaca4032cb998d82b84ca22485d3fa1 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Tue, 16 Sep 2014 14:49:00 -0400 Subject: [PATCH 26/58] Log an exception if error emails cannot be sent due smtp server not being available This is part 1 for issue #59 --- bin/utils/redi_email.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/utils/redi_email.py b/bin/utils/redi_email.py index b63117a..cee58e9 100644 --- a/bin/utils/redi_email.py +++ b/bin/utils/redi_email.py @@ -114,6 +114,11 @@ def send_email( '] was sent to:' + str(to_addr_list)) except SMTPException: - logger.error("Unable to send email with subject[{}] to {}" \ + logger.error("Unable to send email with subject [{}] to {}" \ .format(subject, str(to_addr_list))) + logger.info("Please check if the recipient email is valid") + except Exception as e: + logger.error("Unable to send email with subject [{}] to {}\n{}" \ + .format(subject, str(to_addr_list), msg_body)) + logger.info("Please check if the smtp server is configured properly") return success From f4f4c3a04f5dc0d3bf9dfa0cd7a2e19d03269995 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Tue, 16 Sep 2014 17:00:20 -0400 Subject: [PATCH 27/58] Document get_config_example/get_config_develop in vagrant/Makefile --- vagrant/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vagrant/Makefile b/vagrant/Makefile index 21473d6..69169f8 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -24,12 +24,14 @@ REDCAP_PROJECT_ENROLLMENT_FORM := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ / .PHONY: help help: @echo "\n Available tasks:" - @echo "\t show_config: - display the parameters retrieved from $(CONFIG_FILE)" + @echo "\t get_config_example - copy the required Makefile.ini from 'config-example' folder" + @echo "\t get_config_develop - copy the required Makefile.ini from developer's 'config' folder" + @echo "\t show_config - display the parameters retrieved from $(CONFIG_FILE)" + @echo "\t rc_check - checks if REDCap is running" @echo "\t rc_list - list the id of all REDCap projects" @echo "\t rc_save - save a backup of REDCap database" @echo "\t rc_clean - remove data for default test project" - @echo "\t rc_enrollment - load csv enrollment test data for the default project" @echo "\t rc_get_enrollment - retrieve csv enrollment test data for the default project" @echo "\t rc_post - send test data to REDCap" @@ -38,6 +40,7 @@ help: @echo "\t rc_fresh - erase/insert/retrieve test data from REDCap" @echo "\t rc_get_rate - shows the config option value: 'page_hit_threshold_per_minute' " @echo "\t rc_set_rate - set the value for: 'page_hit_threshold_per_minute' " + @echo "\t egg_test - deploy the redi egg file to the vagrant box and run redi" @echo "\t clean - remove files created by testing" @echo "\t copy_redcap_code: - copy the redcap.zip file from the 'config' folder if available" @@ -52,6 +55,7 @@ get_config_develop: check_config: @# This task is used as a dependency checker + @test -f $(MAKE_CONFIG_FILE) || (echo 'Please obtain the required file Makefile.ini by executing get_config_example or get_config_develop' && exit 1) @test -d $(CONFIG_FOLDER) || (echo 'Please create a "config" folder with necessary files first' && exit 1) @test -f $(CONFIG_FILE) || (echo 'Please obtain the config file "$(CONFIG_FILE)"' && exit 1) @test -f $(BOOTSTRAP_SQL_FILE) || (echo 'Please obtain the project sql dump file "$(BOOTSTRAP_SQL_FILE)"' && exit 1) From 885565a07424380f1021b1f56bb0fa6fdb5c1d3b Mon Sep 17 00:00:00 2001 From: Philip Chase Date: Tue, 16 Sep 2014 22:43:16 -0400 Subject: [PATCH 28/58] Add synthetic-lab-data.* and enrollment_test_data.csv to config-example --- config-example/enrollment_test_data.csv | 4 + config-example/synthetic-lab-data.csv | 648 +++ config-example/synthetic-lab-data.xml | 6473 +++++++++++++++++++++++ 3 files changed, 7125 insertions(+) create mode 100644 config-example/enrollment_test_data.csv create mode 100644 config-example/synthetic-lab-data.csv create mode 100644 config-example/synthetic-lab-data.xml diff --git a/config-example/enrollment_test_data.csv b/config-example/enrollment_test_data.csv new file mode 100644 index 0000000..5853058 --- /dev/null +++ b/config-example/enrollment_test_data.csv @@ -0,0 +1,4 @@ +record_id,redcap_event_name,c2826694,c1301894,c2985782,c0806020,enrollment_complete +"1","1_arm_1","1","12345","2112-01-01","2113-01-01",2 +"2","1_arm_1","2","23456","2112-01-02","2113-01-01",2 +"3","1_arm_1","3","34567","2112-01-03","2113-01-01",2 diff --git a/config-example/synthetic-lab-data.csv b/config-example/synthetic-lab-data.csv new file mode 100644 index 0000000..6f352db --- /dev/null +++ b/config-example/synthetic-lab-data.csv @@ -0,0 +1,648 @@ +"result","loinc_component","loinc_code","low","high","units","date_time_stamp","study_id" +3.813,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-10-27,1 +3.433,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-10-27,1 +1.978,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-10-27,1 +0.378,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-10-27,1 +13.617,"Hemoglobin","718-7",12,16,"g/dl",2112-10-27,1 +5.599,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-01-12,1 +3.246,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-01-12,1 +2.916,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-01-12,1 +0.181,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-01-12,1 +12.78,"Hemoglobin","718-7",12,16,"g/dl",2112-01-12,1 +7.963,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-06-08,1 +2.33,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-06-08,1 +2.758,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-06-08,1 +0.248,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-06-08,1 +12.213,"Hemoglobin","718-7",12,16,"g/dl",2112-06-08,1 +5.222,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-09-10,1 +4.607,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-09-10,1 +3.467,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-09-10,1 +0.221,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-09-10,1 +12.016,"Hemoglobin","718-7",12,16,"g/dl",2112-09-10,1 +5.362,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-05-15,1 +5.266,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-05-15,1 +3.787,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-05-15,1 +0.204,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-05-15,1 +12.895,"Hemoglobin","718-7",12,16,"g/dl",2112-05-15,1 +5.129,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-03-03,1 +6.024,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-03-03,1 +0.86,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-03-03,1 +0.241,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-03-03,1 +15.265,"Hemoglobin","718-7",12,16,"g/dl",2112-03-03,1 +5.613,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-01-25,1 +7.107,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-01-25,1 +1.501,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-01-25,1 +0.407,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-01-25,1 +15.842,"Hemoglobin","718-7",12,16,"g/dl",2112-01-25,1 +4.972,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-02-29,1 +1.94,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-02-29,1 +2.053,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-02-29,1 +0.426,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-02-29,1 +14.478,"Hemoglobin","718-7",12,16,"g/dl",2112-02-29,1 +9.297,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-08-30,1 +6.134,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-08-30,1 +1.595,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-08-30,1 +0.323,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-08-30,1 +14.618,"Hemoglobin","718-7",12,16,"g/dl",2112-08-30,1 +3.963,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-12-30,1 +3.985,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-12-30,1 +3.145,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-12-30,1 +0.337,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-12-30,1 +14.256,"Hemoglobin","718-7",12,16,"g/dl",2112-12-30,1 +5.365,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-02-02,1 +3.397,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-02-02,1 +2.857,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-02-02,1 +0.39,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-02-02,1 +14.279,"Hemoglobin","718-7",12,16,"g/dl",2112-02-02,1 +10.012,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-06-27,1 +4.353,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-06-27,1 +1.407,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-06-27,1 +0.203,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-06-27,1 +14.305,"Hemoglobin","718-7",12,16,"g/dl",2112-06-27,1 +5.105,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-11-11,1 +6.912,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-11-11,1 +2.973,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-11-11,1 +0.444,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-11-11,1 +13.446,"Hemoglobin","718-7",12,16,"g/dl",2112-11-11,1 +9.647,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-09-05,1 +6.396,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-09-05,1 +3.107,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-09-05,1 +0.284,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-09-05,1 +12.704,"Hemoglobin","718-7",12,16,"g/dl",2112-09-05,1 +6.279,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-11-23,1 +6.028,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-11-23,1 +1.051,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-11-23,1 +0.412,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-11-23,1 +13.281,"Hemoglobin","718-7",12,16,"g/dl",2112-11-23,1 +10.729,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-11-13,1 +6.253,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-11-13,1 +3.071,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-11-13,1 +0.206,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-11-13,1 +15.427,"Hemoglobin","718-7",12,16,"g/dl",2112-11-13,1 +8.939,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-01-11,1 +2.367,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-01-11,1 +2.806,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-01-11,1 +0.323,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-01-11,1 +14.936,"Hemoglobin","718-7",12,16,"g/dl",2112-01-11,1 +10.23,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-12-26,1 +7.785,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-12-26,1 +2.942,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-12-26,1 +0.422,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-12-26,1 +15.792,"Hemoglobin","718-7",12,16,"g/dl",2112-12-26,1 +10.146,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-09-03,1 +2.096,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-09-03,1 +3.297,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-09-03,1 +0.429,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-09-03,1 +15.935,"Hemoglobin","718-7",12,16,"g/dl",2112-09-03,1 +5.081,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-09-03,1 +3.02,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-09-03,1 +1.855,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-09-03,1 +0.438,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-09-03,1 +15.704,"Hemoglobin","718-7",12,16,"g/dl",2112-09-03,1 +5.999,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-03-15,2 +6.762,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-03-15,2 +2.827,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-03-15,2 +0.352,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-03-15,2 +12.446,"Hemoglobin","718-7",12,16,"g/dl",2112-03-15,2 +8.339,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-01-01,2 +5.243,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-01-01,2 +2.918,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-01-01,2 +0.351,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-01-01,2 +15.192,"Hemoglobin","718-7",12,16,"g/dl",2112-01-01,2 +6.576,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-10-16,2 +7.263,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-10-16,2 +2.27,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-10-16,2 +0.387,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-10-16,2 +12.698,"Hemoglobin","718-7",12,16,"g/dl",2112-10-16,2 +5.468,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-05-02,2 +6.465,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-05-02,2 +1.973,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-05-02,2 +0.395,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-05-02,2 +13.412,"Hemoglobin","718-7",12,16,"g/dl",2112-05-02,2 +5.583,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-03-23,2 +2.598,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-03-23,2 +3.74,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-03-23,2 +0.208,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-03-23,2 +12.775,"Hemoglobin","718-7",12,16,"g/dl",2112-03-23,2 +8.283,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-07-07,2 +6.833,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-07-07,2 +2.423,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-07-07,2 +0.293,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-07-07,2 +12.947,"Hemoglobin","718-7",12,16,"g/dl",2112-07-07,2 +10.522,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-09-16,2 +2.063,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-09-16,2 +2.641,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-09-16,2 +0.282,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-09-16,2 +13.088,"Hemoglobin","718-7",12,16,"g/dl",2112-09-16,2 +5.223,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-05-15,2 +4.424,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-05-15,2 +2.799,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-05-15,2 +0.284,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-05-15,2 +15.413,"Hemoglobin","718-7",12,16,"g/dl",2112-05-15,2 +9.692,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-03-09,2 +4.377,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-03-09,2 +3.599,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-03-09,2 +0.232,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-03-09,2 +15.598,"Hemoglobin","718-7",12,16,"g/dl",2112-03-09,2 +4.731,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-06-30,2 +6.945,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-06-30,2 +1.249,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-06-30,2 +0.383,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-06-30,2 +13.887,"Hemoglobin","718-7",12,16,"g/dl",2112-06-30,2 +7.08,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-10-18,2 +2.355,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-10-18,2 +1.47,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-10-18,2 +0.398,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-10-18,2 +12.795,"Hemoglobin","718-7",12,16,"g/dl",2112-10-18,2 +10.343,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-12-19,2 +2.963,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-12-19,2 +1.756,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-12-19,2 +0.283,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-12-19,2 +14.576,"Hemoglobin","718-7",12,16,"g/dl",2112-12-19,2 +7.593,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-12-30,3 +6.117,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-12-30,3 +1.269,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-12-30,3 +0.271,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-12-30,3 +13.583,"Hemoglobin","718-7",12,16,"g/dl",2112-12-30,3 +6.23,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-02-07,3 +7.793,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-02-07,3 +0.888,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-02-07,3 +0.202,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-02-07,3 +13.588,"Hemoglobin","718-7",12,16,"g/dl",2112-02-07,3 +8.188,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-12-01,3 +4.009,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-12-01,3 +3.488,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-12-01,3 +0.432,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-12-01,3 +14.409,"Hemoglobin","718-7",12,16,"g/dl",2112-12-01,3 +7.512,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-02-13,3 +3.11,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-02-13,3 +2.338,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-02-13,3 +0.381,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-02-13,3 +12.883,"Hemoglobin","718-7",12,16,"g/dl",2112-02-13,3 +8.191,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-06-05,3 +7.389,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-06-05,3 +1.713,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-06-05,3 +0.414,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-06-05,3 +12.262,"Hemoglobin","718-7",12,16,"g/dl",2112-06-05,3 +6.566,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-08-08,3 +5.452,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-08-08,3 +1.202,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-08-08,3 +0.273,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-08-08,3 +15.032,"Hemoglobin","718-7",12,16,"g/dl",2112-08-08,3 +5.716,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-10-06,3 +6.454,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-10-06,3 +1.692,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-10-06,3 +0.278,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-10-06,3 +14.286,"Hemoglobin","718-7",12,16,"g/dl",2112-10-06,3 +4.347,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-09-28,3 +2.062,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-09-28,3 +3.188,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-09-28,3 +0.393,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-09-28,3 +15.002,"Hemoglobin","718-7",12,16,"g/dl",2112-09-28,3 +7.761,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-01-02,3 +2.045,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-01-02,3 +2.303,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-01-02,3 +0.393,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-01-02,3 +15.839,"Hemoglobin","718-7",12,16,"g/dl",2112-01-02,3 +10.667,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-03-19,3 +6.953,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-03-19,3 +1.779,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-03-19,3 +0.238,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-03-19,3 +14.841,"Hemoglobin","718-7",12,16,"g/dl",2112-03-19,3 +5.244,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-09-30,3 +5.118,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-09-30,3 +2.874,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-09-30,3 +0.259,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-09-30,3 +12.2,"Hemoglobin","718-7",12,16,"g/dl",2112-09-30,3 +14.482,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-07-03,1 +3.82,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-07-03,1 +0.719,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-07-03,1 +0.29,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-07-03,1 +3.846,"Albumin","1751-7",3.5,5.5,"g/dl",2112-07-03,1 +1.261,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-07-03,1 +82.453,"Glucose","2339-0",65,99,"mg/dL",2112-07-03,1 +5.02,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-07-03,1 +139.688,"Sodium","2947-0",135,146,"mmol/L",2112-07-03,1 +23.833,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-09-04,1 +5.787,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-09-04,1 +0.413,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-09-04,1 +0.186,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-09-04,1 +5.157,"Albumin","1751-7",3.5,5.5,"g/dl",2112-09-04,1 +0.563,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-09-04,1 +97.454,"Glucose","2339-0",65,99,"mg/dL",2112-09-04,1 +3.563,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-09-04,1 +142.147,"Sodium","2947-0",135,146,"mmol/L",2112-09-04,1 +24.25,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-08-06,1 +24.016,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-08-06,1 +0.391,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-08-06,1 +0.127,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-08-06,1 +3.901,"Albumin","1751-7",3.5,5.5,"g/dl",2112-08-06,1 +0.821,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-08-06,1 +65.808,"Glucose","2339-0",65,99,"mg/dL",2112-08-06,1 +3.791,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-08-06,1 +135.296,"Sodium","2947-0",135,146,"mmol/L",2112-08-06,1 +16.44,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-01-15,1 +11.564,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-01-15,1 +0.855,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-01-15,1 +0.131,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-01-15,1 +4.963,"Albumin","1751-7",3.5,5.5,"g/dl",2112-01-15,1 +1.22,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-01-15,1 +67.787,"Glucose","2339-0",65,99,"mg/dL",2112-01-15,1 +3.867,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-01-15,1 +142.928,"Sodium","2947-0",135,146,"mmol/L",2112-01-15,1 +10.641,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-08-30,1 +11.033,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-08-30,1 +0.517,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-08-30,1 +0.106,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-08-30,1 +4.397,"Albumin","1751-7",3.5,5.5,"g/dl",2112-08-30,1 +0.492,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-08-30,1 +70.897,"Glucose","2339-0",65,99,"mg/dL",2112-08-30,1 +3.555,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-08-30,1 +135.56,"Sodium","2947-0",135,146,"mmol/L",2112-08-30,1 +16.946,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-12-01,1 +15.545,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-12-01,1 +0.402,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-12-01,1 +0.158,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-12-01,1 +4.954,"Albumin","1751-7",3.5,5.5,"g/dl",2112-12-01,1 +0.677,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-12-01,1 +93.361,"Glucose","2339-0",65,99,"mg/dL",2112-12-01,1 +5.145,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-12-01,1 +144.231,"Sodium","2947-0",135,146,"mmol/L",2112-12-01,1 +23.058,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-03-06,1 +1.288,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-03-06,1 +0.303,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-03-06,1 +0.121,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-03-06,1 +4.341,"Albumin","1751-7",3.5,5.5,"g/dl",2112-03-06,1 +0.55,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-03-06,1 +85.204,"Glucose","2339-0",65,99,"mg/dL",2112-03-06,1 +5.296,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-03-06,1 +144.057,"Sodium","2947-0",135,146,"mmol/L",2112-03-06,1 +2.402,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-03-14,1 +13.343,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-03-14,1 +0.559,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-03-14,1 +0.236,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-03-14,1 +4.372,"Albumin","1751-7",3.5,5.5,"g/dl",2112-03-14,1 +0.931,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-03-14,1 +77.711,"Glucose","2339-0",65,99,"mg/dL",2112-03-14,1 +3.849,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-03-14,1 +136.139,"Sodium","2947-0",135,146,"mmol/L",2112-03-14,1 +12.129,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-11-07,1 +19.696,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-11-07,1 +0.375,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-11-07,1 +0.282,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-11-07,1 +4.981,"Albumin","1751-7",3.5,5.5,"g/dl",2112-11-07,1 +0.813,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-11-07,1 +97.277,"Glucose","2339-0",65,99,"mg/dL",2112-11-07,1 +3.728,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-11-07,1 +136.305,"Sodium","2947-0",135,146,"mmol/L",2112-11-07,1 +24.256,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-10-31,1 +4.707,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-10-31,1 +0.608,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-10-31,1 +0.243,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-10-31,1 +3.81,"Albumin","1751-7",3.5,5.5,"g/dl",2112-10-31,1 +1.471,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-10-31,1 +73.754,"Glucose","2339-0",65,99,"mg/dL",2112-10-31,1 +3.795,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-10-31,1 +139.159,"Sodium","2947-0",135,146,"mmol/L",2112-10-31,1 +2.138,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-02-12,1 +22.466,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-02-12,1 +0.63,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-02-12,1 +0.222,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-02-12,1 +3.982,"Albumin","1751-7",3.5,5.5,"g/dl",2112-02-12,1 +1.065,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-02-12,1 +77.254,"Glucose","2339-0",65,99,"mg/dL",2112-02-12,1 +4.018,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-02-12,1 +144.998,"Sodium","2947-0",135,146,"mmol/L",2112-02-12,1 +21.706,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-01-06,1 +24.121,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-01-06,1 +0.933,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-01-06,1 +0.22,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-01-06,1 +4.674,"Albumin","1751-7",3.5,5.5,"g/dl",2112-01-06,1 +1.341,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-01-06,1 +68.328,"Glucose","2339-0",65,99,"mg/dL",2112-01-06,1 +3.618,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-01-06,1 +141.949,"Sodium","2947-0",135,146,"mmol/L",2112-01-06,1 +4.64,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-06-29,1 +0.993,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-06-29,1 +0.746,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-06-29,1 +0.126,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-06-29,1 +4.65,"Albumin","1751-7",3.5,5.5,"g/dl",2112-06-29,1 +1.293,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-06-29,1 +69.271,"Glucose","2339-0",65,99,"mg/dL",2112-06-29,1 +3.748,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-06-29,1 +144.886,"Sodium","2947-0",135,146,"mmol/L",2112-06-29,1 +20.273,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-01-27,1 +6.961,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-01-27,1 +0.524,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-01-27,1 +0.146,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-01-27,1 +4.37,"Albumin","1751-7",3.5,5.5,"g/dl",2112-01-27,1 +0.688,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-01-27,1 +87.635,"Glucose","2339-0",65,99,"mg/dL",2112-01-27,1 +4.536,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-01-27,1 +140.017,"Sodium","2947-0",135,146,"mmol/L",2112-01-27,1 +23.594,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-04-06,1 +24.688,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-04-06,1 +0.827,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-04-06,1 +0.274,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-04-06,1 +4.947,"Albumin","1751-7",3.5,5.5,"g/dl",2112-04-06,1 +0.968,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-04-06,1 +93.587,"Glucose","2339-0",65,99,"mg/dL",2112-04-06,1 +3.998,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-04-06,1 +137.876,"Sodium","2947-0",135,146,"mmol/L",2112-04-06,1 +16.124,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-11-04,2 +13.976,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-11-04,2 +0.909,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-11-04,2 +0.297,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-11-04,2 +4.546,"Albumin","1751-7",3.5,5.5,"g/dl",2112-11-04,2 +0.631,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-11-04,2 +74.662,"Glucose","2339-0",65,99,"mg/dL",2112-11-04,2 +4.533,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-11-04,2 +137.652,"Sodium","2947-0",135,146,"mmol/L",2112-11-04,2 +18.599,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-05-17,2 +20.439,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-05-17,2 +0.742,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-05-17,2 +0.244,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-05-17,2 +3.619,"Albumin","1751-7",3.5,5.5,"g/dl",2112-05-17,2 +1.305,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-05-17,2 +85.237,"Glucose","2339-0",65,99,"mg/dL",2112-05-17,2 +4.866,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-05-17,2 +141.494,"Sodium","2947-0",135,146,"mmol/L",2112-05-17,2 +2.847,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-07-08,2 +17.728,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-07-08,2 +0.926,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-07-08,2 +0.1,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-07-08,2 +4.676,"Albumin","1751-7",3.5,5.5,"g/dl",2112-07-08,2 +0.634,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-07-08,2 +83.294,"Glucose","2339-0",65,99,"mg/dL",2112-07-08,2 +3.895,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-07-08,2 +135.077,"Sodium","2947-0",135,146,"mmol/L",2112-07-08,2 +14.485,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-08-16,2 +9.04,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-08-16,2 +0.352,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-08-16,2 +0.138,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-08-16,2 +4.271,"Albumin","1751-7",3.5,5.5,"g/dl",2112-08-16,2 +0.871,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-08-16,2 +73.61,"Glucose","2339-0",65,99,"mg/dL",2112-08-16,2 +4.909,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-08-16,2 +136.939,"Sodium","2947-0",135,146,"mmol/L",2112-08-16,2 +24.341,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-08-13,2 +14.883,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-08-13,2 +0.565,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-08-13,2 +0.275,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-08-13,2 +5.339,"Albumin","1751-7",3.5,5.5,"g/dl",2112-08-13,2 +1.039,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-08-13,2 +98.911,"Glucose","2339-0",65,99,"mg/dL",2112-08-13,2 +4.571,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-08-13,2 +135.283,"Sodium","2947-0",135,146,"mmol/L",2112-08-13,2 +13.705,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-02-08,2 +16.648,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-02-08,2 +0.737,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-02-08,2 +0.214,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-02-08,2 +4.013,"Albumin","1751-7",3.5,5.5,"g/dl",2112-02-08,2 +0.559,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-02-08,2 +77.482,"Glucose","2339-0",65,99,"mg/dL",2112-02-08,2 +3.786,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-02-08,2 +145.193,"Sodium","2947-0",135,146,"mmol/L",2112-02-08,2 +16.399,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-09-06,2 +6.534,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-09-06,2 +0.943,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-09-06,2 +0.155,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-09-06,2 +3.8,"Albumin","1751-7",3.5,5.5,"g/dl",2112-09-06,2 +1.301,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-09-06,2 +87.79,"Glucose","2339-0",65,99,"mg/dL",2112-09-06,2 +3.592,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-09-06,2 +144.071,"Sodium","2947-0",135,146,"mmol/L",2112-09-06,2 +24.298,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-11-16,2 +21.955,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-11-16,2 +0.774,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-11-16,2 +0.122,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-11-16,2 +4.107,"Albumin","1751-7",3.5,5.5,"g/dl",2112-11-16,2 +1.456,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-11-16,2 +73.493,"Glucose","2339-0",65,99,"mg/dL",2112-11-16,2 +4.592,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-11-16,2 +135.664,"Sodium","2947-0",135,146,"mmol/L",2112-11-16,2 +17.089,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-03-14,2 +11.435,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-03-14,2 +0.728,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-03-14,2 +0.208,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-03-14,2 +3.659,"Albumin","1751-7",3.5,5.5,"g/dl",2112-03-14,2 +0.497,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-03-14,2 +95.917,"Glucose","2339-0",65,99,"mg/dL",2112-03-14,2 +3.844,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-03-14,2 +144.83,"Sodium","2947-0",135,146,"mmol/L",2112-03-14,2 +24.604,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-03-24,2 +8.35,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-03-24,2 +0.884,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-03-24,2 +0.117,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-03-24,2 +4.094,"Albumin","1751-7",3.5,5.5,"g/dl",2112-03-24,2 +0.935,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-03-24,2 +82.575,"Glucose","2339-0",65,99,"mg/dL",2112-03-24,2 +3.621,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-03-24,2 +135.279,"Sodium","2947-0",135,146,"mmol/L",2112-03-24,2 +5.455,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-08-01,2 +1.184,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-08-01,2 +0.562,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-08-01,2 +0.102,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-08-01,2 +5.439,"Albumin","1751-7",3.5,5.5,"g/dl",2112-08-01,2 +0.572,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-08-01,2 +75.146,"Glucose","2339-0",65,99,"mg/dL",2112-08-01,2 +4.977,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-08-01,2 +139.517,"Sodium","2947-0",135,146,"mmol/L",2112-08-01,2 +3.459,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-10-05,2 +3.749,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-10-05,2 +0.379,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-10-05,2 +0.239,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-10-05,2 +3.585,"Albumin","1751-7",3.5,5.5,"g/dl",2112-10-05,2 +1.353,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-10-05,2 +93.729,"Glucose","2339-0",65,99,"mg/dL",2112-10-05,2 +4.334,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-10-05,2 +138.921,"Sodium","2947-0",135,146,"mmol/L",2112-10-05,2 +1.797,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-06-28,2 +22.607,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-06-28,2 +0.93,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-06-28,2 +0.218,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-06-28,2 +4.961,"Albumin","1751-7",3.5,5.5,"g/dl",2112-06-28,2 +0.728,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-06-28,2 +65.119,"Glucose","2339-0",65,99,"mg/dL",2112-06-28,2 +3.617,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-06-28,2 +143.494,"Sodium","2947-0",135,146,"mmol/L",2112-06-28,2 +1.73,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-05-01,2 +20.578,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-05-01,2 +0.449,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-05-01,2 +0.243,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-05-01,2 +5.123,"Albumin","1751-7",3.5,5.5,"g/dl",2112-05-01,2 +0.9,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-05-01,2 +66.073,"Glucose","2339-0",65,99,"mg/dL",2112-05-01,2 +5.144,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-05-01,2 +136.413,"Sodium","2947-0",135,146,"mmol/L",2112-05-01,2 +17.332,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-11-21,2 +22.11,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-11-21,2 +0.684,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-11-21,2 +0.165,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-11-21,2 +3.626,"Albumin","1751-7",3.5,5.5,"g/dl",2112-11-21,2 +0.68,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-11-21,2 +73.834,"Glucose","2339-0",65,99,"mg/dL",2112-11-21,2 +4.694,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-11-21,2 +145.569,"Sodium","2947-0",135,146,"mmol/L",2112-11-21,2 +10.12,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-02-26,2 +20.187,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-02-26,2 +0.643,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-02-26,2 +0.287,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-02-26,2 +5.239,"Albumin","1751-7",3.5,5.5,"g/dl",2112-02-26,2 +1.126,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-02-26,2 +93.519,"Glucose","2339-0",65,99,"mg/dL",2112-02-26,2 +3.596,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-02-26,2 +136.313,"Sodium","2947-0",135,146,"mmol/L",2112-02-26,2 +6.176,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-01-31,2 +6.896,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-01-31,2 +0.443,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-01-31,2 +0.133,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-01-31,2 +5.458,"Albumin","1751-7",3.5,5.5,"g/dl",2112-01-31,2 +0.835,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-01-31,2 +77.585,"Glucose","2339-0",65,99,"mg/dL",2112-01-31,2 +5.062,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-01-31,2 +142.457,"Sodium","2947-0",135,146,"mmol/L",2112-01-31,2 +16.902,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-07-19,2 +13.832,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-07-19,2 +0.585,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-07-19,2 +0.18,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-07-19,2 +5.052,"Albumin","1751-7",3.5,5.5,"g/dl",2112-07-19,2 +0.492,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-07-19,2 +84.239,"Glucose","2339-0",65,99,"mg/dL",2112-07-19,2 +5.19,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-07-19,2 +135.473,"Sodium","2947-0",135,146,"mmol/L",2112-07-19,2 +0.894,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-07-21,3 +13.876,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-07-21,3 +0.791,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-07-21,3 +0.161,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-07-21,3 +3.616,"Albumin","1751-7",3.5,5.5,"g/dl",2112-07-21,3 +0.857,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-07-21,3 +92.666,"Glucose","2339-0",65,99,"mg/dL",2112-07-21,3 +4.328,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-07-21,3 +140.37,"Sodium","2947-0",135,146,"mmol/L",2112-07-21,3 +7.139,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-03-11,3 +17.376,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-03-11,3 +0.703,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-03-11,3 +0.287,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-03-11,3 +5.149,"Albumin","1751-7",3.5,5.5,"g/dl",2112-03-11,3 +0.523,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-03-11,3 +79.617,"Glucose","2339-0",65,99,"mg/dL",2112-03-11,3 +4.804,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-03-11,3 +143.424,"Sodium","2947-0",135,146,"mmol/L",2112-03-11,3 +23.519,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-10-27,3 +12.84,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-10-27,3 +0.715,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-10-27,3 +0.109,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-10-27,3 +4.423,"Albumin","1751-7",3.5,5.5,"g/dl",2112-10-27,3 +0.41,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-10-27,3 +96.421,"Glucose","2339-0",65,99,"mg/dL",2112-10-27,3 +3.672,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-10-27,3 +139.474,"Sodium","2947-0",135,146,"mmol/L",2112-10-27,3 +9.285,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-11-30,3 +18.735,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-11-30,3 +0.434,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-11-30,3 +0.158,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-11-30,3 +4.674,"Albumin","1751-7",3.5,5.5,"g/dl",2112-11-30,3 +1.311,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-11-30,3 +67.576,"Glucose","2339-0",65,99,"mg/dL",2112-11-30,3 +4.016,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-11-30,3 +136.978,"Sodium","2947-0",135,146,"mmol/L",2112-11-30,3 +13.816,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-05-03,3 +23.535,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-05-03,3 +0.995,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-05-03,3 +0.234,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-05-03,3 +3.516,"Albumin","1751-7",3.5,5.5,"g/dl",2112-05-03,3 +0.65,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-05-03,3 +73.758,"Glucose","2339-0",65,99,"mg/dL",2112-05-03,3 +4.552,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-05-03,3 +141.147,"Sodium","2947-0",135,146,"mmol/L",2112-05-03,3 +17.013,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-05-31,3 +17.006,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-05-31,3 +0.568,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-05-31,3 +0.14,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-05-31,3 +4.871,"Albumin","1751-7",3.5,5.5,"g/dl",2112-05-31,3 +1.072,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-05-31,3 +67.853,"Glucose","2339-0",65,99,"mg/dL",2112-05-31,3 +3.929,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-05-31,3 +144.13,"Sodium","2947-0",135,146,"mmol/L",2112-05-31,3 +5.021,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-01-12,3 +17.39,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-01-12,3 +0.563,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-01-12,3 +0.137,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-01-12,3 +4.586,"Albumin","1751-7",3.5,5.5,"g/dl",2112-01-12,3 +1.231,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-01-12,3 +95.678,"Glucose","2339-0",65,99,"mg/dL",2112-01-12,3 +4.875,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-01-12,3 +135.872,"Sodium","2947-0",135,146,"mmol/L",2112-01-12,3 +12.718,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-06-16,3 +11.514,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-06-16,3 +0.415,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-06-16,3 +0.164,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-06-16,3 +4.887,"Albumin","1751-7",3.5,5.5,"g/dl",2112-06-16,3 +0.488,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-06-16,3 +88.291,"Glucose","2339-0",65,99,"mg/dL",2112-06-16,3 +3.958,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-06-16,3 +136.81,"Sodium","2947-0",135,146,"mmol/L",2112-06-16,3 +5.863,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-12-23,3 +17.873,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-12-23,3 +0.738,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-12-23,3 +0.2,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-12-23,3 +4.435,"Albumin","1751-7",3.5,5.5,"g/dl",2112-12-23,3 +0.489,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-12-23,3 +86.017,"Glucose","2339-0",65,99,"mg/dL",2112-12-23,3 +4.407,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-12-23,3 +145.612,"Sodium","2947-0",135,146,"mmol/L",2112-12-23,3 +14.935,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-05-22,3 +24.813,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-05-22,3 +0.824,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-05-22,3 +0.261,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-05-22,3 +3.747,"Albumin","1751-7",3.5,5.5,"g/dl",2112-05-22,3 +0.57,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-05-22,3 +79.608,"Glucose","2339-0",65,99,"mg/dL",2112-05-22,3 +4.55,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-05-22,3 +137.839,"Sodium","2947-0",135,146,"mmol/L",2112-05-22,3 +23.087,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-01-07,3 +18.161,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-01-07,3 +0.455,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-01-07,3 +0.106,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-01-07,3 +3.808,"Albumin","1751-7",3.5,5.5,"g/dl",2112-01-07,3 +1.46,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-01-07,3 +66.035,"Glucose","2339-0",65,99,"mg/dL",2112-01-07,3 +3.505,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-01-07,3 +135.902,"Sodium","2947-0",135,146,"mmol/L",2112-01-07,3 +7.155,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-05-01,3 +22.675,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-05-01,3 +0.528,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-05-01,3 +0.109,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-05-01,3 +5.062,"Albumin","1751-7",3.5,5.5,"g/dl",2112-05-01,3 +0.601,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-05-01,3 +98.816,"Glucose","2339-0",65,99,"mg/dL",2112-05-01,3 +5.276,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-05-01,3 +142.714,"Sodium","2947-0",135,146,"mmol/L",2112-05-01,3 +13.34,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-02-07,3 +6.955,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-02-07,3 +0.707,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-02-07,3 +0.239,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-02-07,3 +3.74,"Albumin","1751-7",3.5,5.5,"g/dl",2112-02-07,3 +1.071,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-02-07,3 +92.286,"Glucose","2339-0",65,99,"mg/dL",2112-02-07,3 +3.659,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-02-07,3 +144.58,"Sodium","2947-0",135,146,"mmol/L",2112-02-07,3 +15.151,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-04-07,3 +16.713,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-04-07,3 +0.553,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-04-07,3 +0.11,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-04-07,3 +5.17,"Albumin","1751-7",3.5,5.5,"g/dl",2112-04-07,3 +1.247,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-04-07,3 +77.895,"Glucose","2339-0",65,99,"mg/dL",2112-04-07,3 +3.768,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-04-07,3 +141.935,"Sodium","2947-0",135,146,"mmol/L",2112-04-07,3 +17.214,"Alanine aminotransferase","1742-6",0,25,"U/L",2112-02-04,3 +15.943,"Aspartate aminotransferase","1920-8",0,25,"U/L",2112-02-04,3 +0.907,"Bilirubin","1975-2",0.3,1,"mg/dl",2112-02-04,3 +0.118,"Bilirubin.glucuronidated+Bilirubin.albumin bound","1968-7",0.1,0.3,"mg/dl",2112-02-04,3 +3.766,"Albumin","1751-7",3.5,5.5,"g/dl",2112-02-04,3 +0.672,"Creatinine","2160-0",0.4,1.5,"mg/dl",2112-02-04,3 +70.927,"Glucose","2339-0",65,99,"mg/dL",2112-02-04,3 +4.364,"Potassium","6298-4",3.5,5.3,"mmol/L",2112-02-04,3 +142.667,"Sodium","2947-0",135,146,"mmol/L",2112-02-04,3 diff --git a/config-example/synthetic-lab-data.xml b/config-example/synthetic-lab-data.xml new file mode 100644 index 0000000..2ab9f94 --- /dev/null +++ b/config-example/synthetic-lab-data.xml @@ -0,0 +1,6473 @@ + + + + 3.813 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-10-27 + 1 + + + 3.433 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-10-27 + 1 + + + 1.978 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-10-27 + 1 + + + 0.378 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-10-27 + 1 + + + 13.617 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-10-27 + 1 + + + 5.599 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-01-12 + 1 + + + 3.246 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-01-12 + 1 + + + 2.916 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-01-12 + 1 + + + 0.181 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-01-12 + 1 + + + 12.78 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-01-12 + 1 + + + 7.963 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-06-08 + 1 + + + 2.33 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-06-08 + 1 + + + 2.758 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-06-08 + 1 + + + 0.248 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-06-08 + 1 + + + 12.213 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-06-08 + 1 + + + 5.222 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-09-10 + 1 + + + 4.607 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-09-10 + 1 + + + 3.467 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-09-10 + 1 + + + 0.221 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-09-10 + 1 + + + 12.016 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-09-10 + 1 + + + 5.362 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-05-15 + 1 + + + 5.266 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-05-15 + 1 + + + 3.787 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-05-15 + 1 + + + 0.204 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-05-15 + 1 + + + 12.895 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-05-15 + 1 + + + 5.129 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-03-03 + 1 + + + 6.024 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-03-03 + 1 + + + 0.86 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-03-03 + 1 + + + 0.241 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-03-03 + 1 + + + 15.265 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-03-03 + 1 + + + 5.613 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-01-25 + 1 + + + 7.107 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-01-25 + 1 + + + 1.501 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-01-25 + 1 + + + 0.407 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-01-25 + 1 + + + 15.842 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-01-25 + 1 + + + 4.972 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-02-29 + 1 + + + 1.94 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-02-29 + 1 + + + 2.053 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-02-29 + 1 + + + 0.426 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-02-29 + 1 + + + 14.478 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-02-29 + 1 + + + 9.297 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-08-30 + 1 + + + 6.134 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-08-30 + 1 + + + 1.595 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-08-30 + 1 + + + 0.323 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-08-30 + 1 + + + 14.618 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-08-30 + 1 + + + 3.963 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-12-30 + 1 + + + 3.985 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-12-30 + 1 + + + 3.145 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-12-30 + 1 + + + 0.337 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-12-30 + 1 + + + 14.256 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-12-30 + 1 + + + 5.365 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-02-02 + 1 + + + 3.397 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-02-02 + 1 + + + 2.857 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-02-02 + 1 + + + 0.39 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-02-02 + 1 + + + 14.279 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-02-02 + 1 + + + 10.012 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-06-27 + 1 + + + 4.353 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-06-27 + 1 + + + 1.407 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-06-27 + 1 + + + 0.203 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-06-27 + 1 + + + 14.305 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-06-27 + 1 + + + 5.105 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-11-11 + 1 + + + 6.912 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-11-11 + 1 + + + 2.973 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-11-11 + 1 + + + 0.444 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-11-11 + 1 + + + 13.446 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-11-11 + 1 + + + 9.647 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-09-05 + 1 + + + 6.396 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-09-05 + 1 + + + 3.107 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-09-05 + 1 + + + 0.284 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-09-05 + 1 + + + 12.704 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-09-05 + 1 + + + 6.279 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-11-23 + 1 + + + 6.028 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-11-23 + 1 + + + 1.051 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-11-23 + 1 + + + 0.412 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-11-23 + 1 + + + 13.281 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-11-23 + 1 + + + 10.729 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-11-13 + 1 + + + 6.253 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-11-13 + 1 + + + 3.071 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-11-13 + 1 + + + 0.206 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-11-13 + 1 + + + 15.427 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-11-13 + 1 + + + 8.939 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-01-11 + 1 + + + 2.367 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-01-11 + 1 + + + 2.806 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-01-11 + 1 + + + 0.323 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-01-11 + 1 + + + 14.936 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-01-11 + 1 + + + 10.23 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-12-26 + 1 + + + 7.785 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-12-26 + 1 + + + 2.942 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-12-26 + 1 + + + 0.422 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-12-26 + 1 + + + 15.792 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-12-26 + 1 + + + 10.146 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-09-03 + 1 + + + 2.096 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-09-03 + 1 + + + 3.297 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-09-03 + 1 + + + 0.429 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-09-03 + 1 + + + 15.935 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-09-03 + 1 + + + 5.081 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-09-03 + 1 + + + 3.02 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-09-03 + 1 + + + 1.855 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-09-03 + 1 + + + 0.438 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-09-03 + 1 + + + 15.704 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-09-03 + 1 + + + 5.999 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-03-15 + 2 + + + 6.762 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-03-15 + 2 + + + 2.827 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-03-15 + 2 + + + 0.352 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-03-15 + 2 + + + 12.446 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-03-15 + 2 + + + 8.339 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-01-01 + 2 + + + 5.243 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-01-01 + 2 + + + 2.918 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-01-01 + 2 + + + 0.351 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-01-01 + 2 + + + 15.192 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-01-01 + 2 + + + 6.576 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-10-16 + 2 + + + 7.263 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-10-16 + 2 + + + 2.27 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-10-16 + 2 + + + 0.387 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-10-16 + 2 + + + 12.698 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-10-16 + 2 + + + 5.468 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-05-02 + 2 + + + 6.465 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-05-02 + 2 + + + 1.973 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-05-02 + 2 + + + 0.395 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-05-02 + 2 + + + 13.412 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-05-02 + 2 + + + 5.583 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-03-23 + 2 + + + 2.598 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-03-23 + 2 + + + 3.74 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-03-23 + 2 + + + 0.208 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-03-23 + 2 + + + 12.775 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-03-23 + 2 + + + 8.283 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-07-07 + 2 + + + 6.833 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-07-07 + 2 + + + 2.423 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-07-07 + 2 + + + 0.293 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-07-07 + 2 + + + 12.947 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-07-07 + 2 + + + 10.522 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-09-16 + 2 + + + 2.063 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-09-16 + 2 + + + 2.641 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-09-16 + 2 + + + 0.282 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-09-16 + 2 + + + 13.088 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-09-16 + 2 + + + 5.223 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-05-15 + 2 + + + 4.424 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-05-15 + 2 + + + 2.799 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-05-15 + 2 + + + 0.284 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-05-15 + 2 + + + 15.413 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-05-15 + 2 + + + 9.692 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-03-09 + 2 + + + 4.377 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-03-09 + 2 + + + 3.599 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-03-09 + 2 + + + 0.232 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-03-09 + 2 + + + 15.598 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-03-09 + 2 + + + 4.731 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-06-30 + 2 + + + 6.945 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-06-30 + 2 + + + 1.249 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-06-30 + 2 + + + 0.383 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-06-30 + 2 + + + 13.887 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-06-30 + 2 + + + 7.08 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-10-18 + 2 + + + 2.355 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-10-18 + 2 + + + 1.47 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-10-18 + 2 + + + 0.398 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-10-18 + 2 + + + 12.795 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-10-18 + 2 + + + 10.343 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-12-19 + 2 + + + 2.963 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-12-19 + 2 + + + 1.756 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-12-19 + 2 + + + 0.283 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-12-19 + 2 + + + 14.576 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-12-19 + 2 + + + 7.593 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-12-30 + 3 + + + 6.117 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-12-30 + 3 + + + 1.269 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-12-30 + 3 + + + 0.271 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-12-30 + 3 + + + 13.583 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-12-30 + 3 + + + 6.23 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-02-07 + 3 + + + 7.793 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-02-07 + 3 + + + 0.888 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-02-07 + 3 + + + 0.202 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-02-07 + 3 + + + 13.588 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-02-07 + 3 + + + 8.188 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-12-01 + 3 + + + 4.009 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-12-01 + 3 + + + 3.488 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-12-01 + 3 + + + 0.432 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-12-01 + 3 + + + 14.409 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-12-01 + 3 + + + 7.512 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-02-13 + 3 + + + 3.11 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-02-13 + 3 + + + 2.338 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-02-13 + 3 + + + 0.381 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-02-13 + 3 + + + 12.883 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-02-13 + 3 + + + 8.191 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-06-05 + 3 + + + 7.389 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-06-05 + 3 + + + 1.713 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-06-05 + 3 + + + 0.414 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-06-05 + 3 + + + 12.262 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-06-05 + 3 + + + 6.566 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-08-08 + 3 + + + 5.452 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-08-08 + 3 + + + 1.202 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-08-08 + 3 + + + 0.273 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-08-08 + 3 + + + 15.032 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-08-08 + 3 + + + 5.716 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-10-06 + 3 + + + 6.454 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-10-06 + 3 + + + 1.692 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-10-06 + 3 + + + 0.278 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-10-06 + 3 + + + 14.286 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-10-06 + 3 + + + 4.347 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-09-28 + 3 + + + 2.062 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-09-28 + 3 + + + 3.188 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-09-28 + 3 + + + 0.393 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-09-28 + 3 + + + 15.002 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-09-28 + 3 + + + 7.761 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-01-02 + 3 + + + 2.045 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-01-02 + 3 + + + 2.303 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-01-02 + 3 + + + 0.393 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-01-02 + 3 + + + 15.839 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-01-02 + 3 + + + 10.667 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-03-19 + 3 + + + 6.953 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-03-19 + 3 + + + 1.779 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-03-19 + 3 + + + 0.238 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-03-19 + 3 + + + 14.841 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-03-19 + 3 + + + 5.244 + Leukocytes + 26464-8 + 3.8 + 10.8 + 10*3/uL + 2112-09-30 + 3 + + + 5.118 + Neutrophils + 26499-4 + 1.5 + 7.8 + 10*3/uL + 2112-09-30 + 3 + + + 2.874 + Lymphocytes + 26474-7 + 0.85 + 3.9 + 10*3/uL + 2112-09-30 + 3 + + + 0.259 + Platelets + 26515-7 + 0.172 + 0.45 + 10*3/uL + 2112-09-30 + 3 + + + 12.2 + Hemoglobin + 718-7 + 12 + 16 + g/dl + 2112-09-30 + 3 + + + 14.482 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-07-03 + 1 + + + 3.82 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-07-03 + 1 + + + 0.719 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-07-03 + 1 + + + 0.29 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-07-03 + 1 + + + 3.846 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-07-03 + 1 + + + 1.261 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-07-03 + 1 + + + 82.453 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-07-03 + 1 + + + 5.02 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-07-03 + 1 + + + 139.688 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-07-03 + 1 + + + 23.833 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-09-04 + 1 + + + 5.787 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-09-04 + 1 + + + 0.413 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-09-04 + 1 + + + 0.186 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-09-04 + 1 + + + 5.157 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-09-04 + 1 + + + 0.563 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-09-04 + 1 + + + 97.454 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-09-04 + 1 + + + 3.563 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-09-04 + 1 + + + 142.147 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-09-04 + 1 + + + 24.25 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-08-06 + 1 + + + 24.016 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-08-06 + 1 + + + 0.391 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-08-06 + 1 + + + 0.127 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-08-06 + 1 + + + 3.901 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-08-06 + 1 + + + 0.821 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-08-06 + 1 + + + 65.808 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-08-06 + 1 + + + 3.791 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-08-06 + 1 + + + 135.296 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-08-06 + 1 + + + 16.44 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-01-15 + 1 + + + 11.564 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-01-15 + 1 + + + 0.855 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-01-15 + 1 + + + 0.131 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-01-15 + 1 + + + 4.963 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-01-15 + 1 + + + 1.22 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-01-15 + 1 + + + 67.787 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-01-15 + 1 + + + 3.867 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-01-15 + 1 + + + 142.928 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-01-15 + 1 + + + 10.641 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-08-30 + 1 + + + 11.033 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-08-30 + 1 + + + 0.517 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-08-30 + 1 + + + 0.106 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-08-30 + 1 + + + 4.397 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-08-30 + 1 + + + 0.492 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-08-30 + 1 + + + 70.897 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-08-30 + 1 + + + 3.555 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-08-30 + 1 + + + 135.56 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-08-30 + 1 + + + 16.946 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-12-01 + 1 + + + 15.545 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-12-01 + 1 + + + 0.402 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-12-01 + 1 + + + 0.158 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-12-01 + 1 + + + 4.954 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-12-01 + 1 + + + 0.677 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-12-01 + 1 + + + 93.361 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-12-01 + 1 + + + 5.145 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-12-01 + 1 + + + 144.231 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-12-01 + 1 + + + 23.058 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-03-06 + 1 + + + 1.288 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-03-06 + 1 + + + 0.303 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-03-06 + 1 + + + 0.121 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-03-06 + 1 + + + 4.341 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-03-06 + 1 + + + 0.55 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-03-06 + 1 + + + 85.204 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-03-06 + 1 + + + 5.296 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-03-06 + 1 + + + 144.057 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-03-06 + 1 + + + 2.402 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-03-14 + 1 + + + 13.343 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-03-14 + 1 + + + 0.559 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-03-14 + 1 + + + 0.236 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-03-14 + 1 + + + 4.372 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-03-14 + 1 + + + 0.931 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-03-14 + 1 + + + 77.711 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-03-14 + 1 + + + 3.849 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-03-14 + 1 + + + 136.139 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-03-14 + 1 + + + 12.129 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-11-07 + 1 + + + 19.696 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-11-07 + 1 + + + 0.375 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-11-07 + 1 + + + 0.282 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-11-07 + 1 + + + 4.981 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-11-07 + 1 + + + 0.813 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-11-07 + 1 + + + 97.277 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-11-07 + 1 + + + 3.728 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-11-07 + 1 + + + 136.305 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-11-07 + 1 + + + 24.256 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-10-31 + 1 + + + 4.707 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-10-31 + 1 + + + 0.608 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-10-31 + 1 + + + 0.243 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-10-31 + 1 + + + 3.81 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-10-31 + 1 + + + 1.471 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-10-31 + 1 + + + 73.754 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-10-31 + 1 + + + 3.795 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-10-31 + 1 + + + 139.159 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-10-31 + 1 + + + 2.138 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-02-12 + 1 + + + 22.466 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-02-12 + 1 + + + 0.63 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-02-12 + 1 + + + 0.222 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-02-12 + 1 + + + 3.982 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-02-12 + 1 + + + 1.065 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-02-12 + 1 + + + 77.254 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-02-12 + 1 + + + 4.018 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-02-12 + 1 + + + 144.998 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-02-12 + 1 + + + 21.706 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-01-06 + 1 + + + 24.121 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-01-06 + 1 + + + 0.933 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-01-06 + 1 + + + 0.22 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-01-06 + 1 + + + 4.674 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-01-06 + 1 + + + 1.341 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-01-06 + 1 + + + 68.328 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-01-06 + 1 + + + 3.618 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-01-06 + 1 + + + 141.949 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-01-06 + 1 + + + 4.64 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-06-29 + 1 + + + 0.993 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-06-29 + 1 + + + 0.746 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-06-29 + 1 + + + 0.126 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-06-29 + 1 + + + 4.65 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-06-29 + 1 + + + 1.293 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-06-29 + 1 + + + 69.271 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-06-29 + 1 + + + 3.748 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-06-29 + 1 + + + 144.886 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-06-29 + 1 + + + 20.273 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-01-27 + 1 + + + 6.961 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-01-27 + 1 + + + 0.524 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-01-27 + 1 + + + 0.146 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-01-27 + 1 + + + 4.37 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-01-27 + 1 + + + 0.688 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-01-27 + 1 + + + 87.635 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-01-27 + 1 + + + 4.536 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-01-27 + 1 + + + 140.017 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-01-27 + 1 + + + 23.594 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-04-06 + 1 + + + 24.688 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-04-06 + 1 + + + 0.827 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-04-06 + 1 + + + 0.274 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-04-06 + 1 + + + 4.947 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-04-06 + 1 + + + 0.968 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-04-06 + 1 + + + 93.587 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-04-06 + 1 + + + 3.998 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-04-06 + 1 + + + 137.876 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-04-06 + 1 + + + 16.124 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-11-04 + 2 + + + 13.976 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-11-04 + 2 + + + 0.909 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-11-04 + 2 + + + 0.297 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-11-04 + 2 + + + 4.546 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-11-04 + 2 + + + 0.631 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-11-04 + 2 + + + 74.662 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-11-04 + 2 + + + 4.533 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-11-04 + 2 + + + 137.652 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-11-04 + 2 + + + 18.599 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-05-17 + 2 + + + 20.439 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-05-17 + 2 + + + 0.742 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-05-17 + 2 + + + 0.244 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-05-17 + 2 + + + 3.619 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-05-17 + 2 + + + 1.305 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-05-17 + 2 + + + 85.237 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-05-17 + 2 + + + 4.866 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-05-17 + 2 + + + 141.494 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-05-17 + 2 + + + 2.847 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-07-08 + 2 + + + 17.728 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-07-08 + 2 + + + 0.926 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-07-08 + 2 + + + 0.1 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-07-08 + 2 + + + 4.676 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-07-08 + 2 + + + 0.634 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-07-08 + 2 + + + 83.294 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-07-08 + 2 + + + 3.895 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-07-08 + 2 + + + 135.077 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-07-08 + 2 + + + 14.485 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-08-16 + 2 + + + 9.04 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-08-16 + 2 + + + 0.352 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-08-16 + 2 + + + 0.138 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-08-16 + 2 + + + 4.271 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-08-16 + 2 + + + 0.871 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-08-16 + 2 + + + 73.61 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-08-16 + 2 + + + 4.909 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-08-16 + 2 + + + 136.939 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-08-16 + 2 + + + 24.341 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-08-13 + 2 + + + 14.883 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-08-13 + 2 + + + 0.565 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-08-13 + 2 + + + 0.275 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-08-13 + 2 + + + 5.339 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-08-13 + 2 + + + 1.039 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-08-13 + 2 + + + 98.911 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-08-13 + 2 + + + 4.571 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-08-13 + 2 + + + 135.283 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-08-13 + 2 + + + 13.705 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-02-08 + 2 + + + 16.648 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-02-08 + 2 + + + 0.737 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-02-08 + 2 + + + 0.214 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-02-08 + 2 + + + 4.013 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-02-08 + 2 + + + 0.559 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-02-08 + 2 + + + 77.482 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-02-08 + 2 + + + 3.786 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-02-08 + 2 + + + 145.193 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-02-08 + 2 + + + 16.399 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-09-06 + 2 + + + 6.534 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-09-06 + 2 + + + 0.943 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-09-06 + 2 + + + 0.155 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-09-06 + 2 + + + 3.8 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-09-06 + 2 + + + 1.301 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-09-06 + 2 + + + 87.79 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-09-06 + 2 + + + 3.592 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-09-06 + 2 + + + 144.071 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-09-06 + 2 + + + 24.298 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-11-16 + 2 + + + 21.955 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-11-16 + 2 + + + 0.774 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-11-16 + 2 + + + 0.122 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-11-16 + 2 + + + 4.107 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-11-16 + 2 + + + 1.456 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-11-16 + 2 + + + 73.493 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-11-16 + 2 + + + 4.592 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-11-16 + 2 + + + 135.664 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-11-16 + 2 + + + 17.089 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-03-14 + 2 + + + 11.435 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-03-14 + 2 + + + 0.728 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-03-14 + 2 + + + 0.208 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-03-14 + 2 + + + 3.659 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-03-14 + 2 + + + 0.497 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-03-14 + 2 + + + 95.917 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-03-14 + 2 + + + 3.844 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-03-14 + 2 + + + 144.83 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-03-14 + 2 + + + 24.604 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-03-24 + 2 + + + 8.35 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-03-24 + 2 + + + 0.884 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-03-24 + 2 + + + 0.117 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-03-24 + 2 + + + 4.094 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-03-24 + 2 + + + 0.935 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-03-24 + 2 + + + 82.575 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-03-24 + 2 + + + 3.621 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-03-24 + 2 + + + 135.279 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-03-24 + 2 + + + 5.455 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-08-01 + 2 + + + 1.184 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-08-01 + 2 + + + 0.562 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-08-01 + 2 + + + 0.102 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-08-01 + 2 + + + 5.439 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-08-01 + 2 + + + 0.572 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-08-01 + 2 + + + 75.146 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-08-01 + 2 + + + 4.977 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-08-01 + 2 + + + 139.517 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-08-01 + 2 + + + 3.459 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-10-05 + 2 + + + 3.749 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-10-05 + 2 + + + 0.379 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-10-05 + 2 + + + 0.239 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-10-05 + 2 + + + 3.585 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-10-05 + 2 + + + 1.353 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-10-05 + 2 + + + 93.729 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-10-05 + 2 + + + 4.334 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-10-05 + 2 + + + 138.921 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-10-05 + 2 + + + 1.797 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-06-28 + 2 + + + 22.607 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-06-28 + 2 + + + 0.93 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-06-28 + 2 + + + 0.218 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-06-28 + 2 + + + 4.961 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-06-28 + 2 + + + 0.728 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-06-28 + 2 + + + 65.119 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-06-28 + 2 + + + 3.617 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-06-28 + 2 + + + 143.494 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-06-28 + 2 + + + 1.73 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-05-01 + 2 + + + 20.578 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-05-01 + 2 + + + 0.449 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-05-01 + 2 + + + 0.243 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-05-01 + 2 + + + 5.123 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-05-01 + 2 + + + 0.9 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-05-01 + 2 + + + 66.073 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-05-01 + 2 + + + 5.144 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-05-01 + 2 + + + 136.413 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-05-01 + 2 + + + 17.332 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-11-21 + 2 + + + 22.11 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-11-21 + 2 + + + 0.684 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-11-21 + 2 + + + 0.165 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-11-21 + 2 + + + 3.626 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-11-21 + 2 + + + 0.68 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-11-21 + 2 + + + 73.834 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-11-21 + 2 + + + 4.694 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-11-21 + 2 + + + 145.569 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-11-21 + 2 + + + 10.12 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-02-26 + 2 + + + 20.187 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-02-26 + 2 + + + 0.643 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-02-26 + 2 + + + 0.287 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-02-26 + 2 + + + 5.239 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-02-26 + 2 + + + 1.126 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-02-26 + 2 + + + 93.519 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-02-26 + 2 + + + 3.596 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-02-26 + 2 + + + 136.313 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-02-26 + 2 + + + 6.176 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-01-31 + 2 + + + 6.896 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-01-31 + 2 + + + 0.443 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-01-31 + 2 + + + 0.133 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-01-31 + 2 + + + 5.458 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-01-31 + 2 + + + 0.835 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-01-31 + 2 + + + 77.585 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-01-31 + 2 + + + 5.062 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-01-31 + 2 + + + 142.457 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-01-31 + 2 + + + 16.902 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-07-19 + 2 + + + 13.832 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-07-19 + 2 + + + 0.585 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-07-19 + 2 + + + 0.18 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-07-19 + 2 + + + 5.052 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-07-19 + 2 + + + 0.492 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-07-19 + 2 + + + 84.239 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-07-19 + 2 + + + 5.19 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-07-19 + 2 + + + 135.473 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-07-19 + 2 + + + 0.894 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-07-21 + 3 + + + 13.876 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-07-21 + 3 + + + 0.791 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-07-21 + 3 + + + 0.161 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-07-21 + 3 + + + 3.616 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-07-21 + 3 + + + 0.857 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-07-21 + 3 + + + 92.666 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-07-21 + 3 + + + 4.328 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-07-21 + 3 + + + 140.37 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-07-21 + 3 + + + 7.139 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-03-11 + 3 + + + 17.376 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-03-11 + 3 + + + 0.703 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-03-11 + 3 + + + 0.287 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-03-11 + 3 + + + 5.149 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-03-11 + 3 + + + 0.523 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-03-11 + 3 + + + 79.617 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-03-11 + 3 + + + 4.804 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-03-11 + 3 + + + 143.424 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-03-11 + 3 + + + 23.519 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-10-27 + 3 + + + 12.84 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-10-27 + 3 + + + 0.715 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-10-27 + 3 + + + 0.109 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-10-27 + 3 + + + 4.423 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-10-27 + 3 + + + 0.41 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-10-27 + 3 + + + 96.421 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-10-27 + 3 + + + 3.672 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-10-27 + 3 + + + 139.474 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-10-27 + 3 + + + 9.285 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-11-30 + 3 + + + 18.735 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-11-30 + 3 + + + 0.434 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-11-30 + 3 + + + 0.158 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-11-30 + 3 + + + 4.674 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-11-30 + 3 + + + 1.311 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-11-30 + 3 + + + 67.576 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-11-30 + 3 + + + 4.016 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-11-30 + 3 + + + 136.978 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-11-30 + 3 + + + 13.816 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-05-03 + 3 + + + 23.535 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-05-03 + 3 + + + 0.995 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-05-03 + 3 + + + 0.234 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-05-03 + 3 + + + 3.516 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-05-03 + 3 + + + 0.65 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-05-03 + 3 + + + 73.758 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-05-03 + 3 + + + 4.552 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-05-03 + 3 + + + 141.147 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-05-03 + 3 + + + 17.013 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-05-31 + 3 + + + 17.006 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-05-31 + 3 + + + 0.568 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-05-31 + 3 + + + 0.14 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-05-31 + 3 + + + 4.871 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-05-31 + 3 + + + 1.072 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-05-31 + 3 + + + 67.853 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-05-31 + 3 + + + 3.929 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-05-31 + 3 + + + 144.13 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-05-31 + 3 + + + 5.021 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-01-12 + 3 + + + 17.39 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-01-12 + 3 + + + 0.563 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-01-12 + 3 + + + 0.137 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-01-12 + 3 + + + 4.586 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-01-12 + 3 + + + 1.231 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-01-12 + 3 + + + 95.678 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-01-12 + 3 + + + 4.875 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-01-12 + 3 + + + 135.872 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-01-12 + 3 + + + 12.718 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-06-16 + 3 + + + 11.514 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-06-16 + 3 + + + 0.415 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-06-16 + 3 + + + 0.164 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-06-16 + 3 + + + 4.887 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-06-16 + 3 + + + 0.488 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-06-16 + 3 + + + 88.291 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-06-16 + 3 + + + 3.958 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-06-16 + 3 + + + 136.81 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-06-16 + 3 + + + 5.863 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-12-23 + 3 + + + 17.873 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-12-23 + 3 + + + 0.738 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-12-23 + 3 + + + 0.2 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-12-23 + 3 + + + 4.435 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-12-23 + 3 + + + 0.489 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-12-23 + 3 + + + 86.017 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-12-23 + 3 + + + 4.407 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-12-23 + 3 + + + 145.612 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-12-23 + 3 + + + 14.935 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-05-22 + 3 + + + 24.813 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-05-22 + 3 + + + 0.824 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-05-22 + 3 + + + 0.261 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-05-22 + 3 + + + 3.747 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-05-22 + 3 + + + 0.57 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-05-22 + 3 + + + 79.608 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-05-22 + 3 + + + 4.55 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-05-22 + 3 + + + 137.839 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-05-22 + 3 + + + 23.087 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-01-07 + 3 + + + 18.161 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-01-07 + 3 + + + 0.455 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-01-07 + 3 + + + 0.106 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-01-07 + 3 + + + 3.808 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-01-07 + 3 + + + 1.46 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-01-07 + 3 + + + 66.035 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-01-07 + 3 + + + 3.505 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-01-07 + 3 + + + 135.902 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-01-07 + 3 + + + 7.155 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-05-01 + 3 + + + 22.675 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-05-01 + 3 + + + 0.528 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-05-01 + 3 + + + 0.109 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-05-01 + 3 + + + 5.062 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-05-01 + 3 + + + 0.601 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-05-01 + 3 + + + 98.816 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-05-01 + 3 + + + 5.276 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-05-01 + 3 + + + 142.714 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-05-01 + 3 + + + 13.34 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-02-07 + 3 + + + 6.955 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-02-07 + 3 + + + 0.707 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-02-07 + 3 + + + 0.239 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-02-07 + 3 + + + 3.74 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-02-07 + 3 + + + 1.071 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-02-07 + 3 + + + 92.286 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-02-07 + 3 + + + 3.659 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-02-07 + 3 + + + 144.58 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-02-07 + 3 + + + 15.151 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-04-07 + 3 + + + 16.713 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-04-07 + 3 + + + 0.553 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-04-07 + 3 + + + 0.11 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-04-07 + 3 + + + 5.17 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-04-07 + 3 + + + 1.247 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-04-07 + 3 + + + 77.895 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-04-07 + 3 + + + 3.768 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-04-07 + 3 + + + 141.935 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-04-07 + 3 + + + 17.214 + Alanine aminotransferase + 1742-6 + 0 + 25 + U/L + 2112-02-04 + 3 + + + 15.943 + Aspartate aminotransferase + 1920-8 + 0 + 25 + U/L + 2112-02-04 + 3 + + + 0.907 + Bilirubin + 1975-2 + 0.3 + 1 + mg/dl + 2112-02-04 + 3 + + + 0.118 + Bilirubin.glucuronidated+Bilirubin.albumin bound + 1968-7 + 0.1 + 0.3 + mg/dl + 2112-02-04 + 3 + + + 3.766 + Albumin + 1751-7 + 3.5 + 5.5 + g/dl + 2112-02-04 + 3 + + + 0.672 + Creatinine + 2160-0 + 0.4 + 1.5 + mg/dl + 2112-02-04 + 3 + + + 70.927 + Glucose + 2339-0 + 65 + 99 + mg/dL + 2112-02-04 + 3 + + + 4.364 + Potassium + 6298-4 + 3.5 + 5.3 + mmol/L + 2112-02-04 + 3 + + + 142.667 + Sodium + 2947-0 + 135 + 146 + mmol/L + 2112-02-04 + 3 + + From ff862e53870f775d52c6f084ea1d2c7d7a91ef91 Mon Sep 17 00:00:00 2001 From: Philip Chase Date: Tue, 16 Sep 2014 23:18:41 -0400 Subject: [PATCH 29/58] Add discussion of synthetic-lab-data.* and enrollment_test_data.csv in config-example/README-example-files.md --- config-example/README-example-files.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/config-example/README-example-files.md b/config-example/README-example-files.md index 1bcd16e..205afc4 100644 --- a/config-example/README-example-files.md +++ b/config-example/README-example-files.md @@ -1,11 +1,11 @@ # Example Configuration Files -The configuration file examples provided here will allow you to test RED-I to push data into a sample REDCap project. To use these files you will need access to a running REDCap server with the appropriate example project, and an API Token for that project that allows you to write to the project. +The configuration file examples provided here will allow you to test RED-I to push data into a sample REDCap project. To use these files you will need access to a running REDCap server with the appropriate example project, and an API Token for that project that allows you to write to the project. ## Getting REDCap -Research Electronic Data Capture (REDCap) is a software package written and distributed by Vanderbilt University. If you do not already have a access to a REDCap system see http://project-redcap.org/ for details on how to become a consortium partner. +Research Electronic Data Capture (REDCap) is a software package written and distributed by Vanderbilt University. If you do not already have a access to a REDCap system see http://project-redcap.org/ for details on how to become a consortium partner. Your institution may already provide you with access to REDCap. If so you can use that access to create a test project. With that, some assistance from your technical staff, and a few edits of the example files, you can test REDI. @@ -14,7 +14,7 @@ REDI also includes the ability to create a REDCap server inside a virtual machin ## Getting the Right REDCap Project to use these files -This example configuration is based on the one of the default REDCap example projects. This project is identified as "Longitudinal Database (1 arm)" in the REDCap template library. In fresh REDCap installations like you will find in the test virtual machine, the project named "Example Database (Longitudinal)" has already been created for you using this template. +This example configuration is based on the one of the default REDCap example projects. This project is identified as "Longitudinal Database (1 arm)" in the REDCap template library. In fresh REDCap installations like you will find in the test virtual machine, the project named "Example Database (Longitudinal)" has already been created for you using this template. ## File Descriptions: @@ -42,3 +42,14 @@ This file is used for formatting the final REDI run report, which is sent to the This file maps your project specific component id's to standard LOINC codes. For every new form added to formEvents.xml make sure that component id's of fields in that form are mapped to standard LOINC codes in this file. +### synthetic-lab-data.csv: + +synthetic-lab-data.csv is a sample RED-I input data file. It is entirely synthetic data created with the R script, makefakedata. + +### synthetic-lab-data.xml: + +synthetic-lab-data.xml is a sample RED-I input data file. It is made by processing synthetic-lab-data.csv through some sed filters and csv2xml.py + +### enrollment_test_data.csv + +enrollment_test_data.csv is a file of enrollment data that must be loaded into the sample REDCap project before RED-I can load data into the project. From a2f6a3df9e60123f7b6fee5bded8e8376dcf4bb7 Mon Sep 17 00:00:00 2001 From: Philip Chase Date: Tue, 16 Sep 2014 23:24:20 -0400 Subject: [PATCH 30/58] Add synthetic_data tool, makefakedata.R --- scripts/synthetic_data/README.md | 68 +++++++ scripts/synthetic_data/cbc_input.csv | 6 + scripts/synthetic_data/chemistry_input.csv | 10 ++ scripts/synthetic_data/makefakedata.R | 168 ++++++++++++++++++ scripts/synthetic_data/run_tests.R | 5 + .../synthetic_data/tests/test_makeapanel.R | 29 +++ .../tests/test_makeasetofpanels.R | 19 ++ .../tests/test_makeasetofsubjects.R | 21 +++ 8 files changed, 326 insertions(+) create mode 100644 scripts/synthetic_data/README.md create mode 100644 scripts/synthetic_data/cbc_input.csv create mode 100644 scripts/synthetic_data/chemistry_input.csv create mode 100644 scripts/synthetic_data/makefakedata.R create mode 100644 scripts/synthetic_data/run_tests.R create mode 100644 scripts/synthetic_data/tests/test_makeapanel.R create mode 100644 scripts/synthetic_data/tests/test_makeasetofpanels.R create mode 100644 scripts/synthetic_data/tests/test_makeasetofsubjects.R diff --git a/scripts/synthetic_data/README.md b/scripts/synthetic_data/README.md new file mode 100644 index 0000000..6e21ac0 --- /dev/null +++ b/scripts/synthetic_data/README.md @@ -0,0 +1,68 @@ +# Synthetic Data Tools + +makefakedata.R is a tool to create synthetic clinical lab data from simple template files. These files can be used to create sample input data to be processed by RED-I and loaded into a REDCap system. + +Using a file that defines the components of a test panel, normal ranges for their values and typical units, makefakedata can create a file of lab results for that panel with multiple instances of that panel for multiple study subjects, over a range of dates. The number of panels, research subjects, date ranges, input and output file names can all be controlled with parameters of makefakedata. + +makefakedata is designed to create sample datasets that are free of identifiers and any clinical history. With no claim to ownership, no research value, and no history of private data, these files can be published as test datasets with any software project. + +Test data sets can be tailored to the needs of the individual software project via panel templates and input parameters. + +# Example + +In this example, 3 subjects are created in both the CBC and Chemistry output files. For each subject, 7-20 panels of each test will be created. + + chem <- makefakedata("chemistry_input.csv", "output-chem.csv", min_panel=7, max_panel=20, subject_count=3) + cbc <- makefakedata("cbc_input.csv", "output-cbc.csv", min_panel=7, max_panel=20, subject_count=3) + +# Panel Templates + +A template file is a CSV file containing a header row of column labels and one lab component per row. Typical columns for the panel template are + +* loinc_component - a name that describe a lab component +* loinc_code - the code for that lab component +* low - a normal low value for that component (required) +* high - a normal high value for that component (required) +* units - typical units for the component, compatible with low and high +* panel - a lab panel on which these tests are likely to appear +* loinc_long_common_name - a more descriptive name from LOINC + +The columns _low_ and _high_ define a range from which the result value will random chosen. All other columns are strictly optional, but recommended. The input values _loinc_component, loinc_code, low, high, and units_ in the input will appear in the output file without alteration. + +A typical panel template looks like this: + + loinc_component,loinc_code,low,high,units,panel,loinc_long_common_name + Leukocytes,26464-8,3.8,10.8,10*3/uL,cbc,Leukocytes [#/volume] in Blood + Neutrophils,26499-4,1.5,7.8,10*3/uL,cbc,Neutrophils [#/volume] in Blood + Lymphocytes,26474-7,0.85,3.9,10*3/uL,cbc,Lymphocytes [#/volume] in Blood + Platelets,26515-7,0.172,0.45,10*3/uL,cbc,Platelets [#/volume] in Blood + Hemoglobin,718-7,12,16,g/dl,cbc,Hemoglobin [Mass/volume] in Blood + +Here two CBC panels for one subject generated by makefakedata using the above panel template as an input. + + "result","loinc_component","loinc_code","low","high","units","date_time_stamp","study_id" + 3.813,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-10-27,1 + 3.433,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-10-27,1 + 1.978,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-10-27,1 + 0.378,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-10-27,1 + 13.617,"Hemoglobin","718-7",12,16,"g/dl",2112-10-27,1 + 5.599,"Leukocytes","26464-8",3.8,10.8,"10*3/uL",2112-01-12,1 + 3.246,"Neutrophils","26499-4",1.5,7.8,"10*3/uL",2112-01-12,1 + 2.916,"Lymphocytes","26474-7",0.85,3.9,"10*3/uL",2112-01-12,1 + 0.181,"Platelets","26515-7",0.172,0.45,"10*3/uL",2112-01-12,1 + 12.78,"Hemoglobin","718-7",12,16,"g/dl",2112-01-12,1 + +# Usage + + data <- makefakedata( + input, + output, + min_panel=, + max_panel=, + incomplete_panels=, + start_date=<"Earliest date for a lab panel in YYYY-MM-DD format">, + end_date=<"Latest date for a lab panel in YYYY-MM-DD format">, + subject_count=) + + + diff --git a/scripts/synthetic_data/cbc_input.csv b/scripts/synthetic_data/cbc_input.csv new file mode 100644 index 0000000..2eb2e41 --- /dev/null +++ b/scripts/synthetic_data/cbc_input.csv @@ -0,0 +1,6 @@ +loinc_component,loinc_code,low,high,units,panel,loinc_long_common_name +Leukocytes,26464-8,3.8,10.8,10*3/uL,cbc,Leukocytes [#/volume] in Blood +Neutrophils,26499-4,1.5,7.8,10*3/uL,cbc,Neutrophils [#/volume] in Blood +Lymphocytes,26474-7,0.85,3.9,10*3/uL,cbc,Lymphocytes [#/volume] in Blood +Platelets,26515-7,0.172,0.45,10*3/uL,cbc,Platelets [#/volume] in Blood +Hemoglobin,718-7,12,16,g/dl,cbc,Hemoglobin [Mass/volume] in Blood \ No newline at end of file diff --git a/scripts/synthetic_data/chemistry_input.csv b/scripts/synthetic_data/chemistry_input.csv new file mode 100644 index 0000000..136f699 --- /dev/null +++ b/scripts/synthetic_data/chemistry_input.csv @@ -0,0 +1,10 @@ +loinc_component,loinc_code,low,high,units,redcap_form_name,loinc_long_common_name +Alanine aminotransferase,1742-6,0,25,U/L,chemistry,Alanine aminotransferase [Enzymatic activity/volume] in Serum or Plasma +Aspartate aminotransferase,1920-8,0,25,U/L,chemistry,Aspartate aminotransferase [Enzymatic activity/volume] in Serum or Plasma +Bilirubin,1975-2,0.3,1,mg/dl,chemistry,Bilirubin.total [Mass/volume] in Serum or Plasma +Bilirubin.glucuronidated+Bilirubin.albumin bound,1968-7,0.1,0.3,mg/dl,chemistry,Bilirubin.direct [Mass/volume] in Serum or Plasma +Albumin,1751-7,3.5,5.5,g/dl,chemistry,Albumin [Mass/volume] in Serum or Plasma +Creatinine,2160-0,0.4,1.5,mg/dl,chemistry,Creatinine [Mass/volume] in Serum or Plasma +Glucose,2339-0,65,99,mg/dL,chemistry,Glucose [Mass/volume] in Blood +Potassium,6298-4,3.5,5.3,mmol/L,chemistry,Potassium [Moles/volume] in Blood +Sodium,2947-0,135,146,mmol/L,chemistry,Sodium [Moles/volume] in Blood \ No newline at end of file diff --git a/scripts/synthetic_data/makefakedata.R b/scripts/synthetic_data/makefakedata.R new file mode 100644 index 0000000..fcf2075 --- /dev/null +++ b/scripts/synthetic_data/makefakedata.R @@ -0,0 +1,168 @@ +makefakedata <- function(input, + output, + min_panel=1, + max_panel=1, + incomplete_panels=FALSE, + start_date="2112-01-01", + end_date="2112-12-31", + subject_count=1) { + # input is a csv file with these columns: + # loinc_component - a name that describe a lab component + # loinc_code - the code for that lab component + # low - a normal low value for that component (required) + # high - a normal high value for that component (required) + # units - typical units for the component, compatible with low and high + # panel - a lab panel on which these tests are likely to appear + # loinc_long_common_name - a more descriptive name from LOINC + + # output is a csv filename to which the fake data will be written + + # min_panel - the minimum number of panels to create for each subject + + # max_panel - the maximum number of panels to create for each subject + + # incomplete_panels - should we create panels with random missing values? + + # start_date - the first date for which labs should be generated + + # end_date - the last date for which labs should be generated + + # subject_count - the number of research subjects for which we should make data + + input_dataframe <- read.csv(input) + minimal_input_dataframe <- input_dataframe[ c("loinc_component","loinc_code","low","high","units") ] + + data <- makeasetofsubjects(minimal_input_dataframe, + min_panel, + max_panel, + incomplete_panels, + start_date, + end_date, + subject_count) + + write.csv(data, file=output, quote=TRUE, row.names=FALSE) + + return(data) +} + +makeasetofsubjects <- function ( + input_df, + min_panel=1, + max_panel=1, + incomplete_panels=FALSE, + start_date, + end_date, + subject_count=1) { + + # input_df - a dataframe from which other functions will make a panel + + # min_panel - the minimum number of panels to create for each subject + + # max_panel - the maximum number of panels to create for each subject + + # incomplete_panels - should we create panels with random missing values? + + # start_date - the first date for which labs should be generated + + # end_date - the last date for which labs should be generated + + # subject_count - the number of research subjects for which we should make data + + data <- data.frame() + + for (subject_id in (1:subject_count)) { + set_of_panels <- makeasetofpanels(input_df, + min_panel, + max_panel, + incomplete_panels, + start_date, + end_date) + study_id <- rep(subject_id, nrow(set_of_panels)) + set_of_panels <- cbind(set_of_panels, study_id) + data <- rbind(data, set_of_panels) + } + + return(data) + +} + +makeasetofpanels <- function ( + input_df, + min_panel, + max_panel, + incomplete_panels, + start_date, + end_date) { + + # input_df - a dataframe from which other functions will make a panel + + # min_panel - the minimum number of panels to create for each subject + + # max_panel - the maximum number of panels to create for each subject + + # incomplete_panels - should we create panels with random missing values? + + # start_date - the first date for which labs should be generated + + # end_date - the last date for which labs should be generated + + # Make an empty data frame to store the panels for one subject + set_of_panels <- data.frame() + + # determine how many panels to make for this study subject + panels <- if (min_panel == max_panel) 5 else sample(min_panel:max_panel, 1) + + # make the panels for one study subject + for (i in (1:panels)) { + panel_df <- makeapanel(input_df, start_date, end_date, incomplete_panels) + set_of_panels <- rbind(set_of_panels, panel_df) + } + + return(set_of_panels) +} + +makeapanel <- function (input_dataframe, + start_date, + end_date, + incomplete_panels=FALSE) { + + # input_dataframe - a dataframe containing at a minimum a numeric named + # "low" and a numeric named "high" + + # incomplete_panels - should we create panels with random missing values? + + # start_date - the first date for which labs should be generated + + # end_date - the last date for which labs should be generated + + # add a result column with a random value within the accpetable range for each test + output <- cbind(result=round(runif(nrow(input_dataframe), + input_dataframe$low, + input_dataframe$high), digits=3), + input_dataframe) + + # add a date column. + # Use a one row data frame to trick rand.date into returning only one date value + x <- data.frame(dummy=1) + output$date_time_stamp=rand.date(start_date, end_date, x) + + # TODO provide a minimum components per panel + if (incomplete_panels == TRUE) { + row_mask <- sample(0:8, nrow(input_df), replace=T) > 1 + output <- subset(output, row_mask) + } + + return (output) + +} + +rand.date=function(start.day,end.day,data){ +# This function will generate a uniform sample of dates from +# within a designated start and end date: +# Copyright StackOverflow user Colin, http://stackoverflow.com/users/2986028/colin + + size=dim(data)[1] + days=seq.Date(as.Date(start.day),as.Date(end.day),by="day") + pick.day=runif(size,1,length(days)) + date=days[pick.day] +} diff --git a/scripts/synthetic_data/run_tests.R b/scripts/synthetic_data/run_tests.R new file mode 100644 index 0000000..c4664ef --- /dev/null +++ b/scripts/synthetic_data/run_tests.R @@ -0,0 +1,5 @@ +library('testthat') + +source('makefakedata.R') + +test_dir('tests', reporter = 'Summary') diff --git a/scripts/synthetic_data/tests/test_makeapanel.R b/scripts/synthetic_data/tests/test_makeapanel.R new file mode 100644 index 0000000..6b4c9b9 --- /dev/null +++ b/scripts/synthetic_data/tests/test_makeapanel.R @@ -0,0 +1,29 @@ + +# test makeapanel with a one-component panel +input_df = data.frame("Leukocytes","26464-8",3.8,10.8,"10*3/uL") +colnames(input_df) = c("loinc_component","loinc_code","low","high","units") + +start.days <- "1901-01-01" +end.days <- "1901-12-31" + +output_df <- makeapanel(input_df, start.days, end.days) + +expect_equal(ncol(output_df) - ncol(input_df), 2) +expect_equal(nrow(output_df), nrow(input_df)) + + +# test makeapanel with a two-component panel +input_df = data.frame("Leukocytes","26464-8",3.8,10.8,"10*3/uL") +colnames(input_df) = c("loinc_component","loinc_code","low","high","units") +input_df <- rbind(input_df, data.frame(loinc_component="Neutrophils", + loinc_code="26499-4", + low=1.5, + high=7.8, + units="10*3/uL")) +start.days <- "1901-01-01" +end.days <- "1901-12-31" + +output_df <- makeapanel(input_df, start.days, end.days) + +expect_equal(ncol(output_df) - ncol(input_df), 2) +expect_equal(nrow(output_df), nrow(input_df)) diff --git a/scripts/synthetic_data/tests/test_makeasetofpanels.R b/scripts/synthetic_data/tests/test_makeasetofpanels.R new file mode 100644 index 0000000..ad66d3e --- /dev/null +++ b/scripts/synthetic_data/tests/test_makeasetofpanels.R @@ -0,0 +1,19 @@ + +# test makeasetofpanels with a two-component panel +input_df = data.frame("Leukocytes","26464-8",3.8,10.8,"10*3/uL") +colnames(input_df) = c("loinc_component","loinc_code","low","high","units") +input_df <- rbind(input_df, data.frame(loinc_component="Neutrophils", + loinc_code="26499-4", + low=1.5, + high=7.8, + units="10*3/uL")) + +output_df <- makeasetofpanels(input_df, + min_panel=5, + max_panel=5, + incomplete_panels = FALSE, + start_date = "1901-01-01", + end_date = "1901-12-31") + +expect_equal(ncol(output_df) - ncol(input_df), 2) +expect_equal(nrow(output_df), 5 * nrow(input_df)) diff --git a/scripts/synthetic_data/tests/test_makeasetofsubjects.R b/scripts/synthetic_data/tests/test_makeasetofsubjects.R new file mode 100644 index 0000000..9ab2013 --- /dev/null +++ b/scripts/synthetic_data/tests/test_makeasetofsubjects.R @@ -0,0 +1,21 @@ + +# test makeasetofpanels with a two-component panel +input_df = data.frame("Leukocytes","26464-8",3.8,10.8,"10*3/uL") +colnames(input_df) = c("loinc_component","loinc_code","low","high","units") +input_df <- rbind(input_df, data.frame(loinc_component="Neutrophils", + loinc_code="26499-4", + low=1.5, + high=7.8, + units="10*3/uL")) + +output_df <- makeasetofsubjects(input_df, + min_panel=5, + max_panel=5, + incomplete_panels = FALSE, + start_date = "1901-01-01", + end_date = "1901-12-31", + subject_count=2) + +expect_equal(ncol(output_df) - ncol(input_df), 3) +expect_equal(nrow(output_df), 10 * nrow(input_df)) +expect_equal(length(unique(output_df$study_id)), 2) From c65a5f5844c87978d251464bf763b9c1e4c27981 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Wed, 17 Sep 2014 09:31:14 -0400 Subject: [PATCH 31/58] Remove reference to unused `emr_log_file` in `test/TestReadConfig.py` --- test/TestReadConfig.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/TestReadConfig.py b/test/TestReadConfig.py index 3b0643a..5624f8e 100644 --- a/test/TestReadConfig.py +++ b/test/TestReadConfig.py @@ -74,8 +74,6 @@ def test_settings(self): emr_sftp_server_password = pswd emr_sftp_project_name = sample emr_data_file = data.csv -emr_log_file = log.log - include_rule_errors_in_report = False verify_ssl = False """) From 9c3e8c6ddb780c0e7942dab81b34b8b6c3d01e18 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Wed, 17 Sep 2014 12:10:07 -0400 Subject: [PATCH 32/58] Added scripts/compare_settings.sh to help find differences Example usage: ./compare_settings.sh ../config/settings.ini ../config-vcu/settings.ini --- scripts/compare_settings.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 scripts/compare_settings.sh diff --git a/scripts/compare_settings.sh b/scripts/compare_settings.sh new file mode 100755 index 0000000..dfad15d --- /dev/null +++ b/scripts/compare_settings.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# This script can be used to find differences in config files + +REF_SETTINGS=reference_settings.ini +NEW_SETTINGS=new_settings.ini + +usage() { + echo "Compares two files but ignore empty lines and lines starting with #" + echo " Usage: $0 " +} + +if [ "$#" != 2 ]; then + usage + exit 0 +fi + +grep -v ^\# $1 | grep -v ^$ | sort > $REF_SETTINGS +grep -v ^\# $2 | grep -v ^$ | sort > $NEW_SETTINGS +colordiff $REF_SETTINGS $NEW_SETTINGS + +rm $REF_SETTINGS $NEW_SETTINGS From f2235921f781357a8cc3729779416405d6e878b9 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Wed, 17 Sep 2014 12:12:22 -0400 Subject: [PATCH 33/58] Log information about rules loading --- .gitignore | 2 ++ bin/redi.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 270c0fa..4b08f4f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ rawDataWithFormStatus.xml !log/.dummy log/ config/ +config-upenn/ +config-vcu/ .project *.swp *.swo diff --git a/bin/redi.py b/bin/redi.py index 96885c3..a7d3fc7 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -1906,6 +1906,7 @@ def run_rules(data): pass """ if not rules: + logger.info("No rules specified in the settings file") return {} loaded_rules = {} @@ -1922,6 +1923,7 @@ def run_rules(data): loaded_rules[rule] = module + logger.info("Loaded %s post-processing rule(s)" % len(loaded_rules)) return loaded_rules From 72a06ce1596b3a1dce4223010c9525e05de90af5 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Wed, 17 Sep 2014 12:44:25 -0400 Subject: [PATCH 34/58] Group settings logically: `config-example/settings.ini` --- config-example/settings.ini | 153 ++++++++++++++++++++++-------------- 1 file changed, 96 insertions(+), 57 deletions(-) diff --git a/config-example/settings.ini b/config-example/settings.ini index ea78a5b..52aea4e 100644 --- a/config-example/settings.ini +++ b/config-example/settings.ini @@ -1,57 +1,62 @@ -# Optional parameter -project_name = Example Database (Longitudinal) - -# The SQLite database file path where we store md5 sums of the input files -# Optional parameter. -batch_info_database = redi.db - -# If the md5 sum of the input file does not change then generate a warning -# after a specific number of days -# Optional parameter -batch_warning_days = 13 - - -# Warning email options. Email of the sender +############################ +# RED-I configuration file # +############################ + +# ------------------------------------------------------------------------------- +# --- section_redcap +# ------------------------------------------------------------------------------- +# The address for communicating with the REDCap server using API calls # Required parameter -redcap_support_sender_email = please-do-not-reply@example.com +redcap_uri = http://localhost:8998/redcap/api/ -# Email of the receiver. -# for multiple addresses, put a space between each address. +# The token generated using REDCap web-interface to allow API calls # Required parameter -redcap_support_receiver_email = jdoe@example.com +token = 121212 + +# This flag allows to disable SSL certificate validation (! not a good idea) +# when communicating with a REDCap server which does not have a certificate +# or the certificate is self-signed +# @see http://pycap.readthedocs.org/en/latest/api.html +verify_ssl = True +# --- /section_redcap +# ------------------------------------------------------------------------------- + +# ------------------------------------------------------------------------------- +# --- section_redi_emails +# ------------------------------------------------------------------------------- # smtp host details # Required parameters smtp_host_for_outbound_mail = smtp.example.org smtp_port_for_outbound_mail = 25 -# Email of the report sender -# Required if send_email is set to Y -sender_email = please-do-not-reply@example.org - # Option to specify whether to send email or not. Specify Y for yes and N for No # Optional parameter send_email = Y +# Email of the report sender +# Required if send_email is set to Y +sender_email = please-do-not-reply@example.org + # Email of the REDI report receiver. # Required if send_email is set to Y receiver_email = me@example.org -# File name of the Translation Table located in the config folder. +# Warning email options. Email of the sender # Required parameter -translation_table_file = translationTable.xml +redcap_support_sender_email = please-do-not-reply@example.com -# File name of the Form Events file located in the config folder. +# Email of the receiver. +# for multiple addresses, put a space between each address. # Required parameter -form_events_file = formEvents.xml +redcap_support_receiver_email = jdoe@example.com -# File name of the raw data xml located in the config folder. +# REDCap Server URI which should be used in reports # Required parameter -raw_xml_file = raw.xml +redcap_server = http://localhost:8998/redcap -# File name of the research id to redcap id mapping xml file located in the config folder -# Required parameter -research_id_to_redcap_id = research_id_to_redcap_id_map.xml +# This is an optional parameter used in the report email only +project = RED-I Sample Project # name of the report file in xml format, which will be stored at this location. # Optional parameter @@ -60,53 +65,87 @@ report_file_path = report.xml # name of the report file in html format, which will be stored at this location. # Optional parameter report_file_path2 = report.html +# --- /section_redi_emails +# ------------------------------------------------------------------------------- + + +# ------------------------------------------------------------------------------- +# --- redi_parsing_settings +# ------------------------------------------------------------------------------- -# Name of your project +# File name of the raw data xml located in the config folder. # Required parameter -project = hcvtarget-uf +raw_xml_file = raw.xml -# REDCap Server URI which should be used in reports +# File name of the Form Events file located in the config folder. # Required parameter -redcap_server = http://localhost:8998/redcap +form_events_file = formEvents.xml -# REDCap Server URI which should be used for connecting to REDCap +# File name of the Translation Table located in the config folder. # Required parameter -redcap_uri = http://localhost:8998/redcap/api/ +translation_table_file = translationTable.xml -# REDCap token to login to REDCap +# File name of the research id to redcap id mapping xml file located in the config folder # Required parameter -token = 121212 +research_id_to_redcap_id = research_id_to_redcap_id_map.xml + +# Required parameter +component_to_loinc_code_xml = clinical-component-to-loinc-code-example.xml + +# Required parameter +replace_fields_in_raw_data_xml = replace_fields_in_raw_data.xml -# Input date format # Optional parameter input_date_format = %Y-%m-%d %H:%M:%S -# Output date format # Optional parameter output_date_format = %Y-%m-%d +# --- /redi_parsing_settings +# ------------------------------------------------------------------------------- -# Rate limiter -# Optional parameter -rate_limiter_value_in_redcap = 600 -# Optional parameter -include_rule_errors_in_report = False +# ------------------------------------------------------------------------------- +# --- section_emrdata +# ------------------------------------------------------------------------------- +# The following parameters are required for getting EMR data +# (i.e. required if -e command line argument is used) +emr_sftp_server_hostname = hostname +emr_sftp_server_username = username +emr_sftp_server_password = password +emr_sftp_project_name = tmp +emr_data_file = output.csv +# --- /section_emrdata +# ------------------------------------------------------------------------------- -# Required parameter -replace_fields_in_raw_data_xml = replace_fields_in_raw_data.xml -# Required parameter -component_to_loinc_code_xml = clinical-component-to-loinc-code-example.xml +# ------------------------------------------------------------------------------- +# --- section_rule_based_processing +# ------------------------------------------------------------------------------- -# following parameters are required for getting EMR data (i.e. required if -e command line argument is used) -emr_sftp_server_hostname = hostname +# This is an optional dictionary which indicates that +# custom code needs to be run to validate the data +rules = {"hcv_rna": "rules/hcv_rna.py"} -emr_sftp_server_username = username +# Set to "True" to include "rules" processing errors +# Optional parameter +include_rule_errors_in_report = False +# --- /section_rule_based_processing +# ------------------------------------------------------------------------------- -emr_sftp_server_password = password -emr_sftp_project_name = tmp +# ------------------------------------------------------------------------------- +# --- section_misc +# ------------------------------------------------------------------------------- +# The SQLite database file path where we store md5 sums of the input files +# Optional parameter. +batch_info_database = redi.db -emr_data_file = output.csv +# If the md5 sum of the input file does not change then generate a warning +# after a specific number of days +# Optional parameter +batch_warning_days = 13 -# end of parameters required for getting EMR data +# Optional parameter - TODO remove +rate_limiter_value_in_redcap = 600 +# --- /section_misc +# ------------------------------------------------------------------------------- From ab3d989d704d171ca5891dea49c53b801e1ff6f9 Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Wed, 17 Sep 2014 09:54:15 -0400 Subject: [PATCH 35/58] Move and rename redi_sample_project.sql --- config-example/vagrant-data/projectDataBootstrap.sql | 1 - .../redi_sample_project_v5.7.4.sql} | 0 2 files changed, 1 deletion(-) delete mode 100644 config-example/vagrant-data/projectDataBootstrap.sql rename config-example/{redi_sample_project.sql => vagrant-data/redi_sample_project_v5.7.4.sql} (100%) diff --git a/config-example/vagrant-data/projectDataBootstrap.sql b/config-example/vagrant-data/projectDataBootstrap.sql deleted file mode 100644 index 486c9a8..0000000 --- a/config-example/vagrant-data/projectDataBootstrap.sql +++ /dev/null @@ -1 +0,0 @@ --- No content yet diff --git a/config-example/redi_sample_project.sql b/config-example/vagrant-data/redi_sample_project_v5.7.4.sql similarity index 100% rename from config-example/redi_sample_project.sql rename to config-example/vagrant-data/redi_sample_project_v5.7.4.sql From ae0c25ef9e7de0681ad73ef4e286f46b88b0824d Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Wed, 17 Sep 2014 10:53:37 -0400 Subject: [PATCH 36/58] Add dates to sample CBC and Chemistry forms --- .../redi_sample_project_v5.7.4.sql | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/config-example/vagrant-data/redi_sample_project_v5.7.4.sql b/config-example/vagrant-data/redi_sample_project_v5.7.4.sql index a053d30..5ea58ce 100644 --- a/config-example/vagrant-data/redi_sample_project_v5.7.4.sql +++ b/config-example/vagrant-data/redi_sample_project_v5.7.4.sql @@ -82,7 +82,7 @@ CREATE TABLE `redcap_config` ( /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_config` DISABLE KEYS */; -INSERT INTO `redcap_config` VALUES ('allow_create_db_default','1'),('amazon_s3_bucket',''),('amazon_s3_key',''),('amazon_s3_secret',''),('api_enabled','1'),('auth_meth_global','none'),('auto_prod_changes','2'),('auto_report_stats','1'),('auto_report_stats_last_sent','2000-01-01'),('autologout_timer','30'),('certify_text_create',''),('certify_text_prod',''),('data_entry_trigger_enabled','1'),('display_nonauth_projects','1'),('display_project_logo_institution','0'),('display_today_now_button','1'),('doc_to_edoc_transfer_complete','1'),('dts_enabled_global','0'),('edoc_field_option_enabled','1'),('edoc_path',''),('edoc_storage_option','0'),('edoc_upload_max',''),('email_domain_whitelist',''),('enable_edit_prod_events','1'),('enable_edit_survey_response','1'),('enable_http_compression','1'),('enable_plotting','2'),('enable_plotting_survey_results','1'),('enable_projecttype_forms','1'),('enable_projecttype_singlesurvey','1'),('enable_projecttype_singlesurveyforms','1'),('enable_url_shortener','1'),('enable_user_whitelist','0'),('file_attachment_upload_max',''),('file_repository_enabled','1'),('file_repository_upload_max',''),('footer_links',''),('footer_text',''),('google_translate_enabled','0'),('googlemap_key',''),('grant_cite',''),('headerlogo',''),('helpfaq_custom_text',''),('homepage_contact',''),('homepage_contact_email',''),('homepage_custom_text',''),('homepage_grant_cite',''),('identifier_keywords','name, street, address, city, county, precinct, zip, postal, date, phone, fax, mail, ssn, social security, mrn, dob, dod, medical, record, id, age'),('institution',''),('language_global','English'),('login_autocomplete_disable','0'),('login_custom_text',''),('login_logo',''),('logout_fail_limit','5'),('logout_fail_window','15'),('my_profile_enable_edit','1'),('openid_provider_name',''),('openid_provider_url',''),('page_hit_threshold_per_minute','600'),('password_history_limit','0'),('password_recovery_custom_text',''),('password_reset_duration','0'),('project_contact_email',''),('project_contact_name',''),('project_contact_prod_changes_email',''),('project_contact_prod_changes_name',''),('project_language','English'),('proxy_hostname',''),('pub_matching_email_days','7'),('pub_matching_email_limit','3'),('pub_matching_email_subject',''),('pub_matching_email_text',''),('pub_matching_emails','0'),('pub_matching_enabled','0'),('pub_matching_institution','Vanderbilt\nMeharry'),('randomization_global','1'),('realtime_webservice_custom_text',''),('realtime_webservice_data_fetch_interval','24'),('realtime_webservice_display_info_project_setup','1'),('realtime_webservice_global_enabled','0'),('realtime_webservice_source_system_custom_name',''),('realtime_webservice_stop_fetch_inactivity_days','7'),('realtime_webservice_url_data',''),('realtime_webservice_url_metadata',''),('realtime_webservice_url_user_access',''),('realtime_webservice_user_rights_super_users_only','1'),('redcap_base_url',''),('redcap_base_url_display_error_on_mismatch','1'),('redcap_last_install_date','2014-09-16'),('redcap_version','5.7.4'),('sendit_enabled','1'),('sendit_upload_max',''),('shared_library_enabled','1'),('shibboleth_logout',''),('shibboleth_username_field','none'),('site_org_type',''),('superusers_only_create_project','0'),('superusers_only_move_to_prod','1'),('suspend_users_inactive_days','180'),('suspend_users_inactive_send_email','1'),('suspend_users_inactive_type',''),('system_offline','0'),('system_offline_message',''),('temp_files_last_delete','2014-09-16 16:01:02'),('user_access_dashboard_custom_notification',''),('user_access_dashboard_enable','1'); +INSERT INTO `redcap_config` VALUES ('allow_create_db_default','1'),('amazon_s3_bucket',''),('amazon_s3_key',''),('amazon_s3_secret',''),('api_enabled','1'),('auth_meth_global','none'),('auto_prod_changes','2'),('auto_report_stats','1'),('auto_report_stats_last_sent','2000-01-01'),('autologout_timer','30'),('certify_text_create',''),('certify_text_prod',''),('data_entry_trigger_enabled','1'),('display_nonauth_projects','1'),('display_project_logo_institution','0'),('display_today_now_button','1'),('doc_to_edoc_transfer_complete','1'),('dts_enabled_global','0'),('edoc_field_option_enabled','1'),('edoc_path',''),('edoc_storage_option','0'),('edoc_upload_max',''),('email_domain_whitelist',''),('enable_edit_prod_events','1'),('enable_edit_survey_response','1'),('enable_http_compression','1'),('enable_plotting','2'),('enable_plotting_survey_results','1'),('enable_projecttype_forms','1'),('enable_projecttype_singlesurvey','1'),('enable_projecttype_singlesurveyforms','1'),('enable_url_shortener','1'),('enable_user_whitelist','0'),('file_attachment_upload_max',''),('file_repository_enabled','1'),('file_repository_upload_max',''),('footer_links',''),('footer_text',''),('google_translate_enabled','0'),('googlemap_key',''),('grant_cite',''),('headerlogo',''),('helpfaq_custom_text',''),('homepage_contact',''),('homepage_contact_email',''),('homepage_custom_text',''),('homepage_grant_cite',''),('identifier_keywords','name, street, address, city, county, precinct, zip, postal, date, phone, fax, mail, ssn, social security, mrn, dob, dod, medical, record, id, age'),('institution',''),('language_global','English'),('login_autocomplete_disable','0'),('login_custom_text',''),('login_logo',''),('logout_fail_limit','5'),('logout_fail_window','15'),('my_profile_enable_edit','1'),('openid_provider_name',''),('openid_provider_url',''),('page_hit_threshold_per_minute','600'),('password_history_limit','0'),('password_recovery_custom_text',''),('password_reset_duration','0'),('project_contact_email',''),('project_contact_name',''),('project_contact_prod_changes_email',''),('project_contact_prod_changes_name',''),('project_language','English'),('proxy_hostname',''),('pub_matching_email_days','7'),('pub_matching_email_limit','3'),('pub_matching_email_subject',''),('pub_matching_email_text',''),('pub_matching_emails','0'),('pub_matching_enabled','0'),('pub_matching_institution','Vanderbilt\nMeharry'),('randomization_global','1'),('realtime_webservice_custom_text',''),('realtime_webservice_data_fetch_interval','24'),('realtime_webservice_display_info_project_setup','1'),('realtime_webservice_global_enabled','0'),('realtime_webservice_source_system_custom_name',''),('realtime_webservice_stop_fetch_inactivity_days','7'),('realtime_webservice_url_data',''),('realtime_webservice_url_metadata',''),('realtime_webservice_url_user_access',''),('realtime_webservice_user_rights_super_users_only','1'),('redcap_base_url',''),('redcap_base_url_display_error_on_mismatch','1'),('redcap_last_install_date','2014-09-16'),('redcap_version','5.7.4'),('sendit_enabled','1'),('sendit_upload_max',''),('shared_library_enabled','1'),('shibboleth_logout',''),('shibboleth_username_field','none'),('site_org_type',''),('superusers_only_create_project','0'),('superusers_only_move_to_prod','1'),('suspend_users_inactive_days','180'),('suspend_users_inactive_send_email','1'),('suspend_users_inactive_type',''),('system_offline','0'),('system_offline_message',''),('temp_files_last_delete','2014-09-17 14:49:59'),('user_access_dashboard_custom_notification',''),('user_access_dashboard_enable','1'); /*!40000 ALTER TABLE `redcap_config` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_crons`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -638,7 +638,6 @@ CREATE TABLE `redcap_ip_cache` ( /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_ip_cache` DISABLE KEYS */; -INSERT INTO `redcap_ip_cache` VALUES ('f8dec66cedc353b1f1ebcca3861d13a4','2014-09-16 16:01:02'),('f3554d59ed857c15a9548b61046d3411','2014-09-16 16:01:05'); /*!40000 ALTER TABLE `redcap_ip_cache` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_library_map`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -728,11 +727,11 @@ CREATE TABLE `redcap_log_event` ( KEY `event_project` (`event`,`project_id`), KEY `description` (`description`), KEY `pk` (`pk`) -) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_log_event` DISABLE KEYS */; -INSERT INTO `redcap_log_event` VALUES (1,12,20140916153231,'site_admin','10.0.2.2','ProjectGeneral/create_project.php','MANAGE','redcap_projects',NULL,'12',NULL,'project_id = 12','Create project',0,NULL),(2,12,20140916153237,'site_admin','10.0.2.2','ProjectSetup/modify_project_setting_ajax.php','MANAGE','redcap_projects','update redcap_projects set repeatforms = \'1\' \r\n where project_id = 12','12',NULL,'project_id = 12','Modify project settings',0,NULL),(3,12,20140916153800,'site_admin','10.0.2.2','Design/data_dictionary_upload.php','MANAGE','redcap_metadata',NULL,'12',NULL,'project_id = 12','Upload data dictionary',0,NULL),(4,12,20140916154459,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'Event 2\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','40',NULL,'Event: Event 2, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(5,12,20140916154506,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'Event 3\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','41',NULL,'Event: Event 3, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(6,12,20140916154540,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 0, descrip = \'1\', \r\n offset_min = 0, offset_max = 0 where event_id = \'39\'','39',NULL,'Event: 1, Days Offset: 0, Offset Range: -0/+0','Edit event',0,NULL),(7,12,20140916154547,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 0, descrip = \'2\', \r\n offset_min = 0, offset_max = 0 where event_id = \'40\'','40',NULL,'Event: 2, Days Offset: 0, Offset Range: -0/+0','Edit event',0,NULL),(8,12,20140916154553,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 0, descrip = \'3\', \r\n offset_min = 0, offset_max = 0 where event_id = \'41\'','41',NULL,'Event: 3, Days Offset: 0, Offset Range: -0/+0','Edit event',0,NULL),(9,12,20140916154619,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'4\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','42',NULL,'Event: 4, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(10,12,20140916154623,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'5\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','43',NULL,'Event: 5, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(11,12,20140916154633,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'6\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','44',NULL,'Event: 6, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(12,12,20140916154857,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'7\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','45',NULL,'Event: 7, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(13,12,20140916154859,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'8\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','46',NULL,'Event: 8, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(14,12,20140916154901,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'9\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','47',NULL,'Event: 9, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(15,12,20140916154903,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'0\', \'10\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','48',NULL,'Event: 10, Days Offset: 0, Offset Range: -0/+0','Create event',0,NULL),(16,12,20140916154934,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 9, descrip = \'10\', \r\n offset_min = 0, offset_max = 0 where event_id = \'48\'','48',NULL,'Event: 10, Days Offset: 9, Offset Range: -0/+0','Edit event',0,NULL),(17,12,20140916154938,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 1, descrip = \'2\', \r\n offset_min = 0, offset_max = 0 where event_id = \'40\'','40',NULL,'Event: 2, Days Offset: 1, Offset Range: -0/+0','Edit event',0,NULL),(18,12,20140916154943,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 2, descrip = \'3\', \r\n offset_min = 0, offset_max = 0 where event_id = \'41\'','41',NULL,'Event: 3, Days Offset: 2, Offset Range: -0/+0','Edit event',0,NULL),(19,12,20140916154947,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 3, descrip = \'4\', \r\n offset_min = 0, offset_max = 0 where event_id = \'42\'','42',NULL,'Event: 4, Days Offset: 3, Offset Range: -0/+0','Edit event',0,NULL),(20,12,20140916154951,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 4, descrip = \'5\', \r\n offset_min = 0, offset_max = 0 where event_id = \'43\'','43',NULL,'Event: 5, Days Offset: 4, Offset Range: -0/+0','Edit event',0,NULL),(21,12,20140916154955,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 5, descrip = \'6\', \r\n offset_min = 0, offset_max = 0 where event_id = \'44\'','44',NULL,'Event: 6, Days Offset: 5, Offset Range: -0/+0','Edit event',0,NULL),(22,12,20140916154958,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 6, descrip = \'7\', \r\n offset_min = 0, offset_max = 0 where event_id = \'45\'','45',NULL,'Event: 7, Days Offset: 6, Offset Range: -0/+0','Edit event',0,NULL),(23,12,20140916155002,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 7, descrip = \'8\', \r\n offset_min = 0, offset_max = 0 where event_id = \'46\'','46',NULL,'Event: 8, Days Offset: 7, Offset Range: -0/+0','Edit event',0,NULL),(24,12,20140916155006,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','update redcap_events_metadata set day_offset = 8, descrip = \'9\', \r\n offset_min = 0, offset_max = 0 where event_id = \'47\'','47',NULL,'Event: 9, Days Offset: 8, Offset Range: -0/+0','Edit event',0,NULL),(25,12,20140916155010,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'10\', \'11\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','49',NULL,'Event: 11, Days Offset: 10, Offset Range: -0/+0','Create event',0,NULL),(26,12,20140916155013,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'11\', \'12\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','50',NULL,'Event: 12, Days Offset: 11, Offset Range: -0/+0','Create event',0,NULL),(27,12,20140916155015,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'12\', \'13\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','51',NULL,'Event: 13, Days Offset: 12, Offset Range: -0/+0','Create event',0,NULL),(28,12,20140916155018,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'13\', \'14\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','52',NULL,'Event: 14, Days Offset: 13, Offset Range: -0/+0','Create event',0,NULL),(29,12,20140916155021,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'14\', \'15\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','53',NULL,'Event: 15, Days Offset: 14, Offset Range: -0/+0','Create event',0,NULL),(30,12,20140916155033,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'15\', \'16\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','54',NULL,'Event: 16, Days Offset: 15, Offset Range: -0/+0','Create event',0,NULL),(31,12,20140916155036,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'16\', \'17\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','55',NULL,'Event: 17, Days Offset: 16, Offset Range: -0/+0','Create event',0,NULL),(32,12,20140916155039,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'17\', \'18\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','56',NULL,'Event: 18, Days Offset: 17, Offset Range: -0/+0','Create event',0,NULL),(33,12,20140916155041,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'18\', \'19\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','57',NULL,'Event: 19, Days Offset: 18, Offset Range: -0/+0','Create event',0,NULL),(34,12,20140916155044,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'19\', \'20\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','58',NULL,'Event: 20, Days Offset: 19, Offset Range: -0/+0','Create event',0,NULL),(35,12,20140916155046,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'20\', \'21\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','59',NULL,'Event: 21, Days Offset: 20, Offset Range: -0/+0','Create event',0,NULL),(36,12,20140916155048,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'21\', \'22\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','60',NULL,'Event: 22, Days Offset: 21, Offset Range: -0/+0','Create event',0,NULL),(37,12,20140916155050,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'22\', \'23\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','61',NULL,'Event: 23, Days Offset: 22, Offset Range: -0/+0','Create event',0,NULL),(38,12,20140916155054,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'23\', \'24\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','62',NULL,'Event: 24, Days Offset: 23, Offset Range: -0/+0','Create event',0,NULL),(39,12,20140916155056,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'24\', \'25\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','63',NULL,'Event: 25, Days Offset: 24, Offset Range: -0/+0','Create event',0,NULL),(40,12,20140916155059,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'25\', \'26\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','64',NULL,'Event: 26, Days Offset: 25, Offset Range: -0/+0','Create event',0,NULL),(41,12,20140916155101,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'26\', \'27\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','65',NULL,'Event: 27, Days Offset: 26, Offset Range: -0/+0','Create event',0,NULL),(42,12,20140916155104,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'27\', \'28\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','66',NULL,'Event: 28, Days Offset: 27, Offset Range: -0/+0','Create event',0,NULL),(43,12,20140916155106,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'28\', \'29\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','67',NULL,'Event: 29, Days Offset: 28, Offset Range: -0/+0','Create event',0,NULL),(44,12,20140916155108,'site_admin','10.0.2.2','Design/define_events_ajax.php','MANAGE','redcap_events_metadata','insert into redcap_events_metadata (arm_id, day_offset, descrip, offset_min, offset_max) \r\n select arm_id, \'29\', \'30\', \'0\', \'0\' \r\n from redcap_events_arms where project_id = 12 and arm_num = 1','68',NULL,'Event: 30, Days Offset: 29, Offset Range: -0/+0','Create event',0,NULL),(45,12,20140916155210,'site_admin','10.0.2.2','Design/designate_forms_ajax.php','MANAGE','redcap_events_forms','delete from redcap_events_forms where event_id in \r\n (select m.event_id from redcap_events_metadata m, redcap_events_arms a where a.project_id = 12 \r\n and a.arm_num = 1 and a.arm_id = m.arm_id);\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'39\', \'enrollment\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'39\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'40\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'41\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'42\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'43\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'44\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'45\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'46\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'47\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'48\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'49\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'50\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'51\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'52\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'53\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'54\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'55\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'56\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'57\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'58\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'59\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'60\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'61\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'62\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'63\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'64\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'65\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'66\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'67\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'68\', \'cbc\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'39\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'40\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'41\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'42\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'43\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'44\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'45\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'46\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'47\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'48\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'49\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'50\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'51\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'52\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'53\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'54\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'55\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'56\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'57\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'58\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'59\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'60\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'61\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'62\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'63\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'64\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'65\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'66\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'67\', \'chemistry\');\ninsert into redcap_events_forms (event_id, form_name) \r\n values (\'68\', \'chemistry\')','1',NULL,'arm_num = 1','Designate data collection instruments for events',0,NULL),(46,0,20140916155236,'site_admin','10.0.2.2','ControlCenter/user_api_ajax.php','MANAGE','redcap_user_rights',NULL,'site_admin',NULL,'user = \'site_admin\'','Set API rights for user',0,NULL),(47,0,20140916155236,'site_admin','10.0.2.2','ControlCenter/user_api_ajax.php','MANAGE','redcap_user_rights',NULL,'site_admin',NULL,'user = \'site_admin\'','Create API token for user',0,NULL); +INSERT INTO `redcap_log_event` VALUES (48,12,20140917145144,'site_admin','10.0.2.2','Design/edit_field.php','MANAGE','redcap_metadata','insert into redcap_metadata values (12, \'cbc_taken_date\', NULL, \'cbc\', NULL, \'7\', NULL, NULL, \'text\', \'Date Taken\', NULL, NULL, \'date_ymd\', NULL, NULL, \'soft_typed\', NULL, \'1\', NULL, 0, NULL, NULL, NULL, NULL, NULL)','cbc_taken_date',NULL,'field_name = \'cbc_taken_date\'','Create project field',0,NULL),(49,12,20140917145215,'site_admin','10.0.2.2','Design/edit_field.php','MANAGE','redcap_metadata','insert into redcap_metadata values (12, \'chemistry_taken_date\', NULL, \'chemistry\', NULL, \'19\', NULL, NULL, \'text\', \'Date Taken\', NULL, NULL, \'date_ymd\', NULL, NULL, \'soft_typed\', NULL, \'1\', NULL, 0, NULL, NULL, NULL, NULL, NULL)','chemistry_taken_date',NULL,'field_name = \'chemistry_taken_date\'','Create project field',0,NULL); /*!40000 ALTER TABLE `redcap_log_event` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_log_view`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -763,11 +762,11 @@ CREATE TABLE `redcap_log_view` ( KEY `session_id` (`session_id`), KEY `user_project` (`user`,`project_id`), KEY `project_event_record` (`project_id`,`event_id`,`record`) -) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=134 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_log_view` DISABLE KEYS */; -INSERT INTO `redcap_log_view` VALUES (1,'2014-09-16 15:30:25','site_admin','PAGE_VIEW','::1','unknown','unknown','http://localhost/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'n7n4bbgvbnv09urc5f6atpak26'),(2,'2014-09-16 15:31:53','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(3,'2014-09-16 15:31:55','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=create','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(4,'2014-09-16 15:31:57','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(5,'2014-09-16 15:32:06','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=create','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(6,'2014-09-16 15:32:31','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ProjectGeneral/create_project.php','ProjectGeneral/create_project.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(93,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_tokens.php?action=createToken&api_username=site_admin&api_pid=12&goto_proj=1','ControlCenter/user_api_tokens.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(94,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByUser&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(95,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByProj&project_id=&controlCenterView=1','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(96,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIRights&api_username=site_admin&api_pid=12','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(97,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForUserJS&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(98,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForProjJS&project_id=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(99,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=createToken&api_username=site_admin&api_pid=12&api_export=1&api_import=1&api_send_email=0','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(100,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByUser&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(101,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByProj&project_id=&controlCenterView=1','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(102,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForUserJS&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(103,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForProjJS&project_id=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(106,'2014-09-16 15:53:20','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(107,'2014-09-16 15:53:20','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(108,'2014-09-16 15:53:25','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(110,'2014-09-16 16:01:02','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(111,'2014-09-16 16:01:05','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ProjectSetup/index.php?pid=12','ProjectSetup/index.php',12,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'); +INSERT INTO `redcap_log_view` VALUES (1,'2014-09-16 15:30:25','site_admin','PAGE_VIEW','::1','unknown','unknown','http://localhost/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'n7n4bbgvbnv09urc5f6atpak26'),(2,'2014-09-16 15:31:53','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(3,'2014-09-16 15:31:55','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=create','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(4,'2014-09-16 15:31:57','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(5,'2014-09-16 15:32:06','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=create','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(6,'2014-09-16 15:32:31','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ProjectGeneral/create_project.php','ProjectGeneral/create_project.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(93,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_tokens.php?action=createToken&api_username=site_admin&api_pid=12&goto_proj=1','ControlCenter/user_api_tokens.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(94,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByUser&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(95,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByProj&project_id=&controlCenterView=1','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(96,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIRights&api_username=site_admin&api_pid=12','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(97,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForUserJS&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(98,'2014-09-16 15:52:29','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForProjJS&project_id=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(99,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=createToken&api_username=site_admin&api_pid=12&api_export=1&api_import=1&api_send_email=0','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(100,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByUser&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(101,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=tokensByProj&project_id=&controlCenterView=1','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(102,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForUserJS&username=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(103,'2014-09-16 15:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ControlCenter/user_api_ajax.php?action=getAPIDateForProjJS&project_id=','ControlCenter/user_api_ajax.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(106,'2014-09-16 15:53:20','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(107,'2014-09-16 15:53:20','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(108,'2014-09-16 15:53:25','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(110,'2014-09-16 16:01:02','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(111,'2014-09-16 16:01:05','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ProjectSetup/index.php?pid=12','ProjectSetup/index.php',12,NULL,NULL,NULL,NULL,'r1a1r2fb6o1vr50fmuivn7lia6'),(112,'2014-09-17 14:17:42','site_admin','PAGE_VIEW','::1','unknown','unknown','http://localhost/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'2p95oelds6kukihcov2ihr1ps7'),(113,'2014-09-17 14:17:58','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(114,'2014-09-17 14:18:01','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/index.php?action=myprojects','redcap/index.php',NULL,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(115,'2014-09-17 14:18:02','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/ProjectSetup/index.php?pid=12','ProjectSetup/index.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(116,'2014-09-17 14:18:06','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer.php?pid=12','Design/online_designer.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(117,'2014-09-17 14:18:11','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer.php?pid=12&page=cbc','Design/online_designer.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(118,'2014-09-17 14:49:59','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/check_field_name.php?pid=12&field_name=cbc&old_field_name=','Design/check_field_name.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(119,'2014-09-17 14:51:00','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/check_field_name.php?pid=12&field_name=cbc&old_field_name=','Design/check_field_name.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(120,'2014-09-17 14:51:30','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/check_field_name.php?pid=12&field_name=cbc_taken_date&old_field_name=','Design/check_field_name.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(121,'2014-09-17 14:51:44','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/check_field_name.php?pid=12&field_name=cbc_taken_date&old_field_name=','Design/check_field_name.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(122,'2014-09-17 14:51:44','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/edit_field.php?pid=12&page=cbc','Design/edit_field.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(123,'2014-09-17 14:51:44','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer_render_fields.php?pid=12&page=cbc&field_name=cbc_taken_date&edit_question=0§ion_header=0','Design/online_designer_render_fields.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(124,'2014-09-17 14:51:51','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer.php?pid=12','Design/online_designer.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(125,'2014-09-17 14:51:53','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer.php?pid=12&page=chemistry','Design/online_designer.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(126,'2014-09-17 14:51:56','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer.php?pid=12','Design/online_designer.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(127,'2014-09-17 14:51:57','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer.php?pid=12&page=chemistry','Design/online_designer.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(128,'2014-09-17 14:52:08','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/check_field_name.php?pid=12&field_name=chemistry_taken_date&old_field_name=','Design/check_field_name.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(129,'2014-09-17 14:52:15','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/check_field_name.php?pid=12&field_name=chemistry_taken_date&old_field_name=','Design/check_field_name.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(130,'2014-09-17 14:52:15','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/edit_field.php?pid=12&page=chemistry','Design/edit_field.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(131,'2014-09-17 14:52:15','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer_render_fields.php?pid=12&page=chemistry&field_name=chemistry_taken_date&edit_question=0§ion_header=0','Design/online_designer_render_fields.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(132,'2014-09-17 14:52:22','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/edit_field_prefill.php?pid=12&field_name=chemistry_taken_date','Design/edit_field_prefill.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'),(133,'2014-09-17 14:52:36','site_admin','PAGE_VIEW','10.0.2.2','chrome','37.0','http://localhost:8998:8998/redcap/redcap_v5.7.4/Design/online_designer.php?pid=12','Design/online_designer.php',12,NULL,NULL,NULL,NULL,'csf61sns3hrvajppvf5pa9hvh5'); /*!40000 ALTER TABLE `redcap_log_view` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_metadata`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -809,7 +808,7 @@ CREATE TABLE `redcap_metadata` ( /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_metadata` DISABLE KEYS */; -INSERT INTO `redcap_metadata` VALUES (1,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_1',NULL,'month_1_data',NULL,56,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_2',NULL,'month_2_data',NULL,76,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_3',NULL,'month_3_data',NULL,104,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_1',NULL,'month_1_data',NULL,44,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_2',NULL,'month_2_data',NULL,64,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_3',NULL,'month_3_data',NULL,85,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_b',NULL,'baseline_data',NULL,26,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'int','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'baseline_data_complete',NULL,'baseline_data',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_1',NULL,'month_1_data',NULL,61,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_2',NULL,'month_2_data',NULL,81,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_3',NULL,'month_3_data',NULL,109,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_1',NULL,'month_1_data',NULL,55,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_2',NULL,'month_2_data',NULL,75,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_3',NULL,'month_3_data',NULL,103,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_1',NULL,'month_1_data',NULL,48,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_2',NULL,'month_2_data',NULL,68,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_3',NULL,'month_3_data',NULL,89,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_b',NULL,'baseline_data',NULL,30,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'complete_study',NULL,'completion_data','Completion Data',111,NULL,'Study Completion Information','select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'complete_study_date',NULL,'completion_data',NULL,114,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'completion_data_complete',NULL,'completion_data',NULL,116,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_1',NULL,'month_1_data',NULL,53,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_2',NULL,'month_2_data',NULL,73,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_3',NULL,'month_3_data',NULL,101,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_1',NULL,'month_1_data',NULL,46,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_2',NULL,'month_2_data',NULL,66,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_3',NULL,'month_3_data',NULL,87,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_b',NULL,'baseline_data',NULL,28,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_blood_3',NULL,'month_3_data',NULL,84,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_blood_b',NULL,'baseline_data',NULL,25,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_1',NULL,'month_1_data',NULL,60,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_2',NULL,'month_2_data',NULL,80,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_3',NULL,'month_3_data',NULL,108,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_supplement_dispensed',NULL,'baseline_data',NULL,41,NULL,NULL,'text','Date patient begins supplement',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_1',NULL,'month_1_data','Month 1 Data',43,NULL,'Month 1','text','Date of Month 1 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_2',NULL,'month_2_data','Month 2 Data',63,NULL,'Month 2','text','Date of Month 2 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_3',NULL,'month_3_data','Month 3 Data',83,NULL,'Month 3','text','Date of Month 3 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_b',NULL,'baseline_data','Baseline Data',24,NULL,'Baseline Measurements','text','Date of baseline visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_1',NULL,'month_1_data',NULL,59,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_2',NULL,'month_2_data',NULL,79,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_3',NULL,'month_3_data',NULL,107,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_1',NULL,'month_1_data',NULL,57,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_2',NULL,'month_2_data',NULL,77,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_3',NULL,'month_3_data',NULL,105,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_1',NULL,'month_1_data',NULL,58,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_2',NULL,'month_2_data',NULL,78,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_3',NULL,'month_3_data',NULL,106,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'drywt_1',NULL,'month_1_data',NULL,51,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_2',NULL,'month_2_data',NULL,71,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_3',NULL,'month_3_data',NULL,92,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_b',NULL,'baseline_data',NULL,33,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(1,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_1',NULL,'month_1_data',NULL,54,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_2',NULL,'month_2_data',NULL,74,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_3',NULL,'month_3_data',NULL,102,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_1',NULL,'month_1_data',NULL,50,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_2',NULL,'month_2_data',NULL,70,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_3',NULL,'month_3_data',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_b',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_1_data_complete',NULL,'month_1_data',NULL,62,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_2_data_complete',NULL,'month_2_data',NULL,82,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_3_data_complete',NULL,'month_3_data',NULL,110,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_1',NULL,'month_1_data',NULL,52,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_2',NULL,'month_2_data',NULL,72,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_3',NULL,'month_3_data',NULL,100,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_1',NULL,'month_1_data',NULL,47,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_2',NULL,'month_2_data',NULL,67,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_3',NULL,'month_3_data',NULL,88,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_b',NULL,'baseline_data',NULL,29,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma1_3',NULL,'month_3_data',NULL,93,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma1_b',NULL,'baseline_data',NULL,34,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma2_3',NULL,'month_3_data',NULL,94,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma2_b',NULL,'baseline_data',NULL,35,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma3_3',NULL,'month_3_data',NULL,95,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma3_b',NULL,'baseline_data',NULL,36,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_1',NULL,'month_1_data',NULL,45,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_2',NULL,'month_2_data',NULL,65,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_3',NULL,'month_3_data',NULL,86,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_b',NULL,'baseline_data',NULL,27,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum1_3',NULL,'month_3_data',NULL,96,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum1_b',NULL,'baseline_data',NULL,37,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum2_3',NULL,'month_3_data',NULL,97,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum2_b',NULL,'baseline_data',NULL,38,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum3_3',NULL,'month_3_data',NULL,98,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum3_b',NULL,'baseline_data',NULL,39,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sga_3',NULL,'month_3_data',NULL,99,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sga_b',NULL,'baseline_data',NULL,40,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'study_comments',NULL,'completion_data',NULL,115,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_1',NULL,'month_1_data',NULL,49,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_2',NULL,'month_2_data',NULL,69,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_3',NULL,'month_3_data',NULL,90,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_b',NULL,'baseline_data',NULL,31,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'withdraw_date',NULL,'completion_data',NULL,112,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'withdraw_reason',NULL,'completion_data',NULL,113,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'alb_4',NULL,'completion_data',NULL,80,NULL,NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'baseline_data_complete',NULL,'baseline_data',NULL,39,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'bmi2',NULL,'baseline_data',NULL,33,NULL,NULL,'calc','BMI','round(([weight2]*10000)/(([height2])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'chol_4',NULL,'completion_data',NULL,86,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'chol_b',NULL,'baseline_data',NULL,37,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'complete_study',NULL,'completion_data',NULL,77,NULL,NULL,'select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'completion_data_complete',NULL,'completion_data',NULL,88,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'completion_project_questionnaire_complete',NULL,'completion_project_questionnaire',NULL,102,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'contact_info_complete',NULL,'contact_info',NULL,30,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq1',NULL,'completion_project_questionnaire','Completion Project Questionnaire',89,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq10',NULL,'completion_project_questionnaire',NULL,98,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq11',NULL,'completion_project_questionnaire',NULL,99,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq12',NULL,'completion_project_questionnaire',NULL,100,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq13',NULL,'completion_project_questionnaire',NULL,101,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq2',NULL,'completion_project_questionnaire',NULL,90,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq3',NULL,'completion_project_questionnaire',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq4',NULL,'completion_project_questionnaire',NULL,92,NULL,NULL,'text','Dry weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq5',NULL,'completion_project_questionnaire',NULL,93,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq6',NULL,'completion_project_questionnaire',NULL,94,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq7',NULL,'completion_project_questionnaire',NULL,95,NULL,NULL,'select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq8',NULL,'completion_project_questionnaire',NULL,96,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq9',NULL,'completion_project_questionnaire',NULL,97,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'creat_4',NULL,'completion_data',NULL,82,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'creat_b',NULL,'baseline_data',NULL,35,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'date_visit_4',NULL,'completion_data',NULL,79,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_schedule_days',NULL,'contact_info',NULL,26,NULL,NULL,'text','Next of Kin Contact Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_schedule_time',NULL,'contact_info',NULL,27,NULL,NULL,'textarea','Next of Kin Contact Address',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_unit_name',NULL,'contact_info','Contact Info',24,NULL,NULL,'text','Emergency Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_unit_phone',NULL,'contact_info',NULL,25,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'discharge_date_4',NULL,'completion_data',NULL,83,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'discharge_summary_4',NULL,'completion_data',NULL,84,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(2,'etiology_esrd',NULL,'contact_info',NULL,28,NULL,NULL,'text','Next of Kin Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'height2',NULL,'baseline_data','Baseline Data',31,NULL,NULL,'text','Height (cm)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'npcr_4',NULL,'completion_data',NULL,85,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'npcr_b',NULL,'baseline_data',NULL,36,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'patient_morale_questionnaire_complete',NULL,'patient_morale_questionnaire',NULL,50,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq1',NULL,'patient_morale_questionnaire','Patient Morale Questionnaire',46,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq2',NULL,'patient_morale_questionnaire',NULL,47,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq3',NULL,'patient_morale_questionnaire',NULL,48,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq4',NULL,'patient_morale_questionnaire',NULL,49,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'prealb_4',NULL,'completion_data',NULL,81,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'prealb_b',NULL,'baseline_data',NULL,34,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'study_comments',NULL,'completion_data','Completion Data',76,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'subject_comments',NULL,'contact_info',NULL,29,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'transferrin_b',NULL,'baseline_data',NULL,38,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw1',NULL,'visit_blood_workup','Visit Blood Workup',51,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw2',NULL,'visit_blood_workup',NULL,52,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw3',NULL,'visit_blood_workup',NULL,53,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw4',NULL,'visit_blood_workup',NULL,54,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw5',NULL,'visit_blood_workup',NULL,55,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw6',NULL,'visit_blood_workup',NULL,56,NULL,NULL,'radio','Blood draw shift?','0, AM \\n 1, PM',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw7',NULL,'visit_blood_workup',NULL,57,NULL,NULL,'radio','Blood draw by','0, RN \\n 1, LPN \\n 2, nurse assistant \\n 3, doctor',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw8',NULL,'visit_blood_workup',NULL,58,NULL,NULL,'select','Level of patient anxiety','0, not anxious \\n 1, undecided \\n 2, very anxious',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw9',NULL,'visit_blood_workup',NULL,59,NULL,NULL,'select','Patient scheduled for future draws?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_blood_workup_complete',NULL,'visit_blood_workup',NULL,60,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_lab_data_complete',NULL,'visit_lab_data',NULL,45,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_observed_behavior_complete',NULL,'visit_observed_behavior',NULL,75,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld1',NULL,'visit_lab_data','Visit Lab Data',40,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld2',NULL,'visit_lab_data',NULL,41,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld3',NULL,'visit_lab_data',NULL,42,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld4',NULL,'visit_lab_data',NULL,43,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld5',NULL,'visit_lab_data',NULL,44,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob1',NULL,'visit_observed_behavior','Visit Observed Behavior',61,NULL,'Was the patient...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob10',NULL,'visit_observed_behavior',NULL,70,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob11',NULL,'visit_observed_behavior',NULL,71,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob12',NULL,'visit_observed_behavior',NULL,72,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob13',NULL,'visit_observed_behavior',NULL,73,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob14',NULL,'visit_observed_behavior',NULL,74,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob2',NULL,'visit_observed_behavior',NULL,62,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob3',NULL,'visit_observed_behavior',NULL,63,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob4',NULL,'visit_observed_behavior',NULL,64,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob5',NULL,'visit_observed_behavior',NULL,65,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob6',NULL,'visit_observed_behavior',NULL,66,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob7',NULL,'visit_observed_behavior',NULL,67,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob8',NULL,'visit_observed_behavior',NULL,68,NULL,'Were you...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob9',NULL,'visit_observed_behavior',NULL,69,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'weight2',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'withdraw_date',NULL,'completion_data',NULL,78,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'withdraw_reason',NULL,'completion_data',NULL,87,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'aerobics',NULL,'survey',NULL,11.2,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'comment_box',NULL,'survey',NULL,15,NULL,NULL,'textarea','If you need the respondent to enter a large amount of text, you may use a NOTES BOX.

This question has also been set as a REQUIRED QUESTION, so the respondent cannot fully submit the survey until this question has been answered. ANY question type can be set to be required.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(3,'date_ymd',NULL,'survey',NULL,8,NULL,NULL,'text','DATE questions are also an option. If you click the calendar icon on the right, a pop-up calendar will appear, thus allowing the respondent to easily select a date. Or it can be simply typed in.',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'descriptive',NULL,'survey',NULL,11,NULL,NULL,'descriptive','You may also use DESCRIPTIVE TEXT to provide informational text within a survey section. ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'drink',NULL,'survey',NULL,11.4,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'dropdown',NULL,'survey',NULL,3,NULL,NULL,'select','You may also set multiple choice questions as DROP-DOWN MENUs.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Etc.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'eat',NULL,'survey',NULL,11.3,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'file',NULL,'survey',NULL,9,NULL,NULL,'file','The FILE UPLOAD question type allows respondents to upload any type of document to the survey that you may afterward download and open when viewing your survey results.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'gym',NULL,'survey',NULL,11.1,NULL,'Below is a matrix of checkbox fields. A matrix can also be displayed as radio button fields.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'hidden_branch',NULL,'survey',NULL,13,NULL,NULL,'text','HIDDEN QUESTION: This question will only appear when you select the second option of the question immediately above.',NULL,NULL,NULL,'undefined','undefined','soft_typed','[radio_branch] = \"2\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'ma',NULL,'survey',NULL,5,NULL,NULL,'checkbox','This type of multiple choice question, known as CHECKBOXES, allows for more than one answer choice to be selected, whereas radio buttons and drop-downs only allow for one choice.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Select as many as you like',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'participant_id',NULL,'survey','Example Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'radio',NULL,'survey',NULL,2,NULL,'Section 1 (This is a section header with descriptive text. It only provides informational text and is used to divide the survey into sections for organization. If the survey is set to be displayed as \"one section per page\", then these section headers will begin each new page of the survey.)','radio','You may create MULTIPLE CHOICE questions and set the answer choices for them. You can have as many answer choices as you need. This multiple choice question is rendered as RADIO buttons.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Etc.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'radio_branch',NULL,'survey',NULL,12,NULL,'ADVANCED FEATURES: The questions below will illustrate how some advanced survey features are used.','radio','BRANCHING LOGIC: The question immediately following this one is using branching logic, which means that the question will stay hidden until defined criteria are specified.\n\nFor example, the following question has been set NOT to appear until the respondent selects the second option to the right. ','1, This option does nothing. \\n 2, Clicking this option will trigger the branching logic to reveal the next question. \\n 3, This option also does nothing.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'slider',NULL,'survey',NULL,10,NULL,NULL,'slider','A SLIDER is a question type that allows the respondent to choose an answer along a continuum. The respondent\'s answer is saved as an integer between 0 (far left) and 100 (far right) with a step of 1.','You can provide labels above the slider | Middle label | Right-hand label',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'stop_actions',NULL,'survey',NULL,14,NULL,NULL,'checkbox','STOP ACTIONS may be used with any multiple choice question. Stop actions can be applied to any (or all) answer choices. When that answer choice is selected by a respondent, their survey responses are then saved, and the survey is immediately ended.\n\nThe third option to the right has a stop action.','1, This option does nothing. \\n 2, This option also does nothing. \\n 3, Click here to trigger the stop action and end the survey.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,'3',NULL,NULL,NULL),(3,'survey_complete',NULL,'survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'textbox',NULL,'survey',NULL,4,NULL,NULL,'text','This is a TEXT BOX, which allows respondents to enter a small amount of text. A Text Box can be validated, if needed, as a number, integer, phone number, email, or zipcode. If validated as a number or integer, you may also set the minimum and/or maximum allowable values.\n\nThis question has \"number\" validation set with a minimum of 1 and a maximum of 10. ',NULL,NULL,'float','1','10','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'tf',NULL,'survey',NULL,7,NULL,NULL,'truefalse','And you can also create TRUE-FALSE questions.

This question has horizontal alignment.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'RH',NULL,NULL,NULL,NULL),(3,'yn',NULL,'survey',NULL,6,NULL,NULL,'yesno','You can create YES-NO questions.

This question has vertical alignment of choices on the right.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'alb_4',NULL,'completion_data',NULL,80,NULL,NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'baseline_data_complete',NULL,'baseline_data',NULL,39,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'bmi2',NULL,'baseline_data',NULL,33,NULL,NULL,'calc','BMI','round(([weight2]*10000)/(([height2])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'chol_4',NULL,'completion_data',NULL,86,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'chol_b',NULL,'baseline_data',NULL,37,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'complete_study',NULL,'completion_data',NULL,77,NULL,NULL,'select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'completion_data_complete',NULL,'completion_data',NULL,88,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'completion_project_questionnaire_complete',NULL,'completion_project_questionnaire',NULL,102,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'contact_info_complete',NULL,'contact_info',NULL,30,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq1',NULL,'completion_project_questionnaire','Completion Project Questionnaire',89,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq10',NULL,'completion_project_questionnaire',NULL,98,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq11',NULL,'completion_project_questionnaire',NULL,99,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq12',NULL,'completion_project_questionnaire',NULL,100,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq13',NULL,'completion_project_questionnaire',NULL,101,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq2',NULL,'completion_project_questionnaire',NULL,90,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq3',NULL,'completion_project_questionnaire',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq4',NULL,'completion_project_questionnaire',NULL,92,NULL,NULL,'text','Dry weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq5',NULL,'completion_project_questionnaire',NULL,93,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq6',NULL,'completion_project_questionnaire',NULL,94,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq7',NULL,'completion_project_questionnaire',NULL,95,NULL,NULL,'select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq8',NULL,'completion_project_questionnaire',NULL,96,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq9',NULL,'completion_project_questionnaire',NULL,97,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'creat_4',NULL,'completion_data',NULL,82,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'creat_b',NULL,'baseline_data',NULL,35,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'date_visit_4',NULL,'completion_data',NULL,79,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_schedule_days',NULL,'contact_info',NULL,26,NULL,NULL,'text','Next of Kin Contact Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_schedule_time',NULL,'contact_info',NULL,27,NULL,NULL,'textarea','Next of Kin Contact Address',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_unit_name',NULL,'contact_info','Contact Info',24,NULL,NULL,'text','Emergency Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_unit_phone',NULL,'contact_info',NULL,25,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'discharge_date_4',NULL,'completion_data',NULL,83,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'discharge_summary_4',NULL,'completion_data',NULL,84,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(4,'etiology_esrd',NULL,'contact_info',NULL,28,NULL,NULL,'text','Next of Kin Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'height2',NULL,'baseline_data','Baseline Data',31,NULL,NULL,'text','Height (cm)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'npcr_4',NULL,'completion_data',NULL,85,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'npcr_b',NULL,'baseline_data',NULL,36,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'patient_morale_questionnaire_complete',NULL,'patient_morale_questionnaire',NULL,50,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq1',NULL,'patient_morale_questionnaire','Patient Morale Questionnaire',46,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq2',NULL,'patient_morale_questionnaire',NULL,47,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq3',NULL,'patient_morale_questionnaire',NULL,48,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq4',NULL,'patient_morale_questionnaire',NULL,49,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'prealb_4',NULL,'completion_data',NULL,81,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'prealb_b',NULL,'baseline_data',NULL,34,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'study_comments',NULL,'completion_data','Completion Data',76,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'subject_comments',NULL,'contact_info',NULL,29,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'transferrin_b',NULL,'baseline_data',NULL,38,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw1',NULL,'visit_blood_workup','Visit Blood Workup',51,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw2',NULL,'visit_blood_workup',NULL,52,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw3',NULL,'visit_blood_workup',NULL,53,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw4',NULL,'visit_blood_workup',NULL,54,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw5',NULL,'visit_blood_workup',NULL,55,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw6',NULL,'visit_blood_workup',NULL,56,NULL,NULL,'radio','Blood draw shift?','0, AM \\n 1, PM',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw7',NULL,'visit_blood_workup',NULL,57,NULL,NULL,'radio','Blood draw by','0, RN \\n 1, LPN \\n 2, nurse assistant \\n 3, doctor',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw8',NULL,'visit_blood_workup',NULL,58,NULL,NULL,'select','Level of patient anxiety','0, not anxious \\n 1, undecided \\n 2, very anxious',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw9',NULL,'visit_blood_workup',NULL,59,NULL,NULL,'select','Patient scheduled for future draws?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_blood_workup_complete',NULL,'visit_blood_workup',NULL,60,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_lab_data_complete',NULL,'visit_lab_data',NULL,45,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_observed_behavior_complete',NULL,'visit_observed_behavior',NULL,75,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld1',NULL,'visit_lab_data','Visit Lab Data',40,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld2',NULL,'visit_lab_data',NULL,41,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld3',NULL,'visit_lab_data',NULL,42,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld4',NULL,'visit_lab_data',NULL,43,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld5',NULL,'visit_lab_data',NULL,44,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob1',NULL,'visit_observed_behavior','Visit Observed Behavior',61,NULL,'Was the patient...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob10',NULL,'visit_observed_behavior',NULL,70,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob11',NULL,'visit_observed_behavior',NULL,71,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob12',NULL,'visit_observed_behavior',NULL,72,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob13',NULL,'visit_observed_behavior',NULL,73,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob14',NULL,'visit_observed_behavior',NULL,74,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob2',NULL,'visit_observed_behavior',NULL,62,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob3',NULL,'visit_observed_behavior',NULL,63,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob4',NULL,'visit_observed_behavior',NULL,64,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob5',NULL,'visit_observed_behavior',NULL,65,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob6',NULL,'visit_observed_behavior',NULL,66,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob7',NULL,'visit_observed_behavior',NULL,67,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob8',NULL,'visit_observed_behavior',NULL,68,NULL,'Were you...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob9',NULL,'visit_observed_behavior',NULL,69,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'weight2',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'withdraw_date',NULL,'completion_data',NULL,78,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'withdraw_reason',NULL,'completion_data',NULL,87,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(5,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'record_id',NULL,'demographics','Basic Demography Form',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'telephone','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'amendment_number',NULL,'project',NULL,9,NULL,NULL,'select','Amendment Number','0 \\n 1 \\n 2 \\n 3 \\n 4 \\n 5 \\n 6 \\n 7 \\n 8 \\n 9 \\n 10 \\n 11 \\n 12 \\n 13 \\n 14 \\n 15 \\n 16 \\n 17 \\n 18 \\n 19 \\n 20','',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'amendment_status',NULL,'project',NULL,8,NULL,'Amendment Information','radio','Amendment?','0, No \\n 1, Yes','',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_pi_response',NULL,'workflow',NULL,33,NULL,NULL,'textarea','Comments - PI Process',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_preprereview',NULL,'workflow',NULL,26,NULL,NULL,'textarea','Comments - Pre-Pre-Review',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_prereview',NULL,'workflow',NULL,30,NULL,NULL,'textarea','Comments - Pre-Review',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_src',NULL,'post_award_administration',NULL,126,NULL,NULL,'textarea','Comments - SRC Award',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_cores',NULL,'post_award_administration',NULL,129,NULL,NULL,'text','CRC Cores ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_facilities',NULL,'post_award_administration',NULL,127,NULL,NULL,'text','CRC Facilities ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_original_review',NULL,'project',NULL,12,NULL,NULL,'select','CRC Original Review?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_personnel',NULL,'post_award_administration',NULL,128,NULL,NULL,'text','CRC Nursing ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_type',NULL,'project',NULL,10,NULL,'CRC Legacy System Data','select','CRC Type','A \\n B \\n C \\n D',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_webcamp_import',NULL,'project',NULL,11,NULL,NULL,'select','CRC WebCamp Project Import?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_agenda',NULL,'workflow',NULL,35,NULL,'Agenda Information','text','Agenda Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_pi_notification',NULL,'workflow',NULL,31,NULL,'PI Notification Information','text','PI Notification Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_pi_response',NULL,'workflow',NULL,32,NULL,NULL,'text','PI Response Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_receipt',NULL,'workflow','Workflow',23,NULL,'Pre-Pre-Review Information','text','Project Receipt Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_start_preprereview',NULL,'workflow',NULL,24,NULL,NULL,'text','Pre-Pre-Review - Start Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_start_prereview',NULL,'workflow',NULL,28,NULL,'Pre-Review Information','text','Pre-Review Notification Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_stop_preprereview',NULL,'workflow',NULL,25,NULL,NULL,'text','Pre-Pre-Review - Stop Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_stop_prereview',NULL,'workflow',NULL,29,NULL,NULL,'text','Pre-Review Completion Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'equipment',NULL,'post_award_administration',NULL,133,NULL,NULL,'text','Equipment ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch1',NULL,'project',NULL,15,NULL,NULL,'file','Biosketch(1)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch2',NULL,'project',NULL,16,NULL,NULL,'file','Biosketch(2)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch3',NULL,'project',NULL,17,NULL,NULL,'file','Biosketch(3)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_budget',NULL,'project',NULL,14,NULL,NULL,'file','Budget',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_crc',NULL,'project',NULL,18,NULL,NULL,'file','CRC Resources',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other1',NULL,'project',NULL,19,NULL,NULL,'file','Other(1)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other2',NULL,'project',NULL,20,NULL,NULL,'file','Other(2)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other3',NULL,'project',NULL,21,NULL,NULL,'file','Other(3)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_pi_comments',NULL,'workflow',NULL,34,NULL,NULL,'file','PI response',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_proposal',NULL,'project',NULL,13,NULL,'Project Files','file','Research Proposal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'hospital_ancillaries',NULL,'post_award_administration',NULL,135,NULL,NULL,'text','Hospital Ancillaries ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'irb_number',NULL,'project',NULL,7,NULL,NULL,'text','IRB Number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'misc_services',NULL,'post_award_administration',NULL,134,NULL,NULL,'text','Misc. Services ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_administrative',NULL,'prereview_administrative','Pre-Review Administrative',43,NULL,NULL,'select','Requires Administrative?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_biostatistics',NULL,'prereview_biostatistics','Pre-Review Biostatistics',49,NULL,NULL,'select','Requires Biostatistics?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_budget',NULL,'prereview_budget','Pre-Review Budget',68,NULL,NULL,'select','Requires Budget?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_community',NULL,'prereview_community','Pre-Review Community',98,NULL,NULL,'select','Requires Community?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_cores',NULL,'prereview_cores','Pre-Review Cores',80,NULL,NULL,'select','Requires Cores?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_nursing',NULL,'prereview_nursing','Pre-Review Nursing',74,NULL,NULL,'select','Requires Nursing?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_nutrition',NULL,'prereview_nutrition','Pre-Review Nutrition',92,NULL,NULL,'select','Requires Nutrition?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_other',NULL,'prereview_ctc','Pre-Review CTC',104,NULL,NULL,'select','Requires Other?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_participant',NULL,'prereview_participant','Pre-Review Participant',62,NULL,NULL,'select','Requires Participant?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_pi_response',NULL,'prereview_pi_response','Pre-Review PI Response',110,NULL,NULL,'select','Requires PI Response?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_scientific',NULL,'prereview_scientific','Pre-Review Scientific',56,NULL,NULL,'select','Requires Scientific?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_sleep',NULL,'prereview_sleep','Pre-Review Sleep',86,NULL,NULL,'select','Requires Sleep?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'owner_prepreview',NULL,'workflow',NULL,27,NULL,NULL,'select','Owner (Liaison)','0, Shraddha \\n 1, Jennifer \\n 2, Terri \\n 3, Cheryl \\n 4, Lynda',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'personnel',NULL,'post_award_administration',NULL,132,NULL,NULL,'text','Personnel ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_firstname',NULL,'project',NULL,3,NULL,NULL,'text','PI First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_lastname',NULL,'project',NULL,4,NULL,NULL,'text','PI Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_vunetid',NULL,'project',NULL,5,NULL,NULL,'text','PI VUnetID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'post_award_administration_complete',NULL,'post_award_administration',NULL,138,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative',NULL,'prereview_administrative',NULL,44,NULL,'Enter PI Pre-Review Notes Or Attach File','textarea','Notes',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_administrative] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_complete',NULL,'prereview_administrative',NULL,48,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_date_received',NULL,'prereview_administrative',NULL,47,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_date_sent',NULL,'prereview_administrative',NULL,46,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_doc',NULL,'prereview_administrative',NULL,45,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_administrative] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics',NULL,'prereview_biostatistics',NULL,50,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_biostatistics] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_complete',NULL,'prereview_biostatistics',NULL,55,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_date_received',NULL,'prereview_biostatistics',NULL,53,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_date_sent',NULL,'prereview_biostatistics',NULL,52,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_doc',NULL,'prereview_biostatistics',NULL,51,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_biostatistics] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_hours_awarded',NULL,'prereview_biostatistics',NULL,54,NULL,'Biostatistics Award','text','Consultation Hours Awarded',NULL,NULL,'float','0','5000','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget',NULL,'prereview_budget',NULL,69,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_complete',NULL,'prereview_budget',NULL,73,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_date_received',NULL,'prereview_budget',NULL,72,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_date_sent',NULL,'prereview_budget',NULL,71,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_budget] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_doc',NULL,'prereview_budget',NULL,70,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_budget] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community',NULL,'prereview_community',NULL,99,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_complete',NULL,'prereview_community',NULL,103,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_date_received',NULL,'prereview_community',NULL,102,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_date_sent',NULL,'prereview_community',NULL,101,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_community] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_doc',NULL,'prereview_community',NULL,100,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_community] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores',NULL,'prereview_cores',NULL,81,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_complete',NULL,'prereview_cores',NULL,85,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_date_received',NULL,'prereview_cores',NULL,84,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_date_sent',NULL,'prereview_cores',NULL,83,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_cores] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_doc',NULL,'prereview_cores',NULL,82,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_cores] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_ctc_complete',NULL,'prereview_ctc',NULL,109,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing',NULL,'prereview_nursing',NULL,75,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_complete',NULL,'prereview_nursing',NULL,79,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_date_received',NULL,'prereview_nursing',NULL,78,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_date_sent',NULL,'prereview_nursing',NULL,77,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_nursing] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_doc',NULL,'prereview_nursing',NULL,76,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_nursing] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition',NULL,'prereview_nutrition',NULL,93,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_complete',NULL,'prereview_nutrition',NULL,97,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_date_received',NULL,'prereview_nutrition',NULL,96,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_date_sent',NULL,'prereview_nutrition',NULL,95,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_nutrition] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_doc',NULL,'prereview_nutrition',NULL,94,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_nutrition] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other',NULL,'prereview_ctc',NULL,105,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_date_received',NULL,'prereview_ctc',NULL,108,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_date_sent',NULL,'prereview_ctc',NULL,107,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_doc',NULL,'prereview_ctc',NULL,106,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant',NULL,'prereview_participant',NULL,63,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_participant] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_complete',NULL,'prereview_participant',NULL,67,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_date_received',NULL,'prereview_participant',NULL,66,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_date_sent',NULL,'prereview_participant',NULL,65,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_doc',NULL,'prereview_participant',NULL,64,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_participant] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response',NULL,'prereview_pi_response',NULL,111,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI response',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_complete',NULL,'prereview_pi_response',NULL,115,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_date_received',NULL,'prereview_pi_response',NULL,114,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_date_sent',NULL,'prereview_pi_response',NULL,113,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_doc',NULL,'prereview_pi_response',NULL,112,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_pi_response] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific',NULL,'prereview_scientific',NULL,57,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_scientific] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_complete',NULL,'prereview_scientific',NULL,61,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_date_received',NULL,'prereview_scientific',NULL,60,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_date_sent',NULL,'prereview_scientific',NULL,59,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_doc',NULL,'prereview_scientific',NULL,58,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_scientific] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep',NULL,'prereview_sleep',NULL,87,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_complete',NULL,'prereview_sleep',NULL,91,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_date_received',NULL,'prereview_sleep',NULL,90,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_date_sent',NULL,'prereview_sleep',NULL,89,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_sleep] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_doc',NULL,'prereview_sleep',NULL,88,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_sleep] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'proj_id',NULL,'project','Project',1,NULL,NULL,'text','Project ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'project_complete',NULL,'project',NULL,22,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'project_type',NULL,'project',NULL,6,NULL,NULL,'select','Project Type','1, Expedited \\n 2, Full Committee \\n 3, Industry only',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev_notification_date',NULL,'workflow',NULL,38,NULL,NULL,'text','Date - Sent to Reviewers',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev1_name',NULL,'workflow',NULL,36,NULL,NULL,'text','Reviewer 1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev2_name',NULL,'workflow',NULL,37,NULL,NULL,'text','Reviewer 2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'sleep_cores',NULL,'post_award_administration',NULL,130,NULL,NULL,'text','Sleep Core ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number',NULL,'post_award_administration',NULL,122,NULL,NULL,'text','SRC Center Number - Institutional',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_crc',NULL,'post_award_administration',NULL,124,NULL,NULL,'text','SRC Center Number - CRC',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_ctsa',NULL,'post_award_administration',NULL,123,NULL,NULL,'text','SRC Center Number - CTSA',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_dh',NULL,'post_award_administration',NULL,125,NULL,NULL,'text','D & H Number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_full_project_period',NULL,'post_award_administration',NULL,121,NULL,NULL,'text','SRC full project period',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_letter_date',NULL,'post_award_administration',NULL,118,NULL,NULL,'text','SRC letter sent',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_letter_document',NULL,'post_award_administration',NULL,119,NULL,NULL,'file','SRC letter',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_notification_date',NULL,'workflow',NULL,39,NULL,NULL,'text','Date- Sent to SRC',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_percent_funded',NULL,'post_award_administration','Post-Award Administration',116,NULL,'Post-Award Administration','text','Percent of request funded (%)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_priority_score',NULL,'workflow',NULL,41,NULL,NULL,'text','SRC Priority Score',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_project_completion',NULL,'post_award_administration',NULL,137,NULL,NULL,'text','SRC completion date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_project_ending',NULL,'post_award_administration',NULL,120,NULL,NULL,'text','SRC project ending date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_total_award_amount',NULL,'post_award_administration',NULL,117,NULL,NULL,'text','SRC Total Award Amount ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'status_src_award',NULL,'workflow',NULL,40,NULL,NULL,'select','SRC Award Status','0, Approved \\n 1, Pending \\n 2, Deferred (Studio) \\n 3, Disapproved \\n 4, Tabled \\n 5, Withdrawn',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'title',NULL,'project',NULL,2,NULL,'Demographic Characteristics','textarea','Project Title',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'victr_status',NULL,'post_award_administration',NULL,136,NULL,NULL,'radio','VICTR Status','0, Inactive \\n 1, Active',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'vumc_core_facilities',NULL,'post_award_administration',NULL,131,NULL,NULL,'text','VUMC Core Facilities ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'workflow_complete',NULL,'workflow',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_1',NULL,'month_1_data',NULL,56,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_2',NULL,'month_2_data',NULL,76,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_3',NULL,'month_3_data',NULL,104,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_1',NULL,'month_1_data',NULL,44,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_2',NULL,'month_2_data',NULL,64,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_3',NULL,'month_3_data',NULL,85,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_b',NULL,'baseline_data',NULL,26,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'int','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'baseline_data_complete',NULL,'baseline_data',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_1',NULL,'month_1_data',NULL,61,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_2',NULL,'month_2_data',NULL,81,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_3',NULL,'month_3_data',NULL,109,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_1',NULL,'month_1_data',NULL,55,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_2',NULL,'month_2_data',NULL,75,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_3',NULL,'month_3_data',NULL,103,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_1',NULL,'month_1_data',NULL,48,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_2',NULL,'month_2_data',NULL,68,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_3',NULL,'month_3_data',NULL,89,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_b',NULL,'baseline_data',NULL,30,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'complete_study',NULL,'completion_data','Completion Data',111,NULL,'Study Completion Information','select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'complete_study_date',NULL,'completion_data',NULL,114,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'completion_data_complete',NULL,'completion_data',NULL,116,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_1',NULL,'month_1_data',NULL,53,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_2',NULL,'month_2_data',NULL,73,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_3',NULL,'month_3_data',NULL,101,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_1',NULL,'month_1_data',NULL,46,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_2',NULL,'month_2_data',NULL,66,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_3',NULL,'month_3_data',NULL,87,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_b',NULL,'baseline_data',NULL,28,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_blood_3',NULL,'month_3_data',NULL,84,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_blood_b',NULL,'baseline_data',NULL,25,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_1',NULL,'month_1_data',NULL,60,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_2',NULL,'month_2_data',NULL,80,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_3',NULL,'month_3_data',NULL,108,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_supplement_dispensed',NULL,'baseline_data',NULL,41,NULL,NULL,'text','Date patient begins supplement',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_1',NULL,'month_1_data','Month 1 Data',43,NULL,'Month 1','text','Date of Month 1 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_2',NULL,'month_2_data','Month 2 Data',63,NULL,'Month 2','text','Date of Month 2 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_3',NULL,'month_3_data','Month 3 Data',83,NULL,'Month 3','text','Date of Month 3 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_b',NULL,'baseline_data','Baseline Data',24,NULL,'Baseline Measurements','text','Date of baseline visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_1',NULL,'month_1_data',NULL,59,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_2',NULL,'month_2_data',NULL,79,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_3',NULL,'month_3_data',NULL,107,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_1',NULL,'month_1_data',NULL,57,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_2',NULL,'month_2_data',NULL,77,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_3',NULL,'month_3_data',NULL,105,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_1',NULL,'month_1_data',NULL,58,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_2',NULL,'month_2_data',NULL,78,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_3',NULL,'month_3_data',NULL,106,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_1',NULL,'month_1_data',NULL,51,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_2',NULL,'month_2_data',NULL,71,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_3',NULL,'month_3_data',NULL,92,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_b',NULL,'baseline_data',NULL,33,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(7,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_1',NULL,'month_1_data',NULL,54,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_2',NULL,'month_2_data',NULL,74,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_3',NULL,'month_3_data',NULL,102,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_1',NULL,'month_1_data',NULL,50,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_2',NULL,'month_2_data',NULL,70,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_3',NULL,'month_3_data',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_b',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_1_data_complete',NULL,'month_1_data',NULL,62,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_2_data_complete',NULL,'month_2_data',NULL,82,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_3_data_complete',NULL,'month_3_data',NULL,110,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_1',NULL,'month_1_data',NULL,52,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_2',NULL,'month_2_data',NULL,72,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_3',NULL,'month_3_data',NULL,100,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_1',NULL,'month_1_data',NULL,47,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_2',NULL,'month_2_data',NULL,67,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_3',NULL,'month_3_data',NULL,88,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_b',NULL,'baseline_data',NULL,29,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma1_3',NULL,'month_3_data',NULL,93,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma1_b',NULL,'baseline_data',NULL,34,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma2_3',NULL,'month_3_data',NULL,94,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma2_b',NULL,'baseline_data',NULL,35,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma3_3',NULL,'month_3_data',NULL,95,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma3_b',NULL,'baseline_data',NULL,36,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_1',NULL,'month_1_data',NULL,45,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_2',NULL,'month_2_data',NULL,65,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_3',NULL,'month_3_data',NULL,86,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_b',NULL,'baseline_data',NULL,27,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'randomization_form_complete',NULL,'randomization_form',NULL,23.2,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'randomization_group',NULL,'randomization_form','Randomization Form',23.1,NULL,'General Comments','select','Randomization Group','0, Drug A \\n 1, Drug B \\n 2, Drug C',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum1_3',NULL,'month_3_data',NULL,96,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum1_b',NULL,'baseline_data',NULL,37,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum2_3',NULL,'month_3_data',NULL,97,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum2_b',NULL,'baseline_data',NULL,38,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum3_3',NULL,'month_3_data',NULL,98,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum3_b',NULL,'baseline_data',NULL,39,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sga_3',NULL,'month_3_data',NULL,99,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sga_b',NULL,'baseline_data',NULL,40,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'study_comments',NULL,'completion_data',NULL,115,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_1',NULL,'month_1_data',NULL,49,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_2',NULL,'month_2_data',NULL,69,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_3',NULL,'month_3_data',NULL,90,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_b',NULL,'baseline_data',NULL,31,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'withdraw_date',NULL,'completion_data',NULL,112,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'withdraw_reason',NULL,'completion_data',NULL,113,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'age',NULL,'id_shipping',NULL,8,NULL,NULL,'text','Age',NULL,'Age at surgery, DOB not available','float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'age_at_surgery',NULL,'pathology_review',NULL,70,NULL,NULL,'calc','Age at Surgery','round(datediff([date_of_birth],[date_surgery],\"y\",\"mdy\",true),0)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'another_accnumber',NULL,'tma_information',NULL,186,NULL,NULL,'yesno','Another_AccNumber?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'bc_molecularsubtype',NULL,'pathology_review',NULL,94,NULL,NULL,'select','BC_MolecularSubtype','1, Luminal A \\n 2, Luminal B \\n 3, HER2 \\n 4, Triple Negative \\n 5, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'bc_precancerous',NULL,'pathology_review',NULL,98,NULL,NULL,'select','BC_Precancerous','1, Not seen \\n 2, DCIS \\n 3, LCIS \\n 4, DCIS+LCIS',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'blk_no_received',NULL,'id_shipping',NULL,17,NULL,NULL,'text','Block_ Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_metastatic',NULL,'pathology_review',NULL,76,NULL,NULL,'text','BlockNum_Metastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_normal',NULL,'pathology_review',NULL,75,NULL,NULL,'text','BlockNum_Normal',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_precancerous',NULL,'pathology_review',NULL,77,NULL,NULL,'text','BlockNum_Precancerous',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_received2',NULL,'id_shipping',NULL,37,NULL,NULL,'text','Block_ Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_received3',NULL,'id_shipping',NULL,55,NULL,NULL,'text','Block_ Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_tumor',NULL,'pathology_review',NULL,74,NULL,NULL,'text','BlockNum_Tumor',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_breast',NULL,'pathology_review',NULL,84,NULL,'For Breast Cancer Samples','select','Clin_Diagn_Breast','1, Noninvasive carcinoma (NOS) \\n 2, Ductal carcinoma in situ \\n 3, Lobular carcinoma in situ \\n 4, Paget disease without invasive carcinoma \\n 5, Invasive carcinoma (NOS) \\n 6, Invasive ductal carcinoma \\n 7, IDC with an extensive intraductal component \\n 8, IDC with Paget disease \\n 9, Invasive lobular \\n 10, Mucinous \\n 11, Medullary \\n 12, Papillary \\n 13, Tubular \\n 14, Adenoid cystic \\n 15, Secretory (juvenile) \\n 16, Apocrine \\n 17, Cribriform \\n 18, Carcinoma with squamous metaplasia \\n 19, Carcinoma with spindle cell metaplasia \\n 20, Carcinoma with cartilaginous/osseous metaplasia \\n 21, Carcinoma with metaplasia, mixed type \\n 22, Other(s) (specify) \\n 23, Not assessable \\n 24, No cancer tissue \\n 25, IDC+ILC (50 -90% each component)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_lung',NULL,'pathology_review',NULL,125,NULL,'For Lung Cancer Samples','select','Clin_Diagn_Lung','1, Squamous cell carcinoma 8070/3 \\n 2, Small cell carcinoma 8041/3 \\n 3, Adenocarcinoma 8140/3 \\n 4, Adenocarcinoma, mixed subtype 8255/3 \\n 5, Adenocarcinoma, Acinar 8550/3 \\n 6, Adenocarcinoma, Papillary 8260/3 \\n 7, Adenocarcinoma, Micropapillary \\n 8, Bronchioloalveolar carcinoma 8250/3 \\n 9, Solid adenocarcinoma with mucin 8230/3 \\n 10, Adenosquamous carcinoma 8560/3 \\n 11, Large cell carcinoma 8012/3 \\n 12, Sarcomatoid carcinoma 8033/3 \\n 13, Carcinoid tumour 8240/3 \\n 14, Mucoepidermoid carcinoma 8430/3 \\n 15, Epithelial-myoepithelial carcinoma 8562/3 \\n 16, Adenoid cystic carcinoma 8200/3 \\n 17, Unclassified carcinoma \\n 18, Others \\n 19, Large cell neuroendocrine carcinoma 8013/3',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_others',NULL,'pathology_review',NULL,133,NULL,'For Other Cancer Samples','text','Clin_Diagn_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_prostate',NULL,'pathology_review',NULL,102,NULL,'For Prostate Cancer Samples','select','Clin_Diagn_Prostate','1, Adenocarcinoma,NOS \\n 2, Prostatic duct adenocarcinoma \\n 3, Mucinous adenocarcinoma \\n 4, Signet-ring cell carcinoma \\n 5, Adenosquemous carcinoma \\n 6, Small cell carcinoma \\n 7, Sarcomatoid carcinoma \\n 8, Other (specifiy) \\n 9, Undifferentiated carcinoma, NOS \\n 10, Cannot be determined',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_giag_colon',NULL,'pathology_review',NULL,115,NULL,'For Colon Cancer Samples','select','Clin_Diagn_Colon','1, 1 Adenocarcinoma \\n 2, 2 Mucinous adenocarcinoma \\n 3, 3 Medullary carcinoma \\n 4, 4 Signet ring cell carcinoma \\n 5, 5 Small cell carcinoma \\n 6, 6 Squamous cell carcinoma \\n 7, 7 Adenosquamous carcinoma \\n 8, 8 Others \\n 9, 9 Adenoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_gleason_score',NULL,'pathology_review',NULL,105,NULL,NULL,'text','Clin_Gleason_Score',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_breast',NULL,'pathology_review',NULL,88,NULL,NULL,'select','Clin_Grade_Breast','1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 1~2 \\n 5, 2~3 \\n 6, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_colon',NULL,'pathology_review',NULL,119,NULL,NULL,'select','Clin_Grade_Colon','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A \\n 5, Low-Intermediate \\n 6, Intermediate-High',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_lung',NULL,'pathology_review',NULL,128,NULL,NULL,'select','Clin_Grade_Lung','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A \\n 5, Low-Intermediate \\n 6, Intermediate-High',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_others',NULL,'pathology_review',NULL,135,NULL,NULL,'text','Clin_Grade_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_pro',NULL,'pathology_review',NULL,106,NULL,NULL,'select','Clin_Grade_Pro','1, Low(1-4) \\n 2, Intermediate(5-7) \\n 3, High(8-10)','Gleason Score System',NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'collection_note2',NULL,'id_shipping',NULL,27,NULL,NULL,'textarea','FollowUp_Note2',NULL,NULL,NULL,NULL,NULL,NULL,'[follow_up_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'collection_note3',NULL,'id_shipping',NULL,45,NULL,NULL,'textarea','FollowUp_Note',NULL,NULL,NULL,NULL,NULL,NULL,'[follow_up_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'date_of_birth','1','id_shipping',NULL,7,NULL,NULL,'text','Date of Birth',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'date_surgery',NULL,'pathology_review',NULL,69,NULL,'Clinical Pathology Information','text','Date_Surgery',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'dna_index',NULL,'pathology_review',NULL,97,NULL,NULL,'text','DNA Index',NULL,'Unfavorable: >1.1',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'estrogen_receptor',NULL,'pathology_review',NULL,90,NULL,NULL,'select','Estrogen Receptor','0, negative \\n 1, week (<1%) \\n 2, positive (>=1%) \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'extraprostate_extention',NULL,'pathology_review',NULL,114,NULL,NULL,'select','ExtraProstate Extention','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city',NULL,'id_shipping',NULL,10,NULL,NULL,'text','Facility_City',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city2',NULL,'id_shipping',NULL,30,NULL,NULL,'text','Facility_City2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\' and [samefacasbefore] = \'0\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city3',NULL,'id_shipping',NULL,48,NULL,NULL,'text','Facility_City3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name',NULL,'id_shipping',NULL,9,NULL,'Shipping Information','text','Facility_Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name2',NULL,'id_shipping',NULL,29,NULL,NULL,'text','Facility_Name2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacasbefore] = \'0\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name3',NULL,'id_shipping',NULL,47,NULL,NULL,'text','Facility_Name3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state',NULL,'id_shipping',NULL,11,NULL,NULL,'text','Facility_State',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state2',NULL,'id_shipping',NULL,31,NULL,NULL,'text','Facility_State2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\' and [samefacasbefore] = \'0\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state3',NULL,'id_shipping',NULL,49,NULL,NULL,'text','Facility_State3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'first_name','1','id_shipping',NULL,3,NULL,NULL,'text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_met_currentquant',NULL,'slide_information',NULL,166,NULL,NULL,'text','5um_Met_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_met_quant',NULL,'slide_information',NULL,165,NULL,NULL,'text','5um_Met_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_currquant',NULL,'slide_information',NULL,145,NULL,NULL,'text','5um_Nor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_currquant2',NULL,'slide_information',NULL,157,NULL,NULL,'text','5um_Nor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_quant',NULL,'slide_information',NULL,144,NULL,NULL,'text','5um_Nor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_quant2',NULL,'slide_information',NULL,156,NULL,NULL,'text','5um_Nor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_precancer_curquant',NULL,'slide_information',NULL,174,NULL,NULL,'text','5um_Precancer_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_precancer_quant',NULL,'slide_information',NULL,173,NULL,NULL,'text','5um_Precancer_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_currquant',NULL,'slide_information',NULL,141,NULL,NULL,'text','5um_Tumor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_currquant2',NULL,'slide_information',NULL,153,NULL,NULL,'text','5um_Tumor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_quant',NULL,'slide_information','Slide Information',140,NULL,NULL,'text','5um_Tumor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_quant2',NULL,'slide_information',NULL,152,NULL,NULL,'text','5um_Tumor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'follow_up_needed2',NULL,'id_shipping',NULL,26,NULL,NULL,'yesno','Follow up needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'follow_up_needed3',NULL,'id_shipping',NULL,44,NULL,NULL,'yesno','Follow up needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'followup_note',NULL,'id_shipping',NULL,24,NULL,NULL,'textarea','FollowUp_Note',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'forwhoseproject',NULL,'slide_tracking',NULL,195,NULL,NULL,'text','ForWhoseProject1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'gender',NULL,'pathology_review',NULL,71,NULL,NULL,'select','Gender','1, male \\n 2, female \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'her2_fish',NULL,'pathology_review',NULL,93,NULL,NULL,'select','HER2_FISH','0, 0 (Non-Amplified, <1.8) \\n 1, 1 (Amplified, >2.2) \\n 2, 2 (Borderline, 1.8~2.2) \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'her2_immunohistochemistry',NULL,'pathology_review',NULL,92,NULL,NULL,'select','HER2_Immunohistochemistry','0, 0 \\n 1, 1 (1~9% cells positivity) \\n 2, 2 (10-30% cells positivity) \\n 3, 3 (>30% cells positivity with strong color) \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'id_shipping_complete',NULL,'id_shipping',NULL,61,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_ilc_subtype',NULL,'pathology_review',NULL,86,NULL,NULL,'select','ILC_Subtype','901, classical ILC \\n 902, solid ILC \\n 903, pleomorphic ILC \\n 904, alveolar ILC \\n 905, tubulolobular ILC \\n 906, mixed ILC \\n 907, signet ring cell ILC \\n 908, others',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\' and [lab_diagn_breast] = \'9\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_no_location2',NULL,'slide_information',NULL,161,NULL,NULL,'text','If_No_Location2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[same_slideloc] = \'0\' and [is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_others_specify',NULL,'pathology_review',NULL,127,NULL,NULL,'text','If_Others_Specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'4\' and [lab_diagn_lung] = \'10\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize1',NULL,'pathology_review',NULL,78,NULL,NULL,'text','InvitroSize1',NULL,'Maximum size in centimeter','float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize2',NULL,'pathology_review',NULL,79,NULL,NULL,'text','InvitroSize2',NULL,'In % of total tissue volume for prostate cancer','float',NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize3',NULL,'pathology_review',NULL,80,NULL,NULL,'text','InvitroSize3',NULL,'The seceond largest tumor',NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_another_accnumber',NULL,'slide_information',NULL,150,NULL,NULL,'yesno','Is there another AccNumber?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_metastatic_tumor',NULL,'slide_information',NULL,163,NULL,NULL,'yesno','Is there Metastatic Tumor?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_precancer',NULL,'slide_information',NULL,171,NULL,NULL,'yesno','Is There Precancer?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ki_67',NULL,'pathology_review',NULL,95,NULL,NULL,'text','Ki-67',NULL,'positive cells in percentage','float',NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diag_prostate',NULL,'pathology_review',NULL,103,NULL,NULL,'select','Lab_Diag_Prostate','1, Adenocarcinoma,NOS \\n 2, Prostatic duct adenocarcinoma \\n 3, Mucinous adenocarcinoma \\n 4, Signet-ring cell carcinoma \\n 5, Adenosquemous carcinoma \\n 6, Small cell carcinoma \\n 7, Sarcomatoid carcinoma \\n 8, Other (specifiy) \\n 9, Undifferentiated carcinoma, NOS \\n 10, Cannot be determined',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_breast',NULL,'pathology_review',NULL,85,NULL,NULL,'select','Lab_Diagn_Breast','1, Noninvasive carcinoma (NOS) \\n 2, Ductal carcinoma in situ \\n 3, Lobular carcinoma in situ \\n 4, Paget disease without invasive carcinoma \\n 5, Invasive carcinoma (NOS) \\n 6, Invasive ductal carcinoma \\n 7, IDC with an extensive intraductal component \\n 8, IDC with Paget disease \\n 9, Invasive lobular \\n 10, Mucinous \\n 11, Medullary \\n 12, Papillary \\n 13, Tubular \\n 14, Adenoid cystic \\n 15, Secretory (juvenile) \\n 16, Apocrine \\n 17, Cribriform \\n 18, Carcinoma with squamous metaplasia \\n 19, Carcinoma with spindle cell metaplasia \\n 20, Carcinoma with cartilaginous/osseous metaplasia \\n 21, Carcinoma with metaplasia, mixed type \\n 22, Other(s) (specify) \\n 23, Not assessable \\n 24, No cancer tissue \\n 25, IDC+ILC (50 -90% each component)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_colon',NULL,'pathology_review',NULL,117,NULL,NULL,'select','Lab_Diagn_Colon','1, 1 Adenocarcinoma \\n 2, 2 Mucinous adenocarcinoma \\n 3, 3 Medullary carcinoma \\n 4, 4 Signet ring cell carcinoma \\n 5, 5 Small cell carcinoma \\n 6, 6 Squamous cell carcinoma \\n 7, 7 Adenosquamous carcinoma \\n 8, 8 Others \\n 9, 9 Adenoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_lung',NULL,'pathology_review',NULL,126,NULL,NULL,'select','Lab_Diagn_Lung','1, Squamous cell carcinoma 8070/3 \\n 2, Small cell carcinoma 8041/3 \\n 3, Adenocarcinoma 8140/3 \\n 4, Adenocarcinoma, mixed subtype 8255/3 \\n 5, Adenocarcinoma, Acinar 8550/3 \\n 6, Adenocarcinoma, Papillary 8260/3 \\n 7, Adenocarcinoma, Micropapillary \\n 8, Bronchioloalveolar carcinoma 8250/3 \\n 9, Solid adenocarcinoma with mucin 8230/3 \\n 10, Adenosquamous carcinoma 8560/3 \\n 11, Large cell carcinoma 8012/3 \\n 12, Sarcomatoid carcinoma 8033/3 \\n 13, Carcinoid tumour 8240/3 \\n 14, Mucoepidermoid carcinoma 8430/3 \\n 15, Epithelial-myoepithelial carcinoma 8562/3 \\n 16, Adenoid cystic carcinoma 8200/3 \\n 17, Unclassified carcinoma \\n 18, Others \\n 19, Large cell neuroendocrine carcinoma 8013/3',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_others',NULL,'pathology_review',NULL,134,NULL,NULL,'text','Lab_Diagn_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_gleason_score',NULL,'pathology_review',NULL,107,NULL,NULL,'text','Lab_Gleason_Score',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_breast',NULL,'pathology_review',NULL,89,NULL,NULL,'select','Lab_Grade_Breast','1, 1 \\n 2, 2 \\n 3, 3 \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_colon',NULL,'pathology_review',NULL,120,NULL,NULL,'select','Lab_Grade_Colon','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_lung',NULL,'pathology_review',NULL,129,NULL,NULL,'select','Lab_Grade_Lung','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_others',NULL,'pathology_review',NULL,136,NULL,NULL,'text','Lab_Grade_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_pro',NULL,'pathology_review',NULL,108,NULL,NULL,'select','Lab_Grade_Pro','1, Low(1-4) \\n 2, Intermediate(5-7) \\n 3, High(8-10)','Gleason Score System (1-10)',NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_id','0','id_shipping','ID Shipping',1,NULL,'IDs','text','Lab ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'labcirculation_time',NULL,'id_shipping',NULL,23,NULL,NULL,'calc','LabCirculation_time','round(datediff([receivedate],[return_date],\"d\",\"mdy\"))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'last_name','1','id_shipping',NULL,5,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'metastatic_accnum',NULL,'slide_information',NULL,164,NULL,NULL,'text','Metastatic_AccNum',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'middle_name',NULL,'id_shipping',NULL,4,NULL,NULL,'text','Middle Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'other_acc_no',NULL,'pathology_review',NULL,73,NULL,NULL,'text','Other_Acc_No',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'other_location_lung',NULL,'pathology_review',NULL,67,NULL,NULL,'text','Other location_lung',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'4\' and [tumor_location_lung] = \'11\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber',NULL,'id_shipping',NULL,36,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber2',NULL,'id_shipping',NULL,16,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber3',NULL,'id_shipping',NULL,54,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'p53_ihc',NULL,'pathology_review',NULL,96,NULL,NULL,'text','p53_IHC',NULL,'positive cells in percentage',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_1',NULL,'slide_information',NULL,149,NULL,NULL,'text','ParaPieceLoc_1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_2',NULL,'slide_information',NULL,162,NULL,NULL,'text','ParaPieceLoc_2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_metastatic',NULL,'slide_information',NULL,170,NULL,NULL,'text','ParaPieceLoc_Metastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_precancer',NULL,'slide_information',NULL,178,NULL,NULL,'text','ParaPieceLoc_Precancer',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnum_2',NULL,'slide_information',NULL,151,NULL,NULL,'text','PathAccNum_2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber','1','id_shipping',NULL,15,NULL,NULL,'text','PathAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber2',NULL,'id_shipping',NULL,35,NULL,NULL,'text','PathAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber3',NULL,'id_shipping',NULL,53,NULL,NULL,'text','PathAccNumber3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathoireview_note',NULL,'pathology_review',NULL,138,NULL,NULL,'textarea','PatholReview_Note',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathol_acc_no','1','pathology_review',NULL,72,NULL,NULL,'text','Pathol_Acc_No',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathology_review_complete',NULL,'pathology_review',NULL,139,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'perineuralinvasion',NULL,'pathology_review',NULL,81,NULL,NULL,'select','PerineuralInvasion','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pre_cancerous_colon',NULL,'pathology_review',NULL,124,NULL,NULL,'textarea','Pre-cancerous_Colon',NULL,NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'precancer_accnum',NULL,'slide_information',NULL,172,NULL,NULL,'text','PreCancer_AccNum',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'progesterone_receptor',NULL,'pathology_review',NULL,91,NULL,NULL,'select','Progesterone Receptor','0, negative (0~2) \\n 1, week (3~4) \\n 2, intermediate (5~6) \\n 3, strong (7~8) \\n 4, N/A','Allred Score System 0-8',NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'psa_level',NULL,'pathology_review',NULL,112,NULL,NULL,'text','PSA_Level',NULL,'ng/mL',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pulled_quant1',NULL,'slide_tracking',NULL,197,NULL,NULL,'text','Pulled_Quant1',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pulling_date1',NULL,'slide_tracking','Slide Tracking',194,NULL,NULL,'text','Pulling_Date1',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate','1','id_shipping',NULL,12,NULL,NULL,'text','ReceiveDate',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate2',NULL,'id_shipping',NULL,32,NULL,NULL,'text','ReceiveDate2',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate3',NULL,'id_shipping',NULL,50,NULL,NULL,'text','ReceiveDate3',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivetracking2',NULL,'id_shipping',NULL,34,NULL,NULL,'text','ReceiveTracking2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivetracking3',NULL,'id_shipping',NULL,52,NULL,NULL,'text','ReceiveTracking3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_date',NULL,'id_shipping',NULL,21,NULL,NULL,'text','ReturnDate',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed',NULL,'id_shipping',NULL,20,NULL,NULL,'yesno','Return_Needed?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed2',NULL,'id_shipping',NULL,40,NULL,NULL,'yesno','Return_needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed3',NULL,'id_shipping',NULL,58,NULL,NULL,'yesno','Return_needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_tracking',NULL,'id_shipping',NULL,22,NULL,NULL,'text','ReturnTracking',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_tracking2',NULL,'id_shipping',NULL,42,NULL,NULL,'text','ReturnTracking2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[return_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returndate2',NULL,'id_shipping',NULL,41,NULL,NULL,'text','ReturnDate2',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[return_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returndate3',NULL,'id_shipping',NULL,59,NULL,NULL,'text','ReturnDate3',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[return_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returntracking3',NULL,'id_shipping',NULL,60,NULL,NULL,'text','ReturnTracking3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[return_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'same_slideloc',NULL,'slide_information',NULL,160,NULL,NULL,'yesno','Same_SlideLoc?',NULL,NULL,NULL,NULL,NULL,NULL,'[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'samefacasbefore',NULL,'id_shipping',NULL,28,NULL,NULL,'yesno','SameFacilityAsBefore?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'samefacilityasbefore2',NULL,'id_shipping',NULL,46,NULL,NULL,'yesno','SameFacilityAsBefore?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'secondtime_getsample',NULL,'id_shipping',NULL,25,NULL,'If Receive Sample 2nd Time','yesno','2nd_Time_Receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'seminalinvasion',NULL,'pathology_review',NULL,113,NULL,NULL,'select','SeminalInvasion','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod',NULL,'id_shipping',NULL,13,NULL,NULL,'select','ShipMethod','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod2',NULL,'id_shipping',NULL,33,NULL,NULL,'select','ShipMethod2','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod3',NULL,'id_shipping',NULL,51,NULL,NULL,'select','ShipMethod3','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slide_information_complete',NULL,'slide_information',NULL,179,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slide_tracking_complete',NULL,'slide_tracking',NULL,198,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_1',NULL,'slide_information',NULL,148,NULL,NULL,'text','SlideLoc_1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_metmetastatic',NULL,'slide_information',NULL,169,NULL,NULL,'text','SlideLoc_Metmetastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_precancer',NULL,'slide_information',NULL,177,NULL,NULL,'text','SlideLoc_Precancer',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_colon_clin',NULL,'pathology_review',NULL,116,NULL,NULL,'text','If others_specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'3\' and [clin_giag_colon] = \'8\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_colon_lab',NULL,'pathology_review',NULL,118,NULL,NULL,'text','If others_specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'3\' and [lab_diagn_colon] = \'8\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_if_other_type_br',NULL,'pathology_review',NULL,87,NULL,NULL,'text','Specify_If_Other_Type_Br',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_if_other_type_pro',NULL,'pathology_review',NULL,104,NULL,NULL,'text','Specify_If_Other_type_Pro',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_other_location',NULL,'pathology_review',NULL,68,NULL,NULL,'text','Specify_Other_Location',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_other_origin',NULL,'pathology_review',NULL,63,NULL,NULL,'text','Specify_Other_Origin',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received',NULL,'id_shipping',NULL,18,NULL,NULL,'text','StainedSlide_Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received2',NULL,'id_shipping',NULL,38,NULL,NULL,'text','StainedSlide_Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received3',NULL,'id_shipping',NULL,56,NULL,NULL,'text','StainedSlide_Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'suffix',NULL,'id_shipping',NULL,6,NULL,NULL,'text','Suffix',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'surgical_margin_cancer_pre',NULL,'pathology_review',NULL,83,NULL,NULL,'select','Surgical margin cancer present','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_met_currentquant',NULL,'slide_information',NULL,168,NULL,NULL,'text','10um_Met_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_met_quant',NULL,'slide_information',NULL,167,NULL,NULL,'text','10um_Met_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_currquant',NULL,'slide_information',NULL,147,NULL,NULL,'text','10um_Nor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_currquant2',NULL,'slide_information',NULL,159,NULL,NULL,'text','10um_Nor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_quant',NULL,'slide_information',NULL,146,NULL,NULL,'text','10um_Nor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_quant2',NULL,'slide_information',NULL,158,NULL,NULL,'text','10um_Nor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_precancer_curquant',NULL,'slide_information',NULL,176,NULL,NULL,'text','10um_Precancer_CurQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_precancer_quant',NULL,'slide_information',NULL,175,NULL,NULL,'text','10um_Precancer_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_currquant',NULL,'slide_information',NULL,143,NULL,NULL,'text','10um_Tumor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_currquant2',NULL,'slide_information',NULL,155,NULL,NULL,'text','10um_Tumor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_quant',NULL,'slide_information',NULL,142,NULL,NULL,'text','10um_Tumor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_quant2',NULL,'slide_information',NULL,154,NULL,NULL,'text','10um_Tumor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'thirdtime_getsample',NULL,'id_shipping',NULL,43,NULL,'If Receive Sample 3rd Time','yesno','3rd_Time_Receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos1',NULL,'tma_information','TMA Information',180,NULL,NULL,'text','TMA_Ca_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos2',NULL,'tma_information',NULL,181,NULL,NULL,'text','TMA_Ca_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos3',NULL,'tma_information',NULL,187,NULL,NULL,'text','TMA_Ca_pos3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos4',NULL,'tma_information',NULL,188,NULL,NULL,'text','TMA_Ca_pos4',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_information_complete',NULL,'tma_information',NULL,193,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_metastatic_pos',NULL,'tma_information',NULL,185,NULL,NULL,'text','TMA Metastatic_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_metastatic_pos2',NULL,'tma_information',NULL,192,NULL,NULL,'text','TMA Metastatic_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos1',NULL,'tma_information',NULL,182,NULL,NULL,'text','TMA_Nor_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos2',NULL,'tma_information',NULL,183,NULL,NULL,'text','TMA_Nor_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos3',NULL,'tma_information',NULL,189,NULL,NULL,'text','TMA_Nor_pos3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos4',NULL,'tma_information',NULL,190,NULL,NULL,'text','TMA_Nor_pos4',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_preca_pos',NULL,'tma_information',NULL,184,NULL,NULL,'text','TMA_ PreCa_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_preca_pos2',NULL,'tma_information',NULL,191,NULL,NULL,'text','TMA_ PreCa_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnm_breast_tumor',NULL,'pathology_review',NULL,99,NULL,NULL,'select','TNMbreast_PrimTum(T)','1, TX:Primary tumor cannot be assessed \\n 2, T0:No evidence of primary tumor \\n 3, Tis:DCIS/LCIS/Paget\'s dis w/o associated tumor \\n 4, T1mic:Microinvasion <=0.1 cm \\n 5, T1a:>0.1 but <=0.5 cm \\n 6, T1b:>0.5 cm but <=1.0 cm \\n 7, T1c:>1.0 cm but <=2.0 cm \\n 8, T2:Tumor >2.0 cm but <=5.0 cm \\n 9, T3:Tumor >5.0 cm \\n 10, T4a:Any size with direct extension to chest wall \\n 11, T4b:skin Edema/ulceration;satellite skin nodules \\n 12, T4c:Both of T4a and T4b \\n 13, T4d:Inflammatory carcinoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnm_stage',NULL,'pathology_review',NULL,137,NULL,NULL,'text','TNM_Stage',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmbreast_distantmetast_m',NULL,'pathology_review',NULL,101,NULL,NULL,'select','TNMbreast_DistantMetast (M)','1, MX: cannot be assessed \\n 2, M0: No distant metastasis \\n 3, M1: yes includes ipsilateral supraclavicular LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmbreast_ln_n',NULL,'pathology_review',NULL,100,NULL,NULL,'select','TNMbreast_LN (N)','1, NX: Regional LNs cannot be assessed \\n 2, N0: No regional LNs metastasis \\n 3, N1: Movable ipsilateral axillary LN(s) \\n 4, N2: Ipsilateral axillary LN(s) fixed \\n 5, N3: Ipsilateral internal mammary LN(s) \\n 6, pNX: Regional LNs cannot be assessed \\n 7, pN0: No regional LNs metastasis \\n 8, pN1: movable ipsilateral axillary LN(s) \\n 9, pN1a:Only micrometastasis <=0.2 cm \\n 10, pN1b: Metastasis any >0.2 cm \\n 11, pN1bi:1 to 3 LNs, any >0.2 cm and all <2.0 cm \\n 12, pN1bii: >=4 LN3, any >0.2 cm and all <2.0 cm \\n 13, pN1biii: beyond LN capsule,metastasis <2.0 cm \\n 14, pN1biv: Metastasis to a LN >=2.0 cm \\n 15, pN2: to ipsilateral axillaryLN(s) fixed \\n 16, pN3: to ipsilateral internal mammary LN(s) \\n 17, pN0(i+)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_m',NULL,'pathology_review',NULL,123,NULL,NULL,'select','TNMcolon_M','M0, M0 No distant spread \\n M1a, M1a to 1 distant organ or set of distant LNs \\n M1b, M1b to >1 or distant parts peritoneum \\n MX, MX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_n',NULL,'pathology_review',NULL,122,NULL,NULL,'select','TNMcolon_N','Nx, Nx incomplete information. \\n N0, N0 No cancer in nearby LNs \\n N1a, N1a in 1 nearby LN \\n N1b, N1b in 2 to 3 nearby LNs \\n N1c, N1c cancer cells in areas of fat near LN, but not in LNs \\n N2a, N2a in 4 to 6 nearby LN \\n N2b, N2b in 7 or more nearby LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_t',NULL,'pathology_review',NULL,121,NULL,NULL,'select','TNMcolon_T','Tx, Tx \\n Tis, Tis earliest stage (in situ) involves only mucosa \\n T1, T1 through the muscularis mucosa \\n T2, T2 through submucosa into muscularis propria \\n T3, T3 through muscularis propria into outermost layers \\n T4a, T4a through serosa/visceral peritoneum \\n T4b, T4b through the wall attach/invade nearby tissues',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_m',NULL,'pathology_review',NULL,132,NULL,NULL,'select','TNMlung_M','13, MX \\n 14, M0 \\n 15, M1 Distant metastasis, includes separate tumour nodule(s) in different lobe',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_n',NULL,'pathology_review',NULL,131,NULL,NULL,'select','TNMlung_N','8, NX \\n 9, N0 \\n 10, N1 Ipsilateral peribronchial/ipsilateral hilar LNs and intrapulmonary LNs \\n 11, N2 ipsilateral mediastinal/subcarinal LNs \\n 12, N3 contralateral mediastinal, contralateral hilar, ipsilateral or contralateral scalene, or supraclavicular LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_t',NULL,'pathology_review',NULL,130,NULL,NULL,'select','TNMlung_T','1, TX \\n 2, T0 No evidence of primary tumour \\n 3, Tis Carcinoma in situ \\n 4, T1 <= 3 cm, without invasion \\n 5, T2 > 3 cm; or involves main bronchus(>2 cm distal to carina)/visceral pleura; or Associated with atelectasis or obstructive pneumonitis that does not involve entire lung \\n 6, T3 any size that directly invades any of:chest wall, diaphragm, mediastinal pleura, parietal pericardium; or tumour in main bronchus < 2 cm distal to carina but without involvement of carina; or associated atelectasis or obstructive pneumonitis of entire lung \\n 7, T4 any size that invades any of: mediastinum, heart, great vessels, trachea, oesophagus, vertebral body, carina; separate tumour nodule(s) in same lobe; tumour with malignant pleural effusion',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_m',NULL,'pathology_review',NULL,111,NULL,NULL,'select','TNMprostate_M','1, M0: spread only regionally in pelvic area \\n 2, M1: spread beyond pelvic area \\n 3, MX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_n',NULL,'pathology_review',NULL,110,NULL,NULL,'select','TNMprostate_N','1, N0: not to pelvic LN \\n 2, N1: a single pelvic LN,<= 2 cm \\n 3, N2: a single pelvic LN,2-5cm \\n 4, N3: >5 cm in size \\n 5, NX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_t',NULL,'pathology_review',NULL,109,NULL,NULL,'select','TNMprostate_T','1, T1: Microscopic, DRE/Ultrasound undetectable \\n 2, T1a: <=5 percent \\n 3, T1b: >5 percent \\n 4, T1c: as F/U of screening w/ high PSA \\n 5, T2: within prost, DRE/ultrasound detectable \\n 6, T2a: >half of one lobe \\n 7, T2b: >half of one lobe,DRE detectable often \\n 8, T2c: involve both lobes \\n 9, T3: surrounding tissues or seminal vesicles \\n 10, T3a: outside prostate on one side \\n 11, T3b: outside prostate on both sides \\n 12, T3c: to one or both seminal tubes \\n 13, T4a: to bladder or rectum \\n 14, T4b: beyond prostate or levator muscles \\n 15, TX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'trackingnumber',NULL,'id_shipping',NULL,14,NULL,NULL,'text','ReceiveTracking',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'trc_id',NULL,'id_shipping',NULL,2,NULL,NULL,'text','TRC ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location',NULL,'pathology_review',NULL,64,NULL,NULL,'select','Location_Breast_Prostate','1, Left \\n 2, Right \\n 3, Bilateral \\n 4, Multiple \\n 5, Unclear','Multiple means 2 or more',NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\' or [tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location_colorectum',NULL,'pathology_review',NULL,65,NULL,NULL,'select','Location_Colorectum','1, Appendix \\n 2, Cecum \\n 3, Ascending \\n 4, Hepatic Flexure \\n 5, Transverse \\n 6, Splenic Flexure \\n 7, Descending \\n 8, Sigmoid \\n 9, Rectum \\n 10, Anus \\n 11, Left \\n 12, Right \\n 13, Unclear',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location_lung',NULL,'pathology_review',NULL,66,NULL,NULL,'select','Location_Lung','1, Right Upper Lobe \\n 2, Right Middle Lobe \\n 3, Right Lower Lobe \\n 4, Left Upper Lobe \\n 5, Left Lower Lobe \\n 6, Right Bronchus \\n 7, Left Bronchus \\n 8, Right \\n 9, Left \\n 10, Unclear \\n 11, Others (specify it)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_origin',NULL,'pathology_review','Pathology Review',62,NULL,'Tumor Origin and Location','select','Tumor_Origin','1, Breast \\n 2, Prostate \\n 3, Colorectum \\n 4, Lung \\n 5, Others',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received',NULL,'id_shipping',NULL,19,NULL,NULL,'text','UnstainedSlide_Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received2',NULL,'id_shipping',NULL,39,NULL,NULL,'text','UnstainedSlide_Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received3',NULL,'id_shipping',NULL,57,NULL,NULL,'text','UnstainedSlide_Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'vascular_invasion',NULL,'pathology_review',NULL,82,NULL,NULL,'select','Vascular invasion present','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'whichslidepulled1',NULL,'slide_tracking',NULL,196,NULL,NULL,'text','WhichSlidePulled1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'address','1','participant_info_survey',NULL,8,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'complete_study',NULL,'completion_data','Completion Data (to be entered by study personnel only)',22,NULL,'This form is to be filled out by study personnel.','yesno','Has patient completed study?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'completion_data_complete',NULL,'completion_data',NULL,29,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'consent',NULL,'prescreening_survey',NULL,4,NULL,NULL,'checkbox','By checking this box, I certify that I am at least 18 years old and that I give my consent freely to participant in this study.','1, I consent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'date_visit_4',NULL,'completion_data',NULL,25,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'discharge_date_4',NULL,'completion_data',NULL,26,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'discharge_summary_4',NULL,'completion_data',NULL,27,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'dob',NULL,'prescreening_survey',NULL,2,NULL,'Please fill out the information below.','text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'email','1','prescreening_survey',NULL,2.1,NULL,NULL,'text','E-mail address',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'ethnicity',NULL,'participant_info_survey',NULL,11,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(9,'first_name','1','participant_info_survey','Participant Info Survey',6,NULL,'As a participant in this study, please answer the questions below. Thank you!','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'has_diabetes',NULL,'prescreening_survey',NULL,3,NULL,NULL,'truefalse','I currently have Type 2 Diabetes',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'height',NULL,'participant_info_survey',NULL,14,NULL,NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'last_name','1','participant_info_survey',NULL,7,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_id',NULL,'prescreening_survey','Pre-Screening Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_info_survey_complete',NULL,'participant_info_survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_morale_questionnaire_complete',NULL,'participant_morale_questionnaire',NULL,21,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq1',NULL,'participant_morale_questionnaire','Participant Morale Questionnaire',17,NULL,'As a participant in this study, please answer the questions below. Thank you!','select','On average, how many pills did you take each day last week?','0, Less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, Over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq2',NULL,'participant_morale_questionnaire',NULL,18,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq3',NULL,'participant_morale_questionnaire',NULL,19,NULL,NULL,'yesno','Would you be willing to discuss your experiences with a psychiatrist?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq4',NULL,'participant_morale_questionnaire',NULL,20,NULL,NULL,'select','How open are you to further testing?','0, Not open \\n 1, Undecided \\n 2, Very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'prescreening_survey_complete',NULL,'prescreening_survey',NULL,5,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'race',NULL,'participant_info_survey',NULL,12,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'sex',NULL,'participant_info_survey',NULL,13,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'study_comments',NULL,'completion_data',NULL,28,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'telephone_1','1','participant_info_survey',NULL,9,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'weight',NULL,'participant_info_survey',NULL,15,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'withdraw_date',NULL,'completion_data',NULL,23,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'withdraw_reason',NULL,'completion_data',NULL,24,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'address','1','participant_info_survey',NULL,8,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'choices',NULL,'participant_morale_questionnaire',NULL,19,NULL,'Concerning the past week, how do you feel about ...','radio','The choices you made','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'complete_study',NULL,'completion_data','Completion Data (to be entered by study personnel only)',24,NULL,'This form is to be filled out by study personnel.','yesno','Has patient completed study?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'completion_data_complete',NULL,'completion_data',NULL,31,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'consent',NULL,'prescreening_survey',NULL,4,NULL,NULL,'checkbox','By checking this box, I certify that I am at least 18 years old and that I give my consent freely to participant in this study.','1, I consent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'date_visit_4',NULL,'completion_data',NULL,27,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'discharge_date_4',NULL,'completion_data',NULL,28,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'discharge_summary_4',NULL,'completion_data',NULL,29,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'dob',NULL,'prescreening_survey',NULL,2,NULL,'Please fill out the information below.','text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'email','1','prescreening_survey',NULL,2.1,NULL,NULL,'text','E-mail address',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'ethnicity',NULL,'participant_info_survey',NULL,11,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(10,'family',NULL,'participant_morale_questionnaire',NULL,22,NULL,NULL,'radio','Your family life','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'first_name','1','participant_info_survey','Participant Info Survey',6,NULL,'As a participant in this study, please answer the questions below. Thank you!','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'has_diabetes',NULL,'prescreening_survey',NULL,3,NULL,NULL,'truefalse','I currently have Type 2 Diabetes',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'height',NULL,'participant_info_survey',NULL,14,NULL,NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'job',NULL,'participant_morale_questionnaire',NULL,21,NULL,NULL,'radio','Your job','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'last_name','1','participant_info_survey',NULL,7,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'life',NULL,'participant_morale_questionnaire',NULL,20,NULL,NULL,'radio','Your life overall','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'participant_id',NULL,'prescreening_survey','Pre-Screening Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'participant_info_survey_complete',NULL,'participant_info_survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'participant_morale_questionnaire_complete',NULL,'participant_morale_questionnaire',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'pmq1',NULL,'participant_morale_questionnaire','Participant Morale Questionnaire',17,NULL,'As a participant in this study, please answer the questions below concerning the PAST WEEK. Thank you!','select','On average, how many pills did you take each day last week?','0, Less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, Over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'pmq2',NULL,'participant_morale_questionnaire',NULL,18,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'prescreening_survey_complete',NULL,'prescreening_survey',NULL,5,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'race',NULL,'participant_info_survey',NULL,12,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'sex',NULL,'participant_info_survey',NULL,13,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'study_comments',NULL,'completion_data',NULL,30,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'telephone_1','1','participant_info_survey',NULL,9,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'weight',NULL,'participant_info_survey',NULL,15,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'withdraw_date',NULL,'completion_data',NULL,25,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'withdraw_reason',NULL,'completion_data',NULL,26,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'calc',NULL,'survey',NULL,8,NULL,NULL,'calc','Your favorite number above multiplied by 4 is:','[number]*4','[number] x 4 = [calc]',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'confirm_name',NULL,'survey',NULL,9,NULL,NULL,'radio','Please confirm your name','0, [first_name] Harris \\n 1, [first_name] [last_name] \\n 2, [first_name] Taylor \\n 3, [first_name] deGrasse Tyson',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'confirm_name_error',NULL,'survey',NULL,10,NULL,NULL,'descriptive','
ERROR: Please try again!
',NULL,NULL,NULL,NULL,NULL,NULL,'[confirm_name] != \'\' and [confirm_name] != \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'date_today',NULL,'survey',NULL,4,NULL,NULL,'text','[first_name], please enter today\'s date?',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'first_name',NULL,'survey',NULL,2,NULL,'Section 1','text','Your first name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'ice_cream',NULL,'survey',NULL,5,NULL,NULL,'radio','What is your favorite ice cream?','1, Chocolate \\n 2, Vanilla \\n 3, Strawberry',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'last_name',NULL,'survey',NULL,3,NULL,NULL,'text','Your last name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'number',NULL,'survey',NULL,7,NULL,NULL,'text','Enter your favorite number',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'participant_id',NULL,'survey','Example Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'review_answers',NULL,'survey',NULL,11,NULL,'Review answers','descriptive','Review your answers below:\n\n
Date: [date_today]\nName: [first_name] [last_name]\nFavorite ice cream: [ice_cream]\nFavorite number multiplied by 4: [calc]
\n\nIf all your responses look correct and you did not leave any blank, then click the Submit button below.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'slider',NULL,'survey',NULL,6,NULL,'Section 2','slider','How much do you like [ice_cream] ice cream?','Hate it | Indifferent | I love [ice_cream]!',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'survey_complete',NULL,'survey',NULL,12,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0362923',NULL,'cbc','Cbc',7,NULL,NULL,'text','Hemoglobin:MCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0362923_units',NULL,'cbc',NULL,8,NULL,NULL,'text','Hemoglobin:MCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363876',NULL,'chemistry','Chemistry',18,NULL,NULL,'text','Alanine aminotransferase:CCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363876_units',NULL,'chemistry',NULL,19,NULL,NULL,'text','Alanine aminotransferase:CCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363885',NULL,'chemistry',NULL,20,NULL,NULL,'text','Albumin:MCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363885_units',NULL,'chemistry',NULL,21,NULL,NULL,'text','Albumin:MCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364055',NULL,'chemistry',NULL,22,NULL,NULL,'text','Aspartate aminotransferase:CCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364055_units',NULL,'chemistry',NULL,23,NULL,NULL,'text','Aspartate aminotransferase:CCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364101',NULL,'chemistry',NULL,26,NULL,NULL,'text','Bilirubin.glucuronidated+Bilirubin.albumin bound:MCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364101_units',NULL,'chemistry',NULL,27,NULL,NULL,'text','Bilirubin.glucuronidated+Bilirubin.albumin bound:MCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364108',NULL,'chemistry',NULL,24,NULL,NULL,'text','Bilirubin:MCnc:Pt:Ser',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364108_units',NULL,'chemistry',NULL,25,NULL,NULL,'text','Bilirubin:MCnc:Pt:Ser units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364294',NULL,'chemistry',NULL,28,NULL,NULL,'text','Creatinine [Mass/volume] in Serum or Plasma',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364294_units',NULL,'chemistry',NULL,29,NULL,NULL,'text','Creatinine [Mass/volume] in Serum or Plasma units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364479',NULL,'chemistry',NULL,30,NULL,NULL,'text','Glucose:MCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364479_units',NULL,'chemistry',NULL,31,NULL,NULL,'text','Glucose:MCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364961',NULL,'chemistry',NULL,32,NULL,NULL,'text','Potassium:SCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364961_units',NULL,'chemistry',NULL,33,NULL,NULL,'text','Potassium:SCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0365091',NULL,'chemistry',NULL,34,NULL,NULL,'text','Sodium:SCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0365091_units',NULL,'chemistry',NULL,35,NULL,NULL,'text','Sodium:SCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0806020',NULL,'enrollment',NULL,5,NULL,NULL,'text','End Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942437',NULL,'cbc',NULL,11,NULL,NULL,'text','Lymphocytes:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942437_units',NULL,'cbc',NULL,12,NULL,NULL,'text','Lymphocytes:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942461',NULL,'cbc',NULL,13,NULL,NULL,'text','Neutrophils:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942461_units',NULL,'cbc',NULL,14,NULL,NULL,'text','Neutrophils:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942474',NULL,'cbc',NULL,15,NULL,NULL,'text','Platelets:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942474_units',NULL,'cbc',NULL,16,NULL,NULL,'text','Platelets:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0945357',NULL,'cbc',NULL,9,NULL,NULL,'text','Leukocytes:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0945357_units',NULL,'cbc',NULL,10,NULL,NULL,'text','Leukocytes:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c1301894',NULL,'enrollment',NULL,3,NULL,NULL,'text','Medical record number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c2826694',NULL,'enrollment',NULL,2,NULL,NULL,'text','Subject Identifier',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c2985782',NULL,'enrollment',NULL,4,NULL,NULL,'text','Informed Consent Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'cbc_complete',NULL,'cbc',NULL,17,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'chemistry_complete',NULL,'chemistry',NULL,36,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'enrollment_complete',NULL,'enrollment',NULL,6,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'record_id',NULL,'enrollment','Enrollment',1,NULL,NULL,'text','Record ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL); +INSERT INTO `redcap_metadata` VALUES (1,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_1',NULL,'month_1_data',NULL,56,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_2',NULL,'month_2_data',NULL,76,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'admission_date_3',NULL,'month_3_data',NULL,104,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_1',NULL,'month_1_data',NULL,44,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_2',NULL,'month_2_data',NULL,64,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_3',NULL,'month_3_data',NULL,85,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'alb_b',NULL,'baseline_data',NULL,26,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'int','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'baseline_data_complete',NULL,'baseline_data',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_1',NULL,'month_1_data',NULL,61,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_2',NULL,'month_2_data',NULL,81,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_death_3',NULL,'month_3_data',NULL,109,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_1',NULL,'month_1_data',NULL,55,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_2',NULL,'month_2_data',NULL,75,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'cause_hosp_3',NULL,'month_3_data',NULL,103,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_1',NULL,'month_1_data',NULL,48,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_2',NULL,'month_2_data',NULL,68,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_3',NULL,'month_3_data',NULL,89,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'chol_b',NULL,'baseline_data',NULL,30,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'complete_study',NULL,'completion_data','Completion Data',111,NULL,'Study Completion Information','select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'complete_study_date',NULL,'completion_data',NULL,114,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'completion_data_complete',NULL,'completion_data',NULL,116,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_1',NULL,'month_1_data',NULL,53,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_2',NULL,'month_2_data',NULL,73,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'compliance_3',NULL,'month_3_data',NULL,101,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_1',NULL,'month_1_data',NULL,46,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_2',NULL,'month_2_data',NULL,66,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_3',NULL,'month_3_data',NULL,87,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'creat_b',NULL,'baseline_data',NULL,28,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_blood_3',NULL,'month_3_data',NULL,84,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_blood_b',NULL,'baseline_data',NULL,25,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_1',NULL,'month_1_data',NULL,60,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_2',NULL,'month_2_data',NULL,80,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_death_3',NULL,'month_3_data',NULL,108,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_supplement_dispensed',NULL,'baseline_data',NULL,41,NULL,NULL,'text','Date patient begins supplement',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_1',NULL,'month_1_data','Month 1 Data',43,NULL,'Month 1','text','Date of Month 1 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_2',NULL,'month_2_data','Month 2 Data',63,NULL,'Month 2','text','Date of Month 2 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_3',NULL,'month_3_data','Month 3 Data',83,NULL,'Month 3','text','Date of Month 3 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'date_visit_b',NULL,'baseline_data','Baseline Data',24,NULL,'Baseline Measurements','text','Date of baseline visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_1',NULL,'month_1_data',NULL,59,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_2',NULL,'month_2_data',NULL,79,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'death_3',NULL,'month_3_data',NULL,107,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_1',NULL,'month_1_data',NULL,57,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_2',NULL,'month_2_data',NULL,77,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_date_3',NULL,'month_3_data',NULL,105,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_1',NULL,'month_1_data',NULL,58,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_2',NULL,'month_2_data',NULL,78,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'discharge_summary_3',NULL,'month_3_data',NULL,106,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'drywt_1',NULL,'month_1_data',NULL,51,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_2',NULL,'month_2_data',NULL,71,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_3',NULL,'month_3_data',NULL,92,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'drywt_b',NULL,'baseline_data',NULL,33,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(1,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(1,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_1',NULL,'month_1_data',NULL,54,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_2',NULL,'month_2_data',NULL,74,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'hospit_3',NULL,'month_3_data',NULL,102,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_1',NULL,'month_1_data',NULL,50,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_2',NULL,'month_2_data',NULL,70,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_3',NULL,'month_3_data',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'kt_v_b',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_1_data_complete',NULL,'month_1_data',NULL,62,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_2_data_complete',NULL,'month_2_data',NULL,82,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'month_3_data_complete',NULL,'month_3_data',NULL,110,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_1',NULL,'month_1_data',NULL,52,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_2',NULL,'month_2_data',NULL,72,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'no_show_3',NULL,'month_3_data',NULL,100,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_1',NULL,'month_1_data',NULL,47,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_2',NULL,'month_2_data',NULL,67,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_3',NULL,'month_3_data',NULL,88,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'npcr_b',NULL,'baseline_data',NULL,29,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma1_3',NULL,'month_3_data',NULL,93,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma1_b',NULL,'baseline_data',NULL,34,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma2_3',NULL,'month_3_data',NULL,94,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma2_b',NULL,'baseline_data',NULL,35,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma3_3',NULL,'month_3_data',NULL,95,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'plasma3_b',NULL,'baseline_data',NULL,36,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_1',NULL,'month_1_data',NULL,45,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_2',NULL,'month_2_data',NULL,65,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_3',NULL,'month_3_data',NULL,86,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'prealb_b',NULL,'baseline_data',NULL,27,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum1_3',NULL,'month_3_data',NULL,96,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum1_b',NULL,'baseline_data',NULL,37,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum2_3',NULL,'month_3_data',NULL,97,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum2_b',NULL,'baseline_data',NULL,38,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum3_3',NULL,'month_3_data',NULL,98,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'serum3_b',NULL,'baseline_data',NULL,39,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sga_3',NULL,'month_3_data',NULL,99,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'sga_b',NULL,'baseline_data',NULL,40,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'study_comments',NULL,'completion_data',NULL,115,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_1',NULL,'month_1_data',NULL,49,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_2',NULL,'month_2_data',NULL,69,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_3',NULL,'month_3_data',NULL,90,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'transferrin_b',NULL,'baseline_data',NULL,31,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'withdraw_date',NULL,'completion_data',NULL,112,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(1,'withdraw_reason',NULL,'completion_data',NULL,113,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'alb_4',NULL,'completion_data',NULL,80,NULL,NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'baseline_data_complete',NULL,'baseline_data',NULL,39,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'bmi2',NULL,'baseline_data',NULL,33,NULL,NULL,'calc','BMI','round(([weight2]*10000)/(([height2])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'chol_4',NULL,'completion_data',NULL,86,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'chol_b',NULL,'baseline_data',NULL,37,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'complete_study',NULL,'completion_data',NULL,77,NULL,NULL,'select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'completion_data_complete',NULL,'completion_data',NULL,88,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'completion_project_questionnaire_complete',NULL,'completion_project_questionnaire',NULL,102,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'contact_info_complete',NULL,'contact_info',NULL,30,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq1',NULL,'completion_project_questionnaire','Completion Project Questionnaire',89,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq10',NULL,'completion_project_questionnaire',NULL,98,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq11',NULL,'completion_project_questionnaire',NULL,99,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq12',NULL,'completion_project_questionnaire',NULL,100,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq13',NULL,'completion_project_questionnaire',NULL,101,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq2',NULL,'completion_project_questionnaire',NULL,90,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq3',NULL,'completion_project_questionnaire',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq4',NULL,'completion_project_questionnaire',NULL,92,NULL,NULL,'text','Dry weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq5',NULL,'completion_project_questionnaire',NULL,93,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq6',NULL,'completion_project_questionnaire',NULL,94,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq7',NULL,'completion_project_questionnaire',NULL,95,NULL,NULL,'select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq8',NULL,'completion_project_questionnaire',NULL,96,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'cpq9',NULL,'completion_project_questionnaire',NULL,97,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'creat_4',NULL,'completion_data',NULL,82,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'creat_b',NULL,'baseline_data',NULL,35,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'date_visit_4',NULL,'completion_data',NULL,79,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_schedule_days',NULL,'contact_info',NULL,26,NULL,NULL,'text','Next of Kin Contact Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_schedule_time',NULL,'contact_info',NULL,27,NULL,NULL,'textarea','Next of Kin Contact Address',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_unit_name',NULL,'contact_info','Contact Info',24,NULL,NULL,'text','Emergency Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dialysis_unit_phone',NULL,'contact_info',NULL,25,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'discharge_date_4',NULL,'completion_data',NULL,83,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'discharge_summary_4',NULL,'completion_data',NULL,84,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(2,'etiology_esrd',NULL,'contact_info',NULL,28,NULL,NULL,'text','Next of Kin Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(2,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'height2',NULL,'baseline_data','Baseline Data',31,NULL,NULL,'text','Height (cm)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'npcr_4',NULL,'completion_data',NULL,85,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'npcr_b',NULL,'baseline_data',NULL,36,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'patient_morale_questionnaire_complete',NULL,'patient_morale_questionnaire',NULL,50,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq1',NULL,'patient_morale_questionnaire','Patient Morale Questionnaire',46,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq2',NULL,'patient_morale_questionnaire',NULL,47,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq3',NULL,'patient_morale_questionnaire',NULL,48,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'pmq4',NULL,'patient_morale_questionnaire',NULL,49,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'prealb_4',NULL,'completion_data',NULL,81,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'prealb_b',NULL,'baseline_data',NULL,34,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'study_comments',NULL,'completion_data','Completion Data',76,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'subject_comments',NULL,'contact_info',NULL,29,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'transferrin_b',NULL,'baseline_data',NULL,38,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw1',NULL,'visit_blood_workup','Visit Blood Workup',51,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw2',NULL,'visit_blood_workup',NULL,52,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw3',NULL,'visit_blood_workup',NULL,53,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw4',NULL,'visit_blood_workup',NULL,54,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw5',NULL,'visit_blood_workup',NULL,55,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw6',NULL,'visit_blood_workup',NULL,56,NULL,NULL,'radio','Blood draw shift?','0, AM \\n 1, PM',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw7',NULL,'visit_blood_workup',NULL,57,NULL,NULL,'radio','Blood draw by','0, RN \\n 1, LPN \\n 2, nurse assistant \\n 3, doctor',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw8',NULL,'visit_blood_workup',NULL,58,NULL,NULL,'select','Level of patient anxiety','0, not anxious \\n 1, undecided \\n 2, very anxious',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vbw9',NULL,'visit_blood_workup',NULL,59,NULL,NULL,'select','Patient scheduled for future draws?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_blood_workup_complete',NULL,'visit_blood_workup',NULL,60,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_lab_data_complete',NULL,'visit_lab_data',NULL,45,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'visit_observed_behavior_complete',NULL,'visit_observed_behavior',NULL,75,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld1',NULL,'visit_lab_data','Visit Lab Data',40,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld2',NULL,'visit_lab_data',NULL,41,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld3',NULL,'visit_lab_data',NULL,42,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld4',NULL,'visit_lab_data',NULL,43,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vld5',NULL,'visit_lab_data',NULL,44,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob1',NULL,'visit_observed_behavior','Visit Observed Behavior',61,NULL,'Was the patient...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob10',NULL,'visit_observed_behavior',NULL,70,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob11',NULL,'visit_observed_behavior',NULL,71,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob12',NULL,'visit_observed_behavior',NULL,72,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob13',NULL,'visit_observed_behavior',NULL,73,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob14',NULL,'visit_observed_behavior',NULL,74,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob2',NULL,'visit_observed_behavior',NULL,62,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob3',NULL,'visit_observed_behavior',NULL,63,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob4',NULL,'visit_observed_behavior',NULL,64,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob5',NULL,'visit_observed_behavior',NULL,65,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob6',NULL,'visit_observed_behavior',NULL,66,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob7',NULL,'visit_observed_behavior',NULL,67,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob8',NULL,'visit_observed_behavior',NULL,68,NULL,'Were you...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'vob9',NULL,'visit_observed_behavior',NULL,69,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'weight2',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'withdraw_date',NULL,'completion_data',NULL,78,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(2,'withdraw_reason',NULL,'completion_data',NULL,87,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'aerobics',NULL,'survey',NULL,11.2,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'comment_box',NULL,'survey',NULL,15,NULL,NULL,'textarea','If you need the respondent to enter a large amount of text, you may use a NOTES BOX.

This question has also been set as a REQUIRED QUESTION, so the respondent cannot fully submit the survey until this question has been answered. ANY question type can be set to be required.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(3,'date_ymd',NULL,'survey',NULL,8,NULL,NULL,'text','DATE questions are also an option. If you click the calendar icon on the right, a pop-up calendar will appear, thus allowing the respondent to easily select a date. Or it can be simply typed in.',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'descriptive',NULL,'survey',NULL,11,NULL,NULL,'descriptive','You may also use DESCRIPTIVE TEXT to provide informational text within a survey section. ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'drink',NULL,'survey',NULL,11.4,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'dropdown',NULL,'survey',NULL,3,NULL,NULL,'select','You may also set multiple choice questions as DROP-DOWN MENUs.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Etc.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'eat',NULL,'survey',NULL,11.3,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'file',NULL,'survey',NULL,9,NULL,NULL,'file','The FILE UPLOAD question type allows respondents to upload any type of document to the survey that you may afterward download and open when viewing your survey results.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'gym',NULL,'survey',NULL,11.1,NULL,'Below is a matrix of checkbox fields. A matrix can also be displayed as radio button fields.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(3,'hidden_branch',NULL,'survey',NULL,13,NULL,NULL,'text','HIDDEN QUESTION: This question will only appear when you select the second option of the question immediately above.',NULL,NULL,NULL,'undefined','undefined','soft_typed','[radio_branch] = \"2\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'ma',NULL,'survey',NULL,5,NULL,NULL,'checkbox','This type of multiple choice question, known as CHECKBOXES, allows for more than one answer choice to be selected, whereas radio buttons and drop-downs only allow for one choice.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Select as many as you like',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'participant_id',NULL,'survey','Example Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'radio',NULL,'survey',NULL,2,NULL,'Section 1 (This is a section header with descriptive text. It only provides informational text and is used to divide the survey into sections for organization. If the survey is set to be displayed as \"one section per page\", then these section headers will begin each new page of the survey.)','radio','You may create MULTIPLE CHOICE questions and set the answer choices for them. You can have as many answer choices as you need. This multiple choice question is rendered as RADIO buttons.','1, Choice One \\n 2, Choice Two \\n 3, Choice Three \\n 4, Etc.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'radio_branch',NULL,'survey',NULL,12,NULL,'ADVANCED FEATURES: The questions below will illustrate how some advanced survey features are used.','radio','BRANCHING LOGIC: The question immediately following this one is using branching logic, which means that the question will stay hidden until defined criteria are specified.\n\nFor example, the following question has been set NOT to appear until the respondent selects the second option to the right. ','1, This option does nothing. \\n 2, Clicking this option will trigger the branching logic to reveal the next question. \\n 3, This option also does nothing.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'slider',NULL,'survey',NULL,10,NULL,NULL,'slider','A SLIDER is a question type that allows the respondent to choose an answer along a continuum. The respondent\'s answer is saved as an integer between 0 (far left) and 100 (far right) with a step of 1.','You can provide labels above the slider | Middle label | Right-hand label',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'stop_actions',NULL,'survey',NULL,14,NULL,NULL,'checkbox','STOP ACTIONS may be used with any multiple choice question. Stop actions can be applied to any (or all) answer choices. When that answer choice is selected by a respondent, their survey responses are then saved, and the survey is immediately ended.\n\nThe third option to the right has a stop action.','1, This option does nothing. \\n 2, This option also does nothing. \\n 3, Click here to trigger the stop action and end the survey.',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,'3',NULL,NULL,NULL),(3,'survey_complete',NULL,'survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'textbox',NULL,'survey',NULL,4,NULL,NULL,'text','This is a TEXT BOX, which allows respondents to enter a small amount of text. A Text Box can be validated, if needed, as a number, integer, phone number, email, or zipcode. If validated as a number or integer, you may also set the minimum and/or maximum allowable values.\n\nThis question has \"number\" validation set with a minimum of 1 and a maximum of 10. ',NULL,NULL,'float','1','10','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(3,'tf',NULL,'survey',NULL,7,NULL,NULL,'truefalse','And you can also create TRUE-FALSE questions.

This question has horizontal alignment.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'RH',NULL,NULL,NULL,NULL),(3,'yn',NULL,'survey',NULL,6,NULL,NULL,'yesno','You can create YES-NO questions.

This question has vertical alignment of choices on the right.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'aerobics',NULL,'demographics',NULL,15,NULL,NULL,'checkbox','Aerobics','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'alb_4',NULL,'completion_data',NULL,80,NULL,NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'baseline_data_complete',NULL,'baseline_data',NULL,39,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'bmi2',NULL,'baseline_data',NULL,33,NULL,NULL,'calc','BMI','round(([weight2]*10000)/(([height2])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'chol_4',NULL,'completion_data',NULL,86,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'chol_b',NULL,'baseline_data',NULL,37,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'complete_study',NULL,'completion_data',NULL,77,NULL,NULL,'select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'completion_data_complete',NULL,'completion_data',NULL,88,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'completion_project_questionnaire_complete',NULL,'completion_project_questionnaire',NULL,102,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'contact_info_complete',NULL,'contact_info',NULL,30,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq1',NULL,'completion_project_questionnaire','Completion Project Questionnaire',89,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq10',NULL,'completion_project_questionnaire',NULL,98,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq11',NULL,'completion_project_questionnaire',NULL,99,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq12',NULL,'completion_project_questionnaire',NULL,100,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq13',NULL,'completion_project_questionnaire',NULL,101,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq2',NULL,'completion_project_questionnaire',NULL,90,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq3',NULL,'completion_project_questionnaire',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq4',NULL,'completion_project_questionnaire',NULL,92,NULL,NULL,'text','Dry weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq5',NULL,'completion_project_questionnaire',NULL,93,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq6',NULL,'completion_project_questionnaire',NULL,94,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq7',NULL,'completion_project_questionnaire',NULL,95,NULL,NULL,'select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq8',NULL,'completion_project_questionnaire',NULL,96,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'cpq9',NULL,'completion_project_questionnaire',NULL,97,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'creat_4',NULL,'completion_data',NULL,82,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'creat_b',NULL,'baseline_data',NULL,35,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'date_visit_4',NULL,'completion_data',NULL,79,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_schedule_days',NULL,'contact_info',NULL,26,NULL,NULL,'text','Next of Kin Contact Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_schedule_time',NULL,'contact_info',NULL,27,NULL,NULL,'textarea','Next of Kin Contact Address',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_unit_name',NULL,'contact_info','Contact Info',24,NULL,NULL,'text','Emergency Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dialysis_unit_phone',NULL,'contact_info',NULL,25,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'discharge_date_4',NULL,'completion_data',NULL,83,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'discharge_summary_4',NULL,'completion_data',NULL,84,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'drink',NULL,'demographics',NULL,17,NULL,NULL,'checkbox','Drink (Alcoholic Beverages)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'eat',NULL,'demographics',NULL,16,NULL,NULL,'checkbox','Eat Out (Dinner/Lunch)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(4,'etiology_esrd',NULL,'contact_info',NULL,28,NULL,NULL,'text','Next of Kin Contact Phone Number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'given_birth',NULL,'demographics',NULL,12,NULL,NULL,'yesno','Has the patient given birth before?',NULL,NULL,NULL,NULL,NULL,NULL,'[sex] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'gym',NULL,'demographics',NULL,14,NULL,'Please provide the patient\'s weekly schedule for the activities below.','checkbox','Gym (Weight Training)','0, Monday \\n 1, Tuesday \\n 2, Wednesday \\n 3, Thursday \\n 4, Friday',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'weekly_schedule',NULL),(4,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'height2',NULL,'baseline_data','Baseline Data',31,NULL,NULL,'text','Height (cm)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'meds',NULL,'demographics',NULL,17.3,NULL,NULL,'checkbox','Is patient taking any of the following medications? (check all that apply)','1, Lexapro \\n 2, Celexa \\n 3, Prozac \\n 4, Paxil \\n 5, Zoloft',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'npcr_4',NULL,'completion_data',NULL,85,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'npcr_b',NULL,'baseline_data',NULL,36,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'num_children',NULL,'demographics',NULL,13,NULL,NULL,'text','How many times has the patient given birth?',NULL,NULL,'int','0',NULL,'soft_typed','[sex] = \"0\" and [given_birth] = \"1\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'patient_document',NULL,'demographics',NULL,2.1,NULL,NULL,'file','Upload the patient\'s consent form',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'patient_morale_questionnaire_complete',NULL,'patient_morale_questionnaire',NULL,50,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq1',NULL,'patient_morale_questionnaire','Patient Morale Questionnaire',46,NULL,NULL,'select','On average, how many pills did you take each day last week?','0, less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq2',NULL,'patient_morale_questionnaire',NULL,47,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq3',NULL,'patient_morale_questionnaire',NULL,48,NULL,NULL,'radio','Would you be willing to discuss your experiences with a psychiatrist?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'pmq4',NULL,'patient_morale_questionnaire',NULL,49,NULL,NULL,'select','How open are you to further testing?','0, not open \\n 1, undecided \\n 2, very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'prealb_4',NULL,'completion_data',NULL,81,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'prealb_b',NULL,'baseline_data',NULL,34,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'specify_mood',NULL,'demographics',NULL,17.1,NULL,'Other information','slider','Specify the patient\'s mood','Very sad | Indifferent | Very happy',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'study_comments',NULL,'completion_data','Completion Data',76,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'subject_comments',NULL,'contact_info',NULL,29,NULL,NULL,'radio','Confirmed?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'telephone_1','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'transferrin_b',NULL,'baseline_data',NULL,38,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw1',NULL,'visit_blood_workup','Visit Blood Workup',51,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw2',NULL,'visit_blood_workup',NULL,52,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw3',NULL,'visit_blood_workup',NULL,53,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw4',NULL,'visit_blood_workup',NULL,54,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw5',NULL,'visit_blood_workup',NULL,55,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw6',NULL,'visit_blood_workup',NULL,56,NULL,NULL,'radio','Blood draw shift?','0, AM \\n 1, PM',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw7',NULL,'visit_blood_workup',NULL,57,NULL,NULL,'radio','Blood draw by','0, RN \\n 1, LPN \\n 2, nurse assistant \\n 3, doctor',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw8',NULL,'visit_blood_workup',NULL,58,NULL,NULL,'select','Level of patient anxiety','0, not anxious \\n 1, undecided \\n 2, very anxious',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vbw9',NULL,'visit_blood_workup',NULL,59,NULL,NULL,'select','Patient scheduled for future draws?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_blood_workup_complete',NULL,'visit_blood_workup',NULL,60,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_lab_data_complete',NULL,'visit_lab_data',NULL,45,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'visit_observed_behavior_complete',NULL,'visit_observed_behavior',NULL,75,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld1',NULL,'visit_lab_data','Visit Lab Data',40,NULL,NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld2',NULL,'visit_lab_data',NULL,41,NULL,NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld3',NULL,'visit_lab_data',NULL,42,NULL,NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld4',NULL,'visit_lab_data',NULL,43,NULL,NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vld5',NULL,'visit_lab_data',NULL,44,NULL,NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob1',NULL,'visit_observed_behavior','Visit Observed Behavior',61,NULL,'Was the patient...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob10',NULL,'visit_observed_behavior',NULL,70,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob11',NULL,'visit_observed_behavior',NULL,71,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob12',NULL,'visit_observed_behavior',NULL,72,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob13',NULL,'visit_observed_behavior',NULL,73,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob14',NULL,'visit_observed_behavior',NULL,74,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob2',NULL,'visit_observed_behavior',NULL,62,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob3',NULL,'visit_observed_behavior',NULL,63,NULL,NULL,'radio','scared?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob4',NULL,'visit_observed_behavior',NULL,64,NULL,NULL,'radio','fidgety?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob5',NULL,'visit_observed_behavior',NULL,65,NULL,NULL,'radio','crying?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob6',NULL,'visit_observed_behavior',NULL,66,NULL,NULL,'radio','screaming?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob7',NULL,'visit_observed_behavior',NULL,67,NULL,NULL,'textarea','other',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob8',NULL,'visit_observed_behavior',NULL,68,NULL,'Were you...','radio','nervous?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'vob9',NULL,'visit_observed_behavior',NULL,69,NULL,NULL,'radio','worried?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'weight2',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'withdraw_date',NULL,'completion_data',NULL,78,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(4,'withdraw_reason',NULL,'completion_data',NULL,87,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'address','1','demographics',NULL,5,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'age',NULL,'demographics',NULL,8.2,NULL,NULL,'calc','Age (years)','rounddown(datediff([dob],\'today\',\'y\'))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'bmi',NULL,'demographics',NULL,21,'kilograms',NULL,'calc','BMI','round(([weight]*10000)/(([height])^(2)),1)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'comments',NULL,'demographics',NULL,22,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'email','1','demographics',NULL,8,NULL,NULL,'text','E-mail',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(5,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'height',NULL,'demographics',NULL,19,'cm',NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'record_id',NULL,'demographics','Basic Demography Form',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'telephone','1','demographics',NULL,6,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(5,'weight',NULL,'demographics',NULL,20,'kilograms',NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'amendment_number',NULL,'project',NULL,9,NULL,NULL,'select','Amendment Number','0 \\n 1 \\n 2 \\n 3 \\n 4 \\n 5 \\n 6 \\n 7 \\n 8 \\n 9 \\n 10 \\n 11 \\n 12 \\n 13 \\n 14 \\n 15 \\n 16 \\n 17 \\n 18 \\n 19 \\n 20','',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'amendment_status',NULL,'project',NULL,8,NULL,'Amendment Information','radio','Amendment?','0, No \\n 1, Yes','',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_pi_response',NULL,'workflow',NULL,33,NULL,NULL,'textarea','Comments - PI Process',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_preprereview',NULL,'workflow',NULL,26,NULL,NULL,'textarea','Comments - Pre-Pre-Review',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_prereview',NULL,'workflow',NULL,30,NULL,NULL,'textarea','Comments - Pre-Review',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'comments_src',NULL,'post_award_administration',NULL,126,NULL,NULL,'textarea','Comments - SRC Award',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_cores',NULL,'post_award_administration',NULL,129,NULL,NULL,'text','CRC Cores ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_facilities',NULL,'post_award_administration',NULL,127,NULL,NULL,'text','CRC Facilities ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_original_review',NULL,'project',NULL,12,NULL,NULL,'select','CRC Original Review?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_personnel',NULL,'post_award_administration',NULL,128,NULL,NULL,'text','CRC Nursing ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_type',NULL,'project',NULL,10,NULL,'CRC Legacy System Data','select','CRC Type','A \\n B \\n C \\n D',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'crc_webcamp_import',NULL,'project',NULL,11,NULL,NULL,'select','CRC WebCamp Project Import?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_agenda',NULL,'workflow',NULL,35,NULL,'Agenda Information','text','Agenda Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_pi_notification',NULL,'workflow',NULL,31,NULL,'PI Notification Information','text','PI Notification Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_pi_response',NULL,'workflow',NULL,32,NULL,NULL,'text','PI Response Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_receipt',NULL,'workflow','Workflow',23,NULL,'Pre-Pre-Review Information','text','Project Receipt Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_start_preprereview',NULL,'workflow',NULL,24,NULL,NULL,'text','Pre-Pre-Review - Start Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_start_prereview',NULL,'workflow',NULL,28,NULL,'Pre-Review Information','text','Pre-Review Notification Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_stop_preprereview',NULL,'workflow',NULL,25,NULL,NULL,'text','Pre-Pre-Review - Stop Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'date_stop_prereview',NULL,'workflow',NULL,29,NULL,NULL,'text','Pre-Review Completion Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'equipment',NULL,'post_award_administration',NULL,133,NULL,NULL,'text','Equipment ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch1',NULL,'project',NULL,15,NULL,NULL,'file','Biosketch(1)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch2',NULL,'project',NULL,16,NULL,NULL,'file','Biosketch(2)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_biosketch3',NULL,'project',NULL,17,NULL,NULL,'file','Biosketch(3)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_budget',NULL,'project',NULL,14,NULL,NULL,'file','Budget',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_crc',NULL,'project',NULL,18,NULL,NULL,'file','CRC Resources',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other1',NULL,'project',NULL,19,NULL,NULL,'file','Other(1)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other2',NULL,'project',NULL,20,NULL,NULL,'file','Other(2)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_other3',NULL,'project',NULL,21,NULL,NULL,'file','Other(3)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_pi_comments',NULL,'workflow',NULL,34,NULL,NULL,'file','PI response',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'file_proposal',NULL,'project',NULL,13,NULL,'Project Files','file','Research Proposal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'hospital_ancillaries',NULL,'post_award_administration',NULL,135,NULL,NULL,'text','Hospital Ancillaries ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'irb_number',NULL,'project',NULL,7,NULL,NULL,'text','IRB Number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'misc_services',NULL,'post_award_administration',NULL,134,NULL,NULL,'text','Misc. Services ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_administrative',NULL,'prereview_administrative','Pre-Review Administrative',43,NULL,NULL,'select','Requires Administrative?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_biostatistics',NULL,'prereview_biostatistics','Pre-Review Biostatistics',49,NULL,NULL,'select','Requires Biostatistics?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_budget',NULL,'prereview_budget','Pre-Review Budget',68,NULL,NULL,'select','Requires Budget?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_community',NULL,'prereview_community','Pre-Review Community',98,NULL,NULL,'select','Requires Community?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_cores',NULL,'prereview_cores','Pre-Review Cores',80,NULL,NULL,'select','Requires Cores?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_nursing',NULL,'prereview_nursing','Pre-Review Nursing',74,NULL,NULL,'select','Requires Nursing?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_nutrition',NULL,'prereview_nutrition','Pre-Review Nutrition',92,NULL,NULL,'select','Requires Nutrition?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_other',NULL,'prereview_ctc','Pre-Review CTC',104,NULL,NULL,'select','Requires Other?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_participant',NULL,'prereview_participant','Pre-Review Participant',62,NULL,NULL,'select','Requires Participant?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_pi_response',NULL,'prereview_pi_response','Pre-Review PI Response',110,NULL,NULL,'select','Requires PI Response?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_scientific',NULL,'prereview_scientific','Pre-Review Scientific',56,NULL,NULL,'select','Requires Scientific?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'needs_sleep',NULL,'prereview_sleep','Pre-Review Sleep',86,NULL,NULL,'select','Requires Sleep?','0, Yes \\n 1, No',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'owner_prepreview',NULL,'workflow',NULL,27,NULL,NULL,'select','Owner (Liaison)','0, Shraddha \\n 1, Jennifer \\n 2, Terri \\n 3, Cheryl \\n 4, Lynda',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'personnel',NULL,'post_award_administration',NULL,132,NULL,NULL,'text','Personnel ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_firstname',NULL,'project',NULL,3,NULL,NULL,'text','PI First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_lastname',NULL,'project',NULL,4,NULL,NULL,'text','PI Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'pi_vunetid',NULL,'project',NULL,5,NULL,NULL,'text','PI VUnetID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'post_award_administration_complete',NULL,'post_award_administration',NULL,138,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative',NULL,'prereview_administrative',NULL,44,NULL,'Enter PI Pre-Review Notes Or Attach File','textarea','Notes',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_administrative] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_complete',NULL,'prereview_administrative',NULL,48,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_date_received',NULL,'prereview_administrative',NULL,47,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_date_sent',NULL,'prereview_administrative',NULL,46,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_administrative_doc',NULL,'prereview_administrative',NULL,45,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_administrative] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics',NULL,'prereview_biostatistics',NULL,50,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_biostatistics] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_complete',NULL,'prereview_biostatistics',NULL,55,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_date_received',NULL,'prereview_biostatistics',NULL,53,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_date_sent',NULL,'prereview_biostatistics',NULL,52,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_doc',NULL,'prereview_biostatistics',NULL,51,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_biostatistics] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_biostatistics_hours_awarded',NULL,'prereview_biostatistics',NULL,54,NULL,'Biostatistics Award','text','Consultation Hours Awarded',NULL,NULL,'float','0','5000','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget',NULL,'prereview_budget',NULL,69,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_complete',NULL,'prereview_budget',NULL,73,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_date_received',NULL,'prereview_budget',NULL,72,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_date_sent',NULL,'prereview_budget',NULL,71,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_budget] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_budget_doc',NULL,'prereview_budget',NULL,70,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_budget] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community',NULL,'prereview_community',NULL,99,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_complete',NULL,'prereview_community',NULL,103,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_date_received',NULL,'prereview_community',NULL,102,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_date_sent',NULL,'prereview_community',NULL,101,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_community] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_community_doc',NULL,'prereview_community',NULL,100,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_community] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores',NULL,'prereview_cores',NULL,81,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_complete',NULL,'prereview_cores',NULL,85,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_date_received',NULL,'prereview_cores',NULL,84,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_date_sent',NULL,'prereview_cores',NULL,83,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_cores] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_cores_doc',NULL,'prereview_cores',NULL,82,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_cores] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_ctc_complete',NULL,'prereview_ctc',NULL,109,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing',NULL,'prereview_nursing',NULL,75,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_complete',NULL,'prereview_nursing',NULL,79,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_date_received',NULL,'prereview_nursing',NULL,78,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_date_sent',NULL,'prereview_nursing',NULL,77,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_nursing] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nursing_doc',NULL,'prereview_nursing',NULL,76,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_nursing] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition',NULL,'prereview_nutrition',NULL,93,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_complete',NULL,'prereview_nutrition',NULL,97,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_date_received',NULL,'prereview_nutrition',NULL,96,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_date_sent',NULL,'prereview_nutrition',NULL,95,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_nutrition] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_nutrition_doc',NULL,'prereview_nutrition',NULL,94,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_nutrition] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other',NULL,'prereview_ctc',NULL,105,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_date_received',NULL,'prereview_ctc',NULL,108,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_date_sent',NULL,'prereview_ctc',NULL,107,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_other_doc',NULL,'prereview_ctc',NULL,106,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant',NULL,'prereview_participant',NULL,63,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_participant] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_complete',NULL,'prereview_participant',NULL,67,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_date_received',NULL,'prereview_participant',NULL,66,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_date_sent',NULL,'prereview_participant',NULL,65,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_participant_doc',NULL,'prereview_participant',NULL,64,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_participant] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response',NULL,'prereview_pi_response',NULL,111,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI response',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_complete',NULL,'prereview_pi_response',NULL,115,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_date_received',NULL,'prereview_pi_response',NULL,114,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_date_sent',NULL,'prereview_pi_response',NULL,113,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_pi_response_doc',NULL,'prereview_pi_response',NULL,112,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_pi_response] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific',NULL,'prereview_scientific',NULL,57,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_scientific] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_complete',NULL,'prereview_scientific',NULL,61,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_date_received',NULL,'prereview_scientific',NULL,60,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_date_sent',NULL,'prereview_scientific',NULL,59,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_scientific_doc',NULL,'prereview_scientific',NULL,58,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_scientific] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep',NULL,'prereview_sleep',NULL,87,NULL,'Enter Pre-Review Notes Or Attach File','textarea','PI Suggestions',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_complete',NULL,'prereview_sleep',NULL,91,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_date_received',NULL,'prereview_sleep',NULL,90,NULL,NULL,'text','Date received',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_date_sent',NULL,'prereview_sleep',NULL,89,NULL,NULL,'text','Date Sent for pre-review',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed','[needs_sleep] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'prereview_sleep_doc',NULL,'prereview_sleep',NULL,88,NULL,NULL,'file','OR File
(NOTE: If file will not open, then Save it to your computer and then Open it.)',NULL,NULL,NULL,NULL,NULL,NULL,'[needs_sleep] = \"0\"',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'proj_id',NULL,'project','Project',1,NULL,NULL,'text','Project ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'project_complete',NULL,'project',NULL,22,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'project_type',NULL,'project',NULL,6,NULL,NULL,'select','Project Type','1, Expedited \\n 2, Full Committee \\n 3, Industry only',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev_notification_date',NULL,'workflow',NULL,38,NULL,NULL,'text','Date - Sent to Reviewers',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev1_name',NULL,'workflow',NULL,36,NULL,NULL,'text','Reviewer 1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'rev2_name',NULL,'workflow',NULL,37,NULL,NULL,'text','Reviewer 2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'sleep_cores',NULL,'post_award_administration',NULL,130,NULL,NULL,'text','Sleep Core ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number',NULL,'post_award_administration',NULL,122,NULL,NULL,'text','SRC Center Number - Institutional',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_crc',NULL,'post_award_administration',NULL,124,NULL,NULL,'text','SRC Center Number - CRC',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_ctsa',NULL,'post_award_administration',NULL,123,NULL,NULL,'text','SRC Center Number - CTSA',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_center_number_dh',NULL,'post_award_administration',NULL,125,NULL,NULL,'text','D & H Number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_full_project_period',NULL,'post_award_administration',NULL,121,NULL,NULL,'text','SRC full project period',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_letter_date',NULL,'post_award_administration',NULL,118,NULL,NULL,'text','SRC letter sent',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_letter_document',NULL,'post_award_administration',NULL,119,NULL,NULL,'file','SRC letter',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_notification_date',NULL,'workflow',NULL,39,NULL,NULL,'text','Date- Sent to SRC',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_percent_funded',NULL,'post_award_administration','Post-Award Administration',116,NULL,'Post-Award Administration','text','Percent of request funded (%)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_priority_score',NULL,'workflow',NULL,41,NULL,NULL,'text','SRC Priority Score',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_project_completion',NULL,'post_award_administration',NULL,137,NULL,NULL,'text','SRC completion date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_project_ending',NULL,'post_award_administration',NULL,120,NULL,NULL,'text','SRC project ending date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'src_total_award_amount',NULL,'post_award_administration',NULL,117,NULL,NULL,'text','SRC Total Award Amount ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'status_src_award',NULL,'workflow',NULL,40,NULL,NULL,'select','SRC Award Status','0, Approved \\n 1, Pending \\n 2, Deferred (Studio) \\n 3, Disapproved \\n 4, Tabled \\n 5, Withdrawn',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'title',NULL,'project',NULL,2,NULL,'Demographic Characteristics','textarea','Project Title',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'victr_status',NULL,'post_award_administration',NULL,136,NULL,NULL,'radio','VICTR Status','0, Inactive \\n 1, Active',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'vumc_core_facilities',NULL,'post_award_administration',NULL,131,NULL,NULL,'text','VUMC Core Facilities ($)',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(6,'workflow_complete',NULL,'workflow',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_1',NULL,'month_1_data',NULL,56,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_2',NULL,'month_2_data',NULL,76,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'admission_date_3',NULL,'month_3_data',NULL,104,NULL,NULL,'text','Date of hospital admission',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_1',NULL,'month_1_data',NULL,44,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_2',NULL,'month_2_data',NULL,64,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_3',NULL,'month_3_data',NULL,85,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'float','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'alb_b',NULL,'baseline_data',NULL,26,'g/dL',NULL,'text','Serum Albumin (g/dL)',NULL,NULL,'int','3','5','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'baseline_data_complete',NULL,'baseline_data',NULL,42,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_1',NULL,'month_1_data',NULL,61,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_2',NULL,'month_2_data',NULL,81,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_death_3',NULL,'month_3_data',NULL,109,NULL,NULL,'select','What was the cause of death?','1, All-cause \\n 2, Cardiovascular',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_1',NULL,'month_1_data',NULL,55,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_2',NULL,'month_2_data',NULL,75,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'cause_hosp_3',NULL,'month_3_data',NULL,103,NULL,NULL,'select','What was the cause of hospitalization?','1, Vascular access related events \\n 2, CVD events \\n 3, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_1',NULL,'month_1_data',NULL,48,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_2',NULL,'month_2_data',NULL,68,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_3',NULL,'month_3_data',NULL,89,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'chol_b',NULL,'baseline_data',NULL,30,'mg/dL',NULL,'text','Cholesterol (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'complete_study',NULL,'completion_data','Completion Data',111,NULL,'Study Completion Information','select','Has patient completed study?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'complete_study_date',NULL,'completion_data',NULL,114,NULL,NULL,'text','Date of study completion',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'completion_data_complete',NULL,'completion_data',NULL,116,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_1',NULL,'month_1_data',NULL,53,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_2',NULL,'month_2_data',NULL,73,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'compliance_3',NULL,'month_3_data',NULL,101,NULL,NULL,'select','How compliant was the patient in drinking the supplement?','0, 100 percent \\n 1, 99-75 percent \\n 2, 74-50 percent \\n 3, 49-25 percent \\n 4, 0-24 percent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_1',NULL,'month_1_data',NULL,46,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_2',NULL,'month_2_data',NULL,66,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_3',NULL,'month_3_data',NULL,87,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'creat_b',NULL,'baseline_data',NULL,28,'mg/dL',NULL,'text','Creatinine (mg/dL)',NULL,NULL,'float','0.5','20','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_blood_3',NULL,'month_3_data',NULL,84,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_blood_b',NULL,'baseline_data',NULL,25,NULL,NULL,'text','Date blood was drawn',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_1',NULL,'month_1_data',NULL,60,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_2',NULL,'month_2_data',NULL,80,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_death_3',NULL,'month_3_data',NULL,108,NULL,NULL,'text','Date of death',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_enrolled',NULL,'demographics',NULL,2,NULL,'Consent Information','text','Date subject signed consent',NULL,'YYYY-MM-DD','date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_supplement_dispensed',NULL,'baseline_data',NULL,41,NULL,NULL,'text','Date patient begins supplement',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_1',NULL,'month_1_data','Month 1 Data',43,NULL,'Month 1','text','Date of Month 1 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_2',NULL,'month_2_data','Month 2 Data',63,NULL,'Month 2','text','Date of Month 2 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_3',NULL,'month_3_data','Month 3 Data',83,NULL,'Month 3','text','Date of Month 3 visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'date_visit_b',NULL,'baseline_data','Baseline Data',24,NULL,'Baseline Measurements','text','Date of baseline visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_1',NULL,'month_1_data',NULL,59,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_2',NULL,'month_2_data',NULL,79,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'death_3',NULL,'month_3_data',NULL,107,NULL,'Mortality Data','select','Has patient died since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'demographics_complete',NULL,'demographics',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_1',NULL,'month_1_data',NULL,57,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_2',NULL,'month_2_data',NULL,77,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_date_3',NULL,'month_3_data',NULL,105,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_1',NULL,'month_1_data',NULL,58,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_2',NULL,'month_2_data',NULL,78,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'discharge_summary_3',NULL,'month_3_data',NULL,106,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'dob','1','demographics',NULL,8.1,NULL,NULL,'text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_1',NULL,'month_1_data',NULL,51,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_2',NULL,'month_2_data',NULL,71,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_3',NULL,'month_3_data',NULL,92,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'drywt_b',NULL,'baseline_data',NULL,33,'kilograms',NULL,'text','Dry weight (kilograms)',NULL,NULL,'float','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'ethnicity',NULL,'demographics',NULL,9,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(7,'first_name','1','demographics',NULL,3,NULL,'Contact Information','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_1',NULL,'month_1_data',NULL,54,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_2',NULL,'month_2_data',NULL,74,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'hospit_3',NULL,'month_3_data',NULL,102,NULL,'Hospitalization Data','select','Was patient hospitalized since last visit?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_1',NULL,'month_1_data',NULL,50,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_2',NULL,'month_2_data',NULL,70,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_3',NULL,'month_3_data',NULL,91,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'kt_v_b',NULL,'baseline_data',NULL,32,NULL,NULL,'text','Kt/V',NULL,NULL,'float','0.9','3','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'last_name','1','demographics',NULL,4,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_1_data_complete',NULL,'month_1_data',NULL,62,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_2_data_complete',NULL,'month_2_data',NULL,82,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'month_3_data_complete',NULL,'month_3_data',NULL,110,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_1',NULL,'month_1_data',NULL,52,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_2',NULL,'month_2_data',NULL,72,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'no_show_3',NULL,'month_3_data',NULL,100,NULL,NULL,'text','Number of treatments missed',NULL,NULL,'float','0','7','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_1',NULL,'month_1_data',NULL,47,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_2',NULL,'month_2_data',NULL,67,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_3',NULL,'month_3_data',NULL,88,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'npcr_b',NULL,'baseline_data',NULL,29,'g/kg/d',NULL,'text','Normalized Protein Catabolic Rate (g/kg/d)',NULL,NULL,'float','0.5','2','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma1_3',NULL,'month_3_data',NULL,93,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma1_b',NULL,'baseline_data',NULL,34,NULL,NULL,'select','Collected Plasma 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma2_3',NULL,'month_3_data',NULL,94,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma2_b',NULL,'baseline_data',NULL,35,NULL,NULL,'select','Collected Plasma 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma3_3',NULL,'month_3_data',NULL,95,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'plasma3_b',NULL,'baseline_data',NULL,36,NULL,NULL,'select','Collected Plasma 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_1',NULL,'month_1_data',NULL,45,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_2',NULL,'month_2_data',NULL,65,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_3',NULL,'month_3_data',NULL,86,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'prealb_b',NULL,'baseline_data',NULL,27,'mg/dL',NULL,'text','Serum Prealbumin (mg/dL)',NULL,NULL,'float','10','40','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'race',NULL,'demographics',NULL,10,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'randomization_form_complete',NULL,'randomization_form',NULL,23.2,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'randomization_group',NULL,'randomization_form','Randomization Form',23.1,NULL,'General Comments','select','Randomization Group','0, Drug A \\n 1, Drug B \\n 2, Drug C',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum1_3',NULL,'month_3_data',NULL,96,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum1_b',NULL,'baseline_data',NULL,37,NULL,NULL,'select','Collected Serum 1?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum2_3',NULL,'month_3_data',NULL,97,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum2_b',NULL,'baseline_data',NULL,38,NULL,NULL,'select','Collected Serum 2?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum3_3',NULL,'month_3_data',NULL,98,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'serum3_b',NULL,'baseline_data',NULL,39,NULL,NULL,'select','Collected Serum 3?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sex',NULL,'demographics',NULL,11,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sga_3',NULL,'month_3_data',NULL,99,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'sga_b',NULL,'baseline_data',NULL,40,NULL,NULL,'text','Subject Global Assessment (score = 1-7)',NULL,NULL,'float','0.9','7.1','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'study_comments',NULL,'completion_data',NULL,115,NULL,'General Comments','textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'study_id',NULL,'demographics','Demographics',1,NULL,NULL,'text','Study ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_1',NULL,'month_1_data',NULL,49,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_2',NULL,'month_2_data',NULL,69,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_3',NULL,'month_3_data',NULL,90,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'transferrin_b',NULL,'baseline_data',NULL,31,'mg/dL',NULL,'text','Transferrin (mg/dL)',NULL,NULL,'float','100','300','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'withdraw_date',NULL,'completion_data',NULL,112,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(7,'withdraw_reason',NULL,'completion_data',NULL,113,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'age',NULL,'id_shipping',NULL,8,NULL,NULL,'text','Age',NULL,'Age at surgery, DOB not available','float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'age_at_surgery',NULL,'pathology_review',NULL,70,NULL,NULL,'calc','Age at Surgery','round(datediff([date_of_birth],[date_surgery],\"y\",\"mdy\",true),0)',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'another_accnumber',NULL,'tma_information',NULL,186,NULL,NULL,'yesno','Another_AccNumber?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'bc_molecularsubtype',NULL,'pathology_review',NULL,94,NULL,NULL,'select','BC_MolecularSubtype','1, Luminal A \\n 2, Luminal B \\n 3, HER2 \\n 4, Triple Negative \\n 5, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'bc_precancerous',NULL,'pathology_review',NULL,98,NULL,NULL,'select','BC_Precancerous','1, Not seen \\n 2, DCIS \\n 3, LCIS \\n 4, DCIS+LCIS',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'blk_no_received',NULL,'id_shipping',NULL,17,NULL,NULL,'text','Block_ Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_metastatic',NULL,'pathology_review',NULL,76,NULL,NULL,'text','BlockNum_Metastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_normal',NULL,'pathology_review',NULL,75,NULL,NULL,'text','BlockNum_Normal',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_precancerous',NULL,'pathology_review',NULL,77,NULL,NULL,'text','BlockNum_Precancerous',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_received2',NULL,'id_shipping',NULL,37,NULL,NULL,'text','Block_ Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_received3',NULL,'id_shipping',NULL,55,NULL,NULL,'text','Block_ Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'block_tumor',NULL,'pathology_review',NULL,74,NULL,NULL,'text','BlockNum_Tumor',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_breast',NULL,'pathology_review',NULL,84,NULL,'For Breast Cancer Samples','select','Clin_Diagn_Breast','1, Noninvasive carcinoma (NOS) \\n 2, Ductal carcinoma in situ \\n 3, Lobular carcinoma in situ \\n 4, Paget disease without invasive carcinoma \\n 5, Invasive carcinoma (NOS) \\n 6, Invasive ductal carcinoma \\n 7, IDC with an extensive intraductal component \\n 8, IDC with Paget disease \\n 9, Invasive lobular \\n 10, Mucinous \\n 11, Medullary \\n 12, Papillary \\n 13, Tubular \\n 14, Adenoid cystic \\n 15, Secretory (juvenile) \\n 16, Apocrine \\n 17, Cribriform \\n 18, Carcinoma with squamous metaplasia \\n 19, Carcinoma with spindle cell metaplasia \\n 20, Carcinoma with cartilaginous/osseous metaplasia \\n 21, Carcinoma with metaplasia, mixed type \\n 22, Other(s) (specify) \\n 23, Not assessable \\n 24, No cancer tissue \\n 25, IDC+ILC (50 -90% each component)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_lung',NULL,'pathology_review',NULL,125,NULL,'For Lung Cancer Samples','select','Clin_Diagn_Lung','1, Squamous cell carcinoma 8070/3 \\n 2, Small cell carcinoma 8041/3 \\n 3, Adenocarcinoma 8140/3 \\n 4, Adenocarcinoma, mixed subtype 8255/3 \\n 5, Adenocarcinoma, Acinar 8550/3 \\n 6, Adenocarcinoma, Papillary 8260/3 \\n 7, Adenocarcinoma, Micropapillary \\n 8, Bronchioloalveolar carcinoma 8250/3 \\n 9, Solid adenocarcinoma with mucin 8230/3 \\n 10, Adenosquamous carcinoma 8560/3 \\n 11, Large cell carcinoma 8012/3 \\n 12, Sarcomatoid carcinoma 8033/3 \\n 13, Carcinoid tumour 8240/3 \\n 14, Mucoepidermoid carcinoma 8430/3 \\n 15, Epithelial-myoepithelial carcinoma 8562/3 \\n 16, Adenoid cystic carcinoma 8200/3 \\n 17, Unclassified carcinoma \\n 18, Others \\n 19, Large cell neuroendocrine carcinoma 8013/3',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_others',NULL,'pathology_review',NULL,133,NULL,'For Other Cancer Samples','text','Clin_Diagn_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_diagn_prostate',NULL,'pathology_review',NULL,102,NULL,'For Prostate Cancer Samples','select','Clin_Diagn_Prostate','1, Adenocarcinoma,NOS \\n 2, Prostatic duct adenocarcinoma \\n 3, Mucinous adenocarcinoma \\n 4, Signet-ring cell carcinoma \\n 5, Adenosquemous carcinoma \\n 6, Small cell carcinoma \\n 7, Sarcomatoid carcinoma \\n 8, Other (specifiy) \\n 9, Undifferentiated carcinoma, NOS \\n 10, Cannot be determined',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_giag_colon',NULL,'pathology_review',NULL,115,NULL,'For Colon Cancer Samples','select','Clin_Diagn_Colon','1, 1 Adenocarcinoma \\n 2, 2 Mucinous adenocarcinoma \\n 3, 3 Medullary carcinoma \\n 4, 4 Signet ring cell carcinoma \\n 5, 5 Small cell carcinoma \\n 6, 6 Squamous cell carcinoma \\n 7, 7 Adenosquamous carcinoma \\n 8, 8 Others \\n 9, 9 Adenoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_gleason_score',NULL,'pathology_review',NULL,105,NULL,NULL,'text','Clin_Gleason_Score',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_breast',NULL,'pathology_review',NULL,88,NULL,NULL,'select','Clin_Grade_Breast','1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 1~2 \\n 5, 2~3 \\n 6, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_colon',NULL,'pathology_review',NULL,119,NULL,NULL,'select','Clin_Grade_Colon','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A \\n 5, Low-Intermediate \\n 6, Intermediate-High',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_lung',NULL,'pathology_review',NULL,128,NULL,NULL,'select','Clin_Grade_Lung','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A \\n 5, Low-Intermediate \\n 6, Intermediate-High',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_others',NULL,'pathology_review',NULL,135,NULL,NULL,'text','Clin_Grade_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'clin_grade_pro',NULL,'pathology_review',NULL,106,NULL,NULL,'select','Clin_Grade_Pro','1, Low(1-4) \\n 2, Intermediate(5-7) \\n 3, High(8-10)','Gleason Score System',NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'collection_note2',NULL,'id_shipping',NULL,27,NULL,NULL,'textarea','FollowUp_Note2',NULL,NULL,NULL,NULL,NULL,NULL,'[follow_up_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'collection_note3',NULL,'id_shipping',NULL,45,NULL,NULL,'textarea','FollowUp_Note',NULL,NULL,NULL,NULL,NULL,NULL,'[follow_up_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'date_of_birth','1','id_shipping',NULL,7,NULL,NULL,'text','Date of Birth',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'date_surgery',NULL,'pathology_review',NULL,69,NULL,'Clinical Pathology Information','text','Date_Surgery',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'dna_index',NULL,'pathology_review',NULL,97,NULL,NULL,'text','DNA Index',NULL,'Unfavorable: >1.1',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'estrogen_receptor',NULL,'pathology_review',NULL,90,NULL,NULL,'select','Estrogen Receptor','0, negative \\n 1, week (<1%) \\n 2, positive (>=1%) \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'extraprostate_extention',NULL,'pathology_review',NULL,114,NULL,NULL,'select','ExtraProstate Extention','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city',NULL,'id_shipping',NULL,10,NULL,NULL,'text','Facility_City',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city2',NULL,'id_shipping',NULL,30,NULL,NULL,'text','Facility_City2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\' and [samefacasbefore] = \'0\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_city3',NULL,'id_shipping',NULL,48,NULL,NULL,'text','Facility_City3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name',NULL,'id_shipping',NULL,9,NULL,'Shipping Information','text','Facility_Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name2',NULL,'id_shipping',NULL,29,NULL,NULL,'text','Facility_Name2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacasbefore] = \'0\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_name3',NULL,'id_shipping',NULL,47,NULL,NULL,'text','Facility_Name3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state',NULL,'id_shipping',NULL,11,NULL,NULL,'text','Facility_State',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state2',NULL,'id_shipping',NULL,31,NULL,NULL,'text','Facility_State2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\' and [samefacasbefore] = \'0\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'facility_state3',NULL,'id_shipping',NULL,49,NULL,NULL,'text','Facility_State3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[samefacilityasbefore2] = \'0\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'first_name','1','id_shipping',NULL,3,NULL,NULL,'text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_met_currentquant',NULL,'slide_information',NULL,166,NULL,NULL,'text','5um_Met_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_met_quant',NULL,'slide_information',NULL,165,NULL,NULL,'text','5um_Met_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_currquant',NULL,'slide_information',NULL,145,NULL,NULL,'text','5um_Nor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_currquant2',NULL,'slide_information',NULL,157,NULL,NULL,'text','5um_Nor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_quant',NULL,'slide_information',NULL,144,NULL,NULL,'text','5um_Nor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_nor_quant2',NULL,'slide_information',NULL,156,NULL,NULL,'text','5um_Nor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_precancer_curquant',NULL,'slide_information',NULL,174,NULL,NULL,'text','5um_Precancer_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_precancer_quant',NULL,'slide_information',NULL,173,NULL,NULL,'text','5um_Precancer_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_currquant',NULL,'slide_information',NULL,141,NULL,NULL,'text','5um_Tumor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_currquant2',NULL,'slide_information',NULL,153,NULL,NULL,'text','5um_Tumor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_quant',NULL,'slide_information','Slide Information',140,NULL,NULL,'text','5um_Tumor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'five_um_tumor_quant2',NULL,'slide_information',NULL,152,NULL,NULL,'text','5um_Tumor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'follow_up_needed2',NULL,'id_shipping',NULL,26,NULL,NULL,'yesno','Follow up needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'follow_up_needed3',NULL,'id_shipping',NULL,44,NULL,NULL,'yesno','Follow up needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'followup_note',NULL,'id_shipping',NULL,24,NULL,NULL,'textarea','FollowUp_Note',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'forwhoseproject',NULL,'slide_tracking',NULL,195,NULL,NULL,'text','ForWhoseProject1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'gender',NULL,'pathology_review',NULL,71,NULL,NULL,'select','Gender','1, male \\n 2, female \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'her2_fish',NULL,'pathology_review',NULL,93,NULL,NULL,'select','HER2_FISH','0, 0 (Non-Amplified, <1.8) \\n 1, 1 (Amplified, >2.2) \\n 2, 2 (Borderline, 1.8~2.2) \\n 3, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'her2_immunohistochemistry',NULL,'pathology_review',NULL,92,NULL,NULL,'select','HER2_Immunohistochemistry','0, 0 \\n 1, 1 (1~9% cells positivity) \\n 2, 2 (10-30% cells positivity) \\n 3, 3 (>30% cells positivity with strong color) \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'id_shipping_complete',NULL,'id_shipping',NULL,61,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_ilc_subtype',NULL,'pathology_review',NULL,86,NULL,NULL,'select','ILC_Subtype','901, classical ILC \\n 902, solid ILC \\n 903, pleomorphic ILC \\n 904, alveolar ILC \\n 905, tubulolobular ILC \\n 906, mixed ILC \\n 907, signet ring cell ILC \\n 908, others',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\' and [lab_diagn_breast] = \'9\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_no_location2',NULL,'slide_information',NULL,161,NULL,NULL,'text','If_No_Location2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[same_slideloc] = \'0\' and [is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'if_others_specify',NULL,'pathology_review',NULL,127,NULL,NULL,'text','If_Others_Specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'4\' and [lab_diagn_lung] = \'10\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize1',NULL,'pathology_review',NULL,78,NULL,NULL,'text','InvitroSize1',NULL,'Maximum size in centimeter','float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize2',NULL,'pathology_review',NULL,79,NULL,NULL,'text','InvitroSize2',NULL,'In % of total tissue volume for prostate cancer','float',NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'invitrosize3',NULL,'pathology_review',NULL,80,NULL,NULL,'text','InvitroSize3',NULL,'The seceond largest tumor',NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_another_accnumber',NULL,'slide_information',NULL,150,NULL,NULL,'yesno','Is there another AccNumber?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_metastatic_tumor',NULL,'slide_information',NULL,163,NULL,NULL,'yesno','Is there Metastatic Tumor?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'is_there_precancer',NULL,'slide_information',NULL,171,NULL,NULL,'yesno','Is There Precancer?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ki_67',NULL,'pathology_review',NULL,95,NULL,NULL,'text','Ki-67',NULL,'positive cells in percentage','float',NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diag_prostate',NULL,'pathology_review',NULL,103,NULL,NULL,'select','Lab_Diag_Prostate','1, Adenocarcinoma,NOS \\n 2, Prostatic duct adenocarcinoma \\n 3, Mucinous adenocarcinoma \\n 4, Signet-ring cell carcinoma \\n 5, Adenosquemous carcinoma \\n 6, Small cell carcinoma \\n 7, Sarcomatoid carcinoma \\n 8, Other (specifiy) \\n 9, Undifferentiated carcinoma, NOS \\n 10, Cannot be determined',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_breast',NULL,'pathology_review',NULL,85,NULL,NULL,'select','Lab_Diagn_Breast','1, Noninvasive carcinoma (NOS) \\n 2, Ductal carcinoma in situ \\n 3, Lobular carcinoma in situ \\n 4, Paget disease without invasive carcinoma \\n 5, Invasive carcinoma (NOS) \\n 6, Invasive ductal carcinoma \\n 7, IDC with an extensive intraductal component \\n 8, IDC with Paget disease \\n 9, Invasive lobular \\n 10, Mucinous \\n 11, Medullary \\n 12, Papillary \\n 13, Tubular \\n 14, Adenoid cystic \\n 15, Secretory (juvenile) \\n 16, Apocrine \\n 17, Cribriform \\n 18, Carcinoma with squamous metaplasia \\n 19, Carcinoma with spindle cell metaplasia \\n 20, Carcinoma with cartilaginous/osseous metaplasia \\n 21, Carcinoma with metaplasia, mixed type \\n 22, Other(s) (specify) \\n 23, Not assessable \\n 24, No cancer tissue \\n 25, IDC+ILC (50 -90% each component)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_colon',NULL,'pathology_review',NULL,117,NULL,NULL,'select','Lab_Diagn_Colon','1, 1 Adenocarcinoma \\n 2, 2 Mucinous adenocarcinoma \\n 3, 3 Medullary carcinoma \\n 4, 4 Signet ring cell carcinoma \\n 5, 5 Small cell carcinoma \\n 6, 6 Squamous cell carcinoma \\n 7, 7 Adenosquamous carcinoma \\n 8, 8 Others \\n 9, 9 Adenoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_lung',NULL,'pathology_review',NULL,126,NULL,NULL,'select','Lab_Diagn_Lung','1, Squamous cell carcinoma 8070/3 \\n 2, Small cell carcinoma 8041/3 \\n 3, Adenocarcinoma 8140/3 \\n 4, Adenocarcinoma, mixed subtype 8255/3 \\n 5, Adenocarcinoma, Acinar 8550/3 \\n 6, Adenocarcinoma, Papillary 8260/3 \\n 7, Adenocarcinoma, Micropapillary \\n 8, Bronchioloalveolar carcinoma 8250/3 \\n 9, Solid adenocarcinoma with mucin 8230/3 \\n 10, Adenosquamous carcinoma 8560/3 \\n 11, Large cell carcinoma 8012/3 \\n 12, Sarcomatoid carcinoma 8033/3 \\n 13, Carcinoid tumour 8240/3 \\n 14, Mucoepidermoid carcinoma 8430/3 \\n 15, Epithelial-myoepithelial carcinoma 8562/3 \\n 16, Adenoid cystic carcinoma 8200/3 \\n 17, Unclassified carcinoma \\n 18, Others \\n 19, Large cell neuroendocrine carcinoma 8013/3',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_diagn_others',NULL,'pathology_review',NULL,134,NULL,NULL,'text','Lab_Diagn_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_gleason_score',NULL,'pathology_review',NULL,107,NULL,NULL,'text','Lab_Gleason_Score',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_breast',NULL,'pathology_review',NULL,89,NULL,NULL,'select','Lab_Grade_Breast','1, 1 \\n 2, 2 \\n 3, 3 \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_colon',NULL,'pathology_review',NULL,120,NULL,NULL,'select','Lab_Grade_Colon','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_lung',NULL,'pathology_review',NULL,129,NULL,NULL,'select','Lab_Grade_Lung','1, Low \\n 2, Intermediate \\n 3, High \\n 4, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_others',NULL,'pathology_review',NULL,136,NULL,NULL,'text','Lab_Grade_Others',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_grade_pro',NULL,'pathology_review',NULL,108,NULL,NULL,'select','Lab_Grade_Pro','1, Low(1-4) \\n 2, Intermediate(5-7) \\n 3, High(8-10)','Gleason Score System (1-10)',NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'lab_id','0','id_shipping','ID Shipping',1,NULL,'IDs','text','Lab ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'labcirculation_time',NULL,'id_shipping',NULL,23,NULL,NULL,'calc','LabCirculation_time','round(datediff([receivedate],[return_date],\"d\",\"mdy\"))',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'last_name','1','id_shipping',NULL,5,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'metastatic_accnum',NULL,'slide_information',NULL,164,NULL,NULL,'text','Metastatic_AccNum',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'middle_name',NULL,'id_shipping',NULL,4,NULL,NULL,'text','Middle Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'other_acc_no',NULL,'pathology_review',NULL,73,NULL,NULL,'text','Other_Acc_No',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'other_location_lung',NULL,'pathology_review',NULL,67,NULL,NULL,'text','Other location_lung',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'4\' and [tumor_location_lung] = \'11\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber',NULL,'id_shipping',NULL,36,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber2',NULL,'id_shipping',NULL,16,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'otheraccnumber3',NULL,'id_shipping',NULL,54,NULL,NULL,'text','OtherAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'p53_ihc',NULL,'pathology_review',NULL,96,NULL,NULL,'text','p53_IHC',NULL,'positive cells in percentage',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_1',NULL,'slide_information',NULL,149,NULL,NULL,'text','ParaPieceLoc_1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_2',NULL,'slide_information',NULL,162,NULL,NULL,'text','ParaPieceLoc_2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_metastatic',NULL,'slide_information',NULL,170,NULL,NULL,'text','ParaPieceLoc_Metastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'parapieceloc_precancer',NULL,'slide_information',NULL,178,NULL,NULL,'text','ParaPieceLoc_Precancer',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnum_2',NULL,'slide_information',NULL,151,NULL,NULL,'text','PathAccNum_2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber','1','id_shipping',NULL,15,NULL,NULL,'text','PathAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber2',NULL,'id_shipping',NULL,35,NULL,NULL,'text','PathAccNumber',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathaccnumber3',NULL,'id_shipping',NULL,53,NULL,NULL,'text','PathAccNumber3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathoireview_note',NULL,'pathology_review',NULL,138,NULL,NULL,'textarea','PatholReview_Note',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathol_acc_no','1','pathology_review',NULL,72,NULL,NULL,'text','Pathol_Acc_No',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pathology_review_complete',NULL,'pathology_review',NULL,139,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'perineuralinvasion',NULL,'pathology_review',NULL,81,NULL,NULL,'select','PerineuralInvasion','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pre_cancerous_colon',NULL,'pathology_review',NULL,124,NULL,NULL,'textarea','Pre-cancerous_Colon',NULL,NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'precancer_accnum',NULL,'slide_information',NULL,172,NULL,NULL,'text','PreCancer_AccNum',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'progesterone_receptor',NULL,'pathology_review',NULL,91,NULL,NULL,'select','Progesterone Receptor','0, negative (0~2) \\n 1, week (3~4) \\n 2, intermediate (5~6) \\n 3, strong (7~8) \\n 4, N/A','Allred Score System 0-8',NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'psa_level',NULL,'pathology_review',NULL,112,NULL,NULL,'text','PSA_Level',NULL,'ng/mL',NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pulled_quant1',NULL,'slide_tracking',NULL,197,NULL,NULL,'text','Pulled_Quant1',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'pulling_date1',NULL,'slide_tracking','Slide Tracking',194,NULL,NULL,'text','Pulling_Date1',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate','1','id_shipping',NULL,12,NULL,NULL,'text','ReceiveDate',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate2',NULL,'id_shipping',NULL,32,NULL,NULL,'text','ReceiveDate2',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivedate3',NULL,'id_shipping',NULL,50,NULL,NULL,'text','ReceiveDate3',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivetracking2',NULL,'id_shipping',NULL,34,NULL,NULL,'text','ReceiveTracking2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'receivetracking3',NULL,'id_shipping',NULL,52,NULL,NULL,'text','ReceiveTracking3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_date',NULL,'id_shipping',NULL,21,NULL,NULL,'text','ReturnDate',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed',NULL,'id_shipping',NULL,20,NULL,NULL,'yesno','Return_Needed?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed2',NULL,'id_shipping',NULL,40,NULL,NULL,'yesno','Return_needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_needed3',NULL,'id_shipping',NULL,58,NULL,NULL,'yesno','Return_needed?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_tracking',NULL,'id_shipping',NULL,22,NULL,NULL,'text','ReturnTracking',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'return_tracking2',NULL,'id_shipping',NULL,42,NULL,NULL,'text','ReturnTracking2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[return_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returndate2',NULL,'id_shipping',NULL,41,NULL,NULL,'text','ReturnDate2',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[return_needed2] = \'1\' and [secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returndate3',NULL,'id_shipping',NULL,59,NULL,NULL,'text','ReturnDate3',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed','[return_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'returntracking3',NULL,'id_shipping',NULL,60,NULL,NULL,'text','ReturnTracking3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[return_needed3] = \'1\' and [thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'same_slideloc',NULL,'slide_information',NULL,160,NULL,NULL,'yesno','Same_SlideLoc?',NULL,NULL,NULL,NULL,NULL,NULL,'[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'samefacasbefore',NULL,'id_shipping',NULL,28,NULL,NULL,'yesno','SameFacilityAsBefore?',NULL,NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'samefacilityasbefore2',NULL,'id_shipping',NULL,46,NULL,NULL,'yesno','SameFacilityAsBefore?',NULL,NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'secondtime_getsample',NULL,'id_shipping',NULL,25,NULL,'If Receive Sample 2nd Time','yesno','2nd_Time_Receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'seminalinvasion',NULL,'pathology_review',NULL,113,NULL,NULL,'select','SeminalInvasion','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod',NULL,'id_shipping',NULL,13,NULL,NULL,'select','ShipMethod','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod2',NULL,'id_shipping',NULL,33,NULL,NULL,'select','ShipMethod2','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,'[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'shipmethod3',NULL,'id_shipping',NULL,51,NULL,NULL,'select','ShipMethod3','1, FedEx \\n 2, USPS \\n 3, UPS \\n 4, ByPerson \\n 5, Others',NULL,NULL,NULL,NULL,NULL,'[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slide_information_complete',NULL,'slide_information',NULL,179,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slide_tracking_complete',NULL,'slide_tracking',NULL,198,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_1',NULL,'slide_information',NULL,148,NULL,NULL,'text','SlideLoc_1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_metmetastatic',NULL,'slide_information',NULL,169,NULL,NULL,'text','SlideLoc_Metmetastatic',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'slideloc_precancer',NULL,'slide_information',NULL,177,NULL,NULL,'text','SlideLoc_Precancer',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_colon_clin',NULL,'pathology_review',NULL,116,NULL,NULL,'text','If others_specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'3\' and [clin_giag_colon] = \'8\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_colon_lab',NULL,'pathology_review',NULL,118,NULL,NULL,'text','If others_specify',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'3\' and [lab_diagn_colon] = \'8\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_if_other_type_br',NULL,'pathology_review',NULL,87,NULL,NULL,'text','Specify_If_Other_Type_Br',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_if_other_type_pro',NULL,'pathology_review',NULL,104,NULL,NULL,'text','Specify_If_Other_type_Pro',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_other_location',NULL,'pathology_review',NULL,68,NULL,NULL,'text','Specify_Other_Location',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'specify_other_origin',NULL,'pathology_review',NULL,63,NULL,NULL,'text','Specify_Other_Origin',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received',NULL,'id_shipping',NULL,18,NULL,NULL,'text','StainedSlide_Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received2',NULL,'id_shipping',NULL,38,NULL,NULL,'text','StainedSlide_Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'stainedslide_received3',NULL,'id_shipping',NULL,56,NULL,NULL,'text','StainedSlide_Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'suffix',NULL,'id_shipping',NULL,6,NULL,NULL,'text','Suffix',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'surgical_margin_cancer_pre',NULL,'pathology_review',NULL,83,NULL,NULL,'select','Surgical margin cancer present','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_met_currentquant',NULL,'slide_information',NULL,168,NULL,NULL,'text','10um_Met_CurrentQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_met_quant',NULL,'slide_information',NULL,167,NULL,NULL,'text','10um_Met_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_metastatic_tumor] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_currquant',NULL,'slide_information',NULL,147,NULL,NULL,'text','10um_Nor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_currquant2',NULL,'slide_information',NULL,159,NULL,NULL,'text','10um_Nor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_quant',NULL,'slide_information',NULL,146,NULL,NULL,'text','10um_Nor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_nor_quant2',NULL,'slide_information',NULL,158,NULL,NULL,'text','10um_Nor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_precancer_curquant',NULL,'slide_information',NULL,176,NULL,NULL,'text','10um_Precancer_CurQuant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_precancer_quant',NULL,'slide_information',NULL,175,NULL,NULL,'text','10um_Precancer_Quant',NULL,NULL,NULL,NULL,NULL,'soft_typed','[is_there_precancer] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_currquant',NULL,'slide_information',NULL,143,NULL,NULL,'text','10um_Tumor_CurrQuant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_currquant2',NULL,'slide_information',NULL,155,NULL,NULL,'text','10um_Tumor_CurrQuant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_quant',NULL,'slide_information',NULL,142,NULL,NULL,'text','10um_Tumor_Quant',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'ten_um_tumor_quant2',NULL,'slide_information',NULL,154,NULL,NULL,'text','10um_Tumor_Quant2',NULL,NULL,'float',NULL,NULL,'soft_typed','[is_there_another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'thirdtime_getsample',NULL,'id_shipping',NULL,43,NULL,'If Receive Sample 3rd Time','yesno','3rd_Time_Receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos1',NULL,'tma_information','TMA Information',180,NULL,NULL,'text','TMA_Ca_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos2',NULL,'tma_information',NULL,181,NULL,NULL,'text','TMA_Ca_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos3',NULL,'tma_information',NULL,187,NULL,NULL,'text','TMA_Ca_pos3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_ca_pos4',NULL,'tma_information',NULL,188,NULL,NULL,'text','TMA_Ca_pos4',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_information_complete',NULL,'tma_information',NULL,193,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_metastatic_pos',NULL,'tma_information',NULL,185,NULL,NULL,'text','TMA Metastatic_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_metastatic_pos2',NULL,'tma_information',NULL,192,NULL,NULL,'text','TMA Metastatic_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos1',NULL,'tma_information',NULL,182,NULL,NULL,'text','TMA_Nor_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos2',NULL,'tma_information',NULL,183,NULL,NULL,'text','TMA_Nor_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos3',NULL,'tma_information',NULL,189,NULL,NULL,'text','TMA_Nor_pos3',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_nor_pos4',NULL,'tma_information',NULL,190,NULL,NULL,'text','TMA_Nor_pos4',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_preca_pos',NULL,'tma_information',NULL,184,NULL,NULL,'text','TMA_ PreCa_pos1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tma_preca_pos2',NULL,'tma_information',NULL,191,NULL,NULL,'text','TMA_ PreCa_pos2',NULL,NULL,NULL,NULL,NULL,'soft_typed','[another_accnumber] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnm_breast_tumor',NULL,'pathology_review',NULL,99,NULL,NULL,'select','TNMbreast_PrimTum(T)','1, TX:Primary tumor cannot be assessed \\n 2, T0:No evidence of primary tumor \\n 3, Tis:DCIS/LCIS/Paget\'s dis w/o associated tumor \\n 4, T1mic:Microinvasion <=0.1 cm \\n 5, T1a:>0.1 but <=0.5 cm \\n 6, T1b:>0.5 cm but <=1.0 cm \\n 7, T1c:>1.0 cm but <=2.0 cm \\n 8, T2:Tumor >2.0 cm but <=5.0 cm \\n 9, T3:Tumor >5.0 cm \\n 10, T4a:Any size with direct extension to chest wall \\n 11, T4b:skin Edema/ulceration;satellite skin nodules \\n 12, T4c:Both of T4a and T4b \\n 13, T4d:Inflammatory carcinoma',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnm_stage',NULL,'pathology_review',NULL,137,NULL,NULL,'text','TNM_Stage',NULL,NULL,NULL,NULL,NULL,'soft_typed','[tumor_origin] = \'5\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmbreast_distantmetast_m',NULL,'pathology_review',NULL,101,NULL,NULL,'select','TNMbreast_DistantMetast (M)','1, MX: cannot be assessed \\n 2, M0: No distant metastasis \\n 3, M1: yes includes ipsilateral supraclavicular LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmbreast_ln_n',NULL,'pathology_review',NULL,100,NULL,NULL,'select','TNMbreast_LN (N)','1, NX: Regional LNs cannot be assessed \\n 2, N0: No regional LNs metastasis \\n 3, N1: Movable ipsilateral axillary LN(s) \\n 4, N2: Ipsilateral axillary LN(s) fixed \\n 5, N3: Ipsilateral internal mammary LN(s) \\n 6, pNX: Regional LNs cannot be assessed \\n 7, pN0: No regional LNs metastasis \\n 8, pN1: movable ipsilateral axillary LN(s) \\n 9, pN1a:Only micrometastasis <=0.2 cm \\n 10, pN1b: Metastasis any >0.2 cm \\n 11, pN1bi:1 to 3 LNs, any >0.2 cm and all <2.0 cm \\n 12, pN1bii: >=4 LN3, any >0.2 cm and all <2.0 cm \\n 13, pN1biii: beyond LN capsule,metastasis <2.0 cm \\n 14, pN1biv: Metastasis to a LN >=2.0 cm \\n 15, pN2: to ipsilateral axillaryLN(s) fixed \\n 16, pN3: to ipsilateral internal mammary LN(s) \\n 17, pN0(i+)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_m',NULL,'pathology_review',NULL,123,NULL,NULL,'select','TNMcolon_M','M0, M0 No distant spread \\n M1a, M1a to 1 distant organ or set of distant LNs \\n M1b, M1b to >1 or distant parts peritoneum \\n MX, MX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_n',NULL,'pathology_review',NULL,122,NULL,NULL,'select','TNMcolon_N','Nx, Nx incomplete information. \\n N0, N0 No cancer in nearby LNs \\n N1a, N1a in 1 nearby LN \\n N1b, N1b in 2 to 3 nearby LNs \\n N1c, N1c cancer cells in areas of fat near LN, but not in LNs \\n N2a, N2a in 4 to 6 nearby LN \\n N2b, N2b in 7 or more nearby LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmcolon_t',NULL,'pathology_review',NULL,121,NULL,NULL,'select','TNMcolon_T','Tx, Tx \\n Tis, Tis earliest stage (in situ) involves only mucosa \\n T1, T1 through the muscularis mucosa \\n T2, T2 through submucosa into muscularis propria \\n T3, T3 through muscularis propria into outermost layers \\n T4a, T4a through serosa/visceral peritoneum \\n T4b, T4b through the wall attach/invade nearby tissues',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_m',NULL,'pathology_review',NULL,132,NULL,NULL,'select','TNMlung_M','13, MX \\n 14, M0 \\n 15, M1 Distant metastasis, includes separate tumour nodule(s) in different lobe',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_n',NULL,'pathology_review',NULL,131,NULL,NULL,'select','TNMlung_N','8, NX \\n 9, N0 \\n 10, N1 Ipsilateral peribronchial/ipsilateral hilar LNs and intrapulmonary LNs \\n 11, N2 ipsilateral mediastinal/subcarinal LNs \\n 12, N3 contralateral mediastinal, contralateral hilar, ipsilateral or contralateral scalene, or supraclavicular LNs',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmlung_t',NULL,'pathology_review',NULL,130,NULL,NULL,'select','TNMlung_T','1, TX \\n 2, T0 No evidence of primary tumour \\n 3, Tis Carcinoma in situ \\n 4, T1 <= 3 cm, without invasion \\n 5, T2 > 3 cm; or involves main bronchus(>2 cm distal to carina)/visceral pleura; or Associated with atelectasis or obstructive pneumonitis that does not involve entire lung \\n 6, T3 any size that directly invades any of:chest wall, diaphragm, mediastinal pleura, parietal pericardium; or tumour in main bronchus < 2 cm distal to carina but without involvement of carina; or associated atelectasis or obstructive pneumonitis of entire lung \\n 7, T4 any size that invades any of: mediastinum, heart, great vessels, trachea, oesophagus, vertebral body, carina; separate tumour nodule(s) in same lobe; tumour with malignant pleural effusion',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_m',NULL,'pathology_review',NULL,111,NULL,NULL,'select','TNMprostate_M','1, M0: spread only regionally in pelvic area \\n 2, M1: spread beyond pelvic area \\n 3, MX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_n',NULL,'pathology_review',NULL,110,NULL,NULL,'select','TNMprostate_N','1, N0: not to pelvic LN \\n 2, N1: a single pelvic LN,<= 2 cm \\n 3, N2: a single pelvic LN,2-5cm \\n 4, N3: >5 cm in size \\n 5, NX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tnmprostate_t',NULL,'pathology_review',NULL,109,NULL,NULL,'select','TNMprostate_T','1, T1: Microscopic, DRE/Ultrasound undetectable \\n 2, T1a: <=5 percent \\n 3, T1b: >5 percent \\n 4, T1c: as F/U of screening w/ high PSA \\n 5, T2: within prost, DRE/ultrasound detectable \\n 6, T2a: >half of one lobe \\n 7, T2b: >half of one lobe,DRE detectable often \\n 8, T2c: involve both lobes \\n 9, T3: surrounding tissues or seminal vesicles \\n 10, T3a: outside prostate on one side \\n 11, T3b: outside prostate on both sides \\n 12, T3c: to one or both seminal tubes \\n 13, T4a: to bladder or rectum \\n 14, T4b: beyond prostate or levator muscles \\n 15, TX',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'trackingnumber',NULL,'id_shipping',NULL,14,NULL,NULL,'text','ReceiveTracking',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'trc_id',NULL,'id_shipping',NULL,2,NULL,NULL,'text','TRC ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location',NULL,'pathology_review',NULL,64,NULL,NULL,'select','Location_Breast_Prostate','1, Left \\n 2, Right \\n 3, Bilateral \\n 4, Multiple \\n 5, Unclear','Multiple means 2 or more',NULL,NULL,NULL,NULL,'[tumor_origin] = \'1\' or [tumor_origin] = \'2\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location_colorectum',NULL,'pathology_review',NULL,65,NULL,NULL,'select','Location_Colorectum','1, Appendix \\n 2, Cecum \\n 3, Ascending \\n 4, Hepatic Flexure \\n 5, Transverse \\n 6, Splenic Flexure \\n 7, Descending \\n 8, Sigmoid \\n 9, Rectum \\n 10, Anus \\n 11, Left \\n 12, Right \\n 13, Unclear',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'3\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_location_lung',NULL,'pathology_review',NULL,66,NULL,NULL,'select','Location_Lung','1, Right Upper Lobe \\n 2, Right Middle Lobe \\n 3, Right Lower Lobe \\n 4, Left Upper Lobe \\n 5, Left Lower Lobe \\n 6, Right Bronchus \\n 7, Left Bronchus \\n 8, Right \\n 9, Left \\n 10, Unclear \\n 11, Others (specify it)',NULL,NULL,NULL,NULL,NULL,'[tumor_origin] = \'4\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'tumor_origin',NULL,'pathology_review','Pathology Review',62,NULL,'Tumor Origin and Location','select','Tumor_Origin','1, Breast \\n 2, Prostate \\n 3, Colorectum \\n 4, Lung \\n 5, Others',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received',NULL,'id_shipping',NULL,19,NULL,NULL,'text','UnstainedSlide_Received',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received2',NULL,'id_shipping',NULL,39,NULL,NULL,'text','UnstainedSlide_Received2',NULL,NULL,'float',NULL,NULL,'soft_typed','[secondtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'unstainedslide_received3',NULL,'id_shipping',NULL,57,NULL,NULL,'text','UnstainedSlide_Received3',NULL,NULL,'float',NULL,NULL,'soft_typed','[thirdtime_getsample] = \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'vascular_invasion',NULL,'pathology_review',NULL,82,NULL,NULL,'select','Vascular invasion present','0, No \\n 1, Yes \\n 2, N/A',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(8,'whichslidepulled1',NULL,'slide_tracking',NULL,196,NULL,NULL,'text','WhichSlidePulled1',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'address','1','participant_info_survey',NULL,8,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'complete_study',NULL,'completion_data','Completion Data (to be entered by study personnel only)',22,NULL,'This form is to be filled out by study personnel.','yesno','Has patient completed study?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'completion_data_complete',NULL,'completion_data',NULL,29,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'consent',NULL,'prescreening_survey',NULL,4,NULL,NULL,'checkbox','By checking this box, I certify that I am at least 18 years old and that I give my consent freely to participant in this study.','1, I consent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'date_visit_4',NULL,'completion_data',NULL,25,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'discharge_date_4',NULL,'completion_data',NULL,26,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'discharge_summary_4',NULL,'completion_data',NULL,27,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'dob',NULL,'prescreening_survey',NULL,2,NULL,'Please fill out the information below.','text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'email','1','prescreening_survey',NULL,2.1,NULL,NULL,'text','E-mail address',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'ethnicity',NULL,'participant_info_survey',NULL,11,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(9,'first_name','1','participant_info_survey','Participant Info Survey',6,NULL,'As a participant in this study, please answer the questions below. Thank you!','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'has_diabetes',NULL,'prescreening_survey',NULL,3,NULL,NULL,'truefalse','I currently have Type 2 Diabetes',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'height',NULL,'participant_info_survey',NULL,14,NULL,NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'last_name','1','participant_info_survey',NULL,7,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_id',NULL,'prescreening_survey','Pre-Screening Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_info_survey_complete',NULL,'participant_info_survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'participant_morale_questionnaire_complete',NULL,'participant_morale_questionnaire',NULL,21,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq1',NULL,'participant_morale_questionnaire','Participant Morale Questionnaire',17,NULL,'As a participant in this study, please answer the questions below. Thank you!','select','On average, how many pills did you take each day last week?','0, Less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, Over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq2',NULL,'participant_morale_questionnaire',NULL,18,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq3',NULL,'participant_morale_questionnaire',NULL,19,NULL,NULL,'yesno','Would you be willing to discuss your experiences with a psychiatrist?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'pmq4',NULL,'participant_morale_questionnaire',NULL,20,NULL,NULL,'select','How open are you to further testing?','0, Not open \\n 1, Undecided \\n 2, Very open',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'prescreening_survey_complete',NULL,'prescreening_survey',NULL,5,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'race',NULL,'participant_info_survey',NULL,12,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'sex',NULL,'participant_info_survey',NULL,13,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'study_comments',NULL,'completion_data',NULL,28,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'telephone_1','1','participant_info_survey',NULL,9,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'weight',NULL,'participant_info_survey',NULL,15,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'withdraw_date',NULL,'completion_data',NULL,23,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(9,'withdraw_reason',NULL,'completion_data',NULL,24,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'address','1','participant_info_survey',NULL,8,NULL,NULL,'textarea','Street, City, State, ZIP',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'choices',NULL,'participant_morale_questionnaire',NULL,19,NULL,'Concerning the past week, how do you feel about ...','radio','The choices you made','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'complete_study',NULL,'completion_data','Completion Data (to be entered by study personnel only)',24,NULL,'This form is to be filled out by study personnel.','yesno','Has patient completed study?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'completion_data_complete',NULL,'completion_data',NULL,31,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'consent',NULL,'prescreening_survey',NULL,4,NULL,NULL,'checkbox','By checking this box, I certify that I am at least 18 years old and that I give my consent freely to participant in this study.','1, I consent',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'date_visit_4',NULL,'completion_data',NULL,27,NULL,NULL,'text','Date of last visit',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'discharge_date_4',NULL,'completion_data',NULL,28,NULL,NULL,'text','Date of hospital discharge',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'discharge_summary_4',NULL,'completion_data',NULL,29,NULL,NULL,'select','Discharge summary in patients binder?','0, No \\n 1, Yes',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'dob',NULL,'prescreening_survey',NULL,2,NULL,'Please fill out the information below.','text','Date of birth',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'email','1','prescreening_survey',NULL,2.1,NULL,NULL,'text','E-mail address',NULL,NULL,'email',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'ethnicity',NULL,'participant_info_survey',NULL,11,NULL,NULL,'radio','Ethnicity','0, Hispanic or Latino \\n 1, NOT Hispanic or Latino \\n 2, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,'LH',NULL,NULL,NULL,NULL),(10,'family',NULL,'participant_morale_questionnaire',NULL,22,NULL,NULL,'radio','Your family life','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'first_name','1','participant_info_survey','Participant Info Survey',6,NULL,'As a participant in this study, please answer the questions below. Thank you!','text','First Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'has_diabetes',NULL,'prescreening_survey',NULL,3,NULL,NULL,'truefalse','I currently have Type 2 Diabetes',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'height',NULL,'participant_info_survey',NULL,14,NULL,NULL,'text','Height (cm)',NULL,NULL,'float','130','215','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'job',NULL,'participant_morale_questionnaire',NULL,21,NULL,NULL,'radio','Your job','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'last_name','1','participant_info_survey',NULL,7,NULL,NULL,'text','Last Name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'life',NULL,'participant_morale_questionnaire',NULL,20,NULL,NULL,'radio','Your life overall','1, Not satisfied at all \\n 2, Somewhat dissatisfied \\n 3, Indifferent \\n 4, Somewhat satisfied \\n 5, Very satisfied',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'feelings_matrix',NULL),(10,'participant_id',NULL,'prescreening_survey','Pre-Screening Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'participant_info_survey_complete',NULL,'participant_info_survey',NULL,16,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'participant_morale_questionnaire_complete',NULL,'participant_morale_questionnaire',NULL,23,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'pmq1',NULL,'participant_morale_questionnaire','Participant Morale Questionnaire',17,NULL,'As a participant in this study, please answer the questions below concerning the PAST WEEK. Thank you!','select','On average, how many pills did you take each day last week?','0, Less than 5 \\n 1, 5-10 \\n 2, 6-15 \\n 3, Over 15',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'pmq2',NULL,'participant_morale_questionnaire',NULL,18,NULL,NULL,'select','Using the handout, which level of dependence do you feel you are currently at?','0, 0 \\n 1, 1 \\n 2, 2 \\n 3, 3 \\n 4, 4 \\n 5, 5',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'prescreening_survey_complete',NULL,'prescreening_survey',NULL,5,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'race',NULL,'participant_info_survey',NULL,12,NULL,NULL,'select','Race','0, American Indian/Alaska Native \\n 1, Asian \\n 2, Native Hawaiian or Other Pacific Islander \\n 3, Black or African American \\n 4, White \\n 5, More Than One Race \\n 6, Unknown / Not Reported',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'sex',NULL,'participant_info_survey',NULL,13,NULL,NULL,'radio','Gender','0, Female \\n 1, Male',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'study_comments',NULL,'completion_data',NULL,30,NULL,NULL,'textarea','Comments',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'telephone_1','1','participant_info_survey',NULL,9,NULL,NULL,'text','Phone number',NULL,'Include Area Code','phone',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'weight',NULL,'participant_info_survey',NULL,15,NULL,NULL,'text','Weight (kilograms)',NULL,NULL,'int','35','200','soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'withdraw_date',NULL,'completion_data',NULL,25,NULL,NULL,'text','Put a date if patient withdrew study',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(10,'withdraw_reason',NULL,'completion_data',NULL,26,NULL,NULL,'select','Reason patient withdrew from study','0, Non-compliance \\n 1, Did not wish to continue in study \\n 2, Could not tolerate the supplement \\n 3, Hospitalization \\n 4, Other',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'calc',NULL,'survey',NULL,8,NULL,NULL,'calc','Your favorite number above multiplied by 4 is:','[number]*4','[number] x 4 = [calc]',NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'confirm_name',NULL,'survey',NULL,9,NULL,NULL,'radio','Please confirm your name','0, [first_name] Harris \\n 1, [first_name] [last_name] \\n 2, [first_name] Taylor \\n 3, [first_name] deGrasse Tyson',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'confirm_name_error',NULL,'survey',NULL,10,NULL,NULL,'descriptive','
ERROR: Please try again!
',NULL,NULL,NULL,NULL,NULL,NULL,'[confirm_name] != \'\' and [confirm_name] != \'1\'',0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'date_today',NULL,'survey',NULL,4,NULL,NULL,'text','[first_name], please enter today\'s date?',NULL,NULL,'date_mdy',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'first_name',NULL,'survey',NULL,2,NULL,'Section 1','text','Your first name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'ice_cream',NULL,'survey',NULL,5,NULL,NULL,'radio','What is your favorite ice cream?','1, Chocolate \\n 2, Vanilla \\n 3, Strawberry',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'last_name',NULL,'survey',NULL,3,NULL,NULL,'text','Your last name',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'number',NULL,'survey',NULL,7,NULL,NULL,'text','Enter your favorite number',NULL,NULL,'int',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'participant_id',NULL,'survey','Example Survey',1,NULL,NULL,'text','Participant ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'review_answers',NULL,'survey',NULL,11,NULL,'Review answers','descriptive','Review your answers below:\n\n
Date: [date_today]\nName: [first_name] [last_name]\nFavorite ice cream: [ice_cream]\nFavorite number multiplied by 4: [calc]
\n\nIf all your responses look correct and you did not leave any blank, then click the Submit button below.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'slider',NULL,'survey',NULL,6,NULL,'Section 2','slider','How much do you like [ice_cream] ice cream?','Hate it | Indifferent | I love [ice_cream]!',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(11,'survey_complete',NULL,'survey',NULL,12,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0362923',NULL,'cbc',NULL,8,NULL,NULL,'text','Hemoglobin:MCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0362923_units',NULL,'cbc',NULL,9,NULL,NULL,'text','Hemoglobin:MCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363876',NULL,'chemistry',NULL,20,NULL,NULL,'text','Alanine aminotransferase:CCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363876_units',NULL,'chemistry',NULL,21,NULL,NULL,'text','Alanine aminotransferase:CCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363885',NULL,'chemistry',NULL,22,NULL,NULL,'text','Albumin:MCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0363885_units',NULL,'chemistry',NULL,23,NULL,NULL,'text','Albumin:MCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364055',NULL,'chemistry',NULL,24,NULL,NULL,'text','Aspartate aminotransferase:CCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364055_units',NULL,'chemistry',NULL,25,NULL,NULL,'text','Aspartate aminotransferase:CCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364101',NULL,'chemistry',NULL,28,NULL,NULL,'text','Bilirubin.glucuronidated+Bilirubin.albumin bound:MCnc:Pt:Ser/Plas:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364101_units',NULL,'chemistry',NULL,29,NULL,NULL,'text','Bilirubin.glucuronidated+Bilirubin.albumin bound:MCnc:Pt:Ser/Plas:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364108',NULL,'chemistry',NULL,26,NULL,NULL,'text','Bilirubin:MCnc:Pt:Ser',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364108_units',NULL,'chemistry',NULL,27,NULL,NULL,'text','Bilirubin:MCnc:Pt:Ser units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364294',NULL,'chemistry',NULL,30,NULL,NULL,'text','Creatinine [Mass/volume] in Serum or Plasma',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364294_units',NULL,'chemistry',NULL,31,NULL,NULL,'text','Creatinine [Mass/volume] in Serum or Plasma units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364479',NULL,'chemistry',NULL,32,NULL,NULL,'text','Glucose:MCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364479_units',NULL,'chemistry',NULL,33,NULL,NULL,'text','Glucose:MCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364961',NULL,'chemistry',NULL,34,NULL,NULL,'text','Potassium:SCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0364961_units',NULL,'chemistry',NULL,35,NULL,NULL,'text','Potassium:SCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0365091',NULL,'chemistry',NULL,36,NULL,NULL,'text','Sodium:SCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0365091_units',NULL,'chemistry',NULL,37,NULL,NULL,'text','Sodium:SCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0806020',NULL,'enrollment',NULL,5,NULL,NULL,'text','End Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942437',NULL,'cbc',NULL,12,NULL,NULL,'text','Lymphocytes:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942437_units',NULL,'cbc',NULL,13,NULL,NULL,'text','Lymphocytes:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942461',NULL,'cbc',NULL,14,NULL,NULL,'text','Neutrophils:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942461_units',NULL,'cbc',NULL,15,NULL,NULL,'text','Neutrophils:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942474',NULL,'cbc',NULL,16,NULL,NULL,'text','Platelets:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0942474_units',NULL,'cbc',NULL,17,NULL,NULL,'text','Platelets:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0945357',NULL,'cbc',NULL,10,NULL,NULL,'text','Leukocytes:NCnc:Pt:Bld:Qn',NULL,NULL,'float',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c0945357_units',NULL,'cbc',NULL,11,NULL,NULL,'text','Leukocytes:NCnc:Pt:Bld:Qn units',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c1301894',NULL,'enrollment',NULL,3,NULL,NULL,'text','Medical record number',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c2826694',NULL,'enrollment',NULL,2,NULL,NULL,'text','Subject Identifier',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'c2985782',NULL,'enrollment',NULL,4,NULL,NULL,'text','Informed Consent Date',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'cbc_complete',NULL,'cbc',NULL,18,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'cbc_taken_date',NULL,'cbc','Cbc',7,NULL,NULL,'text','Date Taken',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'chemistry_complete',NULL,'chemistry',NULL,38,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'chemistry_taken_date',NULL,'chemistry','Chemistry',19,NULL,NULL,'text','Date Taken',NULL,NULL,'date_ymd',NULL,NULL,'soft_typed',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'enrollment_complete',NULL,'enrollment',NULL,6,NULL,'Form Status','select','Complete?','0, Incomplete \\n 1, Unverified \\n 2, Complete',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(12,'record_id',NULL,'enrollment','Enrollment',1,NULL,NULL,'text','Record ID',NULL,NULL,NULL,NULL,NULL,'soft_typed',NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `redcap_metadata` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_metadata_archive`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -930,7 +929,6 @@ CREATE TABLE `redcap_page_hits` ( /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_page_hits` DISABLE KEYS */; -INSERT INTO `redcap_page_hits` VALUES ('2014-09-16','redcap/index.php',1),('2014-09-16','ProjectSetup/index.php',1); /*!40000 ALTER TABLE `redcap_page_hits` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_project_checklist`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -1036,7 +1034,7 @@ CREATE TABLE `redcap_projects` ( /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_projects` DISABLE KEYS */; -INSERT INTO `redcap_projects` VALUES (1,'redcap_demo_789df9','Classic Database',1,'2014-09-16 15:29:47','2014-09-16 15:29:47',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(2,'redcap_demo_97600d','Longitudinal Database (2 arms)',1,'2014-09-16 15:29:47','2014-09-16 15:29:47',NULL,NULL,0,0,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(3,'redcap_demo_1f66d7','Single Survey',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(4,'redcap_demo_873daf','Longitudinal Database (1 arm)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(5,'redcap_demo_7633af','Basic Demography',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(6,'redcap_demo_bffd55','Project Tracking Database',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(7,'redcap_demo_44df3d','Randomized Clinical Trial',0,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,1,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(8,'redcap_demo_f26eb3','Human Cancer Tissue Biobank',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(9,'redcap_demo_2700c3','Multiple Surveys (classic)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,'email',NULL,NULL,NULL,1,0,1,'+-',NULL),(10,'redcap_demo_432731','Multiple Surveys (longitudinal)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,'email',NULL,NULL,NULL,1,0,1,'+-',NULL),(11,'redcap_demo_910823','Piping Example Project',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(12,'redi_sample_project','RED-I Sample Project',0,'2014-09-16 15:32:31',NULL,NULL,1,0,0,1,0,0,NULL,0,'e4ed4c0c59',1,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-','2014-09-16 15:52:10'); +INSERT INTO `redcap_projects` VALUES (1,'redcap_demo_789df9','Classic Database',1,'2014-09-16 15:29:47','2014-09-16 15:29:47',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(2,'redcap_demo_97600d','Longitudinal Database (2 arms)',1,'2014-09-16 15:29:47','2014-09-16 15:29:47',NULL,NULL,0,0,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(3,'redcap_demo_1f66d7','Single Survey',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(4,'redcap_demo_873daf','Longitudinal Database (1 arm)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(5,'redcap_demo_7633af','Basic Demography',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(6,'redcap_demo_bffd55','Project Tracking Database',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(7,'redcap_demo_44df3d','Randomized Clinical Trial',0,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,1,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(8,'redcap_demo_f26eb3','Human Cancer Tissue Biobank',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,0,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(9,'redcap_demo_2700c3','Multiple Surveys (classic)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,'email',NULL,NULL,NULL,1,0,1,'+-',NULL),(10,'redcap_demo_432731','Multiple Surveys (longitudinal)',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,1,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,'email',NULL,NULL,NULL,1,0,1,'+-',NULL),(11,'redcap_demo_910823','Piping Example Project',1,'2014-09-16 15:29:48','2014-09-16 15:29:48',NULL,NULL,0,1,0,0,NULL,NULL,0,NULL,0,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',1,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-',NULL),(12,'redi_sample_project','RED-I Sample Project',0,'2014-09-16 15:32:31',NULL,NULL,1,0,0,1,0,0,NULL,0,'e4ed4c0c59',1,NULL,NULL,1,'none',0,'English',NULL,364,'','','','','','','','',0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,0,0,1,0,0,0,NULL,NULL,NULL,NULL,1,0,1,'+-','2014-09-17 14:52:15'); /*!40000 ALTER TABLE `redcap_projects` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_projects_external`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -1348,7 +1346,6 @@ CREATE TABLE `redcap_sessions` ( /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_sessions` DISABLE KEYS */; -INSERT INTO `redcap_sessions` VALUES ('r1a1r2fb6o1vr50fmuivn7lia6','redcap_csrf_token|a:2:{s:19:\"2014-09-16 16:01:02\";s:32:\"9eab6531142b4c4252fe31366c91d727\";s:19:\"2014-09-16 16:01:05\";s:32:\"4264b00738ded6f002688ee20b8fe0f3\";}','2014-09-16 16:31:05'); /*!40000 ALTER TABLE `redcap_sessions` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_standard`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -1719,7 +1716,7 @@ CREATE TABLE `redcap_user_information` ( /*!40101 SET character_set_client = @saved_cs_client */; /*!40000 ALTER TABLE `redcap_user_information` DISABLE KEYS */; -INSERT INTO `redcap_user_information` VALUES (1,'site_admin','joe.user@project-redcap.org',NULL,NULL,'Joe','User',NULL,1,NULL,'2014-09-16 15:29:47','2014-09-16 15:32:31','2014-09-16 15:52:36','2014-09-16 15:31:53',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL); +INSERT INTO `redcap_user_information` VALUES (1,'site_admin','joe.user@project-redcap.org',NULL,NULL,'Joe','User',NULL,1,NULL,'2014-09-16 15:29:47','2014-09-16 15:32:31','2014-09-17 14:52:15','2014-09-16 15:31:53',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL); /*!40000 ALTER TABLE `redcap_user_information` ENABLE KEYS */; DROP TABLE IF EXISTS `redcap_user_rights`; /*!40101 SET @saved_cs_client = @@character_set_client */; @@ -1933,7 +1930,7 @@ CREATE TABLE `redcap_log_event` ( KEY `event_project` (`event`,`project_id`), KEY `description` (`description`), KEY `pk` (`pk`) -) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; DROP TABLE IF EXISTS `redcap_docs`; /*!40101 SET @saved_cs_client = @@character_set_client */; From 2cd3444caff69e38c82173439f3bd9f5c309ba36 Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Wed, 17 Sep 2014 10:57:21 -0400 Subject: [PATCH 37/58] Update formEvents example to match sample project --- config-example/formEvents.xml | 180 +++++++++++++++++++++++++++++++--- 1 file changed, 167 insertions(+), 13 deletions(-) diff --git a/config-example/formEvents.xml b/config-example/formEvents.xml index 04020ff..f136da7 100644 --- a/config-example/formEvents.xml +++ b/config-example/formEvents.xml @@ -3,40 +3,194 @@ Project
cbc - cbc_lbdtc + cbc_taken_date cbc_complete - cbc_nximport 2 - Y - 1_arm_1 + 1_arm_1 - 2_arm_1 + 2_arm_1 - 3_arm_1 + 3_arm_1 - 4_arm_1 + 4_arm_1 - 5_arm_1 + 5_arm_1 - 6_arm_1 + 6_arm_1 - 7_arm_1 + 7_arm_1 - 8_arm_1 + 8_arm_1 - 9_arm_1 + 9_arm_1 - 10_arm_1 + 10_arm_1 + + + 11_arm_1 + + + 12_arm_1 + + + 13_arm_1 + + + 14_arm_1 + + + 15_arm_1 + + + 16_arm_1 + + + 17_arm_1 + + + 18_arm_1 + + + 19_arm_1 + + + 20_arm_1 + + + 21_arm_1 + + + 22_arm_1 + + + 23_arm_1 + + + 24_arm_1 + + + 25_arm_1 + + + 26_arm_1 + + + 27_arm_1 + + + 28_arm_1 + + + 29_arm_1 + + + 30_arm_1 + +
+
+ chemistry + chemistry_taken_date + chemistry_complete + 2 + + 1_arm_1 + + + 2_arm_1 + + + 3_arm_1 + + + 4_arm_1 + + + 5_arm_1 + + + 6_arm_1 + + + 7_arm_1 + + + 8_arm_1 + + + 9_arm_1 + + + 10_arm_1 + + + 11_arm_1 + + + 12_arm_1 + + + 13_arm_1 + + + 14_arm_1 + + + 15_arm_1 + + + 16_arm_1 + + + 17_arm_1 + + + 18_arm_1 + + + 19_arm_1 + + + 20_arm_1 + + + 21_arm_1 + + + 22_arm_1 + + + 23_arm_1 + + + 24_arm_1 + + + 25_arm_1 + + + 26_arm_1 + + + 27_arm_1 + + + 28_arm_1 + + + 29_arm_1 + + + 30_arm_1
From 4a31417658b5a5222f93daa9956980665bbdb3ed Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Wed, 17 Sep 2014 11:32:38 -0400 Subject: [PATCH 38/58] Update translationTable example to match sample --- config-example/translationTable.xml | 189 +++++++++++++++------------- 1 file changed, 99 insertions(+), 90 deletions(-) diff --git a/config-example/translationTable.xml b/config-example/translationTable.xml index 04edf85..b3391a4 100644 --- a/config-example/translationTable.xml +++ b/config-example/translationTable.xml @@ -1,92 +1,101 @@ + - - 26464-8 - WHITE BLOOD CELL COUNT - cbc - wbc_lborres - wbc_lborresu - wbc_lbstat - NOT_DONE - - - 26464-8 - WBC - cbc - wbc_lborres - wbc_lborresu - wbc_lbstat - NOT_DONE - - - 26511-6 - NEUTROPHILS - cbc - neut_lborres - neut_lborresu - neut_lbstat - NOT_DONE - - - 26511-6 - NEUTROPHILS RELATIVE PERCENT - cbc - neut_lborres - neut_lborresu - neut_lbstat - NOT_DONE - - - 26499-4 - NEUTROPHILS ABSOLUTE COUNT - cbc - anc_lborres - anc_lborresu - anc_lbstat - NOT_DONE - - - 26515-7 - PLATELET COUNT - cbc - plat_lborres - plat_lborresu - plat_lbstat - NOT_DONE - - - 26515-7 - PLATELET COUNT - cbc - plat_lborres - plat_lborresu - plat_lbstat - NOT_DONE - - - 26474-7 - LYMPHOCYTES ABSOLUTE COUNT - cbc - lym_lborres - lym_lborresu - lym_lbstat - NOT_DONE - - - 26474-8 - LYMPHOCYTES - cbc - lymce_lborres - lymce_lborresu - lymce_lbstat - NOT_DONE - - - 785-6 - HEMOGLOBIN - cbc - hemo_lborres - hemo_lborresu - hemo_lbstat - NOT_DONE - + + 26464-8 + Leukocytes:NCnc:Pt:Bld:Qn + cbc + c0945357 + c0945357_units + + + 26499-4 + Neutrophils:NCnc:Pt:Bld:Qn + cbc + c0942461 + c0942461_units + + + 26474-7 + Lymphocytes:NCnc:Pt:Bld:Qn + cbc + c0942437 + c0942437_units + + + 26515-7 + Platelets:NCnc:Pt:Bld:Qn + cbc + c0942474 + c0942474_units + + + 718-7 + Hemoglobin:MCnc:Pt:Bld:Qn + cbc + c0362923 + c0362923_units + + + 1742-6 + Alanine aminotransferase:CCnc:Pt:Ser/Plas:Qn + chemistry + c0363876 + c0363876_units + + + 1920-8 + Aspartate aminotransferase:CCnc:Pt:Ser/Plas:Qn + chemistry + c0364055 + c0364055_units + + + 1975-2 + Bilirubin:MCnc:Pt:Ser + chemistry + c0364108 + c0364108_units + + + 1968-7 + Bilirubin.glucuronidated+Bilirubin.albumin bound:MCnc:Pt:Ser/Plas:Qn + chemistry + c0364101 + c0364101_units + + + 1751-7 + Albumin:MCnc:Pt:Ser/Plas:Qn + chemistry + c0363885 + c0363885_units + + + 2160-0 + Creatinine [Mass/volume] in Serum or Plasma + chemistry + c0364294 + c0364294_units + + + 2339-0 + Glucose:MCnc:Pt:Bld:Qn + chemistry + c0364479 + c0364479_units + + + 6298-4 + Potassium:SCnc:Pt:Bld:Qn + chemistry + c0364961 + c0364961_units + + + 2947-0 + Sodium:SCnc:Pt:Bld:Qn + chemistry + c0365091 + c0365091_units + From 8804e3ed39a106a0fb0eb9965a53ade094287d1f Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Wed, 17 Sep 2014 13:42:31 -0400 Subject: [PATCH 39/58] Update config-example files to match sample proj. --- ...inical-component-to-loinc-code-example.xml | 27 ++----------------- config-example/replace_fields_in_raw_data.xml | 22 +++++++++++++++ .../research_id_to_redcap_id_map.xml | 4 +-- config-example/settings.ini | 8 +++--- config-example/vagrant-data/Makefile.ini | 2 +- .../vagrant-data/enrollment_test_data.csv | 7 ++++- 6 files changed, 37 insertions(+), 33 deletions(-) create mode 100644 config-example/replace_fields_in_raw_data.xml diff --git a/config-example/clinical-component-to-loinc-code-example.xml b/config-example/clinical-component-to-loinc-code-example.xml index a116dbb..9525e79 100644 --- a/config-example/clinical-component-to-loinc-code-example.xml +++ b/config-example/clinical-component-to-loinc-code-example.xml @@ -4,28 +4,5 @@ Mapping of the Lab Component Identifiers to corresponding LOINC codes - - - Leukocytes [#/​volume] in Blood - - COMPONENT_ID - 8675309 - - - loinc_code - 26464-8 - - - - Hepatitis C virus RNA [#/​volume] - - COMPONENT_ID - 42 - - - loinc_code - 26464-8 - - - - \ No newline at end of file + + diff --git a/config-example/replace_fields_in_raw_data.xml b/config-example/replace_fields_in_raw_data.xml new file mode 100644 index 0000000..e789b02 --- /dev/null +++ b/config-example/replace_fields_in_raw_data.xml @@ -0,0 +1,22 @@ + + + This file contains field replacement data for fields which need to be replaced in the raw.xml + + + result + RESULT + + + date_time_stamp + DATE_TIME_STAMP + + + study_id + STUDY_ID + + + units + REFERENCE_UNIT + + + diff --git a/config-example/research_id_to_redcap_id_map.xml b/config-example/research_id_to_redcap_id_map.xml index 14aecb4..28623cf 100644 --- a/config-example/research_id_to_redcap_id_map.xml +++ b/config-example/research_id_to_redcap_id_map.xml @@ -1,4 +1,4 @@ - dm_subjid - dm_usubjid + record_id + c2826694 diff --git a/config-example/settings.ini b/config-example/settings.ini index 52aea4e..c386f4c 100644 --- a/config-example/settings.ini +++ b/config-example/settings.ini @@ -11,7 +11,7 @@ redcap_uri = http://localhost:8998/redcap/api/ # The token generated using REDCap web-interface to allow API calls # Required parameter -token = 121212 +token = THIS_IS_THE_API_KEY # This flag allows to disable SSL certificate validation (! not a good idea) # when communicating with a REDCap server which does not have a certificate @@ -32,7 +32,7 @@ smtp_port_for_outbound_mail = 25 # Option to specify whether to send email or not. Specify Y for yes and N for No # Optional parameter -send_email = Y +send_email = N # Email of the report sender # Required if send_email is set to Y @@ -75,7 +75,7 @@ report_file_path2 = report.html # File name of the raw data xml located in the config folder. # Required parameter -raw_xml_file = raw.xml +raw_xml_file = synthetic-lab-data.xml # File name of the Form Events file located in the config folder. # Required parameter @@ -96,7 +96,7 @@ component_to_loinc_code_xml = clinical-component-to-loinc-code-example.xml replace_fields_in_raw_data_xml = replace_fields_in_raw_data.xml # Optional parameter -input_date_format = %Y-%m-%d %H:%M:%S +input_date_format = %Y-%m-%d # Optional parameter output_date_format = %Y-%m-%d diff --git a/config-example/vagrant-data/Makefile.ini b/config-example/vagrant-data/Makefile.ini index e68a00b..e96f91b 100644 --- a/config-example/vagrant-data/Makefile.ini +++ b/config-example/vagrant-data/Makefile.ini @@ -3,7 +3,7 @@ config_folder = ../config-example # This is the database id for the default REDCap project -redcap_project_id = 1 +redcap_project_id = 12 # This is the list of forms exported from the REDCap project redcap_project_forms = enrollment, chemistry, cbc diff --git a/config-example/vagrant-data/enrollment_test_data.csv b/config-example/vagrant-data/enrollment_test_data.csv index 486c9a8..cc4df07 100644 --- a/config-example/vagrant-data/enrollment_test_data.csv +++ b/config-example/vagrant-data/enrollment_test_data.csv @@ -1 +1,6 @@ --- No content yet +record_id,redcap_event_name,c2826694,c1301894,c2985782,c0806020,enrollment_complete +"1","1_arm_1","1","MRN200","2012-06-22","",2 +"2","1_arm_1","2","MRN201","2012-06-22","",2 +"3","1_arm_1","3","MRN202","2012-06-22","",2 +"4","1_arm_1","4","MRN203","2012-06-22","",2 +"5","1_arm_1","5","MRN204","2012-06-22","",2 From 40a90da1781493819bb7ab5be6176936977dd15c Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Wed, 17 Sep 2014 17:02:13 -0400 Subject: [PATCH 40/58] Fix Makefile issues due `redi_sample_project_v5.7.4.sql` name used instead of projectDataBootstrap.sql --- .gitignore | 4 +++- config-example/vagrant-data/Makefile.ini | 3 +++ vagrant/Makefile | 18 +++++++++++------- vagrant/bootstrap.sh | 2 +- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 4b08f4f..9743579 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ rawDataWithFormStatus.xml !log/.dummy log/ config/ +config-uf/ +config-surgery/ config-upenn/ config-vcu/ .project @@ -36,7 +38,7 @@ vagrant/redcap-backup-*.sql vagrant/REDI-*.egg vagrant/redcap.zip -vagrant/projectDataBootstrap.sql +vagrant/redcap_database.sql vagrant/sqlPatches vagrant/data/ vagrant/demographic_test_data.csv diff --git a/config-example/vagrant-data/Makefile.ini b/config-example/vagrant-data/Makefile.ini index e96f91b..5f38dbe 100644 --- a/config-example/vagrant-data/Makefile.ini +++ b/config-example/vagrant-data/Makefile.ini @@ -2,6 +2,9 @@ # defined in the vagrant/Makefile config_folder = ../config-example +# This is the sql dump of the REDCap database +redcap_db_sql_file = redi_sample_project_v5.7.4.sql + # This is the database id for the default REDCap project redcap_project_id = 12 diff --git a/vagrant/Makefile b/vagrant/Makefile index 69169f8..d742902 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -5,12 +5,14 @@ # therefore the proper path must be set for `CONFIG_FOLDER` MAKE_CONFIG_FILE := Makefile.ini CONFIG_FOLDER := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'config_folder=' | cut -d '=' -f2) +CONFIG_FOLDER_VAGRANT:= $(CONFIG_FOLDER)/vagrant-data/ CONFIG_FILE := $(CONFIG_FOLDER)/settings.ini -BOOTSTRAP_SQL_FILE := $(CONFIG_FOLDER)/vagrant-data/projectDataBootstrap.sql -REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER)/vagrant-data/redcap.zip -REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER)/vagrant-data/sqlPatches -ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER)/vagrant-data/enrollment_test_data.csv -REFERENCE_OUTPUT_FILE:= $(CONFIG_FOLDER)/vagrant-data/redi_out_reference.csv + +REDCAP_DB_SQL_FILE := $(CONFIG_FOLDER_VAGRANT)/$(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_db_sql_file=' | cut -d '=' -f2) +REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER_VAGRANT)/redcap.zip +REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER_VAGRANT)/sqlPatches +ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER_VAGRANT)/enrollment_test_data.csv +REFERENCE_OUTPUT_FILE:= $(CONFIG_FOLDER_VAGRANT)/vagrant-data/redi_out_reference.csv REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_uri=' | cut -d '=' -f2) REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) @@ -58,12 +60,13 @@ check_config: @test -f $(MAKE_CONFIG_FILE) || (echo 'Please obtain the required file Makefile.ini by executing get_config_example or get_config_develop' && exit 1) @test -d $(CONFIG_FOLDER) || (echo 'Please create a "config" folder with necessary files first' && exit 1) @test -f $(CONFIG_FILE) || (echo 'Please obtain the config file "$(CONFIG_FILE)"' && exit 1) - @test -f $(BOOTSTRAP_SQL_FILE) || (echo 'Please obtain the project sql dump file "$(BOOTSTRAP_SQL_FILE)"' && exit 1) + @test -f $(REDCAP_DB_SQL_FILE) || (echo 'Please obtain the project sql dump file "$(REDCAP_DB_SQL_FILE)"' && exit 1) @test -f $(REDCAP_CODE_ZIP_FILE) || (echo 'Please obtain the redcap software zip file "$(REDCAP_CODE_ZIP_FILE)"' && exit 1) @test -f $(ENROLLMENT_CSV_FILE) || (echo 'Config error: missing file "$(ENROLLMENT_CSV_FILE)"' && exit 1) show_config: check_config @echo "$(MAKE_CONFIG_FILE) indicates that extra parameters should be read from : $(CONFIG_FILE)" + @echo "Using REDCAP_DB_SQL_FILE : $(REDCAP_DB_SQL_FILE)" @echo "Using REDCAP_VM_URI : $(REDCAP_VM_URI)" @echo "Using REDCAP_VM_TOKEN : $(REDCAP_VM_TOKEN)" @echo "Using REDCAP_RECORDS_CMD : $(REDCAP_RECORDS_CMD)" @@ -132,7 +135,8 @@ copy_redcap_code: check_config cp $(REDCAP_CODE_ZIP_FILE) . copy_project_data: check_config - cp $(BOOTSTRAP_SQL_FILE) . + @# Bring in the REDCap database file with a name expected by bootstrap.sh + cp $(REDCAP_DB_SQL_FILE) redcap_database.sql @test ! -d $(REDCAP_SQL_PATCHES_FOLDER) || (echo "Copying 'sqlPatches' folder to vagrant folder" && cp -r $(REDCAP_SQL_PATCHES_FOLDER) .) rc_compare: diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index d56fa6a..458d6b8 100755 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -5,7 +5,7 @@ SHARED_FOLDER=/vagrant # The user provides a copy of the redcap binary folder as a zip file REDCAP_ZIP_FILE=$SHARED_FOLDER/redcap.zip -REDCAP_SCHEMA_FILE=$SHARED_FOLDER/projectDataBootstrap.sql +REDCAP_SCHEMA_FILE=$SHARED_FOLDER/redcap_database.sql # import helper functions . $SHARED_FOLDER/bootstrap_functions.sh From c0641d9ef3b3831d6dbbb143a4add4d6b7482e10 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Wed, 17 Sep 2014 17:06:00 -0400 Subject: [PATCH 41/58] Also fix the rules loading from `config-example/settings.ini` --- config-example/settings.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-example/settings.ini b/config-example/settings.ini index c386f4c..cac28e7 100644 --- a/config-example/settings.ini +++ b/config-example/settings.ini @@ -124,7 +124,7 @@ emr_data_file = output.csv # This is an optional dictionary which indicates that # custom code needs to be run to validate the data -rules = {"hcv_rna": "rules/hcv_rna.py"} +rules = {} # Set to "True" to include "rules" processing errors # Optional parameter From b3bad1be00aa1d963301ddb093d8b59c9460605e Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 18 Sep 2014 13:44:23 -0400 Subject: [PATCH 42/58] Fix imports as suggested by pycharm Closes issue #72 - circular dependency redi_lib <--> redi --- bin/redi.py | 3 +-- bin/redi_lib.py | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/redi.py b/bin/redi.py index a7d3fc7..a4bbe5a 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -21,7 +21,6 @@ from collections import defaultdict from collections import Counter import string -import smtplib import xml.etree.ElementTree as ET import sys import imp @@ -337,7 +336,7 @@ def deliver_report_as_file(html_report_path, html): logger.info("==> You can review the summary report by opening: {}"\ " in your browser".format(html_report_path)) except IOError: - logger.exception('Could not write file: %s' % report_html_file) + logger.exception('Could not write file: %s' % html_report_path) problem_found = True finally: report_file.close() diff --git a/bin/redi_lib.py b/bin/redi_lib.py index 1ed5241..b5a2f1b 100644 --- a/bin/redi_lib.py +++ b/bin/redi_lib.py @@ -16,9 +16,8 @@ from redcap import RedcapError import tempfile import sqlite3 as lite -import md5 +from datetime import date import hashlib -import redi import utils.redi_email as redi_email from utils.redcapClient import redcapClient from requests import RequestException @@ -27,7 +26,6 @@ import sys logger = logging.getLogger(__name__) logger.addHandler(logging.NullHandler()) -proj_root = redi.get_proj_root() DEFAULT_DATA_DIRECTORY = os.getcwd() @@ -47,7 +45,6 @@ def create_import_data_json( import_data_dict, event_tree): - # redi.configure_logger(system_log_file_full_path) root = event_tree @@ -103,7 +100,6 @@ def get_child_text_safely(etree, ele): def generate_output(person_tree, redcap_settings, email_settings, data_repository, skip_blanks=False): - # redi.configure_logger(system_log_file_full_path) # the global dictionary to be returned report_data = { From 721aca17c0dfc20a034e1e200e23ef45bb49ee44 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 18 Sep 2014 13:53:09 -0400 Subject: [PATCH 43/58] Fix failing unit test/TestResume due missing `logger` --- bin/redi.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/redi.py b/bin/redi.py index a4bbe5a..99b36f9 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -1905,7 +1905,6 @@ def run_rules(data): pass """ if not rules: - logger.info("No rules specified in the settings file") return {} loaded_rules = {} From 8e0590687cdcc17b9b129ef08b55f5a4d769aa5f Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Thu, 18 Sep 2014 14:56:52 -0400 Subject: [PATCH 44/58] Document the version of REDCap that's required Our SQL dump containing our sample project requires REDCap version 5.7.4. Added that information to the README file within the config-example. Closes #68. --- config-example/README-example-files.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config-example/README-example-files.md b/config-example/README-example-files.md index 205afc4..bacbbfa 100644 --- a/config-example/README-example-files.md +++ b/config-example/README-example-files.md @@ -16,7 +16,7 @@ REDI also includes the ability to create a REDCap server inside a virtual machin This example configuration is based on the one of the default REDCap example projects. This project is identified as "Longitudinal Database (1 arm)" in the REDCap template library. In fresh REDCap installations like you will find in the test virtual machine, the project named "Example Database (Longitudinal)" has already been created for you using this template. -## File Descriptions: +## File Descriptions ### settings.ini: @@ -53,3 +53,7 @@ synthetic-lab-data.xml is a sample RED-I input data file. It is made by process ### enrollment_test_data.csv enrollment_test_data.csv is a file of enrollment data that must be loaded into the sample REDCap project before RED-I can load data into the project. + +### vagrant-data/redi_sample_project_v5.7.4.sql + +`vagrant-data/redi_sample_project_v5.7.4.sql` is an SQL dump of our sample project for version 5.7.4 of REDCap. This can be loaded into the MySQL instance running inside the Vagrant Virtual Machine. From 03f5f09872b420063fe090605145b89b04af7113 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 18 Sep 2014 16:44:59 -0400 Subject: [PATCH 45/58] Delete empty file: `vagrant/README-projects.md` --- vagrant/README-projects.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 vagrant/README-projects.md diff --git a/vagrant/README-projects.md b/vagrant/README-projects.md deleted file mode 100644 index 3841084..0000000 --- a/vagrant/README-projects.md +++ /dev/null @@ -1 +0,0 @@ -This document contains the list of REDCap projects in the current VM. From e3d4ccf2b640ee1177782bade837a9ffbf86e8a5 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 18 Sep 2014 17:36:28 -0400 Subject: [PATCH 46/58] Remove deprecated document: `doc/README_test_against_redcap.md` --- doc/README_test_against_redcap.md | 32 ------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 doc/README_test_against_redcap.md diff --git a/doc/README_test_against_redcap.md b/doc/README_test_against_redcap.md deleted file mode 100644 index 3c36c6c..0000000 --- a/doc/README_test_against_redcap.md +++ /dev/null @@ -1,32 +0,0 @@ - -Steps -=== - -1) Create a project using instructions from - https://github.com/ctsit/research-subject-mapper/blob/master/doc/Person_Index_Loading_Instructions/Person_Index_Loading_Instructions.md - - Optionally you can get a local copy of the project: - git clone https://github.com/ctsit/research-subject-mapper - - - The goal of step 1 is to get an API key like: EF5A6625C9C3911AA350C33807C12152 - which can be used to retrive data from RedCAP by running a script - -2) Enter data for 5 persons using the RedCAP web interface - - -3) Verify manually (optional) that the data is saved to the database: - -(root@localhost) [redcap]> select project_id, project_name, arm_id, arm_num, arm_name, event_id, form_name, record, group_concat(field_name, ' : ', value) from redcap_events_forms natural join redcap_events_metadata natural join redcap_events_arms natural join redcap_projects natural join redcap_data where form_name = 'person_identifiers' group by record order by record; -+------------+-----------------------------+--------+---------+----------+----------+--------------------+----------+-------------------------------------------------------------------------------------------------------------------------+ -| project_id | project_name | arm_id | arm_num | arm_name | event_id | form_name | record | group_concat(field_name, ' : ', value) | -+------------+-----------------------------+--------+---------+----------+----------+--------------------+----------+-------------------------------------------------------------------------------------------------------------------------+ -| 20 | hcv_person_index_asura_test | 21 | 1 | Arm 1 | 110 | person_identifiers | 999-1111 | study_subject_number_verifier_value : 1947,person_identifiers_complete : 2,study_subject_number : 999-1111,mrn : 123321 | -| 20 | hcv_person_index_asura_test | 21 | 1 | Arm 1 | 110 | person_identifiers | 999-1212 | study_subject_number_verifier_value : 1948,mrn : 234432,person_identifiers_complete : 2,study_subject_number : 999-1212 | -| 20 | hcv_person_index_asura_test | 21 | 1 | Arm 1 | 110 | person_identifiers | 999-1234 | study_subject_number_verifier_value : 1945,mrn : 123456,person_identifiers_complete : 2,study_subject_number : 999-1234 | -| 20 | hcv_person_index_asura_test | 21 | 1 | Arm 1 | 110 | person_identifiers | 999-3211 | study_subject_number_verifier_value : 1949,mrn : 345543,person_identifiers_complete : 2,study_subject_number : 999-3211 | -| 20 | hcv_person_index_asura_test | 21 | 1 | Arm 1 | 110 | person_identifiers | 999-6789 | study_subject_number_verifier_value : 1946,mrn : 654321,person_identifiers_complete : 2,study_subject_number : 999-6789 | -+------------+-----------------------------+--------+---------+----------+----------+--------------------+----------+-------------------------------------------------------------------------------------------------------------------------+ -5 rows in set (0.00 sec) - - From 6f8a1cdae94c9bb5c050b764307307b2a18a02d5 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 18 Sep 2014 17:46:39 -0400 Subject: [PATCH 47/58] Cut the section about adding a new REDCap project from vagrant/README.md This resulted in creation of a new document: doc/add_new_redcap_project.md and associated files in dedicated folder: `images/add_new_redcap_project/` --- doc/add_new_redcap_project.md | 65 ++++++++++++++++++ .../add_new_redcap_project}/image_0.png | Bin .../add_new_redcap_project}/image_02.png | Bin .../add_new_redcap_project}/image_1.png | Bin .../add_new_redcap_project}/image_11.png | Bin .../add_new_redcap_project}/image_12.png | Bin .../add_new_redcap_project}/image_4.png | Bin .../add_new_redcap_project}/image_6.png | Bin 8 files changed, 65 insertions(+) create mode 100644 doc/add_new_redcap_project.md rename {vagrant/images => doc/images/add_new_redcap_project}/image_0.png (100%) rename {vagrant/images => doc/images/add_new_redcap_project}/image_02.png (100%) rename {vagrant/images => doc/images/add_new_redcap_project}/image_1.png (100%) rename {vagrant/images => doc/images/add_new_redcap_project}/image_11.png (100%) rename {vagrant/images => doc/images/add_new_redcap_project}/image_12.png (100%) rename {vagrant/images => doc/images/add_new_redcap_project}/image_4.png (100%) rename {vagrant/images => doc/images/add_new_redcap_project}/image_6.png (100%) diff --git a/doc/add_new_redcap_project.md b/doc/add_new_redcap_project.md new file mode 100644 index 0000000..aba0cb6 --- /dev/null +++ b/doc/add_new_redcap_project.md @@ -0,0 +1,65 @@ +Add new REDCap Project and API Key +=== + +# Steps + +Once you have the RED-I configuration ready you can create a new REDCap project + +Note: The instructions below assume you have the permissions to create a new REDCap project, +create a user, set user permissions, and create an API Token. Depending on how your REDCap +server is configured you may or may not have the permissions to do these tasks yourself. +Please consult with your local REDCap managers for assistance if you do not see these +options. + +## 1. Create new Project + +Open in the browser the REDCap url. +Select the `Create New Project` tab. Enter `` for the project title. +Please check below images for reference. + +![alt text](images/add_new_redcap_project/image_0.png) +![alt text](images/add_new_redcap_project/image_1.png) + +## 2. Authorize People + +To adjust user rights, access the User Rights tool via the menu on the left side of the REDCap screen. + +![alt text](images/add_new_redcap_project/image_02.png) + +or click on `User Rights` button in the `Project Setup` + +![alt text](images/add_new_redcap_project/image_4.png) + +In REDCap User Rights, set `Data Entry Rights` as per your needs.Please check below image + +![alt text](images/add_new_redcap_project/image_6.png) + +## 3. Create an API Token + +For the data in your project to be used by programs, those programs will need access through +API interface. You will need to create an API Token to allow those programs to +authenticate and get the correct permissions on your project. + +This token can be created on any account, but for automated processes a service account will +provide a more reliable authentication. Add a user in this REDCap project with the permissions +shown below: + +![alt text](images/add_new_redcap_project/image_11.png) + +After you have created the new user, login as that user and request an Read-only API button +on the left hand toolbar. +![alt text](images/add_new_redcap_project/image_12.png) + +## 4. Export Data + +If you have data in this project that needs to be preserved, you can export it using the steps listed +in the section `2` above. + +## 5. Backup Data + +If you would like to backup this project along with other `REDCap` projects, please follow +the procedures listed in the section `3`. If you want to initialize the project with no data +in it, follow the procedures in section `2`. + +## 6. Document the Existence of the Project +Please update the README-projects.md document with a detailed decription of the new project. diff --git a/vagrant/images/image_0.png b/doc/images/add_new_redcap_project/image_0.png similarity index 100% rename from vagrant/images/image_0.png rename to doc/images/add_new_redcap_project/image_0.png diff --git a/vagrant/images/image_02.png b/doc/images/add_new_redcap_project/image_02.png similarity index 100% rename from vagrant/images/image_02.png rename to doc/images/add_new_redcap_project/image_02.png diff --git a/vagrant/images/image_1.png b/doc/images/add_new_redcap_project/image_1.png similarity index 100% rename from vagrant/images/image_1.png rename to doc/images/add_new_redcap_project/image_1.png diff --git a/vagrant/images/image_11.png b/doc/images/add_new_redcap_project/image_11.png similarity index 100% rename from vagrant/images/image_11.png rename to doc/images/add_new_redcap_project/image_11.png diff --git a/vagrant/images/image_12.png b/doc/images/add_new_redcap_project/image_12.png similarity index 100% rename from vagrant/images/image_12.png rename to doc/images/add_new_redcap_project/image_12.png diff --git a/vagrant/images/image_4.png b/doc/images/add_new_redcap_project/image_4.png similarity index 100% rename from vagrant/images/image_4.png rename to doc/images/add_new_redcap_project/image_4.png diff --git a/vagrant/images/image_6.png b/doc/images/add_new_redcap_project/image_6.png similarity index 100% rename from vagrant/images/image_6.png rename to doc/images/add_new_redcap_project/image_6.png From 490805462043185d1bdb0a8ba998a939180a4b31 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 18 Sep 2014 17:52:14 -0400 Subject: [PATCH 48/58] Update `vagrant/Makefile` while revising `vagrant/README.md` for issue # 27 --- vagrant/Makefile | 58 ++++++++++++++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 21 deletions(-) diff --git a/vagrant/Makefile b/vagrant/Makefile index d742902..67ab4c2 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -26,9 +26,11 @@ REDCAP_PROJECT_ENROLLMENT_FORM := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ / .PHONY: help help: @echo "\n Available tasks:" - @echo "\t get_config_example - copy the required Makefile.ini from 'config-example' folder" - @echo "\t get_config_develop - copy the required Makefile.ini from developer's 'config' folder" + @echo "\t copy_config_example - copy the required Makefile.ini from 'config-example' folder" + @echo "\t copy_config_develop - copy the required Makefile.ini from developer's 'config' folder" @echo "\t show_config - display the parameters retrieved from $(CONFIG_FILE)" + @echo "\t copy_redcap_code: - copy the redcap.zip file from the 'config' folder if available" + @echo "\t copy_project_data: - copy extra files from the 'config' folder if available" @echo "\t rc_check - checks if REDCap is running" @echo "\t rc_list - list the id of all REDCap projects" @@ -45,14 +47,25 @@ help: @echo "\t egg_test - deploy the redi egg file to the vagrant box and run redi" @echo "\t clean - remove files created by testing" - @echo "\t copy_redcap_code: - copy the redcap.zip file from the 'config' folder if available" - @echo "\t copy_project_data: - copy extra files from the 'config' folder if available" - -get_config_example: + @echo "\t rc_compare - compares the output data from REDCap to the reference dataset" + +show_steps: + @echo "\n Steps for importing data into the sample project:" + @echo "\t make clean" + @echo "\t make copy_config_example" + @echo "\t make copy_redcap_code" + @echo "\t make copy_project_data" + @echo "\t make show_config" + @echo "\t vagrant up" + @echo "\t make rc_enrollment" + @echo "\t make rc_post" + @echo "\t make rc_get" + +copy_config_example: @# Copy the config file for running make tasks cp ../config-example/vagrant-data/Makefile.ini . -get_config_develop: +copy_config_develop: cp ../config/vagrant-data/Makefile.ini . check_config: @@ -74,6 +87,14 @@ show_config: check_config @echo "Using REDCAP_PROJECT_FORMS : $(REDCAP_PROJECT_FORMS)" @echo "Using REDCAP_PROJECT_ENROLLMENT_FORM : $(REDCAP_PROJECT_ENROLLMENT_FORM)" +copy_redcap_code: check_config + cp $(REDCAP_CODE_ZIP_FILE) . + +copy_project_data: check_config + @# Bring in the REDCap database file with a name expected by bootstrap.sh + cp $(REDCAP_DB_SQL_FILE) redcap_database.sql + #@test ! -d $(REDCAP_SQL_PATCHES_FOLDER) || (echo "Copying 'sqlPatches' folder to vagrant folder" && cp -r $(REDCAP_SQL_PATCHES_FOLDER) .) + rc_check: check_config curl -s $(REDCAP_VM_URI) | grep -i 'Welcome\|Critical Error' @@ -116,6 +137,11 @@ rc_set_rate: # echo $(filter-out $@,$(MAKECMDGOALS)) vagrant ssh -c 'mysql -uroot -ppassword -e "UPDATE redcap.redcap_config SET value = $(filter-out $@,$(MAKECMDGOALS)) WHERE field_name = \"page_hit_threshold_per_minute\" "' +rc_compare: + @# This task can be used to compare the current project data with the reference data + $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" > out.csv + diff -u $(REFERENCE_OUTPUT_FILE) out.csv + test_egg: make egg_test @@ -128,18 +154,8 @@ egg_test: check_config vagrant ssh -c 'redi -c /vagrant/config' clean: - rm -f report.html + @# This task removes all copied/generated files + rm -f redcap.zip + rm -f Makefile.ini + rm -f redcap_database.sql rm -f out.csv - -copy_redcap_code: check_config - cp $(REDCAP_CODE_ZIP_FILE) . - -copy_project_data: check_config - @# Bring in the REDCap database file with a name expected by bootstrap.sh - cp $(REDCAP_DB_SQL_FILE) redcap_database.sql - @test ! -d $(REDCAP_SQL_PATCHES_FOLDER) || (echo "Copying 'sqlPatches' folder to vagrant folder" && cp -r $(REDCAP_SQL_PATCHES_FOLDER) .) - -rc_compare: - @# This task can be used to compare the current project data with the reference data - $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" > out.csv - diff -u $(REFERENCE_OUTPUT_FILE) out.csv From 4e7dbcd5861c73efe3e0ede3174a31fcfa58b704 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Thu, 18 Sep 2014 17:58:29 -0400 Subject: [PATCH 49/58] Update/shorten the vagrant/README.md per issue #27 --- vagrant/README.md | 198 ++++++++++++++++------------------------------ 1 file changed, 66 insertions(+), 132 deletions(-) diff --git a/vagrant/README.md b/vagrant/README.md index f84d0b4..54fec6b 100644 --- a/vagrant/README.md +++ b/vagrant/README.md @@ -1,171 +1,105 @@ -# REDCap Project Testing - -This vagrant VM is a REDCap testing VM it is designed to start a configurable version of REDCap with a configurable MySQL dump file. - -## 1.Configure the VM -Before you can use the VM you must obtain a copy of the redcap software from - http://project-redcap.org/ -and save it as 'redcap.zip'. - -The user is expected to provide the binary file 'redcap.zip' in the same folder as the Vagrantfile. -This ensures that the 'bootstrap.sh' script can extract the files to the virtual machine path '/var/www/redcap'. -A typical listing of the '/var/www/redcap' folder after extraction is: - - api - - cron.php - - database.php - - edocs - - index.php - - Installation Instructions.txt - - install.php - - languages - - redcap - - REDCap License.txt - - redcap_v4.14.2_ - - robots.txt - - surveys - - temp - - upgrade.php - - webtools2 - -## 2.SqlPatches - -Review the files in 'sqlPatches' to make sure they meet your needs. - - * updateBaseURL.sql - sets the redcap_base_url to '/redcap/'. This aids URL rewriting. - * updateUsers.sql - resets every password to 'password'. - * addAdminUser.sql - If correctly edited, this file will add a user 'admin' with password 'password'. -Edit the list of forms in the last INSERT command and adjust the API Token to meet your needs. - -To run additional sql scripts just save them to the 'sqlPatches' folder. - -## 3.Start the VM - -To use this VM you will need to install Vagrant and Virtual Box. +# Testing RED-I with a sample REDCap Project -With these packages installed, follow this procedure to use a VM template: - - cd ./vagrant - vagrant up - -Vagrant will instantiate and provision the new VM. Web applications should be accessible at - - http://localhost:8998/ - -If that port is already in use vagrant will choose a different port automatically. -Read the log of "vagrant up" and note the port redirect used. +## Purpose -## 4.Connect to VM -The command `vagrant ssh` launches a full-fledged SSH session. To access all the necessary scripts and sql patches run below commands +The "vagrant" folder was created with the goal of making testing [RED-I software](https://github.com/ctsit/redi) as easy as possible. +It contains the [Vagrantfile](../vagrant/Vagrantfile) which allows to start a virtual machine capable of running the +[REDCap software](http://http://www.project-redcap.org) -- which means that during virtual machine creation the Apache and MySQL +software is installed without any user intervention. -`cd /vagrant` +There are a few important things to note before proceeding with running RED-I to import data into a sample REDCap project: -One can find `scripts` and `sqlPatches` directories at this location. +- You have to install the **vagrant** and **virtual box** software +- You have to obtain the closed-source REDCap software from http://project-redcap.org/ +- You have to obtain a **Makefile.ini** file in order to be able to execute tasks from the **Makefile** -## 5.REDCap Database maintainance +## Steps -`redcapdbm.php` is a tool which allows to perform basic maintaince of the RedCap database. This tool is located at `/vagrant/scripts` directory on the VM +### 1. Install vagrant and virtual box -### 5.1.To delete data from REDCap -Please follow below procedure to delete data from your REDCap project +On a linux machine run: -`cd /vagrant/scripts` +* sudo apt-get install vagrant +* sudo apt-get install virtualbox -`php redcapdbm.php -l` this command list of REDCap projects available along with project_id -`php redcapdbm.php -d ` Choose a project_id from the output of above command and pass it as a parameter for this command. This command deletes records from the project you have chosen. +On a mac machine: -### 5.2.To load data into REDCap -`redcap_records.py` tool can be used for loading data into REDCap. Please refer below to learn how you can use `redcap_records.py` to import and export records from REDCap. +* Download and install vagrant from https://www.vagrantup.com/downloads.html +* Download and install the latest virtual box from http://download.virtualbox.org/virtualbox/ -#### 5.2.1.Data imports and exports +For more details about Vagrant software you can go to [why-vagrant](https://docs.vagrantup.com/v2/why-vagrant/) page. -You can perform basic data imports and exports with the VM using the tool redcap_records.py. -##### Usage -`redcap_records.py` [OPTIONS] -##### OPTIONS -`--token` Specify the authentication/authorization token that will provide access to the REDCap project +### 2. Configure the VM -`--url` Specify the url of the REDCap server to connect with +As mentioned above you have to obtain a copy of the REDCap software from http://project-redcap.org/ +and save it as "**redcap.zip**" file in the "**config-example/vagrant-data**" folder. +This ensures that in the later steps the [bootstrap.sh](../vagrant/bootstrap.sh) script can extract the files to the +virtual machine path "**/var/www/redcap**". -`--verify_ssl` Specify whether the SSL cert of the REDCap server should be checked. provide 'y' to verify +Now execute the following commands to complete the configuration: -`--import_data` Specify the input data file to load into REDCap +
+make copy_config_example
+make copy_redcap_code
+make copy_project_data
+make show_config
+
-`--forms` Specify a list of forms, separated by spaces, for which data should be returned. +Please verify that the output from "show_config" matheches your expectations. -Below is an example for export +### 3. Start the VM - ./bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ --forms enrollment +To use the vagrant VM you will need to install Vagrant and Virtual Box. -If the above content is redirected to a file, enrollment.csv, that data can be re-imported with this command: - - ./bin/utils/redcap_records.py --token=121212 --url=http://localhost:8998/redcap/api/ -i enrollment.csv - -### 5.3.To backup the redcap database -Please follow below procedure to backup your REDCap database - -`cd /vagrant/scripts` +With these packages installed, follow this procedure to use a VM template: -`php redcapdbm.php -b` This command backups database schema and partial data + cd ./vagrant + vagrant up -A file named in the format `backup-redcap-XXXX.sql` will be saved in the `scripts` directory. If you want this `backup-redcap-XXX.sql` to be default for this VM, rename it to `/vagrant/projectDataBootstrap.sql`. Please dont forget to update this file in version control. +Vagrant will instantiate and provision the new VM. The REDCap web application should be accessible in the browser at -## 6.Updating redcap.zip with new content -While updating redcap.zip with new content one needs to make sure that all of the contents listed in the `Configure VM` step above has to go into the directory `redcap`. This ensures that when a `redcap.zip` file is extracted, the root folder is named `redcap` and contains the files listed above in the `Configure VM`. + http://localhost:8998/redcap/ -## 7.Add new REDCap Project and share it with team members -The instructions below assume you have the permissions to create a new REDCap project,create a user, set user permissions, and create an API Token. Depending on how your REDCap server is configured you may or may not have the permissions to do these tasks yourself. Consult with your local REDCap managers for assistance if you do not see these options. +If port 8998 is already in use vagrant will choose a different port automatically. +Read the log of "vagrant up" and note the port to be used. -### 7.1.Create new Project -Select the `Create New Project` tab. Enter `` for the project title. Please check below images for reference. +### 4. Verify the VM is running -![alt text](images/image_0.png) -![alt text](images/image_1.png) +Verify that the virtual machine is working properly by accessing it using: -### 7.2.Authorize People -To adjust user rights, access the User Rights tool via the menu on the left side of the REDCap screen. +
+vagrant ssh
+
-![alt text](images/image_02.png) +### 5. Import Enrollment Data using RED-I -or click on `User Rights` button in the `Project Setup` +Import the [sample subject list](../config-example/vagrant-data/enrollment_test_data.csv) into REDCap by executing: -![alt text](images/image_4.png) +
+make rc_enrollment
+
-In REDCap User Rights, set `Data Entry Rights` as per your needs.Please check below image +Note: This step is necessary because in order to associate data with subjects the list of subjects needs to exist in the REDCap database. -![alt text](images/image_6.png) -### 7.3.Create API Token -For the data in your project to be used by programs, those programs will need access through REDCap's API interface. You will need to create an API Token to allow those programs to authenticate and get the correct permissions on your project. +### 6. Import Electronic Health Records using RED-I -This token can be created on any account, but for automated processes a service account will provide a more reliable authentication. Add a user in this REDCap project with the permissions shown below -![alt text](images/image_11.png) +Import the [sample electronic health records](../config-example/vagrant-data/redi_sample_project_v5.7.4.sql) into REDCap by executing: -After you have created the new user, login as that user and request an Read-only API button on the left hand toolbar. -![alt text](images/image_12.png) +
+make rc_post
+
-### 7.4.Export Data -If you have data in this project that needs to be preserved, you can export it using the steps listed in the section `5.2` above. +Verify that the output of this command ends with: +
+You can review the summary report by opening: report.html in your browser
+
-### 7.5 Backup Data -If you would like to backup this project along with other `REDCap` projects, please follow the procedures listed in the section `5.3`. If you want to initialize the project with no data in it, follow the procedures in section `5.2`. +If this step succeded you have verified that RED-I can be used to save time by automating EHR data imports into REDCap. -### 7.6 Document the Existence of the Project -Please update the README-projects.md document with a detailed decription of the new project. + +Congratulations! You can now [add your own REDCap project](../doc/add_new_redcap_project.md) +and start using RED-I to move data. + From fd914f2526a22de5716e07cfd262c2704cbd1dc9 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Fri, 19 Sep 2014 14:07:47 -0400 Subject: [PATCH 50/58] Rename README_Travis_CI_Setup.md to `setup_travis_ci.md` Also move the related images to `images/setup_travis_ci` --- doc/README_Travis_CI_Setup.md | 35 --------- .../check_repositories_in_travis.jpg | Bin .../setup_travis_ci}/enable_webhook.jpg | Bin .../setup_travis_ci}/pull_requests_fail.jpg | Bin .../setup_travis_ci}/pull_requests_pass.jpg | Bin .../setup_travis_ci}/travis_dashboard.jpg | Bin doc/setup_travis_ci.md | 69 ++++++++++++++++++ 7 files changed, 69 insertions(+), 35 deletions(-) delete mode 100755 doc/README_Travis_CI_Setup.md rename doc/{ => images/setup_travis_ci}/check_repositories_in_travis.jpg (100%) rename doc/{ => images/setup_travis_ci}/enable_webhook.jpg (100%) rename doc/{ => images/setup_travis_ci}/pull_requests_fail.jpg (100%) rename doc/{ => images/setup_travis_ci}/pull_requests_pass.jpg (100%) rename doc/{ => images/setup_travis_ci}/travis_dashboard.jpg (100%) create mode 100644 doc/setup_travis_ci.md diff --git a/doc/README_Travis_CI_Setup.md b/doc/README_Travis_CI_Setup.md deleted file mode 100755 index 58f2e07..0000000 --- a/doc/README_Travis_CI_Setup.md +++ /dev/null @@ -1,35 +0,0 @@ -# Setting up Travis CI for Open Source REDI project For testing purposes I have forked the REDI repository to my GITHUB account mdk142. ## Steps to setup Travis CI for REDI: 1) Sign in to travis using Github account (ctsit) - 2) Give permissions to travis to clone and sync github repositories when asked. - 3) Activate a webhook on the repo on your choice - a. Go to repositories in your profile (Click on your profile as shown below) - ![image](check_repositories_in_travis.jpg "Screenshot showing using profile in travis") - b. Flip the switch against the repo of your choice to enable webhook for that repo. Check below Image - ![image](enable_webhook.jpg "Screenshot showing the webhook enable switch") 4) Create a .travis.yml file and add it to your repository. I have created a basic .travis.yml, which work for current REDI. Below are its contents - ``` -language: python -python: - - "2.7" -before_install: - sudo apt-get install -y python-setuptools libxml2 libxslt1-dev python-dev -install: - - pip install requests - - pip install lxml - - pip install appdirs - -script: make test - -branches: - only: - - master - - develop - -``` 5) The contents listed above are pretty basic. For any additional features you need to configure refer this [link](http://docs.travis-ci.com/user/build-configuration/). - 6) Travis is now configured to your repository. For each new commit made to the master branch, travis will run new build for your repository and results will be mailed to the email registered in your github account. - 7) You can also view results on your Travis dashboard as shown in the below image. - ![image](travis_dashboard.jpg "Screenshot showing the travis dashboard") ## CTS-IT Responsibilities when a pull request is submitted on REDI 1) When REDI gets a pull request, CTS-IT coordinator should open the pull request. This initiates Travis to run tests against pull request and displays the results. - 2) Pull requests that passed the tests looks like as shown in the image. - ![image](pull_requests_pass.jpg "Screenshot showing the passed travis build on pull request") 3) Pull requests that failed the tests looks like as shown in the image below. - ![image](pull_requests_fail.jpg "Screenshot showing the passed travis build on pull reques") ## Responsibilities of Developer who is submitting a Pull Request: 1) Fork the REDI repository. You will get a .travis.yml with the fork. - 2) Setup a travis account for your github account and give permissions for travis to run build. - 3) With this you should receive travis reports for each commit you push to your forked repository. - 4) Before submitting a pull request, make sure tests in your travis report are all passing. \ No newline at end of file diff --git a/doc/check_repositories_in_travis.jpg b/doc/images/setup_travis_ci/check_repositories_in_travis.jpg similarity index 100% rename from doc/check_repositories_in_travis.jpg rename to doc/images/setup_travis_ci/check_repositories_in_travis.jpg diff --git a/doc/enable_webhook.jpg b/doc/images/setup_travis_ci/enable_webhook.jpg similarity index 100% rename from doc/enable_webhook.jpg rename to doc/images/setup_travis_ci/enable_webhook.jpg diff --git a/doc/pull_requests_fail.jpg b/doc/images/setup_travis_ci/pull_requests_fail.jpg similarity index 100% rename from doc/pull_requests_fail.jpg rename to doc/images/setup_travis_ci/pull_requests_fail.jpg diff --git a/doc/pull_requests_pass.jpg b/doc/images/setup_travis_ci/pull_requests_pass.jpg similarity index 100% rename from doc/pull_requests_pass.jpg rename to doc/images/setup_travis_ci/pull_requests_pass.jpg diff --git a/doc/travis_dashboard.jpg b/doc/images/setup_travis_ci/travis_dashboard.jpg similarity index 100% rename from doc/travis_dashboard.jpg rename to doc/images/setup_travis_ci/travis_dashboard.jpg diff --git a/doc/setup_travis_ci.md b/doc/setup_travis_ci.md new file mode 100644 index 0000000..c376048 --- /dev/null +++ b/doc/setup_travis_ci.md @@ -0,0 +1,69 @@ +# Setting up Travis CI for Open Source REDI project + +## Steps to setup Travis CI for RED-I + +1) Sign in to travis using Github account (ctsit) + +2) Give permissions to travis to clone and sync github repositories when asked. + +3) Activate a webhook on the repo on your choice + +a. Go to repositories in your profile (Click on your profile as shown below) + +![image](images/setup_travis_ci/check_repositories_in_travis.jpg "Screenshot showing using profile in travis") + +b. Flip the switch against the repo of your choice to enable webhook for that repo as displayed in the image below. +![image](images/setup_travis_ci/enable_webhook.jpg "Screenshot showing the webhook enable switch") + +4) Create a .travis.yml file and add it to your repository. I have created a basic .travis.yml, +which work for current REDI. Below are its contents + +``` +language: python +python: + - "2.7" +before_install: + sudo apt-get install -y python-setuptools libxml2 libxslt1-dev python-dev +install: + - pip install requests + - pip install lxml + - pip install appdirs + +script: make test + +branches: + only: + - master + - develop +``` + +5) The contents listed above are pretty basic. For any additional features you need to +configure refer this [link](http://docs.travis-ci.com/user/build-configuration/). + +6) Travis is now configured to your repository. For each new commit made to the master branch, +travis will run new build for your repository and results will be mailed to the email +registered in your github account. + +7) You can also view results on your Travis dashboard as shown in the below image. +![image](images/setup_travis_ci/travis_dashboard.jpg "Screenshot showing the travis dashboard") + +## CTS-IT Responsibilities when a pull request is submitted on REDI + +1) When REDI gets a pull request, CTS-IT coordinator should open the pull request. +This initiates Travis to run tests against pull request and displays the results. + +2) Pull requests that passed the tests looks like as shown in the image. +![image](images/setup_travis_ci/pull_requests_pass.jpg "Screenshot showing the passed travis build on pull request") + +3) Pull requests that failed the tests looks like as shown in the image below. +![image](images/setup_travis_ci/pull_requests_fail.jpg "Screenshot showing the passed travis build on pull reques") + +## Responsibilities of the developer submitting a pull request: + +1) Fork the REDI repository. You will get a .travis.yml with the fork. + +2) Setup a travis account for your github account and give permissions for travis to run build. + +3) With this you should receive travis reports for each commit you push to your forked repository. + +4) Before submitting a pull request, make sure tests in your travis report are all passing. From 75e1d3a1af98021c89ec9d681884c5cefb27a3b9 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Fri, 19 Sep 2014 16:30:52 -0400 Subject: [PATCH 51/58] Fix indentation in `test/TestCreateSummaryReport.py` --- test/TestCreateSummaryReport.py | 50 +++++++++++++++------------------ 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/test/TestCreateSummaryReport.py b/test/TestCreateSummaryReport.py index 87e45e8..ea5f7ed 100644 --- a/test/TestCreateSummaryReport.py +++ b/test/TestCreateSummaryReport.py @@ -1,10 +1,5 @@ ''' -@author : Mohan -email : mohan88@ufl.edu - -This file tests for the function create_summary_report and checks if the summary create_summary_report -has been created or not - +Unit test for `redi.create_summary_report()` ''' import unittest import os @@ -23,18 +18,19 @@ class TestCreateSummaryReport(unittest.TestCase): def setUp(self): - redi.configure_logging(DEFAULT_DATA_DIRECTORY) - self.test_report_params = {'project': 'hcvtarget-uf', - 'report_file_path': proj_root + 'config/report.xml', - 'redcap_server': 'https://hostname.org'} + redi.configure_logging(DEFAULT_DATA_DIRECTORY) + self.test_report_params = { + 'project': 'hcvtarget-uf', + 'report_file_path': proj_root + 'config/report.xml', + 'redcap_server': 'https://hostname.org'} self.test_report_data = { 'total_subjects': 5, 'form_details': { 'Total_chemistry_Forms': 22, - 'Total_cbc_Forms': 53 + 'Total_cbc_Forms': 53 }, - 'subject_details': { + 'subject_details': { '60': {'cbc_Forms': 1, 'chemistry_Forms': 1}, '61': {'cbc_Forms': 2, 'chemistry_Forms': 1}, '63': {'cbc_Forms': 11, 'chemistry_Forms': 4}, @@ -53,7 +49,7 @@ def setUp(self): 'This is max event alert 2', 'This is max event alert 3'] } - self.expected_xml = ''' + self.expected_xml = '''
hcvtarget-uf @@ -154,8 +150,8 @@ def setUp(self): ''' - self.schema_str = StringIO('''\ - + self.schema_str = StringIO('''\ + @@ -276,33 +272,31 @@ def test_create_summary_report(self): self.configFolderCreatedNow = True os.makedirs(self.newpath) - result = redi.create_summary_report(self.test_report_params, - self.test_report_data, - self.test_alert_summary, - self.specimen_taken_time_summary) + result = redi.create_summary_report(\ + self.test_report_params, \ + self.test_report_data, \ + self.test_alert_summary, \ + self.specimen_taken_time_summary) result_string = etree.tostring(result) - #print result_string - xmlschema_doc = etree.parse(self.schema_str) xml_schema = etree.XMLSchema(xmlschema_doc) # validate the xml against the xsd schema self.assertEqual(xml_schema.validate(result), True) # validate the actual data in xml but strip the white space first - parser = etree.XMLParser(remove_blank_text = True) - clean_tree = etree.XML(self.expected_xml, parser = parser) + parser = etree.XMLParser(remove_blank_text=True) + clean_tree = etree.XML(self.expected_xml, parser=parser) self.expected_xml = etree.tostring(clean_tree) self.assertEqual(self.expected_xml, result_string) def tearDown(self): - # delete the created xml file + # delete the created xml file with open(proj_root + 'config/report.xml'): - os.remove(proj_root + 'config/report.xml') - - if self.configFolderCreatedNow: - os.rmdir(self.newpath) + os.remove(proj_root + 'config/report.xml') + if self.configFolderCreatedNow: + os.rmdir(self.newpath) return if __name__ == '__main__': From 58dcdf2a7a1636aac19c6da2320de1105ee7ce89 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Fri, 19 Sep 2014 16:49:52 -0400 Subject: [PATCH 52/58] Remove references to `redcap_server` and use `redcap_server` instead Fixes task #73 --- README.md | 5 +++-- bin/redi.py | 5 +++-- bin/utils/SimpleConfigParser.py | 1 - test/TestCreateSummaryReport.py | 2 +- test/TestReadConfig.py | 1 - 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dec2ced..a2ce1ae 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,12 @@ The program will terminate if they are missing or do not have a value in **setti ### Conditional Parameters -Whereas the aforementioned parameters are always required, the following parameters are only required to have a value in **settings.ini** when **redi** is not performing a dry run: +While the parameters mentioned above are always required, the following +parameters are only required to have a value in **settings.ini** when +**redi** is not performing a dry run: - redcap_uri - token - - redcap_server - redcap_support_receiver_email - redcap_support_sender_email - smtp_host_for_outbound_mail diff --git a/bin/redi.py b/bin/redi.py index 99b36f9..7118748 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -245,7 +245,7 @@ def _run(config_file, configuration_directory, do_keep_gen_files, dry_run, report_parameters = { 'report_file_path': report_file_path, 'project': settings.project, - 'redcap_server': settings.redcap_server} + 'redcap_uri': settings.redcap_uri} report_xsl = proj_root + "bin/utils/report.xsl" send_email = settings.send_email @@ -1262,13 +1262,14 @@ def create_summary_report(report_parameters, report_data, alert_summary, \ def updateReportHeader(root, report_parameters): + """ Update the passed `root` element tree with date, project name and url""" header = root[0] project = etree.SubElement(header, "project") project.text = report_parameters.get('project') date = etree.SubElement(header, "date") date.text = time.strftime("%m/%d/%Y") redcapServerAddress = etree.SubElement(header, "redcapServerAddress") - redcapServerAddress.text = report_parameters.get('redcap_server') + redcapServerAddress.text = report_parameters.get('redcap_uri') def updateReportSummary(root, report_data): diff --git a/bin/utils/SimpleConfigParser.py b/bin/utils/SimpleConfigParser.py index 3e035d5..d2f57f9 100755 --- a/bin/utils/SimpleConfigParser.py +++ b/bin/utils/SimpleConfigParser.py @@ -90,7 +90,6 @@ required_server_parameters_list = [ 'redcap_uri', 'token', - 'redcap_server', 'redcap_support_receiver_email', 'smtp_host_for_outbound_mail', 'smtp_port_for_outbound_mail', diff --git a/test/TestCreateSummaryReport.py b/test/TestCreateSummaryReport.py index ea5f7ed..239ce7b 100644 --- a/test/TestCreateSummaryReport.py +++ b/test/TestCreateSummaryReport.py @@ -22,7 +22,7 @@ def setUp(self): self.test_report_params = { 'project': 'hcvtarget-uf', 'report_file_path': proj_root + 'config/report.xml', - 'redcap_server': 'https://hostname.org'} + 'redcap_uri': 'https://hostname.org'} self.test_report_data = { 'total_subjects': 5, diff --git a/test/TestReadConfig.py b/test/TestReadConfig.py index 5624f8e..a03e4c4 100644 --- a/test/TestReadConfig.py +++ b/test/TestReadConfig.py @@ -66,7 +66,6 @@ def test_settings(self): redcap_uri = https://example.org/redcap/api/ token = ABCDEF878D219CFA5D3ADF7F9AB12345 smtp_host_for_outbound_mail = smtp.example.org -redcap_server = http://localhost:8998/redcap redcap_support_receiver_email = jdoe@example.com smtp_port_for_outbound_mail = 22 emr_sftp_server_hostname = TESTSERVER From 072fea73afa6564efcf946c78756d5395e8e9d31 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Fri, 19 Sep 2014 17:27:35 -0400 Subject: [PATCH 53/58] Remove unused `redcap_server` param in settings.ini due https://github.com/ctsit/redi/commit/58dcdf2a7a1636aac19c6da2320de1105ee7ce89 --- config-example/settings.ini | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config-example/settings.ini b/config-example/settings.ini index cac28e7..a0d4076 100644 --- a/config-example/settings.ini +++ b/config-example/settings.ini @@ -51,10 +51,6 @@ redcap_support_sender_email = please-do-not-reply@example.com # Required parameter redcap_support_receiver_email = jdoe@example.com -# REDCap Server URI which should be used in reports -# Required parameter -redcap_server = http://localhost:8998/redcap - # This is an optional parameter used in the report email only project = RED-I Sample Project From 9ac3aa25593666966361db9b6428737286c417ed Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Fri, 19 Sep 2014 17:28:32 -0400 Subject: [PATCH 54/58] Cleanup the `out.csv` after running `make rc_compare` --- vagrant/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vagrant/Makefile b/vagrant/Makefile index 67ab4c2..74e8110 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -12,7 +12,7 @@ REDCAP_DB_SQL_FILE := $(CONFIG_FOLDER_VAGRANT)/$(shell cat ${MAKE_CONFIG_FILE} REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER_VAGRANT)/redcap.zip REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER_VAGRANT)/sqlPatches ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER_VAGRANT)/enrollment_test_data.csv -REFERENCE_OUTPUT_FILE:= $(CONFIG_FOLDER_VAGRANT)/vagrant-data/redi_out_reference.csv +REFERENCE_OUTPUT_FILE:= $(CONFIG_FOLDER_VAGRANT)/redi_out_reference.csv REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_uri=' | cut -d '=' -f2) REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) @@ -141,6 +141,7 @@ rc_compare: @# This task can be used to compare the current project data with the reference data $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" > out.csv diff -u $(REFERENCE_OUTPUT_FILE) out.csv + rm out.csv test_egg: make egg_test From 0259de4d6d737cf211b5f2b2284f429f513c9c92 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 22 Sep 2014 11:16:15 -0400 Subject: [PATCH 55/58] Add content to `config-example/vagrant-data/redi_out_reference.csv` --- .../vagrant-data/redi_out_reference.csv | 57 ++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/config-example/vagrant-data/redi_out_reference.csv b/config-example/vagrant-data/redi_out_reference.csv index 486c9a8..d006e4a 100644 --- a/config-example/vagrant-data/redi_out_reference.csv +++ b/config-example/vagrant-data/redi_out_reference.csv @@ -1 +1,56 @@ --- No content yet +record_id,redcap_event_name,c2826694,c1301894,c2985782,c0806020,enrollment_complete,cbc_taken_date,c0362923,c0362923_units,c0945357,c0945357_units,c0942437,c0942437_units,c0942461,c0942461_units,c0942474,c0942474_units,cbc_complete,chemistry_taken_date,c0363876,c0363876_units,c0363885,c0363885_units,c0364055,c0364055_units,c0364108,c0364108_units,c0364101,c0364101_units,c0364294,c0364294_units,c0364479,c0364479_units,c0364961,c0364961_units,c0365091,c0365091_units,chemistry_complete +"1","1_arm_1","1","MRN200","2012-06-22","",2,"2112-01-11",14.936,"g/dl",8.939,"10*3/uL",2.806,"10*3/uL",2.367,"10*3/uL",0.323,"10*3/uL",2,"2112-01-06",21.706,"U/L",4.674,"g/dl",24.121,"U/L",0.933,"mg/dl",0.22,"mg/dl",1.341,"mg/dl",68.328,"mg/dL",3.618,"mmol/L",141.949,"mmol/L",2 +"1","2_arm_1","","","","","","2112-01-12",12.78,"g/dl",5.599,"10*3/uL",2.916,"10*3/uL",3.246,"10*3/uL",0.181,"10*3/uL",2,"2112-01-15",16.44,"U/L",4.963,"g/dl",11.564,"U/L",0.855,"mg/dl",0.131,"mg/dl",1.22,"mg/dl",67.787,"mg/dL",3.867,"mmol/L",142.928,"mmol/L",2 +"1","3_arm_1","","","","","","2112-01-25",15.842,"g/dl",5.613,"10*3/uL",1.501,"10*3/uL",7.107,"10*3/uL",0.407,"10*3/uL",2,"2112-01-27",20.273,"U/L",4.37,"g/dl",6.961,"U/L",0.524,"mg/dl",0.146,"mg/dl",0.688,"mg/dl",87.635,"mg/dL",4.536,"mmol/L",140.017,"mmol/L",2 +"1","4_arm_1","","","","","","2112-02-02",14.279,"g/dl",5.365,"10*3/uL",2.857,"10*3/uL",3.397,"10*3/uL",0.39,"10*3/uL",2,"2112-02-12",2.138,"U/L",3.982,"g/dl",22.466,"U/L",0.63,"mg/dl",0.222,"mg/dl",1.065,"mg/dl",77.254,"mg/dL",4.018,"mmol/L",144.998,"mmol/L",2 +"1","5_arm_1","","","","","","2112-02-29",14.478,"g/dl",4.972,"10*3/uL",2.053,"10*3/uL",1.94,"10*3/uL",0.426,"10*3/uL",2,"2112-03-06",23.058,"U/L",4.341,"g/dl",1.288,"U/L",0.303,"mg/dl",0.121,"mg/dl",0.55,"mg/dl",85.204,"mg/dL",5.296,"mmol/L",144.057,"mmol/L",2 +"1","6_arm_1","","","","","","2112-03-03",15.265,"g/dl",5.129,"10*3/uL",0.86,"10*3/uL",6.024,"10*3/uL",0.241,"10*3/uL",2,"2112-03-14",2.402,"U/L",4.372,"g/dl",13.343,"U/L",0.559,"mg/dl",0.236,"mg/dl",0.931,"mg/dl",77.711,"mg/dL",3.849,"mmol/L",136.139,"mmol/L",2 +"1","7_arm_1","","","","","","2112-05-15",12.895,"g/dl",5.362,"10*3/uL",3.787,"10*3/uL",5.266,"10*3/uL",0.204,"10*3/uL",2,"2112-04-06",23.594,"U/L",4.947,"g/dl",24.688,"U/L",0.827,"mg/dl",0.274,"mg/dl",0.968,"mg/dl",93.587,"mg/dL",3.998,"mmol/L",137.876,"mmol/L",2 +"1","8_arm_1","","","","","","2112-06-08",12.213,"g/dl",7.963,"10*3/uL",2.758,"10*3/uL",2.33,"10*3/uL",0.248,"10*3/uL",2,"2112-06-29",4.64,"U/L",4.65,"g/dl",0.993,"U/L",0.746,"mg/dl",0.126,"mg/dl",1.293,"mg/dl",69.271,"mg/dL",3.748,"mmol/L",144.886,"mmol/L",2 +"1","9_arm_1","","","","","","2112-06-27",14.305,"g/dl",10.012,"10*3/uL",1.407,"10*3/uL",4.353,"10*3/uL",0.203,"10*3/uL",2,"2112-07-03",14.482,"U/L",3.846,"g/dl",3.82,"U/L",0.719,"mg/dl",0.29,"mg/dl",1.261,"mg/dl",82.453,"mg/dL",5.02,"mmol/L",139.688,"mmol/L",2 +"1","10_arm_1","","","","","","2112-08-30",14.618,"g/dl",9.297,"10*3/uL",1.595,"10*3/uL",6.134,"10*3/uL",0.323,"10*3/uL",2,"2112-08-06",24.25,"U/L",3.901,"g/dl",24.016,"U/L",0.391,"mg/dl",0.127,"mg/dl",0.821,"mg/dl",65.808,"mg/dL",3.791,"mmol/L",135.296,"mmol/L",2 +"1","11_arm_1","","","","","","2112-09-03",15.704,"g/dl",5.081,"10*3/uL",1.855,"10*3/uL",3.02,"10*3/uL",0.438,"10*3/uL",2,"2112-08-30",10.641,"U/L",4.397,"g/dl",11.033,"U/L",0.517,"mg/dl",0.106,"mg/dl",0.492,"mg/dl",70.897,"mg/dL",3.555,"mmol/L",135.56,"mmol/L",2 +"1","12_arm_1","","","","","","2112-09-05",12.704,"g/dl",9.647,"10*3/uL",3.107,"10*3/uL",6.396,"10*3/uL",0.284,"10*3/uL",2,"2112-09-04",23.833,"U/L",5.157,"g/dl",5.787,"U/L",0.413,"mg/dl",0.186,"mg/dl",0.563,"mg/dl",97.454,"mg/dL",3.563,"mmol/L",142.147,"mmol/L",2 +"1","13_arm_1","","","","","","2112-09-10",12.016,"g/dl",5.222,"10*3/uL",3.467,"10*3/uL",4.607,"10*3/uL",0.221,"10*3/uL",2,"2112-10-31",24.256,"U/L",3.81,"g/dl",4.707,"U/L",0.608,"mg/dl",0.243,"mg/dl",1.471,"mg/dl",73.754,"mg/dL",3.795,"mmol/L",139.159,"mmol/L",2 +"1","14_arm_1","","","","","","2112-10-27",13.617,"g/dl",3.813,"10*3/uL",1.978,"10*3/uL",3.433,"10*3/uL",0.378,"10*3/uL",2,"2112-11-07",12.129,"U/L",4.981,"g/dl",19.696,"U/L",0.375,"mg/dl",0.282,"mg/dl",0.813,"mg/dl",97.277,"mg/dL",3.728,"mmol/L",136.305,"mmol/L",2 +"1","15_arm_1","","","","","","2112-11-11",13.446,"g/dl",5.105,"10*3/uL",2.973,"10*3/uL",6.912,"10*3/uL",0.444,"10*3/uL",2,"2112-12-01",16.946,"U/L",4.954,"g/dl",15.545,"U/L",0.402,"mg/dl",0.158,"mg/dl",0.677,"mg/dl",93.361,"mg/dL",5.145,"mmol/L",144.231,"mmol/L",2 +"1","16_arm_1","","","","","","2112-11-13",15.427,"g/dl",10.729,"10*3/uL",3.071,"10*3/uL",6.253,"10*3/uL",0.206,"10*3/uL",2,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",0 +"1","17_arm_1","","","","","","2112-11-23",13.281,"g/dl",6.279,"10*3/uL",1.051,"10*3/uL",6.028,"10*3/uL",0.412,"10*3/uL",2,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",0 +"1","18_arm_1","","","","","","2112-12-26",15.792,"g/dl",10.23,"10*3/uL",2.942,"10*3/uL",7.785,"10*3/uL",0.422,"10*3/uL",2,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",0 +"1","19_arm_1","","","","","","2112-12-30",14.256,"g/dl",3.963,"10*3/uL",3.145,"10*3/uL",3.985,"10*3/uL",0.337,"10*3/uL",2,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",0 +"2","1_arm_1","2","MRN201","2012-06-22","",2,"2112-01-01",15.192,"g/dl",8.339,"10*3/uL",2.918,"10*3/uL",5.243,"10*3/uL",0.351,"10*3/uL",2,"2112-01-31",6.176,"U/L",5.458,"g/dl",6.896,"U/L",0.443,"mg/dl",0.133,"mg/dl",0.835,"mg/dl",77.585,"mg/dL",5.062,"mmol/L",142.457,"mmol/L",2 +"2","2_arm_1","","","","","","2112-03-09",15.598,"g/dl",9.692,"10*3/uL",3.599,"10*3/uL",4.377,"10*3/uL",0.232,"10*3/uL",2,"2112-02-08",13.705,"U/L",4.013,"g/dl",16.648,"U/L",0.737,"mg/dl",0.214,"mg/dl",0.559,"mg/dl",77.482,"mg/dL",3.786,"mmol/L",145.193,"mmol/L",2 +"2","3_arm_1","","","","","","2112-03-15",12.446,"g/dl",5.999,"10*3/uL",2.827,"10*3/uL",6.762,"10*3/uL",0.352,"10*3/uL",2,"2112-02-26",10.12,"U/L",5.239,"g/dl",20.187,"U/L",0.643,"mg/dl",0.287,"mg/dl",1.126,"mg/dl",93.519,"mg/dL",3.596,"mmol/L",136.313,"mmol/L",2 +"2","4_arm_1","","","","","","2112-03-23",12.775,"g/dl",5.583,"10*3/uL",3.74,"10*3/uL",2.598,"10*3/uL",0.208,"10*3/uL",2,"2112-03-14",17.089,"U/L",3.659,"g/dl",11.435,"U/L",0.728,"mg/dl",0.208,"mg/dl",0.497,"mg/dl",95.917,"mg/dL",3.844,"mmol/L",144.83,"mmol/L",2 +"2","5_arm_1","","","","","","2112-05-02",13.412,"g/dl",5.468,"10*3/uL",1.973,"10*3/uL",6.465,"10*3/uL",0.395,"10*3/uL",2,"2112-03-24",24.604,"U/L",4.094,"g/dl",8.35,"U/L",0.884,"mg/dl",0.117,"mg/dl",0.935,"mg/dl",82.575,"mg/dL",3.621,"mmol/L",135.279,"mmol/L",2 +"2","6_arm_1","","","","","","2112-05-15",15.413,"g/dl",5.223,"10*3/uL",2.799,"10*3/uL",4.424,"10*3/uL",0.284,"10*3/uL",2,"2112-05-01",1.73,"U/L",5.123,"g/dl",20.578,"U/L",0.449,"mg/dl",0.243,"mg/dl",0.9,"mg/dl",66.073,"mg/dL",5.144,"mmol/L",136.413,"mmol/L",2 +"2","7_arm_1","","","","","","2112-06-30",13.887,"g/dl",4.731,"10*3/uL",1.249,"10*3/uL",6.945,"10*3/uL",0.383,"10*3/uL",2,"2112-05-17",18.599,"U/L",3.619,"g/dl",20.439,"U/L",0.742,"mg/dl",0.244,"mg/dl",1.305,"mg/dl",85.237,"mg/dL",4.866,"mmol/L",141.494,"mmol/L",2 +"2","8_arm_1","","","","","","2112-07-07",12.947,"g/dl",8.283,"10*3/uL",2.423,"10*3/uL",6.833,"10*3/uL",0.293,"10*3/uL",2,"2112-06-28",1.797,"U/L",4.961,"g/dl",22.607,"U/L",0.93,"mg/dl",0.218,"mg/dl",0.728,"mg/dl",65.119,"mg/dL",3.617,"mmol/L",143.494,"mmol/L",2 +"2","9_arm_1","","","","","","2112-09-16",13.088,"g/dl",10.522,"10*3/uL",2.641,"10*3/uL",2.063,"10*3/uL",0.282,"10*3/uL",2,"2112-07-08",2.847,"U/L",4.676,"g/dl",17.728,"U/L",0.926,"mg/dl",0.1,"mg/dl",0.634,"mg/dl",83.294,"mg/dL",3.895,"mmol/L",135.077,"mmol/L",2 +"2","10_arm_1","","","","","","2112-10-16",12.698,"g/dl",6.576,"10*3/uL",2.27,"10*3/uL",7.263,"10*3/uL",0.387,"10*3/uL",2,"2112-07-19",16.902,"U/L",5.052,"g/dl",13.832,"U/L",0.585,"mg/dl",0.18,"mg/dl",0.492,"mg/dl",84.239,"mg/dL",5.19,"mmol/L",135.473,"mmol/L",2 +"2","11_arm_1","","","","","","2112-10-18",12.795,"g/dl",7.08,"10*3/uL",1.47,"10*3/uL",2.355,"10*3/uL",0.398,"10*3/uL",2,"2112-08-01",5.455,"U/L",5.439,"g/dl",1.184,"U/L",0.562,"mg/dl",0.102,"mg/dl",0.572,"mg/dl",75.146,"mg/dL",4.977,"mmol/L",139.517,"mmol/L",2 +"2","12_arm_1","","","","","","2112-12-19",14.576,"g/dl",10.343,"10*3/uL",1.756,"10*3/uL",2.963,"10*3/uL",0.283,"10*3/uL",2,"2112-08-13",24.341,"U/L",5.339,"g/dl",14.883,"U/L",0.565,"mg/dl",0.275,"mg/dl",1.039,"mg/dl",98.911,"mg/dL",4.571,"mmol/L",135.283,"mmol/L",2 +"2","13_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-08-16",14.485,"U/L",4.271,"g/dl",9.04,"U/L",0.352,"mg/dl",0.138,"mg/dl",0.871,"mg/dl",73.61,"mg/dL",4.909,"mmol/L",136.939,"mmol/L",2 +"2","14_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-09-06",16.399,"U/L",3.8,"g/dl",6.534,"U/L",0.943,"mg/dl",0.155,"mg/dl",1.301,"mg/dl",87.79,"mg/dL",3.592,"mmol/L",144.071,"mmol/L",2 +"2","15_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-10-05",3.459,"U/L",3.585,"g/dl",3.749,"U/L",0.379,"mg/dl",0.239,"mg/dl",1.353,"mg/dl",93.729,"mg/dL",4.334,"mmol/L",138.921,"mmol/L",2 +"2","16_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-11-04",16.124,"U/L",4.546,"g/dl",13.976,"U/L",0.909,"mg/dl",0.297,"mg/dl",0.631,"mg/dl",74.662,"mg/dL",4.533,"mmol/L",137.652,"mmol/L",2 +"2","17_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-11-16",24.298,"U/L",4.107,"g/dl",21.955,"U/L",0.774,"mg/dl",0.122,"mg/dl",1.456,"mg/dl",73.493,"mg/dL",4.592,"mmol/L",135.664,"mmol/L",2 +"2","18_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-11-21",17.332,"U/L",3.626,"g/dl",22.11,"U/L",0.684,"mg/dl",0.165,"mg/dl",0.68,"mg/dl",73.834,"mg/dL",4.694,"mmol/L",145.569,"mmol/L",2 +"3","1_arm_1","3","MRN202","2012-06-22","",2,"2112-01-02",15.839,"g/dl",7.761,"10*3/uL",2.303,"10*3/uL",2.045,"10*3/uL",0.393,"10*3/uL",2,"2112-01-07",23.087,"U/L",3.808,"g/dl",18.161,"U/L",0.455,"mg/dl",0.106,"mg/dl",1.46,"mg/dl",66.035,"mg/dL",3.505,"mmol/L",135.902,"mmol/L",2 +"3","2_arm_1","","","","","","2112-02-07",13.588,"g/dl",6.23,"10*3/uL",0.888,"10*3/uL",7.793,"10*3/uL",0.202,"10*3/uL",2,"2112-01-12",5.021,"U/L",4.586,"g/dl",17.39,"U/L",0.563,"mg/dl",0.137,"mg/dl",1.231,"mg/dl",95.678,"mg/dL",4.875,"mmol/L",135.872,"mmol/L",2 +"3","3_arm_1","","","","","","2112-02-13",12.883,"g/dl",7.512,"10*3/uL",2.338,"10*3/uL",3.11,"10*3/uL",0.381,"10*3/uL",2,"2112-02-04",17.214,"U/L",3.766,"g/dl",15.943,"U/L",0.907,"mg/dl",0.118,"mg/dl",0.672,"mg/dl",70.927,"mg/dL",4.364,"mmol/L",142.667,"mmol/L",2 +"3","4_arm_1","","","","","","2112-03-19",14.841,"g/dl",10.667,"10*3/uL",1.779,"10*3/uL",6.953,"10*3/uL",0.238,"10*3/uL",2,"2112-02-07",13.34,"U/L",3.74,"g/dl",6.955,"U/L",0.707,"mg/dl",0.239,"mg/dl",1.071,"mg/dl",92.286,"mg/dL",3.659,"mmol/L",144.58,"mmol/L",2 +"3","5_arm_1","","","","","","2112-06-05",12.262,"g/dl",8.191,"10*3/uL",1.713,"10*3/uL",7.389,"10*3/uL",0.414,"10*3/uL",2,"2112-03-11",7.139,"U/L",5.149,"g/dl",17.376,"U/L",0.703,"mg/dl",0.287,"mg/dl",0.523,"mg/dl",79.617,"mg/dL",4.804,"mmol/L",143.424,"mmol/L",2 +"3","6_arm_1","","","","","","2112-08-08",15.032,"g/dl",6.566,"10*3/uL",1.202,"10*3/uL",5.452,"10*3/uL",0.273,"10*3/uL",2,"2112-04-07",15.151,"U/L",5.17,"g/dl",16.713,"U/L",0.553,"mg/dl",0.11,"mg/dl",1.247,"mg/dl",77.895,"mg/dL",3.768,"mmol/L",141.935,"mmol/L",2 +"3","7_arm_1","","","","","","2112-09-28",15.002,"g/dl",4.347,"10*3/uL",3.188,"10*3/uL",2.062,"10*3/uL",0.393,"10*3/uL",2,"2112-05-01",7.155,"U/L",5.062,"g/dl",22.675,"U/L",0.528,"mg/dl",0.109,"mg/dl",0.601,"mg/dl",98.816,"mg/dL",5.276,"mmol/L",142.714,"mmol/L",2 +"3","8_arm_1","","","","","","2112-09-30",12.2,"g/dl",5.244,"10*3/uL",2.874,"10*3/uL",5.118,"10*3/uL",0.259,"10*3/uL",2,"2112-05-03",13.816,"U/L",3.516,"g/dl",23.535,"U/L",0.995,"mg/dl",0.234,"mg/dl",0.65,"mg/dl",73.758,"mg/dL",4.552,"mmol/L",141.147,"mmol/L",2 +"3","9_arm_1","","","","","","2112-10-06",14.286,"g/dl",5.716,"10*3/uL",1.692,"10*3/uL",6.454,"10*3/uL",0.278,"10*3/uL",2,"2112-05-22",14.935,"U/L",3.747,"g/dl",24.813,"U/L",0.824,"mg/dl",0.261,"mg/dl",0.57,"mg/dl",79.608,"mg/dL",4.55,"mmol/L",137.839,"mmol/L",2 +"3","10_arm_1","","","","","","2112-12-01",14.409,"g/dl",8.188,"10*3/uL",3.488,"10*3/uL",4.009,"10*3/uL",0.432,"10*3/uL",2,"2112-05-31",17.013,"U/L",4.871,"g/dl",17.006,"U/L",0.568,"mg/dl",0.14,"mg/dl",1.072,"mg/dl",67.853,"mg/dL",3.929,"mmol/L",144.13,"mmol/L",2 +"3","11_arm_1","","","","","","2112-12-30",13.583,"g/dl",7.593,"10*3/uL",1.269,"10*3/uL",6.117,"10*3/uL",0.271,"10*3/uL",2,"2112-06-16",12.718,"U/L",4.887,"g/dl",11.514,"U/L",0.415,"mg/dl",0.164,"mg/dl",0.488,"mg/dl",88.291,"mg/dL",3.958,"mmol/L",136.81,"mmol/L",2 +"3","12_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-07-21",0.894,"U/L",3.616,"g/dl",13.876,"U/L",0.791,"mg/dl",0.161,"mg/dl",0.857,"mg/dl",92.666,"mg/dL",4.328,"mmol/L",140.37,"mmol/L",2 +"3","13_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-10-27",23.519,"U/L",4.423,"g/dl",12.84,"U/L",0.715,"mg/dl",0.109,"mg/dl",0.41,"mg/dl",96.421,"mg/dL",3.672,"mmol/L",139.474,"mmol/L",2 +"3","14_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-11-30",9.285,"U/L",4.674,"g/dl",18.735,"U/L",0.434,"mg/dl",0.158,"mg/dl",1.311,"mg/dl",67.576,"mg/dL",4.016,"mmol/L",136.978,"mmol/L",2 +"3","15_arm_1","","","","","","",,"",,"",,"",,"",,"",0,"2112-12-23",5.863,"U/L",4.435,"g/dl",17.873,"U/L",0.738,"mg/dl",0.2,"mg/dl",0.489,"mg/dl",86.017,"mg/dL",4.407,"mmol/L",145.612,"mmol/L",2 +"4","1_arm_1","4","MRN203","2012-06-22","",2,"",,"",,"",,"",,"",,"",0,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",0 +"5","1_arm_1","5","MRN204","2012-06-22","",2,"",,"",,"",,"",,"",,"",0,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",0 + From 0afce709fd4bfd1a2edb42a657084fee4f8cdcee Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 22 Sep 2014 11:28:38 -0400 Subject: [PATCH 56/58] Remove created files when running `make clean` vagrant/projectDataBootstrap.sql vagrant/out.csv --- .gitignore | 2 ++ vagrant/Makefile | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9743579..e5d8d2c 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,8 @@ person_form_event_tree_with_data.xml build/ dist/ vagrant/Makefile.ini +vagrant/projectDataBootstrap.sql +vagrant/out.csv vagrant/.vagrant/ vagrant/.vimrc vagrant/report.html diff --git a/vagrant/Makefile b/vagrant/Makefile index 74e8110..38d1e8a 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -141,7 +141,6 @@ rc_compare: @# This task can be used to compare the current project data with the reference data $(REDCAP_RECORDS_CMD) -f "$(REDCAP_PROJECT_FORMS)" > out.csv diff -u $(REFERENCE_OUTPUT_FILE) out.csv - rm out.csv test_egg: make egg_test @@ -158,5 +157,5 @@ clean: @# This task removes all copied/generated files rm -f redcap.zip rm -f Makefile.ini - rm -f redcap_database.sql + rm -f projectDataBootstrap.sql rm -f out.csv From 1f9bfb958db1ce15b2c7bcd39c2dac46ab50cdd4 Mon Sep 17 00:00:00 2001 From: Andrei Sura Date: Mon, 22 Sep 2014 12:00:28 -0400 Subject: [PATCH 57/58] Improve error message when `Makefile.ini` is missing --- vagrant/Makefile | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/vagrant/Makefile b/vagrant/Makefile index 38d1e8a..86a5207 100644 --- a/vagrant/Makefile +++ b/vagrant/Makefile @@ -4,24 +4,26 @@ # Note: Some tasks depend on variables set in the config file # therefore the proper path must be set for `CONFIG_FOLDER` MAKE_CONFIG_FILE := Makefile.ini -CONFIG_FOLDER := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'config_folder=' | cut -d '=' -f2) -CONFIG_FOLDER_VAGRANT:= $(CONFIG_FOLDER)/vagrant-data/ -CONFIG_FILE := $(CONFIG_FOLDER)/settings.ini - -REDCAP_DB_SQL_FILE := $(CONFIG_FOLDER_VAGRANT)/$(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_db_sql_file=' | cut -d '=' -f2) -REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER_VAGRANT)/redcap.zip -REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER_VAGRANT)/sqlPatches -ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER_VAGRANT)/enrollment_test_data.csv -REFERENCE_OUTPUT_FILE:= $(CONFIG_FOLDER_VAGRANT)/redi_out_reference.csv - -REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_uri=' | cut -d '=' -f2) -REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) -REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'token=' | cut -d '=' -f2) -REDCAP_RECORDS_CMD:=../bin/utils/redcap_records.py --token=$(REDCAP_VM_TOKEN) --url=$(REDCAP_API_URI) -REDCAP_PROJECT_ID := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_id=' | cut -d '=' -f2) -REDCAP_PROJECT_FORMS := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_forms=' | cut -d '=' -f2) -REDCAP_PROJECT_ENROLLMENT_FORM := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_enrollment_form=' | cut -d '=' -f2) +ifneq ("$(wildcard $(MAKE_CONFIG_FILE))", "") + CONFIG_FOLDER := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'config_folder=' | cut -d '=' -f2) + CONFIG_FOLDER_VAGRANT:= $(CONFIG_FOLDER)/vagrant-data/ + CONFIG_FILE := $(CONFIG_FOLDER)/settings.ini + + REDCAP_DB_SQL_FILE := $(CONFIG_FOLDER_VAGRANT)/$(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_db_sql_file=' | cut -d '=' -f2) + REDCAP_CODE_ZIP_FILE := $(CONFIG_FOLDER_VAGRANT)/redcap.zip + REDCAP_SQL_PATCHES_FOLDER := $(CONFIG_FOLDER_VAGRANT)/sqlPatches + ENROLLMENT_CSV_FILE := $(CONFIG_FOLDER_VAGRANT)/enrollment_test_data.csv + REFERENCE_OUTPUT_FILE:= $(CONFIG_FOLDER_VAGRANT)/redi_out_reference.csv + + REDCAP_API_URI := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_uri=' | cut -d '=' -f2) + REDCAP_VM_URI := $(subst api/,,$(REDCAP_API_URI)) + REDCAP_VM_TOKEN := $(shell cat ${CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'token=' | cut -d '=' -f2) + REDCAP_RECORDS_CMD:=../bin/utils/redcap_records.py --token=$(REDCAP_VM_TOKEN) --url=$(REDCAP_API_URI) + REDCAP_PROJECT_ID := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_id=' | cut -d '=' -f2) + REDCAP_PROJECT_FORMS := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_forms=' | cut -d '=' -f2) + REDCAP_PROJECT_ENROLLMENT_FORM := $(shell cat ${MAKE_CONFIG_FILE} | sed -e 's/ //g' | grep -v '^\#' | grep 'redcap_project_enrollment_form=' | cut -d '=' -f2) +endif .PHONY: help help: @@ -70,7 +72,7 @@ copy_config_develop: check_config: @# This task is used as a dependency checker - @test -f $(MAKE_CONFIG_FILE) || (echo 'Please obtain the required file Makefile.ini by executing get_config_example or get_config_develop' && exit 1) + @test -f $(MAKE_CONFIG_FILE) || (echo 'Please obtain the required configuration file "Makefile.ini" by executing make task "get_config_example" or "get_config_develop"' && exit 1) @test -d $(CONFIG_FOLDER) || (echo 'Please create a "config" folder with necessary files first' && exit 1) @test -f $(CONFIG_FILE) || (echo 'Please obtain the config file "$(CONFIG_FILE)"' && exit 1) @test -f $(REDCAP_DB_SQL_FILE) || (echo 'Please obtain the project sql dump file "$(REDCAP_DB_SQL_FILE)"' && exit 1) From d4a37707ecbe45a09600f464245d11c210ecf5ce Mon Sep 17 00:00:00 2001 From: Taeber Rapczak Date: Tue, 23 Sep 2014 10:14:29 -0400 Subject: [PATCH 58/58] Update version and CHANGELOG for v0.11.3 --- CHANGELOG | 31 +++++++++++++++++++++++++++++++ bin/redi.py | 2 +- setup.py | 2 +- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 21e0089..989837f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,34 @@ +2014-09-23 v0.11.3 + + * Summary: Update config-example to work with new sample project + + * Fixed #73: Change use of redcap_server and redcap_uri settings + * Fixed #72: Remove circular dependency redi <--> redi_lib + * Fixed #68: Sample REDCap project is tied to a specific REDCap version number + * Fixed #64: Create a RED-I config to match the example REDCap project. + * Fixed #63: Add documentation within config-example/settings.ini to explain the use of each parameter + * Fixed #62: Regroup settings within settings.ini + * Fixed #60: Make a test data set of CBC and Chemistry data + * Fixed #59: Revise report sending code to note the locations of reports/email bodies in the console output + * Fixed #58: Remove project specific details from vagrant/Makefile + * Fixed #49: "Exceeded event list... Event count of 11 exceeds maximum of 11" + * Fixed #47: Do not hardcode smtp host/port + * Fixed #27: Update /vagrant/README.md to match new features + * Fixed #4: Create a working example REDCap Project suitable for RED-I Demonstration + * Fixed #3: No config-example folder + + * Rename README_Travis_CI_Setup.md to `setup_travis_ci.md` Also move the related images to `images/setup_travis_ci` + * Cut the section about adding a new REDCap project from vagrant/README.md This resulted in creation of a new document: doc/add_new_redcap_project.md and associated files in dedicated folder: `images/add_new_redcap_project/` + * Remove deprecated document: `doc/README_test_against_redcap.md` + * Delete empty file: `vagrant/README-projects.md` + + * Added scripts/compare_settings.sh to help find differences Example usage: ./compare_settings.sh ../config/settings.ini ../config-vcu/settings.ini + * Add clinical-commit-to-loinc.xml helper scripts + * Add synthetic_data tool, makefakedata.R + * Improve `bin/utils/redcap_records.py` - now works with json/xml + + * Log information about rules loading + 2014-09-10 v0.11.2 * Summary: performance improvements to speed up run time. diff --git a/bin/redi.py b/bin/redi.py index 7118748..8eb55bc 100755 --- a/bin/redi.py +++ b/bin/redi.py @@ -8,7 +8,7 @@ __author__ = "Nicholas Rejack" __copyright__ = "Copyright 2013, University of Florida" __license__ = "BSD 2-Clause" -__version__ = "0.11.1" +__version__ = "0.11.3" __email__ = "nrejack@ufl.edu" __status__ = "Development" diff --git a/setup.py b/setup.py index 1e07b53..0b0c4b0 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( name='REDI', - version='0.11.2', + version='0.11.3', author='Christopher P Barnes, Philip Chase, Nicholas Rejack', author_email='cpb@ufl.edu, pbc@ufl.edu, nrejack@ufl.edu', packages=find_packages(exclude=['test']),