← Back to team overview

dhis2-devs team mailing list archive

Re: Greetings + new DHIS patient module

 

Dear Abyota*,*

I'm trying to follow your working on Patient module so that I've got some
questions wanna ask you like this:
*
Creating attribute group*

>
> For step 1 you can follow the approach we have in DataElements and
> DataElementGroups. At the same I would suggest for a restriction of putting
> an attribute only in one group - otherwise it will be ugly down the road.
> Because, for example in your case of permanent and temporary address
>
> Temporary Address Group
>
>    - street
>    - village
>    - province
>    - ...
>    - ..
>    - phone
>
> then Permanent Address Group arrangement of the same attributes
>
>    - street
>    - village
>    - province
>    - ...
>    - ..
>    - phone
>
> will create a problem in fetching the values ... otherwise we need to also
> store attribute group id when persisting attribute values.....I prefer to
> append something like "temp" and create slightly different attributes than
> persisting attribute group id when storing attribute values - I don't know
> others can comment on this and come up with a better suggestion.
>
>
You suggested that the attribute group and attributes which have a
relationship as one to many, didn't you? But the approach in Dataelement
management with the relationship is many to many.

Btw, you said also that *"otherwise we need to also store attribute group id
when persisting attribute values" *but its seemly opposite to *"I prefer to
append something like "temp" and create slightly different attributes
than persisting
attribute group id when storing attribute values"*.

Or I'm misunderstanding your idea?

On the other hand, Can you please explaining to me more about
*PatientIdentifier
*and *PatientIdentifierType*. What are they used for ?

Thanks !

-- 
Hieu.HISPVietnam
Good Health !

References