← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] DHIS SMS Gateway

 

Hi Riddy,

It will take the current week by calculate which day is today.

Long


On Mon, Oct 28, 2013 at 2:33 PM, riddy ndoma <riddyndoma@xxxxxxxxx> wrote:

> Thanks a lot Knut,
> it's just a theoretical question because I do a demonstration in front of
> people ... The command we used to collect weekly. I wonder how to bind data
> to weeks? it is this kind of questions that can be asked during my
> presentation
>
>
> 2013/10/26 Knut Staring <knutst@xxxxxxxxx>
>
>> 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
>>
>
>
>
> --
> 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-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References