Parameter type in operation [base]/ServiceDefinition/[id]/$evaluate

Type of parameters “patient”, “encounter” etc. are Reference in operation [base]/ServiceDefinition/[id]/$evaluate, but the given examples are actually using resources instead of their reference, why?

The intent was for the $evaluate operation to support the use of both a reference to the Patient, as well as inclusion of the Patient directly for scenarios where the decision support service would not be able to retrieve the Patient by reference.

Note that the ServiceDefinition resource is being deprecated in R4 in favor of using the CDS Hooks specification to evaluate remote decision support.