sdhealthconnect / leap-cds

LEAP Consent Decision Service
https://sdhealthconnect.github.io/leap
GNU General Public License v3.0
10 stars 5 forks source link

rely on provision.type for the default decision #113

Closed mojitoj closed 3 years ago

mojitoj commented 3 years ago

For the default (seed) decision of the consent, we will use the type attribute of the root provision, instead of policyRule which is tied to a valueset that references the legislative framework in which the consent has been filed and does not provide an explicit computable default decision.

Note that this is a breaking change --all existing demo consents need to be updated to have a type attribute in the root provision set to permit or deny to reflect the default decision of the consent.