canvas-medical / embed Goto Github PK
View Code? Open in Web Editor NEWEmbeddable workflows to augment your patient app experience.
License: Apache License 2.0
Embeddable workflows to augment your patient app experience.
License: Apache License 2.0
Mobile | Desktop |
---|---|
![]() |
![]() |
This code will be run in front of all of our endpoints that accept a patient_id.
It takes a patient_id and a token and validates that the token belongs to that patient id.
If the keys match, the request continues.
If they do not match, return 401 unauthorized
Just add a link to the proxy README from the main README, like Nick did for Widgets
Feedback to be tackled from #13
AppContainer
popover
The proxy will use the "Client Credentials" flow. We can store the client_id
and client_secret
in environment variables
This does not include deployment to aptible yet, this is just a local dockerfile.
Our design docs provided the following config options that needed to be passed to the embeds.
Which fields are required fields?
How should the embed respond if required fields are missing?
Add rubocop to proxy code for formatting/linting purposes.
The proxy will issue requests to the FHIR API and return the results, including headers, to the requester. It should operate completely transparently.
This ticket is complete when the proxy can make and forward requests to the FHIR API.
Blocked by #18
When should we have their devs review our code? Every PR? If other, let's discuss.
What kind of integration tests should we be running? Do they have a preference?
Wk 3 or Wk 4 -- need to set up a test for embed. how do they want us to do this?
Deploy the proxy to aptible
The way that the API is built, there will be a performance issue if we have to keep hitting it for each provider. Flag for Canvas. But potentially there will only ever be 1 provider.
blocked by #17
Modify the application to accept a REDIS_URL param
rails new
api mode, no db
set up testing, set up coverage thresholds
Blocked by #21
Currently the known required endpoints are:
GET /Schedule
GET /Slot
POST /Appointment
GET /Appointment
UPDATE /Appointment
Should these be 10% darker? What's Gabriel's preference?
Standard Brand | Custom Brand |
---|---|
![]() |
![]() |
Date Picker Toggle | Forward / Back |
---|---|
![]() |
![]() |
Current | Mock |
---|---|
![]() |
![]() |
Headers - local has the following additional headers
Local does not have the following headers
Local Body has a total of 12 while the FHIR API has a total of 15
Noticed that locally, the date is today, but hitting the FHIR API, the date is tomorrow.
Wondering if that's why the totals are different in the Body -- 135 vs. 130 (local).
Not local
Local
Not local
Local
There are more Headers locally (17 vs. 11). Noticing the same date difference here as well.
There are more headers locally (again, 17 vs. 11). Same date difference as before.
Local
Not Local
Docker compose maybe?
This endpoint will accept a pre-shared key and a patient id and return a key that is scoped to that patient id
we need to be able to embed the embed code into a staging environment
Get Github Actions to build and run rspec
How do they plan on distributing the CDN?
Show options to Canvas for approval or developer decision.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.