← Back to team overview

dhis2-devs team mailing list archive

Re: Custom data entry form for hospital patient registers

 

Well, in theory, you can do this with a patient attribute as Khumar
outlined. Just go to Maintainence->Patient and programs->Patient attribute
management and add a new patient attribute of type "Predefined value"

I get a null pointer exception when trying to add a patient attribute of
type "Predefined value". Your mileage may vary as I am not using the
absolute latest version of the code ( I am using rev 1705). :)

 Now, the problem that I see with this is that as far as I can tell, there
is no way to transform a patient attribute into an aggregate data element.
What I think you are asking for is a patient domain type data element, with
a predefined list as a value, which then gets somehow transformed into an
aggregate data element, through a count, depdending on what the user
selects? Is this correct?

As far as I know, this is not possible current. Attributes can theoretically
consist of predefined attributes, but data elements must be of type number,
text, yes/no or date.

Perhaps people more familiar with this model however can comment.


On Wed, Mar 31, 2010 at 2:45 PM, <damilola@xxxxxxxxxxxxxxxxxxx> wrote:

> Thanks Jason for your elaborate response.
> Please how can i achieve a predefined type for data element? I need the
> following Date, predefined as pointed out by kumar in addtion to the
> Yes/No,Number and Text.
> I appreciate your urgent response to this.
>
> Thanks
>
>
> .damilola
> GMD
>
> On Wed 31/03/10 12:52 PM , Jason Pickering jason.p.pickering@gmail.comsent:
>
> Hi there. I have come up against a similar issue in Tajkistan, where there
> is a need to record primary and final diagnosis for a patient. I must admit,
> that I do not feel DHIS2 is the correct tool for this.  Ideally, there would
> be a single data element for each, and a dropdown list of pre-defined
> diagnosis codes. In this case, they are using ICD-10 codes, which presents a
> major challenge for a single dropdown list, as there could be thousands.
>
> I personally have my reservations about using the named-based records
> module, as it stands, for this situation at this point. I think it will work
> well for pre-defined programs.We have had discussions here in Zambia with a
> major NGO on the use of DHIS2 for the male circumcision program. In this
> case, I think it works pretty well, as you know what the data elements are,
> and the mapping between cased based data and aggregate level data is pretty
> straightforward. Ideally, you would like to have a single data element in
> the patient based module, which would then map to some aggregate data
> element, rather than having 10,000 different data elements for each ICD10
> code, in the form of a yes-no box.  For instance, the ICD-10 codes for TB
> occupy the range between A15-A19. There are numerous sub-codes as well.
> Typically, all of these might get mapped to a single aggregate data element,
> for instance ("Number of cases of tuberculosis") and be of course
> disaggregated by other dimensions such as age, gender, etc. As far tell, the
> current functionality of the named-based records in DHIS will not easily
> support this workflow. Perhaps Bharath could comment on how it could be
> done. This sounds like a similar problem you are experiencing.
>
> Anyway, our plan in Tajikistan is to keep the existing patient based
> system, which is essentially an electronic medical records system, and have
> it aggregate the data into aggregate data elements, which will then be
> passed upwards from facility to district level. This ensures that any
> confidential patient data stays in the facility.
>
> Not sure if this helps, but I just wanted to highlight what I feel are some
> of the current limitations of the named- based records system. This may be
> based on my limited understanding of it however, which hopefully the
> documentation will clear up.
>
> Best regards,
> Jason
>
>
>
>
>
> On Wed, Mar 31, 2010 at 1:31 PM, <damilola@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> Thanks Kumar..i must have been missing stuffs out then...but i checked
>> again and i couldnt see more than Number/Text/Yes*No/Date
>> for the patientAttribute. I cant see the predefined and others you
>> mentioned. Its possible i m not patient please can you point me to
>> it???
>> I tried changing the dataDictionary setting to "extended" and the listItem
>> is still Number/Text/Yes*No.
>>
>> Do you have an instruction on how to CustomScreenDesign with
>> Javascript?...however small it is i appreciate.
>> Thanks kumar...waiting.
>>
>> .damilola
>> GMD
>>
>> On Wed 31/03/10 12:11 PM , bharath kumar chbharathk@xxxxxxxxx sent:
>> > On Wed, Mar 31, 2010 at 4:32 PM,   wrote:
>> > Thanks Jas for the astute insight.
>> > This is what i am trying to do...see the screens attached.
>> > I have tried to use the patient management as shown below. These are
>> > my challenges
>> > 1.There are quite a number of option items on the form. I know DHIS2
>> > has Yes/No but not custom listItem.
>> > I am not sure i understood correct, but for PatientAttribute can be
>> > Number/Date/Text/Bool/Predifined.
>> > Here Predefined means dropdownlist with user defined options, for
>> > ex:- Say Sex is attribute and Male,Female are options.
>> >
>> > Similarly for DataElements also we can create Multi-Dimensional Text
>> > Dataelement with user defined options.
>> >   2.There are no action attached to yes or no. like i need to
>> > display some form fields/controls if i select yes or no. I know this
>> > involves real programming.
>> >
>> > May be this can be done using CustomScreenDesign with Javascript
>> > Methods
>> >   3.I need to aggregate the register into the summary form.
>> > Whats your advise on these???
>> > .damilola
>> > On Tue 30/03/10  7:26 PM , Jason Pickering  sent:
>> > > Just a note of caution here. It is not so straightforward as a
>> > simple
>> > > count aggregation (although I have written a blueprint for a count
>> > > aggregator in the normal datamart operation as well). In some
>> > cases,
>> > > it may be a combination of a count and a sum. For instance, you
>> > may
>> > > have multiple patient level data elements that map into a single
>> > > aggregate level data element (consider TB ICD 10 codes for example
>> > > which might map into a single aggregate level data element of
>> > "Number
>> > > of TB cases").
>> > > I think they are working on it, and I will help Bharath with the
>> > > documentation as well, so hopefully we will have something quite
>> > > soon.
>> > > On Tue, Mar 30, 2010 at 7:50 PM,   wrote:
>> > > Thanks! Great job Kumar! Is the AggregationEngine in 2.0.3 or the
>> > > 2.0.4RC??? i need the count(DE) for aggregator operator. I am sure
>> > i
>> > > saw it somewhere but cant remember where. is it something you can
>> > > help figure out???
>> > > .damilola
>> > > GMD
>> > > On Tue 30/03/10  5:57 PM , bharath kumar  sent:
>> > > > On Tue, Mar 30, 2010 at 7:26 PM,   wrote:
>> > > > Dear Team,
>> > > > I have the following concerns.
>> > > > 1. I need to develop a custom data entry form from a register
>> > > having
>> > > > patient detail like patient's name, patient's address,
>> > etc
>> > > > At this moment there is no CustomDataEntryForm Design for
>> > Patient
>> > > > Registration. You can design custom screen for
>> > > Program/ProgramStages.
>> > > >
>> > > >   2. I need dhis2 to aggregate these patients counts into a
>> > > summary
>> > > > form which will be aggregate up the hierarchy.
>> > > > Very Basic AggregationEngine is developed but need lot more work
>> > > > left. Will try to prepare some documentation with screenshots
>> > how
>> > > to
>> > > > use aggregation engine, will send.
>> > > >   3. Why don't we have count in the list of the aggregation
>> > > > operator. I have *Sum, Average*
>> > > > 4. Can i use custom data entry page to create a register
>> > records?
>> > > > I have tried the following
>> > > > 1. Created the custom form using the data entry create form
>> > > wizard.
>> > > > Its not just realistic here. Foreach patient's attributes i
>> > > will
>> > > > have a data element and depending on the number of patients, it
>> > > will
>> > > > be a multiple of the available attributes which will run into
>> > > > millions of DE and its not just manageable. I know the the above
>> > > is
>> > > > used to create summary forms.
>> > > > 2. So i decided to use the patient's management modules,
>> > EVEN
>> > > > though i cannot achieve a custom layout as it appears on the
>> > form,
>> > > i
>> > > > could use the additional attributes to create more patients
>> > > > attributes.
>> > > > So then
>> > > > 1. How do i do a count of the information on the register and
>> > get
>> > > it
>> > > > appear in the cell of a custom data entry without the user
>> > > > manually entering the values over a period.
>> > > > For example on my register i have columns like 1. Name of
>> > > > client,address of client,fever cases reported within 24hrs,RDT
>> > > done
>> > > > under
>> > > > five.
>> > > > On my summary form i need the following to be auto calculate
>> > > > 1. The number of client registered
>> > > > 2. Number reported for fever cases under five
>> > > > 3. etc
>> > > > I will appreciate any assistance asap.
>> > > > Thank you.
>> > > > .damilola
>> > > > GMD
>> > > > _______________________________________________
>> > > > Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>[3] [3] [2]
>> > > > Post to     :
>> > > > Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>[4] [4] [4]
>> > > > More help   : https://help.launchpad.net/ListHelp [5] [5] [5]
>> > > > --
>> > > >
>> > > > Regards,
>> > > > Bharath Kumar. Ch
>> > > >
>> > > >
>> > > > Links:
>> > > > ------
>> > > > [2] https://launchpad.net/%7Edhis2-devs [6] [6]
>> > > > [4] https://launchpad.net/%7Edhis2-devs [7] [7]
>> > > > [5] https://help.launchpad.net/ListHelp [8] [8]
>> > > >
>> > > >
>> > > _______________________________________________
>> > > Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>[9] [9]
>> > > Post to     :
>> > > Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>[10] [11]
>> > > More help   : https://help.launchpad.net/ListHelp [11] [12]
>> > > --
>> > > --
>> > > Jason P. Pickering
>> > > email:
>> > > tel:+260968395190
>> > >
>> > >
>> > > Links:
>> > > ------
>> > > [3] https://launchpad.net/%7Edhis2-devs [12]
>> > > [4] https://launchpad.net/%7Edhis2-devs [13]
>> > > [5] https://help.launchpad.net/ListHelp [14]
>> > > [6] https://launchpad.net/%7Edhis2-devs [15]
>> > > [7] https://launchpad.net/%7Edhis2-devs [16]
>> > > [8] https://help.launchpad.net/ListHelp [17]
>> > > [9] https://launchpad.net/%7Edhis2-devs [18]
>> > > [11] https://launchpad.net/%7Edhis2-devs [19]
>> > > [12] https://help.launchpad.net/ListHelp [20]
>> > >
>> > >
>> > --
>> >
>> > Regards,
>> > Bharath Kumar. Ch
>> >
>> >
>> > Links:
>> > ------
>> > [3] https://launchpad.net/%7Edhis2-devs
>> > [4] https://launchpad.net/%7Edhis2-devs
>> > [5] https://help.launchpad.net/ListHelp
>> > [6] https://launchpad.net/%7Edhis2-devs
>> > [7] https://launchpad.net/%7Edhis2-devs
>> > [8] https://help.launchpad.net/ListHelp
>> > [9] https://launchpad.net/%7Edhis2-devs
>> > [10] https://launchpad.net/%7Edhis2-devs
>> > [11] https://help.launchpad.net/ListHelp
>> > [12] https://launchpad.net/%7Edhis2-devs
>> > [13] https://launchpad.net/%7Edhis2-devs
>> > [14] https://help.launchpad.net/ListHelp
>> > [15] https://launchpad.net/%7Edhis2-devs
>> > [16] https://launchpad.net/%7Edhis2-devs
>> > [17] https://help.launchpad.net/ListHelp
>> > [18] https://launchpad.net/%7Edhis2-devs
>> > [19] https://launchpad.net/%7Edhis2-devs
>> > [20] https://help.launchpad.net/ListHelp
>> >
>> >
>>
>>
>
>
> --
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+260968395190
>
>


-- 
--
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+260968395190

Follow ups

References