I would like to automate the choosing of a care plan template and accepting all of the defaults of what we have built (Care Plan Template Tasks - no goals, no problems). I would like for a simple automation tool to be used. Is this possible, or if not, what is the specific health cloud code we would have to leverage within a trigger or other development tool? Thank you, Dustin
Ok, so to confirm: We need to look to write a generic trigger/flow on the Account when (IF) the criteria is met, (THEN) choose the Care Plan Template + Care Plan Tasks (no goals, no problems in this use case)... and then is there any specific APEX class that we are referencing from the Health Cloud managed package at all? For example, when I choose this manually, I can see in my URL:
From a console, the Account's secondary tab is All Care Plans.
Hit New Care Plan
URL-
https://AnonymousORG.lightning.force.com/lightning/cmp/HealthCloudGA__HcComponentWrapper?HealthCloudGA__type=CarePlanTemplates&HealthCloudGA__attr=%7B%22recId%22%3A%AnonymousORG%22%2C%22isNewCarePlan%22%3Atrue%2C%22isCareProgramFlow%22%3Afalse%2C%22carePlanDefaultValues%22%3A%7B%22AccountId%22%3A%AnonymousORG%22%2C%22ContactId%22%3A%AnonymousORG%22%7D%7D&uid=CarePlanTemplatesAnonymousORG&ws=%2Flightning%2Fr%2FAccount%AnonymousORG%2Fview
Hit Next
(accept these declaratively built tasks on the Care Plan)
Hit Save Care Plan
If you can give any more insight on the underlined question above, I'll analyze and then select as a Best Answer. Thank you so much, ds