Giter Site home page Giter Site logo

edenlabllc / prm.api Goto Github PK

View Code? Open in Web Editor NEW
2.0 18.0 2.0 333 KB

Partnership Relations Management for Ukrainian Health Services government institution.

License: Apache License 2.0

Shell 5.48% Elixir 94.40% HTML 0.12%
partnership-relation-management prm elixir open-source ehealth government postgresql elixir-lang docker

prm.api's Introduction

PRM API

Build Status Coverage Status

Partnership Relations Management API for Ukrainian Health Services government institution.

Specification

Installation

You can use official Docker container to deploy this service, it can be found on nebo15/prm Docker Hub.

Dependencies

  • PostgreSQL 9.6 is used as storage back-end.
  • Elixir 1.4
  • Erlang/OTP 19.2

Configuration

See ENVIRONMENT.md.

License

See LICENSE.md.

prm.api's People

Contributors

alexkovalevych avatar andrewdryga avatar gmile avatar mbatrak avatar pavelvesnin avatar vsirius avatar

Stargazers

 avatar  avatar

Watchers

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

prm.api's Issues

[Public.API] Specification enhancements

  1. Add Resend Auth SMS method
  2. Add Dictionary lookups methods: Addresses, etc.
  3. Add verification status to Create Declaration request!!! In case if new phone should be verified.
  4. Remove National_id.
  5. Document type enum:
    • passport
    • national_id
    • birth_certificate
    • temporary_certificate

Logging pattern

Design and describe as a part of manifest Logging Pattern:

  • What types of events to log
  • What kind of information to collect
  • Some kind of notifications
  • Easy to use log info

etc

Revise DB entities

We a few issues right now:

  • add validations,

  • add proper embeds + embed records validation,

  • make sure all [] columns are jsonb[]

    On the DB level some fields are jsonb[] while some are jsonb, while both are arrays of maps on the app level. This should be jsonb[] everywhere on the DB level.

[CRUD] Doctors

Implement the Doctors group of methods according to the spec

It should work with the prm.employee_doctor table

[MPI/PRM] Some dates are returned in wrong format - return date as date

Reproduce

  1. Fetch doctors index endpoint:
curl http://104.155.75.171/api/doctors/
  1. See some dates for returned objects are specified in the following format:
03-03-2001

This is not correct. Expected format should follow ISO 8601. Dates in correct format, for example, should look like this:

2012-04-23T18:25:43.511Z

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.