GithubHelp home page GithubHelp logo

openmrs / openmrs-esm-patient-registration Goto Github PK

View Code? Open in Web Editor NEW
4.0 54.0 29.0 2 MB

Moved to https://github.com/openmrs/openmrs-esm-patient-management

License: MIT License

TypeScript 94.37% JavaScript 3.03% SCSS 2.56% CSS 0.04%

openmrs-esm-patient-registration's Introduction

Moved

This is now part of esm-patient-management.

The old documentation follows.


Patient Registration ESM

The Patient Registration MF module for OpenMRS Version 3.0 Frontend. The Patient Registration facilitates the registration of a new patient.

Overview

The Patient Registration module consists of a configurable form consisting of multiple custom/basic inputs (fields).

Built With

Installation

Prerequisites

Setup Patient Registration Module

  1. Clone the openmrs-esm-patient-registration repo.
git clone https://github.com/openmrs/openmrs-esm-patient-registration.git
  1. Install dependencies in the root directory of the repo.
npm i
  1. Run the module from localhost:8080.
npm run serve -- --https

Setup Dev Tools

  1. Click Add new module in the dev tools window.
  2. Type in the Module Name: @openmrs/esm-patient-registration-app.
  3. Type in the Override URL: 8080.
  4. Go to the browser's development tools (e.g. via Inspect).
  5. Go to the Application tab.
  6. Go to Local Storage.
  7. Find the key: import-map-override:@openmrs/esm-patient-registration-app
  8. Update the corresponding value to: //localhost:8080/openmrs-esm-patient-registration.js.
  9. Click on the padlock/warning message next to the URL in the browser.
  10. Select the Allow option from the Insecure content dropdown in the browser settings page.
  11. Refresh the page.

Tests

To verify that all of the tests run:

npm test

Note: Run npm i before running tests for the first time.

Deployment

The master branch of this repo is deployed in a demo environment.

Configuration

This module is designed to be driven by configuration files. These files define the look and functionality required to drive the Patient Registration module.

Resources

License

The project is licensed under the MIT License - see the LICENSE.md file for details.

openmrs-esm-patient-registration's People

Contributors

brandones avatar denniskigen avatar dependabot[bot] avatar donaldkibet avatar florianrappl avatar ivange94 avatar larissaguenther avatar manuelroemer avatar nicholasjhill-tw avatar nickjhill14 avatar nmalyschkin avatar pb-tw avatar samuelmale avatar sduslu avatar seankwon avatar srishti71 avatar tejasdeshpande100 avatar trepolus avatar ujjwaltyagi355 avatar vasharma05 avatar zuckerwatte avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openmrs-esm-patient-registration's Issues

Contact Info labels not shown in edit mode

Screenshot 2020-11-25 at 10 04 10

The labels in the Contact Info section of the form are not shown when the form is launched by clicking the Edit button on the patient banner. Contrast this with the same section when registering a patient for the first time.

Screenshot 2020-11-25 at 10 13 59

It is difficult to parse exactly which fields represent what without having some form of labeling for guidance.

Also: Maybe the location.postalCode label should just read Postal Code.

Improve Styles in Registration Page

As a clinician,
I want to use a user friendly and well-designed input form,
So that I can intuitively and quickly register patients. 
h3. Context

Currently the registration form does not use state of the art styles. This can overly complicate the patient registration process.

Therefore, there is a need to make use of UX design patterns and commonly used styles.  
h3. In Scope

  • UI for fields is consistent with style guide
  • Required field interactions are consistent with style guide
  • Introduce new styles if needed

h3. Out of Scope

  • Update the official OpenMRS styleguide

h3. Acceptance Criteria

Open Patient Registration Form 

** Given want to register a new patient,
** When I open up the registration form,
** Then I am greeted with a well designed interface.

Dynamic Input Form

** Given I access the form from a small screen,
** When I see the input fields,
** Then they adapt to my screen size.

Smooth Error Messages

** Given I provoke a validation error,
** When or after inputing information into the form,
** Then I should immediately know what I have to correct according to a nicely placed error message.

h3. Resources

  • Style Guide [https://styleguide.openmrs.org/?path=/story/openmrs-styleguide--styleguide-intro]
  • Design Better Forms Article [https://medium.com/nextux/design-better-forms-96fadca0f49c]

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.