I’m currently working with DHIS2 version 2.36.13.2 and encountering issues with Data Importing using TEI import. Despite the import indicating success with 1 creation, the data is not reflected in the Data Statistics table within the Data Administration app. After multiple attempts and a Tomcat restart, I noticed some TEIs were created but without any data values. My data import process involves JSON payload for a dataset related to Wound Visits, and I am adhering to the following payload structure :
{
"trackedEntityType": "nEenWmSyUEp",
"orgUnit": "DiszpKrYNg8",
"attributes": [
{
"attribute": "w75KJ2mc4zz",
"value": "Joe"
},
{
"attribute": "zDhUuAYrxNC",
"value": "Rufus"
},
{
"attribute":"cejWyOfXge6",
"value":"Male"
}
],
"enrollments":[
{
"orgUnit":"DiszpKrYNg8",
"program":"ur1Edk5Oe2n",
"enrollmentDate":"2017-09-15",
"incidentDate":"2017-09-15",
"events":[
{
"program":"ur1Edk5Oe2n",
"orgUnit":"DiszpKrYNg8",
"eventDate":"2017-10-17",
"status":"COMPLETED",
"storedBy":"admin",
"programStage":"EPEcjy3FWmI",
"coordinate":{
"latitude":"59.8",
"longitude":"10.9"
},
"dataValues":[
{
"dataElement":"qrur9Dvnyt5",
"value":"22"
},
{
"dataElement":"oZg33kd9taw",
"value":"Male"
}
]
}
Any help on how to successfully import the data values would be appreciated.
Thanks
1 post - 1 participant