patient_id should always be string type in search index  fixed #585