dirty fix for patient lookup