Adding random data generation for patient Identifier and fix issue