Hi, I’m learning about all the API endpoints and the design of the Tracker, and I cant understand two things:
- Why a Tracked entity instance needs to be created linked with an org unit?
- if I register a TEI and enroll it into a program for a particular orgUnit, should I create another TEI if I want to enroll it on another program for another orgUnit? I cant see from the Tracker UI how can do that
I’m using Postman for make a POST to /api/trackedEntityInstances
with a payload without orgUnit and I see an error due to that.
My use case is a custom webapp that provides Q&A and Care for patients, some of the care received will be phisically on a facility ( AKA OrgUnit ), but some other care could be virtual, and we need to post the information to the tracker, so we are investigating and learning about the DHIS2 and Tracker
Thanks in advance