The error is on the input parameter patient, because you don't have the patient object available there yet. If you remove the parameter, all should work as expected.
Note that if you need the coordinator you do need to pass it somehow as well. If the coordinator is the current user, then instead of using a microflow parameter you should be able to use a cast action using the $currentUser
We removed the patient and used coordinator caregroup in the microflow but the errors are still occurring.