Skip to content

Commit

Permalink
Fixes to redcap checkbox title translation (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkranz authored Aug 23, 2023
2 parents 6612fda + c7f0350 commit 5b1fb92
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 56 deletions.
54 changes: 27 additions & 27 deletions data/valid/output/heal_dd_from_redcap_dd_export.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ demographics,sex,Gender,Contact Information: Gender,integer,,,0|1,,,,0=Female|1=
demographics,given_birth,Has the subject given birth before?,Contact Information: Has the subject given birth before?,integer,,,0|1,,,,0=No|1=Yes,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,num_children,How many times has the subject given birth?,Contact Information: How many times has the subject given birth?,integer,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,ethnicity,Ethnicity,Contact Information: Ethnicity,integer,,,0|1|2,,,,0=Hispanic or Latino|1=NOT Hispanic or Latino|2=Unknown / Not Reported,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___0,Race:American Indian/Alaska NativeRace,Contact Information: Race[choice=American Indian/Alaska Native],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___1,Race:AsianRace,Contact Information: Race[choice=Asian],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___2,Race:Native Hawaiian or Other Pacific IslanderRace,Contact Information: Race[choice=Native Hawaiian or Other Pacific Islander],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___3,Race:Black or African AmericanRace,Contact Information: Race[choice=Black or African American],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___4,Race:WhiteRace,Contact Information: Race[choice=White],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___5,Race:More Than One RaceRace,Contact Information: Race[choice=More Than One Race],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___6,Race:Unknown / Not ReportedRace,Contact Information: Race[choice=Unknown / Not Reported],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___0,Race: American Indian/Alaska Native,Contact Information: Race[choice=American Indian/Alaska Native],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___1,Race: Asian,Contact Information: Race[choice=Asian],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___2,Race: Native Hawaiian or Other Pacific Islander,Contact Information: Race[choice=Native Hawaiian or Other Pacific Islander],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___3,Race: Black or African American,Contact Information: Race[choice=Black or African American],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___4,Race: White,Contact Information: Race[choice=White],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___5,Race: More Than One Race,Contact Information: Race[choice=More Than One Race],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,race___6,Race: Unknown / Not Reported,Contact Information: Race[choice=Unknown / Not Reported],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,dob,Date of birth,Contact Information: Date of birth,date,any,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,age,Age (years),"Contact Information: Age (years)[calculation: round(datediff([dob],'today','y'),0)]",number,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,height,Height (cm),Contact Information: Height (cm),number,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Expand All @@ -27,26 +27,26 @@ demographics,patient_document,Patient document,Contact Information: Patient docu
demographics,comorbidities,Any comorbid condition,Contact Information: Any comorbid condition,string,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,diabetes,Patient has a diagnosis of diabetes mellitus?,Contact Information: Patient has a diagnosis of diabetes mellitus?,integer,,,0|1,,,,0=No|1=Yes,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,diabetes_type,Type of Diabetes Mellitus,Contact Information: Type of Diabetes Mellitus,integer,,,0|1|2,,,,0=Type 1 insulin-dependent|1=Type 2 insulin-dependent|2=Type 2 non insulin-dependent,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___0,Gym:MondayGym (Weight Training),Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___1,Gym:TuesdayGym (Weight Training),Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___2,Gym:WednesdayGym (Weight Training),Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___3,Gym:ThursdayGym (Weight Training),Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___4,Gym:FridayGym (Weight Training),Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___0,Aerobics:MondayAerobics,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___1,Aerobics:TuesdayAerobics,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___2,Aerobics:WednesdayAerobics,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___3,Aerobics:ThursdayAerobics,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___4,Aerobics:FridayAerobics,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___0,Eat:MondayEat Out (Dinner/Lunch),Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___1,Eat:TuesdayEat Out (Dinner/Lunch),Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___2,Eat:WednesdayEat Out (Dinner/Lunch),Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___3,Eat:ThursdayEat Out (Dinner/Lunch),Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___4,Eat:FridayEat Out (Dinner/Lunch),Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___0,Drink:MondayDrink (Alcoholic Beverages),Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___1,Drink:TuesdayDrink (Alcoholic Beverages),Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___2,Drink:WednesdayDrink (Alcoholic Beverages),Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___3,Drink:ThursdayDrink (Alcoholic Beverages),Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___4,Drink:FridayDrink (Alcoholic Beverages),Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___0,Gym: Monday,Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___1,Gym: Tuesday,Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___2,Gym: Wednesday,Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___3,Gym: Thursday,Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,gym___4,Gym: Friday,Please provide the patient's weekly schedule for the activities below.: Gym (Weight Training)[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___0,Aerobics: Monday,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___1,Aerobics: Tuesday,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___2,Aerobics: Wednesday,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___3,Aerobics: Thursday,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,aerobics___4,Aerobics: Friday,Please provide the patient's weekly schedule for the activities below.: Aerobics[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___0,Eat: Monday,Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___1,Eat: Tuesday,Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___2,Eat: Wednesday,Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___3,Eat: Thursday,Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,eat___4,Eat: Friday,Please provide the patient's weekly schedule for the activities below.: Eat Out (Dinner/Lunch)[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___0,Drink: Monday,Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Monday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___1,Drink: Tuesday,Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Tuesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___2,Drink: Wednesday,Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Wednesday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___3,Drink: Thursday,Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Thursday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,drink___4,Drink: Friday,Please provide the patient's weekly schedule for the activities below.: Drink (Alcoholic Beverages)[choice=Friday],boolean,,,0|1,,,,0=Unchecked|1=Checked,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,dialysis_initiation,Date of first outpatient dialysis treatment,Dialysis Information: Date of first outpatient dialysis treatment,date,any,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,access_type,Type of vascular access,Dialysis Information: Type of vascular access,integer,,,0|1|2|3,,,,0=Graft|1=Fistula|2=Catheter with maturing graft|3=Catheter with maturing fistula,,,,,,,,,,,,,,,,,,,,,,,,,,
demographics,access_location,Location of currently used vascular access,Dialysis Information: Location of currently used vascular access,integer,,,0|1|2|3|4,,,,0=Forearm|1=Upper arm|2=Internal jugular vein|3=Subclavian vein|4=Other,,,,,,,,,,,,,,,,,,,,,,,,,,
Expand Down
Loading

0 comments on commit 5b1fb92

Please sign in to comment.