HI Gerard
Yes, this is possible with Text Pattern as mentioned previously.
One thing I would like to point out is that you create this all in the TE attribute. Therefore, create an attribute (e.g. Unique ID) and then select “Automatically generate”.
In the pattern, you can then enter the TextPattern that you require. Please note that to create a string, you separate with - and not with +. This is an example I created:
CURRENT_DATE(yyyy-MM-ww)-"-"-ORG_UNIT_CODE(…)-"-"-“A”-SEQUENTIAL(###)
The “-” creates the dashes between the various variables, while the - separates the variables.
The number of dots and hashes in the OU code and Sequential relate to the number of items shown.
I hope this helps.
Kind regards,
Terence
···
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
terence.scott@rabiesalliance.org
https://paracon.rabiesalliance.org
Skype: tpscott1987