Bugs fixes for Trello 174/184. We cannot rely on the 'PATIENT' mapping in the usermapping table. Therefore we check for the existance of a usermapping by join it to patient and user which forces the DISTINCT on the query.
Bugs fixes for Trello 174/184. We now get the patient record by the fact that the usermapping table contains the original unitcode from the patient record
Merge pull request #197 from robworth/feature/add-new-radar-patients

Feature/add new radar patients