patient is specified as a required parameter, so how can it be null?