← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] DHIS SMS Gateway

 

The plain SMS solution is somewhat limited when it comes to specifying
period. By default, if you don't specify anything, it will take the
previous period, which in your case would be the year 2012.

You can also specify a date in the format ddMM, e.g. 3012 for December
30th. Since this date has not yet occurred in 2013, it would again be
interpreted as the year 2012. However, if you wanted to report for 2013,
you could put in any date before today, e.g. 0110. So if your command is
"malaria", the full message would be something like "malaria 0110 a44 b 29
c3 e3".

There currently is no way to use plain SMS to report data more than a year
back. Do you have a real use case for that, or is this just a theoretical
question?

Knut



On Sat, Oct 26, 2013 at 6:10 PM, riddy ndoma <riddyndoma@xxxxxxxxx> wrote:

> how to associate a period to send data to a command?
> Assuming I have a command that Mortality is collected annually.
>
> --
> Riddy NDOMA
> Software Developer
> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
> *Blog:* http://riddyndoma.blogspot.com/
>
> Vous servir est mon désire (Serving you is my desire)
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org

Follow ups

References