Commit Graph

319 Commits

Author SHA1 Message Date
Jason Kulatunga be93fef13c added wizard steps to validate imported encryption keys and validate generated encryption keys. 2022-10-17 22:21:38 -07:00
Jason Kulatunga 62b795319e fix tests. 2022-10-17 20:29:04 -07:00
Jason Kulatunga 09d667b5e5 fixed logged in user. 2022-10-17 08:11:09 -07:00
Jason Kulatunga f751470a50 working encryption at rest and import/export of encryption key data.
Created a Security manager page to handle generating and importing crypto data.
2022-10-16 23:03:06 -07:00
Jason Kulatunga 75e858d0f2 working encryption at rest.
Medicare storage isnt working on first init - but Sync works fine.
2022-10-16 12:09:22 -07:00
Jason Kulatunga 58736e2695 disable global check 2022-10-15 08:27:48 -07:00
Jason Kulatunga c15e86d77f fix config. 2022-10-14 09:16:53 -07:00
Jason Kulatunga 4d04e17280 fixing CI. adding coverage information. 2022-10-14 08:51:34 -07:00
Jason Kulatunga 50d4ff35de fixing tests. 2022-10-14 08:25:26 -07:00
Jason Kulatunga fe2febed4b fixed most tests. 2022-10-13 23:47:34 -07:00
Jason Kulatunga d6e56b3800 fixed tests. 2022-10-13 23:28:26 -07:00
Jason Kulatunga 4cb8a23794 fixing tests. 2022-10-13 23:20:43 -07:00
Jason Kulatunga e27f2bd6ae fixing yarn install. 2022-10-13 08:59:25 -07:00
Jason Kulatunga c894c01687 update readme, add banner. 2022-10-13 08:44:14 -07:00
Jason Kulatunga e5daf0a7e5 added a mechanism to store updated source data in the db (after tokens have been refreshed)
refresh tokens are still broken/inconsistently refreshed.
2022-10-12 20:04:59 -07:00
Jason Kulatunga 947586c71d fixing genreated mock database.
fixing time on toasts.
2022-10-12 19:01:43 -07:00
Jason Kulatunga 9490cac8e5 fixing time spans. 2022-10-12 18:56:58 -07:00
Jason Kulatunga 4f90a9eedb provide a consistent way to retrun results from WebWorkers.
fixed Username field in login page.
added support for CORS relay
fixed spec files.
2022-10-12 18:47:12 -07:00
Jason Kulatunga 6af72266f6 better toast/notifications.
- configurable autohide
- success style
- notifications on sync ocomplete.
2022-10-12 08:53:24 -07:00
Jason Kulatunga b8112947cd WIP, writing directly to the remote DB. 2022-10-11 22:43:42 -07:00
Jason Kulatunga 53ab47531f fixing replication handler. 2022-10-11 07:27:21 -07:00
Jason Kulatunga ae9697331a working upsert logic based on upsert plugin.
Refresh token is broken again.
2022-10-10 21:56:01 -07:00
Jason Kulatunga 2401ab66c7 toast notifications 2022-10-10 18:03:00 -07:00
Jason Kulatunga 2e21176ad7 fixed standalone couchdb setup.
fixed couchdb sync.
2022-10-10 08:11:00 -07:00
Jason Kulatunga a4c5168823 typo. 2022-10-09 15:01:18 -07:00
Jason Kulatunga d89cb920af remove web.jwt.encryptionkey requirement
when running just CouchDB, make sure fasten services are not present.
added auth interceptor when session has expired.
2022-10-09 12:59:09 -07:00
Jason Kulatunga 8f933e626d cleanup config files and messages. 2022-10-09 12:30:26 -07:00
Jason Kulatunga a7daae9047 working couchdb reverse proxy behind webapp binary. 2022-10-09 09:34:57 -07:00
Jason Kulatunga 0a36a179d5 added support for pouchencryption
disabled in GetDB() function.
2022-10-09 08:54:23 -07:00
Jason Kulatunga 009a85f93e automatically attempt sync if a user has an active session. 2022-10-08 22:53:30 -07:00
Jason Kulatunga 4bc1c1db75 WORKING APP & WORKER
- very few plugins work in the Web-worker context
- authentication working
- SYNC not working
- UPSERT not working
- CORS issues AETNA
- REFRESH TOKEN ISSUES
2022-10-08 22:38:26 -07:00
Jason Kulatunga cbac02415b clean FastenAPI service. 2022-10-08 20:44:20 -07:00
Jason Kulatunga c209ce681c migrating most FastenAPI logic to FastenDB class.
Update the User object to be just username and password.
2022-10-08 20:40:15 -07:00
Jason Kulatunga f6681a8e62 tweaks. 2022-10-07 21:23:29 -07:00
Jason Kulatunga 99a9ac67d7 working app, everything except login and metadata is stored in browser storage. 2022-10-07 09:00:24 -07:00
Jason Kulatunga 17fa95008a working dashboard lookup.
fixed pouchdb plugins:
- upsert, find & crypto added (only find tested)
- added index
- using find for retrieving patients.
reorganizing package.json to move types into dev
updating tsconfig files.
TODO: fix "disabled" tsconfig entries .
2022-10-06 22:19:48 -07:00
Jason Kulatunga b13d3b78e0 removed pouchdb-find plugin, WORKING. 2022-10-06 18:30:55 -07:00
Jason Kulatunga d9038f700c removed unnecessary endpoints from fasten-api
documetnation for ligthouse.service
2022-10-06 18:07:09 -07:00
Jason Kulatunga 5b3aa03b7d working medical-sources. 2022-10-06 18:06:25 -07:00
Jason Kulatunga 054756c9b7 adding queue. 2022-10-06 18:04:17 -07:00
Jason Kulatunga 5442063c17 adding database changes & models. 2022-10-06 18:03:18 -07:00
Jason Kulatunga e031163932 fixing clients 2022-10-06 17:54:40 -07:00
Jason Kulatunga c8ffe73057 adding all clients. 2022-10-05 23:51:59 -07:00
Jason Kulatunga 7f8e592f6a adding all FHIR client methods.
Adding documentation.
2022-10-05 23:15:11 -07:00
Jason Kulatunga 6425ea48f0 adding Base64 methods
Adding tests for BaseClient
Adding Fhir401Client
Adding fixtures for BaseClient and Fhir401Client
2022-10-05 22:01:23 -07:00
Jason Kulatunga 0a5d71691f moving models down to lib dir.
adding base client to conduit lib.
adding tests
renaming all Pouchdb record references to "Document".
2022-10-05 06:38:00 -07:00
Jason Kulatunga 5a61ed15c6 begin working on web-worker support.
Migrating DB layer in Go to typescript lib.
2022-10-04 19:41:38 -07:00
Jason Kulatunga 81151c0318 fix issue with localstorage of codeverifier
make sure we update the connected list when connection successful.
2022-10-03 21:40:35 -07:00
Jason Kulatunga f03bdbd122 cleanup unused references.
simplify authorization url genreation
using fragment oauth mode to support stateless Lighthouse.
2022-10-03 20:59:26 -07:00
Jason Kulatunga 9f6e32119f added simpler logic for handling message passing between source auth window and app. 2022-09-28 22:23:52 -07:00
Jason Kulatunga 83e71d8b54 adding not implemented messages. 2022-09-27 21:36:09 -07:00
Jason Kulatunga 08ec12803e fixing header. 2022-09-27 18:03:26 -07:00
Jason Kulatunga cb431a95ff print error messages during login/signup. 2022-09-27 17:57:36 -07:00
Jason Kulatunga 36370c591d adding a sandbox configuration (to build "production-like" version connecting to sandbox).
default "showHeader" to false.
2022-09-26 22:41:39 -07:00
Jason Kulatunga e7701be572 fixing fhir test. 2022-09-26 19:52:55 -07:00
Jason Kulatunga 7e773ce2c1 removing unused code. 2022-09-26 19:01:02 -07:00
Jason Kulatunga c33bea4a30 fixing notification header.
added work in progress banners.
2022-09-26 08:03:12 -07:00
Jason Kulatunga 9e7f6b5819 adding list fallback for unknown components (so users can still see the raw data).
Make sure patient information is included in the header for the source detail page.
2022-09-25 21:02:12 -07:00
Jason Kulatunga 61ed115dae fixing breadcrumbs
make sure patient is sent with SourceSummary.
2022-09-25 18:35:36 -07:00
Jason Kulatunga 3e8b0aaffb when clicking row item, should print raw json 2022-09-25 17:14:36 -07:00
Jason Kulatunga cd6a0fb68f working getResourceBySourceId query and api. 2022-09-25 16:57:30 -07:00
Jason Kulatunga 498e4e6191 on list item click, show resource details page. 2022-09-25 16:27:54 -07:00
Jason Kulatunga 581d008f09 fix CareEvolution (now configured as a Confidential client)
fixes fastenhealth/docs#10
2022-09-25 16:13:06 -07:00
Jason Kulatunga 2ba9f3493b make sure footer sticks to the bottom of the page.
better "empty" view for sourcs

