← Back to team overview

dhis2-devs team mailing list archive

Re: Event Date location

 

It's a combination of programstageinstance (for the event)
and trackedentitydatavalue (for the data values).

Lars

On Tue, Mar 10, 2015 at 3:50 PM, Abyot Gizaw <abyota@xxxxxxxxx> wrote:

> Hi,
>
> The table is *programstageinstance*
>
>
> ---
> Thank you,
> Abyot.
>
> On Tue, Mar 10, 2015 at 3:33 PM, Farai Mutero <fmutero@xxxxxxxxx> wrote:
>
>> Hi Guys
>>
>> Quick and easy question for you: When you upload an event payload into
>> DHIS2 via the Web-API (payload example shown below), in which table in the
>> database is the event date stored?
>>
>> {
>>   "program": "eBAyeGv0exc",
>>   "orgUnit": "DiszpKrYNg8",
>>   "eventDate": "2013-05-17",
>>   "status": "COMPLETED",
>>   "storedBy": "admin",
>>   "coordinate": {
>>     "latitude": "59.8",
>>     "longitude": "10.9"
>>   },
>>   "dataValues": [
>>     { "dataElement": "qrur9Dvnyt5", "value": "22" },
>>     { "dataElement": "oZg33kd9taw", "value": "Male" },
>>     { "dataElement": "msodh3rEMJa", "value": "2013-05-18" }
>>   ]
>> }
>>
>> Regards
>>
>> --
>> Farai Mutero
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References