File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ def filter_permitted_vacc_types(
6565 types that they cannot interact with without throwing an error"""
6666 supplier_permissions = self ._get_supplier_permissions (supplier_system )
6767
68- return set ([
68+ return {
6969 vaccine_type
7070 for vaccine_type in vaccination_types
7171 if requested_operation in supplier_permissions .get (vaccine_type .lower (), [])
72- ])
72+ }
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ def search_immunizations(
324324 # TODO: is disease type a mandatory field? (I assumed it is)
325325 # i.e. Should we provide a search option for getting Patient's entire imms history?
326326 if not nhs_number_mod11_check (nhs_number ):
327- return create_diagnostics ()
327+ return create_diagnostics (), False
328328
329329 permitted_vacc_types = self .authoriser .filter_permitted_vacc_types (
330330 supplier_system , ApiOperationCode .SEARCH , set (vaccine_types )
You can’t perform that action at this time.
0 commit comments