Skip to content

Commit

Permalink
Kiosk ETL Type Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bencap committed Apr 12, 2024
1 parent f4bf35a commit 26de325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/seattleflu/id3c/cli/command/etl/redcap_det_kiosk.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# REDCap DET records lacking this revision number in their log. If a
# change to the ETL routine necessitates re-processing all REDCap DET records,
# this revision number should be incremented.
REVISION = 6
REVISION = 7


@redcap_det.command_for_project(
Expand Down Expand Up @@ -809,7 +809,7 @@ def determine_all_questionnaire_items(redcap_record: dict) -> List[dict]:
if school_interference_responses:
items['school_interference_0'] = [{'valueString': spanish_to_english_mapper(interference, 'school_interference_0')} for interference in school_interference_responses]

items['child_dayvare'] = [{'valueBoolean': (redcap_record['child_daycare'] == 'Yes' or redcap_record['child_daycare'] == 'Sí')}]
items['child_daycare'] = [{'valueBoolean': (redcap_record['child_daycare'] == 'Yes' or redcap_record['child_daycare'] == 'Sí')}]

# Participant can select multiple smoking types, so create
# a separate answer for each selection
Expand Down

0 comments on commit 26de325

Please sign in to comment.