conditionallyUpdateResourceStatus
suspend fun conditionallyUpdateResourceStatus(questionnaireConfig: QuestionnaireConfig, subject: Resource, bundle: Bundle)
Updates the due date of a dependent task based on the current status of the task. @param id The ID of the dependent task to update. @return The updated task object. This function is used to update the status of all CarePlans connected to a QuestionnaireConfig's PlanDefinitions based on the QuestionnaireConfig's CarePlanConfigs and their configs filtering information.
Parameters
questionnaireConfig
The QuestionnaireConfig that contains the CarePlanConfigs
subject
The subject to evaluate CarePlanConfig FHIR path expressions against if the CarePlanConfig does not reference a resource.