Advertisement
Guest User

Untitled

a guest
Mar 28th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. from sets import Set
  2. dbms = 'Oracle'
  3.  
  4. # i2b2 metadata Connection Info
  5. host = 'dbmi-db-dev-01.dbmi.pitt.edu'
  6. port = 1521
  7. sid = 'dbmi02' # For Oracle only
  8. metadata_user = 'dev02_ui_i2b2metadata'
  9. metadata_password = 'demouser'
  10.  
  11. # i2b2 demodata Connection Info
  12. demodata_user = 'dev02_ui_i2b2demodata'
  13. demodata_password = 'demouser'
  14.  
  15. db = '' # for Sql Server
  16. user = '' # for Sql Server
  17. password = '' # for Sql Server
  18.  
  19. table_space = 'I2B2_DATA'
  20.  
  21. pro_ontology_table = 'PRO_ONTOLOGY'
  22. concept_dimension_table = 'CONCEPT_DIMENSION'
  23. modifier_dimension_table = 'MODIFIER_DIMENSION'
  24. encounter_mapping_table = 'REDCAP_ENCOUNTER_MAPPING'
  25. event_mapping_table = 'REDCAP_EVENT_MAPPING'
  26. answer_mapping_table = 'REDCAP_ANSWER_MAPPING'
  27. patient_mapping_table = 'REDCAP_PATIENT_MAPPING'
  28.  
  29.  
  30. api_url = 'https://www.ctsiredcap.pitt.edu/redcap/api/'
  31.  
  32. # key regenerated Dec 7, 2015 ipf_api_key = '1C08D4862F9C41D3087F8EDC075E824F' # IPF
  33. ipf_api_key = 'F2DD0FEF0C86AFF9DEE0C293B3BF9D45' # IPF
  34. site_ipf_project_id = 1621
  35. path_ipf_project_id = 1000
  36.  
  37. afib_api_key = '5EC5016D6FEA41DDF02DFA6015768543' # Afib
  38. site_afib_project_id = 1684
  39. path_afib_project_id = 1001
  40.  
  41. weight_api_key = '6B630CF09975A33C9757DBAA72AB0143' # Weight
  42. site_weight_project_id = 2212
  43. path_weight_project_id = 1002
  44.  
  45. upload_id = 2
  46.  
  47. visit_dimension_table = 'REDCAP_VISIT_DIMENSION'
  48. observation_fact_table = 'REDCAP_OBSERVATION_FACT'
  49.  
  50.  
  51. ignore_fields = {
  52. 1000: Set(["record_id", "pcode_1", "pcode_1_incorrect", "pcode_2", "eligibility_instructions", "consent_form_download",
  53. "consent_quiz_2", "consent_quiz_3", "consent_quiz_score", "consent_1", "consent_2", "consent_3", "consent_4", "consent_5",
  54. "id_contact_instructions", "id_01", "id_02", "id_03", "id_04", "id_05a", "id_06a", "id_08", "id_09", "id_10", "id_11", "id_12",
  55. "id_13", "e_mail_validation", "error_msg", "id_14", "id_15" "id_16", "id_17", "id_18", "demographics_instructions", "dem1_2a",
  56. "dem1_3a"]),
  57. 1001 : Set(["record_id", "consent_form_download", "consent_quiz_instructions", "consent_quiz_1_correct", "consent_quiz_1_wrong",
  58. "consent_quiz_2_correct", "consent_quiz_2_wrong", "consent_quiz_3_wrong", "consent_2", "consent_3", "consent_4", "consent_5", "id_contact_instructions",
  59. "id_01", "id_02", "id_03", "id_05a", "id_06a", "id_08", "id_09", "id_10", "id_11", "id_12", "id_13", "e_mail_validation", "error_msg", "id_14",
  60. "id_15", "id_16", "id_17", "id_18", "med_warning", "applied_cog_instrutions", "dem1_1", "dem1_2a", "dem1_3a", "dem1_5", "dem1_6", "dem3_3a",
  61. "part_2a", "completion_02", ]),
  62. 1002 : Set([]) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement