Skip to content

Commit

Permalink
fix: provision time set generation
Browse files Browse the repository at this point in the history
  • Loading branch information
BoehmDo committed Oct 24, 2024
1 parent 806efbd commit 7c8f4a6
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions facade_app/util/consentAndResourceUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,14 @@ def getProvisionTimeSet(consents, provision_config):
]

# check whether configured provisions are a subset of the consent provisions
if not (
False
if True in [
True
in [
True
in [
(
all(
prov.get(key, None) == val
for key, val in config_code.items()
)
)
for prov in consent_provision_list
]
for config_code in conf_prov_codes
(all(prov.get(key, None) == val for key, val in config_code.items()))
for prov in consent_provision_list
]
):
for config_code in conf_prov_codes
]:
for provision in consent["provision"]["provision"]:

provision_coding = provision["code"][0]["coding"][0]
Expand Down

0 comments on commit 7c8f4a6

Please sign in to comment.