Commit d6149df0 authored by Pinar Alper's avatar Pinar Alper
Browse files

minor changes to the mappings to new enumeration scheme for use restrictions

parent f3cd3483
......@@ -164,7 +164,7 @@ class DishXlsExporter:
# Does consent contain clauses that put geographical restrictions to the sharing of data?
if process_yes_no_dontknow_answer(sheet[26, 1]):
use_restrictions.append({'use_class': 'GS-[XX]',
'use_restriction_rule': "CONSTRAINED_PERMISSION",
'use_restriction_rule': "PROHIBITION",
'use_class_note': sheet[26, 0],
'use_restriction_note': sheet[27,1]})
elif process_yes_no_dontknow_answer(sheet[26, 1]) is not None:
......@@ -190,7 +190,7 @@ class DishXlsExporter:
'use_class_note': sheet[30, 0],
'use_restriction_note': sheet[31,1]})
elif process_yes_no_dontknow_answer(sheet[30, 1]) is not None:
use_restrictions.append({'use_class': 'IS',
use_restrictions.append({'use_class': 'TS-[XX]',
'use_restriction_rule': "PERMISSION",
'use_class_note': sheet[30, 0]})
......@@ -209,7 +209,7 @@ class DishXlsExporter:
if process_yes_no_answer(sheet[36, 1]):
datadec_dict["storage_end_date"] = process_possible_date(sheet[37, 1])
use_restrictions.append({'use_class': 'TS-[XX]',
'use_restriction_rule': "CONSTRAINED_PERMISSION",
'use_restriction_rule': "OBLIGATION",
'use_class_note': sheet[36, 0],
'use_restriction_note': process_possible_date(sheet[37, 1])})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment