Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Digital-Square-Tanzania/ucs-fetch-monthly-chw-status-service

Domaine:

healthcare

Type de record:

software
Créateur:
Dig
Hôte:
# CHW Monthly Status Service ## Overview This service is built using **Akka HTTP** to handle eligibility checks for Community Health Workers (CHWs) based on their activity in a given month. It exposes an endpoint that processes requests containing CHW details and responds with their eligibility status. ## Features - Built using **Akka HTTP** for high-performance, non-blocking request handling. - Uses **PostgreSQL** as the database. - Implements **Jackson** for JSON serialization/deserialization. - Provides a REST API endpoint for checking CHW monthly eligibility. ## Prerequisites Ensure you have the following installed: - **Java 11+** - **PostgreSQL** (with the required database and tables set up) - **Maven** or **Gradle** for dependency management ## Installation Clone the repository and navigate into the project directory: ```sh $ git clone github.com $ cd chw-status-service ``` ## Configuration Set up environment variables or modify `application.conf` to match your database settings: ``` DB_HOST=127.0.0.1 DB_PORT=5432 DB_NAME=your_database_name DB_USER=your_username DB_PASSWORD=your_password ``` ## API Endpoints ### 1. Check CHW Monthly Status #### Endpoint: ```http POST /chw/monthly-status ``` #### Request Body: ```json { "period": { "month": "03", "year": "2025" }, "chws": [ { "NationalIdentificationNumber": "19890823-53103-00002-23", "OpenmrsProviderId": "agakhanchw" }, { "NationalIdentificationNumber": "19890823-00898-98783-30", "OpenmrsProviderId": "NafubaCHW" } ] } ``` #### Response: ```json [ { "NationalIdentificationNumber": "19890823-53103-00002-23", "Eligible": true }, { "NationalIdentificationNumber": "19890823-00898-98783-30", "Eligible": true } ] ``` ## Building and Running the Service To build and run the service after performing the above configurations, run the following: ```sh ./gradlew clean shadowJar java -jar build/libs/ucs-fetch-monthly-chw-status-service- .jar ``` ## Deployment via Docker F …

Visit

github.com

Similaires

Digital-Square-Tanzania/ucs-hfr-integration-serviceDigital-Square-Tanzania/ucs-lab-integration-serviceDigital-Square-Tanzania/hfr-ucs-location-sync-serviceDigital-Square-Tanzania/ucs-icchw-gateway-backendDigital-Square-Tanzania/opensrp-client-chw-asrhDigital-Square-Tanzania/opensrp-client-chw-harm-reduction

Digital-Square-Tanzania/ucs-hfr-integration-service

UCS HFR integration service: receives HFR facility updates, refreshes location hierarchies, creates/

Digital-Square-Tanzania/ucs-lab-integration-service

# UCS-LAB-MODULE-INTEGRATION-SERVICE A service used to process received HIV Viral Load and DBS lab

Digital-Square-Tanzania/hfr-ucs-location-sync-service

# UCS Location Synchronization Project A Java-based application designed to synchronize health f

Digital-Square-Tanzania/ucs-icchw-gateway-backend

User management utility to handle user accounts across all UCS tools. # UCS User Management Backend

Digital-Square-Tanzania/opensrp-client-chw-asrh

# opensrp-client-chw-asrh OpenSRP client AYSRH module library

Digital-Square-Tanzania/opensrp-client-chw-harm-reduction

# opensrp-client-chw-harm-reduction OpenSRP client harm reduction module library. ## Modules - `ope