← Back to team overview

dhis2-devs team mailing list archive

Re: Using SMS Commands for data capture


Hi Jasper,

please find the answers in line.

On 24. aug. 2016 13:58, Jasper Timm wrote:
Hi there,

We're considering using the SMS Commands functionality of DHIS2 to receive data from the data capture Android App when there is no internet connectivity.

I'm working from the documentation here: http://dhis2.github.io/dhis2-docs/master/en/user/html/mobile_sms_command.html

Unfortunately it still leaves a few questions:

- How do you specify the OrgUnit and Period? Does the discussion from this thread still apply? (https://lists.launchpad.net/dhis2-users/msg06122.html) If so - how does the parser differentiate when you specify BOTH OrgUnit and Period? Where does one assign codes to the OrgUnits?
* SMSCommand is associated with a Parser and parser is attached to certain Programs (with/without registration).

       1. Create SMSCommand
       2. Edit SMSCommand
       3. Set response messages to be sent to the originating user.
4. Set codes for data elements ( for example age, height, orgunit etc )

- What happens when a message is longer than one SMS message?
* When text is longer then one SMS(160 characters) then it will be sent as multiple SMSes each having <= 160 characters. *

It'd be great to see these answers in the documentation itself.


- Jasper

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

Zubair Asghar
Software Developer, DHIS2
University of Oslo

Follow ups