```
# params[:id] from routes resource
@patient = Patient.find_by(uid: params[:id])
```