added condition to log people with patient ids
Merge branch 'syncing' of github.com:BaobabHealthTrust/dde-server into syncing