GSoC’21 @OpenMRS | Coding Period | Week 1
Week 1 experience !!
After discussing the project with mentors in the community period, we started with the encounter standalone launch. We faced few blockers, and we resolved them. Week 1 went smoothly, and we achieved our week’s 1st target.
Tickets I worked on:
FM2–395 : Support standalone launch for Encounter context
FM2–403 : Add Launch Type in Redirect URl
NOTE : PRs are not merged yet and may be done next week.
Work done:
FHIR Base Address support: Added support to construct the FHIR base address by passing the request parameter. This function is needed because it is important to know the endpoint of the FHIR server when it comes into production.
Encounter launch support: This is one of the primary objectives of our project. After this, the user can successfully launch the SMART App for encounter context. We created a new Authentication flow to support this functionality.
Visit select screen: To support the launch successfully, we needed a visit page where users can see all their visits (active and inactive) and choose one of them. We customized the Active visit page to achieve our goal. Here is the screen shot of new page
Week 2 Plan:
Our next task will be to implement the logout functionality. After logging out to OpenMRS will automatically end the session in Keycloak as well.