← Back to team overview

dhis2-devs team mailing list archive

[Bug 1251157] [NEW] Web API Tracker - user as parameter in events list and shown in result

 

Public bug reported:

I guess I'm stretching the bug-definition here, but it would be
extremely useful for our 'Embedding apps in tracker' groups in INF5750
if it was possible to add the patient identifier to the events API
string to list events for a given patient.

I request:

1. That the person id can be used to search
2. That the person-information/id is in the event result. 

So for example (today):

http://apps.dhis2.org/demo/api/events.json?orgUnit=DiszpKrYNg8&program=uy2gU8kT1jF&programStage=grIfo3oOf4Y&startDate=2013-01-01&endDate=2013-12-01

I'd like to add:

http://apps.dhis2.org/demo/api/events.json?orgUnit=DiszpKrYNg8&program=uy2gU8kT1jF&programStage=grIfo3oOf4Y&startDate=2013-01-01&endDate=2013-12-01&person=<id>

** Affects: dhis2
     Importance: High
     Assignee: Morten Olav Hansen (mortenoh)
         Status: New


** Tags: api tracker web

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1251157

Title:
  Web API Tracker - user as parameter in events list and shown in result

Status in DHIS 2:
  New

Bug description:
  I guess I'm stretching the bug-definition here, but it would be
  extremely useful for our 'Embedding apps in tracker' groups in INF5750
  if it was possible to add the patient identifier to the events API
  string to list events for a given patient.

  I request:

  1. That the person id can be used to search
  2. That the person-information/id is in the event result. 

  So for example (today):

  http://apps.dhis2.org/demo/api/events.json?orgUnit=DiszpKrYNg8&program=uy2gU8kT1jF&programStage=grIfo3oOf4Y&startDate=2013-01-01&endDate=2013-12-01

  I'd like to add:

  http://apps.dhis2.org/demo/api/events.json?orgUnit=DiszpKrYNg8&program=uy2gU8kT1jF&programStage=grIfo3oOf4Y&startDate=2013-01-01&endDate=2013-12-01&person=<id>

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1251157/+subscriptions


Follow ups

References