← Back to team overview

dhis2-devs team mailing list archive

Re: Separate attribute for separate entities

 

Hi Nayeem,

thanks for the feedback, and this is an interesting question.

A decent workaround if you need to collect the same attribute for two
different programs is simply to define the exact same attribute for those
programs.

We have been considering for a while to associate attributes with tracked
entities. The benefit of this is added flexibility. The downside is added
complexity and potential confusion, e.g. if you have defined attributes for
both the tracked entity and the program - then which ones win? Anyway, if
enough people request this we might do it ;)

regards,

Lars


On Tue, Feb 9, 2016 at 2:24 PM, Nayeem Al Mifthah <n.mifthah@xxxxxxxxx>
wrote:

> Dear Abyot
>
> It will good if we can register entities with common profile which are not
> associated with any program for same entities. But different profile for
> different tracked entity type.
>
>
> I want to give you one use case and another case where we are interested-
>
>    - We have maternal health program and TB program sometimes one person
>    have to enrolled in both of the programs.
>    - Also we want to use tracker capture for CRVS, which need to register
>    all personnel but not associated with any program.
>
>
> And we are in a customization phase for equipment tracker.
>
> *Nayeem Al Mifthah*
> Consultant (Team Leader of HMIS)
> Management Information System
> Directorate General of Health Services (DGHS), Bangladesh
> Supported by: UNICEF-Bangladesh
> Email: n.mifthah@xxxxxxxxx  | nayeem@xxxxxxxxxxxxxxx
> Cell:+8801914030574
> Skype: nayeem.a.m
>
> On Tue, Feb 9, 2016 at 7:08 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
> wrote:
>
>> Yes, if you want the attributes differentiated based on the entities you
>> listed then you always have to select a program when trying to register a
>> tracked entity instance.
>>
>> You will not be able to differentiate if no program is selected. To
>> manage this, what you can do is select only those that you think are common
>> - for example ID - as "attributes in no program".
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Tue, Feb 9, 2016 at 2:02 PM, Nayeem Al Mifthah <n.mifthah@xxxxxxxxx>
>> wrote:
>>
>>> Dear Abyot
>>>
>>> Thanks for your quick feedback.
>>>
>>> There are entities whom have totally different attribute.
>>>
>>> Example:
>>>
>>>    - Person
>>>    - First Name
>>>       - Last Name
>>>       - ID
>>>       - Mobile no. etc.
>>>    - Equipment
>>>       - Type
>>>       - Model
>>>       - ID
>>>       - Buying date
>>>       - Installed date etc.
>>>
>>>
>>>
>>>
>>> *Nayeem Al Mifthah*
>>> Consultant (Team Leader of HMIS)
>>> Management Information System
>>> Directorate General of Health Services (DGHS), Bangladesh
>>> Supported by: UNICEF-Bangladesh
>>> Email: n.mifthah@xxxxxxxxx  | nayeem@xxxxxxxxxxxxxxx
>>> Cell:+8801914030574
>>> Skype: nayeem.a.m
>>>
>>> On Tue, Feb 9, 2016 at 6:56 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
>>> wrote:
>>>
>>>> Hi Nayeem,
>>>>
>>>> You should be able to control which attributes to see when no program
>>>> is selected by going to Attribute -> Manage attributes with no program
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Tue, Feb 9, 2016 at 1:44 PM, Nayeem Al Mifthah <n.mifthah@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Dear All
>>>>> I have found one issue on tracker capture module to register tracked
>>>>> entity.
>>>>>
>>>>> I need separate attributes for different entities. Like one is
>>>>> 'Person' and another one is 'Equipment'. But I found same in data entry
>>>>> screen when I don't select any program.
>>>>>
>>>>> Is there any suggestion?
>>>>>
>>>>>
>>>>> *Nayeem Al Mifthah*
>>>>> Consultant (Team Leader of HMIS)
>>>>> Management Information System
>>>>> Directorate General of Health Services (DGHS), Bangladesh
>>>>> Supported by: UNICEF-Bangladesh
>>>>> Email: n.mifthah@xxxxxxxxx  | nayeem@xxxxxxxxxxxxxxx
>>>>> Cell:+8801914030574
>>>>> Skype: nayeem.a.m
>>>>>
>>>>
>>>>
>>>
>>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org/>

References