Hello Devs! I am working on an app using the d2 APIs related to tracker capture. I have successfully registered and enrolled the new trackedEntityInstances to the selected orgUnit and Program.
Now what I want to do is add events, for which I have to POST a payload containing dueDate for the event. My doubt is, how do I calculate due date ? The program stage model gives me info like 'minDaysFromStart', 'lastUpdated' but I do not see 'dueDate' anywhere. Is it a separately calculated value ? Should, dueDate = createdOn + minDaysFromStart ? Regards, Shivee
_______________________________________________ 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