You can use script on custom form. Until now, there's no way for default form to generate based on tracked entity attributes.
On Tue, Apr 25, 2017 at 5:48 PM, Brian O'Donnell <bodonn...@akros.com> wrote: > Hi all, > > I'm curious if anyone has experience in auto-generating Unique Identifier > Codes (UICs) in tracker capture module (v2.25 or below), or if there is a > best practices document out there. > > We are capturing sensitive information about clients through android > tracker. The service provider would like to capture name and phone number > data, but restrict viewing of these data to higher-level users. Data entry > roles should only be able to search based on a system-generated UIC. You > should be able to construct and re-construct UICs based on client data, as > in the diagram from PSI below. > [image: Inline image 1] > > So we do not need a randomly generated ID for the tracked entity, but a > script which constructs a custom string attribute based on other tracked > entity attributes, similar to this app, but built directly into DHIS2 form: > https://play.google.com/store/apps/details?id=org.eyeseetea.uicapp&hl=en > > I am not the only one who has requested this (https://lists.launchpad.net/ > dhis2-devs/msg47211.html) but I cannot find a manual or correspondence > online. Happy to provide more details on use case on request. > > Brian > -- > [image: Akros] <http://www.akros.com/> Brian O'Donnell, MPAff > Informatics Project Manager > bodonn...@akros.com > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > -- *Em Le Hong* DHIS2 Implementation| *HISP Vietnam * em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp