Hello @DoniaEsawi and @Mehul-Kumar-27. @sunbiz, myself, and the other mentors on this project are excited to be working with you on GSoC 2023! We would like to set up regular meetings, and are looking at the possibility of Wednesdays at 10 am EST. Can you kindly check your calendar and revert if this day/time would work in your location? Best, Dr. Bucher
Hello @shbucher and @sunbiz, thank you for reaching out. I am equally thrilled to have the opportunity to contribute to LibreHealth during the GSoC 2023. Wednesdays at 10:00 am EST work perfectly for me.
As the coding period has started, I have begun working on the authentication section to get started. In my proposal, I mentioned a problem that currently exists in the application. The issue revolves around the hardcoded uids of the tracked attributes and tracked entities of the NeoRoo program present at the DHIS2 server. This could pose a major problem in large-scale deployments since not all hospitals would have the same DHIS2 server and uids would be different for them, thereby restricting their access to the NeoRoo program.
To address this problem, I have proposed creating an API layer. This layer would fetch the uids of the attributes and the entity of the NeoRoo program after successful authentication from the DHIS2 server, which the user enters on the login page. If the attributes are present, this API section would store them in the application. However, if they are not present, it would proceed to create them.
Would you like me to work on this until we meet on Wednesday?