Hi Tran and all, great work so far. We are making progress.
I have started using a new tool for ER diagrams and mapped out the changes to the tracker model here: https://www.gliffy.com/go/html5/5341999 Next step is to introduce a class TrackedEntity: TrackedEntity extends BaseNameableObject We need links from Program and TrackedEntityInstance. class Program TrackedEntity trackedEntity; class TrackedEntityInstance TrackedEntity trackedEntityInstance; The idea is that a Program can have one tracked entity, for instance a program can be for "ARV drugs". Also, each TrackedEntityInstance must be linked to one TrackedEntity. - We need to put in the usual list + add / update user interface for TrackedEntity in the program maintenance module. - In the add / update Program UI, we need to add a selection list of available TrackedEntities. I guess we must allow null to be backwards compatible. - When creating new TrackedEntityInstances: If a program is selected, we can derive the TrackedEntity from the program. If no program is selected, we must present the selection list of available TrackedEntities. Tran let me know if there are any questions. regards, Lars
-- Mailing list: https://launchpad.net/~dhis2-devs-core Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs-core More help : https://help.launchpad.net/ListHelp

