GithubHelp home page GithubHelp logo

1uphealth-cc's Introduction

1upHealth-CC

To run locally please type npm install && npm run dev and visit localhost:3000

Once again thank you for letting me do this coding challenge. My plan of attack was to first get the flow working through postman. The 1upHealth postman collections were extremly helpful in this step. Once I got the flow of patient -> Oauth Token -> Access Code -> $everything data, the next step was to build the api to retrive and just output the raw data.

Once I got the general flow working, the next step was converting the data to something human readable. I noticed each of the resource types for Jason Argonaut had a different structure, thus I analyzed the json data of all 305 entries and found 12 distinct types of resources. Thus I generated types for all them using a tool (as such there are a lot of overlaps in types and the naming might be weird), and using the types, I managed to map certain values that I deemed the most important to display on the front end.

API Endpoints:

URL: http://localhost:3000/api/patientInfo
Method: GET
Params:
Optional:
accessToken=[string]
patientID=[string]
Outputs:
Patient Profile Info

URL: http://localhost:3000/api/patientData
Method: GET
Params:
Optional:
skip=[number]
accessToken=[string]
patientID=[string]
Outputs:
$Everything query with the results mapped to a {type: string, details: JSON}

1uphealth-cc's People

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.