Automatically generated data element values

Hello,

Not sure if this is possible but we are trying to create a data element with value that is automatically generated using a pre-defined format. The field in question is a unique ID (e.g. TB Registration Number). In order to prevent errors, we would like the field to be generated automatically at data entry.

I have checked through the documentation but didn’t see anything related to this. I will appreciate any suggestions.

Thanks,

Ese