PSMRI / HWC-Mobile-App

2 stars 15 forks source link

[DMP 2024]: Offline capability with cross-device communication #2

Open drtechie opened 6 months ago

drtechie commented 6 months ago

Ticket Contents

Description

Digital Bharat Collaborative (DBC) is an initiative of Piramal Swasthya, the healthcare arm of the Piramal Foundation. DBC's focus areas include building a robust digital public health delivery platform, improving data-driven governance and empowering healthcare workers. Piramal Swasthya is contributing with its experience and expertise in building innovative solutions that impact at scale. Piramal Swasthya is focused on bridging the public healthcare gaps by supplementing and complementing the Government of India's vision to meet Universal Health Coverage. Piramal Swasthya is operational in 21 States in India through 35 innovative public healthcare delivery programs and has served more than 112 million beneficiaries so far.

Health and Wellness Centre (HWC) Mobile Application is developed by DBC to meet all Comprehensive Primary Health Care (CPHC) services as per the guidelines of Ayushman Bharat Digital Mission (ABDM). Health and Wellness Centres are aimed to deliver Comprehensive Primary Health Care, that includes preventive, promotive, curative, rehabilitative and palliative care, with a focus on wellness and the delivery of an expanded range of services closer to the community.

What is currently available feature: HWC Mobile App currently has the feature of offline and online capability concerning a single device, that is within a single device data stores locally (data entry of entire workflow) and synced to AMRIT server when there is a network availability.

What is not available and needed feature: Many HWCs are located in places with poor to nil network coverage. When a beneficiary visits such a centre, the data must be transferred across devices of various actors like registrar, nurse, doctor and pharmacist. In this kind of environment, data should transfer from device to device. Finally, data must be synced to the Accessible Medical Records via Integrated Technologies (AMRIT) central server from preferred devices when there is network availability.

Goals & Mid-Point Milestone

Goals

Setup/Installation

https://github.com/PSMRI/HWC-Mobile-App

Expected Outcome

Acceptance Criteria

Implementation Details

Potential tech that can be used: https://developers.google.com/nearby/connections/overview

The offline data Sync process has below 2 Workflows:

In SC-HWC, CHO can work offline or online, in case of offline when there is network availability records/data start syncing to the central AMRIT server automatically. The syncing process must be serialized, this is the order of the syncing process:

Patient Demographic records >> Visit & Vitals records >> Prescription & Case records >> Lab results/Reports records >> Pharmacy dispensed records

There are two syncing processes:

Offline Functionality in SC-HWC:

In SC-HWC workflows, CHO User has mapped to all roles (Registrar, Nurse, Doctor, Lab Technician and Pharmacist). It is the single/same mobile device and data will sync to the central AMRIT server in a serialized process.

Offline Functionality in PHC-HWC:

Whereas in PHC-HWC Workflows, each of the users is mapped to single or multiple Roles (example: Staff Nurse can be mapped to 3 Roles - Registrar, Nurse, Doctor and Pharmacist or single Role only Nurse) Therefore, in PHC-HWC Workflow in the offline environment, records/data should flow between these users (devices): Registrar (DEO) >> Nurse >> Doctor >> Lab Technician and Pharmacist in this serialized process In the syncing process, every record should maintain sync status, should be flagged as offline and online

Process Flow Diagram

From the below process flow diagram, consider the workflow process at the PHC – HWC to satisfy the use case of data exchange between Mobile devices of PHC staff in real-time without the internet.

image

Signs Specifications
Red Arrow This represents the Offline flow of data
Blue Arrow This Shows the Up-Sync of data when the user enters the network area
Purple Dotted Arrow This Shows the Down-Sync of data from the "AMRIT" server

Mockups/Wireframes

NA

Product Name

AMRIT Mobile

Organisation Name

Piramal Swasthya Management Research Institute

Domain

⁠Healthcare

Tech Skills Needed

Material-UI, RESTful APIs, Other

Mentor(s)

@drtechie

Category

Database, Mobile

shambhabya commented 5 months ago

Hello @drtechie , I am interested to work in this project, but i have knowledge of MERN stack, and creating API's in Node. So I wanted to know, if I get a chance to work on this project, in which language and frameworks will we be working on?

drtechie commented 5 months ago

Hi @shambhabya this project as you can is developed in Kotlin. Our APIs are developed using Java and Spring boot. The core work is to be done in mobile application (Kotlin)

Ritik-in-Tech commented 5 months ago

Hello @drtechie , I am interested to work on this project I have earlier also worked with mobile development in java and kotlin. So please guide me how I have to start and if possible please take a short meet so that I understood your requirements.

Ritik-in-Tech commented 5 months ago

@drtechie I have setup the projects and it runs on the physical device smoothly. Please give me some small issues which I can start working so that get familiar with the flow.

AbhimanyuSamagra commented 5 months ago

Do not ask process related questions about how to apply and who to contact in the above ticket. The only questions allowed are about technical aspects of the project itself. If you want help with the process, you can refer instructions listed on Unstop and any further queries can be taken up on our Discord channel titled DMP queries. Here's a Video Tutorial on how to submit a proposal for a project.

vivekmishra9631 commented 5 months ago

Hi @drtechie , I'm Vivek Mishra, a third-year NIT Karnataka student with a strong passion for building impactful web applications. I'm excited to express my interest in this project!

My background includes:

Full-Stack Development Experience: I honed my skills as a full-stack developer intern at aiRender for 6 months, working with JavaScript, ReactJS, Redux, Material UI and WebRTC. This experience solidified my understanding of both front-end and back-end development.

MERN Stack Expertise: In addition to my internship, I'm also a proficient MERN stack developer, comfortable working with MongoDB, Express, React, and Node.js. This versatility allows me to tackle projects with both front-end and back-end components.

My problem-solving skills are further bolstered by my achievement of a gold medal at Worldquants Brain, demonstrating my ability to think critically and find efficient solutions.

I believe my technical skills, combined with my enthusiasm for building meaningful projects, make me a strong candidate to contribute to the Uli project. I'm eager to learn more about the specific requirements and how my expertise can be utilized.

Thejas775 commented 5 months ago

@drtechie Please check your discord dm from thejas5387. Thanks

drtechie commented 3 months ago

Weekly Goals

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Week 7

Week 8

Ritik-in-Tech commented 3 months ago

@drtechie who is selected for this project?

Anksssssss commented 3 months ago

Weekly Learnings & Updates

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Week 7

Week 8

Week 9

Week 10

Week 11

Week 12