AWS with DHIS

Hello Folks,

If anyone needs assistance in connecting DHIS2 server with Amazon Web Service, I am at your service. :slightly_smiling_face:

1 Like

Thanks @Selasie1bac,

I am wondering if this is similar to exchanging data between two systems on different servers. Since I have a case in which I need to take some data from a legacy system and post it into the new DHiS2 tracker for example when entering Patient ID @ DHIS tracker the rest of the related data like full name, age, sex, marital status will be taken from the legacy system…

Note that both systems are web-based, and both can handle API calls.

Please let me know if you can help in this case.

Thanks and regards,
Ayman

Hello @ayman.tuffaha,

What I was referring to is data exchange between is AWS and a DHIS2 server.

However, I would like to better understand your problem so we can both wrap our heads around it.

Are you looking to sending data from a legacy system to a DHIS system? If that is the case, has data in the legacy system being mapped with forms in the DHIS system? Or are you looking to synchronise the two systems?

Please help me understand the problem better.

Regards,
Selasie.

1 Like

Greetings @Selasie1bac

Thanks for your active response.
Yes, I would like to send data from the legacy system to the DHIS2 system.

I am not sure what meant by “being mapped”, I need to pull some data from the legacy system based on the patient’s national ID number entered/captured at DHIS2
For example, based on the National ID number entered I need to pull from the legacy system the patient’s birth date, sex, and marital status, … to be placed in the DHIS2 tracked without entering the patient’s birth date, sex, and marital status manually again in dhis2 tracker.

I hope this answers your question, Please let me know if u need more inquiries.

Best regards,

Hello Ayman
If I understood your case correctly, You can achieve it by writing some JavaScript code in your tracker program calling the legacy system and request data based on national id and fill the input boxes in the tracker program.
You can write your JavaScript code on Tracker Program/Attributes/Create registry form/Custom
Regards

2 Likes

Hello @ayman.tuffaha

I understand you now. From what I have read but not yet implemented is by using the following:

  1. The migration tools that can help. Migration is normally done for huge data, but in your case only API is being use perhaps because the data is not big. However, as data begins to grow, I’ll advice you integrate migration tolls such as Oracle Data Integrator, Talend or other open source migration tools. Using this method, you have to extract data from the legacy system, transform it into a format that can be imported into DHIS2, and load it into DHIS2. The data from the legacy system has to correlate with that on forms in the DHIS2 system, that is what i meant by mapping.

  2. The second option is using a script just as @LutfullahShifaa mentioned to extract data from legacy and load unto the DHIS2 system. Java scrip, python or other scripting language you are comfortable with will suffice. With that said, I can help with a python script if you wish.

I hope these suggestions help.

Warm Regards,
Selasie.

2 Likes

Thank you @LutfullahShifaa,
I will check if the legacy system supports communication through Java script, and get back to you.

1 Like

Thanks @Selasie1bac ,

It seems there are many options to implement the case, and needs discussion internally with the team to figure out the best approach.

Will get back to you with the feedback.

Sincerely,
Ayman

1 Like

Hello @ayman.tuffaha
My understanding is that when you register a record with nationa Id 1234 for example, you want to fetch few data points (date of birth, sex and …) from another system using national Id 1234. In this case you can use the option i proposed to you.

If you want to load a bunch of data from legacy system into your dhis2, there are two apps in dhis2 applications hub for your support.

  1. Import wizard
  2. Bulk load

Bests

1 Like

Thank you @LutfullahShifaa ,

I really appreciate your support, and help from @Selasie1bac this is the beauty of CoP to interact with each other.

Do you have any documentation or guidance on how to use Import wizard App?
One more thing regarding Bulk load I have searched on the App Hub but I could not find it, Please let me know if this App is available on specific versions of DHiS2 Note that I have version numbered: 2.39.1.2 .

Thanks and regards,
Ayman

1 Like

Hello @ayman.tuffaha
I don’t know if there will be any documentation about data import wizard app but the steps are very clearly stated in the app.

There you can find more information about bulk load app.

https://worldhealthorganization.github.io/Bulk-Load-blessed/index.html

I hope it solves your problem
Bests

1 Like

Hi,
@Selasie1bac
Can i get some help with the format of an example docker-compose.yml file. I cannot connect to the ip address even though my docker build is succesful. I have tried changing security group and going through solving some other possible issues too.

Thanks.