Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New longitudinal export returns more columns than the request #1285

Open
Tracked by #1671
Gojo-Taqi opened this issue Jul 17, 2024 · 0 comments
Open
Tracked by #1671

New longitudinal export returns more columns than the request #1285

Gojo-Taqi opened this issue Jul 17, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Gojo-Taqi
Copy link

Gojo-Taqi commented Jul 17, 2024

Need:

Issue reported by user.

Describe the bug
New longitudinal export returns more columns than the request

To Reproduce
Steps to reproduce the behavior:

  1. Follow the new longitudinal export documentation to create a request body and add only a few concepts in the export request.
  2. Click on generate export.
  3. Download the export. And in the export, you should get data for the fields that you had not even requested.

Expected behavior
It should give data as per the request.

Test Data

  • This is the request body I used while generating for a specific org "Yenepoya UAT ~(ARCHIEVED)"
{
  "individual": {
    "uuid": "d22027ff-e019-4d1c-9352-bd740efccc38",
    "fields": [
      "id",
      "uuid",
      "firstName",
      "registrationDate",
      "gender",
      "dateOfBirth"
    ],
    "filters": {
      "addressLevelIds": [],
      "date": {
        "from": "2020-01-12",
        "to": "2020-05-04"
      }
    },
    "programs": [
      {
        "uuid": "5fc20ed1-699c-4329-86f4-3884fccceb18",
        "fields": [
          "id",
          "uuid",
          "enrolmentDateTime"
        ],
        "encounters": [
          {
            "uuid": "95fe37f3-8d4d-40cc-ae13-73d65545b27e",
            "fields": [
              "id",
              "uuid",
              "name",
              "encounterDateTime",
              "cancelDateTime",
              "voided",
              "502552c4-7d2a-4e81-b6ce-acacfaf21560",
              "7e2abce5-0dfa-4fb8-8480-c5a74e3caeac"
            ],
            "filters": {
              "includeVoided": true
            }
          }
        ]
      }
    ]
  },
  "timezone": "Asia/Calcutta"
}

This is the CSV file I got from the request.

Individual (1).csv

If you look at the CSV, I am getting data for "Duration of Exclusive breastfeeding in months", "Child bottle-fed or not", etc.

@Gojo-Taqi Gojo-Taqi moved this to New Issues in Avni Product Jul 17, 2024
@Gojo-Taqi Gojo-Taqi added the bug Something isn't working label Jul 17, 2024
@mahalakshme mahalakshme moved this from New Issues to Triaged in Avni Product Nov 13, 2024
@mahalakshme mahalakshme moved this from Triaged to In Analysis in Avni Product Nov 13, 2024
@mahalakshme mahalakshme moved this from In Analysis to Ready in Avni Product Nov 29, 2024
@mahalakshme mahalakshme removed the bug Something isn't working label Nov 29, 2024
@mahalakshme mahalakshme added the good first issue Good for newcomers label Dec 12, 2024
@mahalakshme mahalakshme moved this from Ready to In Analysis Review in Avni Product Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: In Analysis Review
Development

No branches or pull requests

2 participants