Code Monkey home page Code Monkey logo

hwc-ui's Introduction

AMRIT - Health and Wellness Centre (HWC)

License: GPL v3 branch parameter

Health and Wellness Centre (HWC) is one of the comprehensive applications of AMRIT designed to capture details of 7 Service packages as per guidelines which should be available at Health and Wellness centre.

Primary Features

  • Provide medical advice and services to beneficiaries
  • Out patient service
  • Video consultation with specialists doctors
  • Drug dispense and laboratory facility available at centre
  • More than 20 lab tests can be performed using IOT devices and data flows directly to AMRIT
  • Compliance with all 3 milestones of ABDM
  • SnomedCT, LOINC, ICD -10, FHIR compatible

Patient Visit Category

  • Ante natal care (ANC)
  • Post natal care (PNC)
  • Neonatal and infant health care services
  • Childhood and adolescent health care services including immunisation
  • Family planning, contraceptive services and other reproductive health care
  • Care for acute simple illnesses and minor ailments
  • Management of communicable diseases
  • National health programs (General OPD)
  • Prevention, screening and management of non communicable diseases (NCD)

Building From Source

This microservice is built on Java, Spring boot framework and MySQL DB.

Prerequisites

  • HWC-API module should be running
  • JDK 1.8
  • Maven
  • Nodejs v8.9.0

Installation

  • Visual Studio Code Installation Angular is a popular web development platform developed and maintained by Google. Angular uses TypeScript as its main programming language. The Visual Studio Code editor supports TypeScript IntelliSense and code navigation out of the box, so you can do Angular development without installing any other extension.

Download Visual Studio Code from the below link: https://code.visualstudio.com/download

Link for installation steps: https://www.educative.io/answers/how-to-install-visual-studio-code-on-windows-os

  • NVM Installation nvm - Node Version Manager. It is a tool that allows you to download and install Node.js. It allows you to pick and choose the Node.js version that you wish to use.

Download NVM form below link: https://github.com/coreybutler/nvm-windows/releases

Steps to download nvm and node: https://dev.to/skaytech/how-to-install-node-version-manager-nvm-for-windows-10-4nbi

Install Node.js using below command: nvm install 8.9.0

Check Node.js version: node --version

Check npm version: npm --version

Using the below command to specify the version of npm that you wish to use. In our case, since we have only one version installed. Let's go with that. nvm use 8.9.0

  • Angular CLI Installation Angular CLI is a command line tool for Angular. You can install it globally using npm with the following command: npm install -g @angular/[email protected]

  • Python Installation [ If you face any Python related error during node_modules installation] Download Python 2.7.12 Download link: https://www.python.org/downloads/

  • Setup Environment Variables

  1. Add below paths in “User Environment Variables”: %NVM_HOME% - C:\Users\myFolder\AppData\Roaming\nvm %NVM_SYMLINK% - C:\Program Files\nodejs

  2. Add below paths in “User Environment Variables -> Path “: C:\Python27 C:\Python27\Scripts C:\Users\myFolder\AppData\Local\Programs\Microsoft VS Code\bin C:\Users\ myFolder\AppData\Roaming\npm C:\Users\ myFolder\AppData\Roaming\npm\node_modules@angular\cli\bin %NVM_HOME% %NVM_SYMLINK%

  3. Add below paths in “System Environment Variables”: %NVM_HOME% - C:\Users\ myFolder \AppData\Roaming\nvm %NVM_SYMLINK% - C:\Program Files\nodejs

  4. Add below paths in “System Environment Variables -> Path “: C:\Python27 %NVM_HOME% %NVM_SYMLINK% %AppData%\npm C:\Users\ myFolder\AppData\Roaming\npm

Note: After changing environment variables, please restart your system and check again.

  • Steps to clone and setup HWC-Facility-APP:
  1. Clone HWC-Facility-App from GitHub fork branch in your local system using below command: git clone <repository-url>

  2. Open hwc-facility-app project code in Visual Studio Code

  3. Navigate to your project folder and execute below command for node_modules installation: npm install

  4. If you face any error related to ng2-smart-table, execute below command: npm install [email protected]

  5. Copy environment configuration. cp src/environments/environment.ts src/environments/environment.local.ts. Edit the endpoints, ports and IPs as per your local running services.

  6. Once node module is installed successfully, then run the project using below command: ng serve

By default your application will be available at ‘http://localhost:4200/’. You can access it in your browser.

Building war files

  1. To build deployable war files
mvn -B package --file pom.xml -P <profile_name>

The available profiles include dev, local, test, and ci. Refer to src/environments/environment.ci.template file and ensure that the right environment varaibles are set for the build.

Packing with ci profile calls build-ci script in package.json. It creates a environment.ci.ts file with all environment variables used in the generared build.

Integrations

  • Video Consultation

Usage

All features have been exposed as REST endpoints. Refer to the SWAGGER API specification for details.

hwc-ui's People

Contributors

vidyaaa24 avatar devikasuresh20 avatar drtechie avatar ravishanigarapu avatar swetatech24 avatar kpparth avatar helenkaryamsetty avatar vaibhavkhanna08 avatar parvesh755 avatar anjana2310 avatar harimohanr avatar sachitsinha1 avatar bshivani7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.