kwillard95
04/02/2024, 3:23 AMprovision field, there is another field within that named provision, where nested exception rules to the existing provision can be defined. According to the Medplum docs (https://www.medplum.com/docs/api/fhir/resources/consent) and to the resource type, this nested provision field should be an array of provisions, however I get an error anytime I try to update the resource with an array. The error says Expected single value for property (Consent.provision.provision). I just wanted to point out this discrepency in case it wasn't already on your radar!
Thank you!rahul1
04/02/2024, 7:21 AMrahul1
04/02/2024, 7:26 AMkwillard95
04/02/2024, 5:49 PMprovision is an object that takes a single rule. From my understanding, the inner provision should be an array of exceptions to the outer rule, given that certain conditions are met. My use case is for when a Consent should be denied for a period of time. I am adding that rule in the nested provision field!cody
04/02/2024, 11:12 PM