fixes fastenhealth/docs#14
2022-09-25 15:23:53 -07:00
Jason Kulatunga a37bdd9859 limit manual bundle upload to JSON files
make sure header hidden on login and signup pages.
2022-09-25 11:46:15 -07:00
Jason Kulatunga 14fd443dc4 oncomplete only runs on successful api calls,
https://stackoverflow.com/questions/33783967/rxjs-observable-doesnt-complete-when-an-error-occurs
2022-09-25 11:14:00 -07:00
Jason Kulatunga 6b5ef7f71e for confidential sources, provide way to pass patient_id back to frontend.
When GetRequest fails, print the body (may have helpful messages)
Make sure we can set the headers used by the GetRequest method per Source (BlueButton doesnt work with application/json+fhir header)

Added BlueButton Client, WIP
2022-09-24 16:46:15 -07:00
Jason Kulatunga 5f2f99a202 handle authorize claim for confidential sources.
update BlueButton image to use Medicare logo.
2022-09-24 14:19:25 -07:00
Jason Kulatunga 4afbd6f834 fixing Athena client.
fixing popup for re-sync.
2022-09-23 23:21:57 -07:00
Jason Kulatunga 564fee9e90 added athena health client.
fixed header.
added a logout/signout function.
2022-09-23 22:42:01 -07:00
Jason Kulatunga a2b77e6182 adding missing images. 2022-09-23 07:21:56 -07:00
Jason Kulatunga fa09bfafd6 adding docker image.
adding cerner client.
adding new images
using yarn for npm package management.
2022-09-21 18:57:38 -07:00
Jason Kulatunga 342cfa740b marketing updates.
make sure the oauth endpoints are configurable.
2022-09-19 20:21:22 -07:00
Jason Kulatunga 080379eabe adding more services. 2022-09-18 19:46:57 -07:00
Jason Kulatunga cc485a0615 support logica service.
update dashboard.
moved RAW API endpoint outside of the secure block.
2022-09-18 00:36:53 -07:00
Jason Kulatunga 02dcbcc507 working summary api 2022-09-17 10:14:59 -07:00
Jason Kulatunga 54016c0168 added more components. 2022-09-17 09:07:49 -07:00
Jason Kulatunga 8b9a59afbf moved resource list outlet directive into the component.
WORKING.
2022-09-17 08:35:42 -07:00
Jason Kulatunga 7bced71569 adding source summary endpoint
added generic resource list component
added resource-list outlet directive and component.
2022-09-17 00:12:12 -07:00
Jason Kulatunga 48c8873f18 creating FHIR components based on generic list
see https://github.com/synthetichealth/fhir-visualizers/blob/master/src/index.js
2022-09-16 06:58:41 -07:00
Jason Kulatunga 5f71891970 adding support for dropzone
adding support for manual  source
2022-09-15 22:26:37 -07:00
Jason Kulatunga 96a7a394ab working pattern for displaying resource data. 2022-09-14 23:53:23 -07:00
Jason Kulatunga f15bd76831 working selected resource 2022-09-14 22:16:46 -07:00
Jason Kulatunga 11605aae93 added a getResources and ListResourceFhir API endpoint 2022-09-14 21:56:32 -07:00
Jason Kulatunga 5ae77a0459 adding sourceDetail component.
make sure we 404 if an api endpoint doesn't exist.
2022-09-14 19:59:16 -07:00
Jason Kulatunga f845ae3716 make sure we wait for the token to be stored before reloading the page. 2022-09-14 08:19:28 -07:00
Jason Kulatunga 129d728d34 consistently use source_type / sourceType instead of provider_id providerId.
using LighthouseService instead of PassportService.
2022-09-13 21:15:18 -04:00
Jason Kulatunga 360af5adee renamed usages of providerId to sourceType 2022-09-13 21:02:26 -04:00
Jason Kulatunga 201b5d5df3 rename passport service to lighthouse.
working on importing SMART patient-viewer UI to angular app.
2022-09-13 20:16:33 -04:00
Jason Kulatunga 5f0bef3ccc print patient information in table view. 2022-09-12 23:18:32 -04:00
Jason Kulatunga 66a69ef97a update the sources page when connecting sources. 2022-09-12 22:16:46 -04:00
Jason Kulatunga 3811599c19 make sure we redirect to signin page if we ever get a 401 response. 2022-09-12 20:33:39 -04:00
Jason Kulatunga 87db3cf751 better error messages. 2022-09-12 17:34:03 -04:00
Jason Kulatunga b5e12c0374 fixing login page. 2022-09-12 17:07:38 -04:00
Jason Kulatunga 6aa92674bc working authentication check (via token presence in localstorage).
HTTP interceptor to always add token to header.
2022-09-12 00:58:19 -04:00
Jason Kulatunga 1a3dce77cb adding form validation on signup.
adding auth/signin and auth/signup api endpoints.
2022-09-11 23:59:13 -04:00
Jason Kulatunga ee65995e44 fixed signup page. 2022-09-11 11:52:57 -04:00
Jason Kulatunga 0a3bfca34a adding sign in and signup components. 2022-09-11 11:51:17 -04:00
Jason Kulatunga aefe96c71e added a details page (unwired)
fixed logo
print more error messages.
added aetna client.
2022-09-10 23:12:29 -04:00
Jason Kulatunga e24ff1b8f6 fixing fonts.
tweaking dashboard UI
fixing medical sources component to be dynamically generated via list.
2022-09-10 14:59:13 -04:00
Jason Kulatunga 6a8df64691 using Azia theme 2022-09-08 19:36:33 -07:00
Jason Kulatunga 81c4382e3c automatically close popup. 2022-09-01 23:09:20 -07:00
Jason Kulatunga c8441086c8 added ModelBase and OriginBase which can be used as base classes for Gorm Models.
Updated BaseClient - use Source vs ProviderCredentials terminolgy.
Updated CignaClient
Added a raw request api endpoint which can
2022-08-30 19:03:24 -07:00
Jason Kulatunga 93f04802fe working. list provider credentials. 2022-08-27 19:34:48 -07:00
Jason Kulatunga cc9c1277e0 when adding new medical provider, disable the button.
Add primary key constraint to th eProviderCredential.
Add ForeignKey/association to the ProviderCredntial.
2022-08-27 08:17:09 -07:00
Jason Kulatunga 6413de2977 working on Provider ui. 2022-08-26 20:05:19 -07:00
Jason Kulatunga adcc0e322b adding the https://github.com/creativetimofficial/black-dashboard-angular#quick-start template 2022-08-26 19:16:49 -07:00
Jason Kulatunga 41e60cd7d6 working frontend, after token swap store credential in SQLite db. 2022-08-25 21:57:29 -07:00
Jason Kulatunga 745768e2e6 working frontend, adding classes for type matching.
Added Dashboard component (will act as true dashboard from now on).
2022-08-25 21:07:33 -07:00
Jason Kulatunga e657d73e0e working frontend. adding database. 2022-08-25 18:26:29 -07:00
Jason Kulatunga 1b77e3d01b update project to angular cli 14 2022-08-25 06:41:26 -07:00
Jason Kulatunga 268fba228a include. 2022-08-25 00:30:47 -07:00
Jason Kulatunga ad2998a2d1 include. 2022-08-25 00:27:59 -07:00
Jason Kulatunga 68586c4a78 update ng cli. 2022-08-25 00:25:50 -07:00
Jason Kulatunga 9c7504e7bd wip onprem app. 2022-08-25 00:24:06 -07:00
Jason Kulatunga fb67c43a64 fixing basepath. 2022-08-22 18:35:36 -07:00
Jason Kulatunga 33390680c6 rename 2022-08-22 18:28:59 -07:00
Jason Kulatunga d46f12928e rename 2022-08-22 18:11:00 -07:00
Jason Kulatunga cc9948cd04 Initial commit 2022-08-22 17:51:46 -07:00