Creating patient id's

Zcore assigns a unique id for each patient. Some implementation such as ZEPRS have a widget for patient id assignment; others, such as TIMS, perform the id assignment automatically.

User documentation: Screencast of assigning patient id

Screenshot of patient id assignment section from ZEPRS.

UTH patient id selection

ZEPRS-specific information: If the pc is setup for UTH, the subsite dropdown will display A,B,C,D,4,5 instead of 1-9. This corresponds to the UTH subsites.

Result after clicking "Get new id":

UTH Patient id result

Programming notes:

Use the PatientId.CreateVerifiedPatientId method to assign an id. Some id's may have been manually created; therefore, this method checks if an id is available within the sequence. If not, it does 20 re-tries, then fails.

If you need to create some skip logic for a particular clinic - in case id's have already been assigned for a particular range - modify PatientDAO.getPatientId.