How to generate patient Identifier in patient registration.

@atiq does this help