Dear Gassim,
I want to know if it possible to generate ID in COVID Tracker with MAI-(contry code)-Region-Code, district code, name of structure- Year of vaccination-COVAC-patient number-Register Number?
If Yes can You show me how we can do that?
Dear Gassim,
I want to know if it possible to generate ID in COVID Tracker with MAI-(contry code)-Region-Code, district code, name of structure- Year of vaccination-COVAC-patient number-Register Number?
If Yes can You show me how we can do that?
not sure whatâs meant by âname of structureâ but I think the closest would be
MAI-(OU-Code)-COVAC-SEQUENTIAL(###)-SEQUENTIAL(###)
For the Year of vaccination, you might run a program rule to concatenate the value to the ID.
For more explanation
Exemple country Mali = Mai; Region Koulikoro = Koul
MAI-KOU-ASACOLA-2022-COVAC-001-R1
I find it easier if the autogenerated value will be
ORG_UNIT_CODE(âŚ)-COVAC-001-R1
(Kou)-âCOVACâ-SEQUENTIAL(###)-âRâ-SEQUENTIAL(#)
And then create a program rule that adds to the autogenerated value the structure âASACOLAâ and the âyear of vaccinationâ both of which I couldnât find in the text pattern functions for autogenerated values but are found in the program rules.
As for the org_unit, it doesnât seem possible to get the hierarchy. With a description of the use case and why this is important, you could create a feature request if you believe this will be helpful.
Thanks!