Re: [Dhis2-devs] [Dhis2-users] Creating a comment like data element

2017-11-23 Thread gerald thomas
Dear Nayeem,
How do we add an option set to a data set so that it could be available
during data entry?

On Thu, 23 Nov 2017 at 03:45, Nayeem Al Mifthah  wrote:

> Dear Gerald
>
> I don't know how you want to analyze. If those are common comments you may
> create option set.
>
> If you want to get some narrative description, you may make a data element
> with long text as type.
>
> *Nayeem Al Mifthah*
> *Consultant for HSS, Health MIS, M&E*
> Email: n.mift...@gmail.com
> Cell:+8801914030574
> Skype: nayeem.a.m
>
> On Thu, Nov 23, 2017 at 6:39 AM, gerald thomas 
> wrote:
>
>> Dear All,
>> I am creating a data set which needs a section on the form for
>> comment. Please how can I create a comment section data element on a
>> data set form.
>>
>
>> --
>> Regards,
>>
>> Gerald
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
> --
Regards,

Gerald
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Creating a comment like data element

2017-11-23 Thread Knut Staring
Hi Gerald,

you could perhaps just add one data element to the dataset and assign the
option set to that data element?

Knut

On Thu, Nov 23, 2017 at 12:28 PM, gerald thomas 
wrote:

> Dear Nayeem,
> How do we add an option set to a data set so that it could be available
> during data entry?
>
> On Thu, 23 Nov 2017 at 03:45, Nayeem Al Mifthah 
> wrote:
>
>> Dear Gerald
>>
>> I don't know how you want to analyze. If those are common comments you
>> may create option set.
>>
>> If you want to get some narrative description, you may make a data
>> element with long text as type.
>>
>> *Nayeem Al Mifthah*
>> *Consultant for HSS, Health MIS, M&E*
>> Email: n.mift...@gmail.com
>> Cell:+8801914030574 <+880%201914-030574>
>> Skype: nayeem.a.m
>>
>> On Thu, Nov 23, 2017 at 6:39 AM, gerald thomas 
>> wrote:
>>
>>> Dear All,
>>> I am creating a data set which needs a section on the form for
>>> comment. Please how can I create a comment section data element on a
>>> data set form.
>>>
>>
>>> --
>>> Regards,
>>>
>>> Gerald
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>> --
> Regards,
>
> Gerald
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683
Mobile 1: +33 6 4434 2931
Mobile 2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Please add Maldives flag

2017-11-23 Thread Hannan Khan
Dear Lars & Devs

Thank you all for your kind help.

HISP Bangladesh are now helping Maldives to start using DHIS2 as national
HMIS system.

Can you please add Maldives flag in the DHIS2 war.

Regards

Muhammad Abdul Hannan Khan
Team Leader
Support to the National HMIS
MIS, Director General of Health Service
Ministry of Health and Family Welfare

T +880-2- 58816459, 58816412 ext 118
F +88 02 58813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issues with Upgrade from DHIS 2.26 to DHIS 2.27

2017-11-23 Thread Morten Olav Hansen
Please try again with latest 227

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Thu, Nov 23, 2017 at 11:00 AM, Morten Olav Hansen 
wrote:

> > Legends are now directly contained in the object where they are used, so
>> no need to reference by UIDs anymore, translations should also be put
>> directly in the legend payload.
>> We see that we may translate the legends through POST '/api/25/metadata'
>> call.
>> Is there any other way to translate legends? Can you point us to an
>> appropriate API?
>>
>
> The translations are now directly a part of the payload itself, you can
> see that if you try and translate any part of dhis2, then go to
> /api/type/ID and you will see the translations directly contained in the
> payload itself.
>
> As an example, you can have a look here:
> https://play.dhis2.org/dev/api/dataElements.json?fields=
> id,displayName,translations
>
> the translation object itself is built up of: property (can be NAME,
> SHORT_NAME, DESCRIPTION, and FORM_NAME for data elements), locale, value.
>
> Even for contained objects like legends, you still translate in the same
> way, just add a array called translations on the legend, and fill in your
> props.
>
> > created/lastUpdated should not be gone, I think thats a bug, I will look
>> into it.
>> From this, we understand that the lastUpdated and created timestamps
>> also must be available along with lastUpdatedAtClient and createdAtClient
>> timestamps in the response. Could you confirm if it is true.
>>
>
> Both created, createdAtClient, lastUpdated, lastUpdatedAtClient will be
> there. Created/lastUpdated will be read-only, while *AtClient can be
> changed by the client (mostly for usage in offline systems)
>
>
>>
>>  In DHIS 2.27, the enrollments and trackedEntityInstance API responses
>> are returning the lastUpdatedAtClient and createdAtClient timestamps
>> only. Because of this, we think the lastUpdated and created timestamps have
>> been renamed to lastUpdatedAtClient and createdAtClient. If this is the
>> case, we think that the data in lastUpdated and created must be migrated
>> to lastUpdatedAtClient and createdAtClient. If yes, could you point us
>> to any such migration script?
>>
>> Thanks,
>> Madhoolika/Jhansi
>>
>>
>> On Wed, Nov 22, 2017 at 8:12 AM, Morten Olav Hansen 
>> wrote:
>>
>>> Hi Jhansi
>>>
>>> Legends are now directly contained in the object where they are used, so
>>> no need to reference by UIDs anymore, translations should also be put
>>> directly in the legend payload.
>>>
>>> created/lastUpdated should not be gone, I think thats a bug, I will look
>>> into it.
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Tue, Nov 21, 2017 at 1:18 PM, Jhansi Reddy Karee <
>>> jhans...@thoughtworks.com> wrote:
>>>
 Hello Team,

 Did you get a chance to take a look at DHIS 2.27 upgrade issues?

 Thanks,
 Jhansi




 On Wed, Nov 15, 2017 at 12:14 PM, Mani Madhoolika Bulusu <
 mbul...@thoughtworks.com> wrote:

>
> Hello team,
>
> We are planning an upgrade from DHIS 2.26 to DHIS 2.27, and
> encountered the following blockers during analysis:
>
>- In DHIS 2.26, we were entering the legend translations using
>PUT '/api/25/legends/{someLegendId}/translations.json'. In DHIS
>2.27 this URL is failing with 404 error code. Could you point us to an 
> end
>point for translating the legends in DHIS 2.27?
>- In DHIS 2.27, Enrollments and TrackedEntityInstance APIs are
>returning lastUpdatedAtClient and createdAtClient timestamps instead of
>lastUpdated and created timestamps. On upgrading DHIS from 2.26 to 
> 2.27, we
>are not getting lastUpdatedAtClient and createdAtClient timestamps for 
> the
>Enrollments and TrackedEntityInstances created in DHIS 2.26. Could you
>point us to a migration script to migrate the lastUpdated and created 
> to
>lastUpdatedAtClient and createdAtClient, if any.
>
> Let us know if you need more details.
>
> Thanks,
> Madhoolika/Jhansi
>


>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp