← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Program - Error in Registration

 

Thank you Abyot, it does work.

And now we want to move a bit ahead. In the provider training program we
also want to keep the information of trainer/worker.
(Trainer/worker will registered into the system in a similar manner as
provider was registered.)

The provider was selected from the list, now in the new form we have some
information like

ProviderCode (Already filled)
ProviderName (Already filled)
TrainerCode
TrainerName


How can we add up trainer information in it from the existing list.

Trainer/Worker is also unique in the entire system, so it does not allow to
enter any existing Trainer here.

I know we can add relations, but  relations are maintained in system
irrespective of a program and remains the same and it does not identify
uniquely which trainer trained in which program.

And same is the case when adding an existing provider to another patient
program. We can use the same patient and details for other project, but how
to add an existing provider to it.

Any hint on how can we achieve this?




On Tue, Jun 16, 2015 at 10:35 PM, Muhammad Tahir <mtagb09@xxxxxxxxx> wrote:

> Thanks Abyot for the hint, I'll try it and share the results soon.
>
> On Tue, Jun 16, 2015 at 5:51 PM, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
>
>> Hi Muhammad,
>>
>> I am not sure I understood what you wanted to do:
>>
>> 1. You have two programs - provider and provider training
>> 2. You registered a provider under the provider program
>> 3. Now you wanted to use the registered provider and register it again in
>> training program
>>
>> Is this what you wanted to do? If true, then you can do number 3 from the
>> provider's dashboard. Just click on the provider from the list, and it will
>> take you to the dashboard. From this dashboard - you should see a program
>> selection at the top. If you select your new program (which you called
>> provider training), you will have a chance to put additional details in the
>> "Enrollment Widget".
>>
>>
>>
>> On Tue, Jun 16, 2015 at 2:38 PM Muhammad Tahir <mtagb09@xxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> I have created a program to register all the providers at organization
>>> unit level and have registered some providers.
>>>
>>> Provider has some details for input, i.e Provider Code (A unique value
>>> in whole system), Provider Name etc.
>>>
>>> Now created another program that is provider trainings. Now want to
>>> select the same provider in that area (org unit) and register provider for
>>> trainings, but getting the error "Error in Registration".
>>>
>>>
>>>
>>>
>>>
>>> --
>>> *Regards,*
>>> *Muhammad Tahir*
>>>  _______________________________________________
>>> 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
>>>
>> --
>> ----
>> Thank you,
>> Abyot
>>
>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>



-- 
*Regards,*
*Muhammad Tahir*

Follow ups

References