Commit Graph

85 Commits

Author SHA1 Message Date
Jason Kulatunga cd6a0fb68f working getResourceBySourceId query and api. 2022-09-25 16:57:30 -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 61d16cfb55 fixed error where the source ID was not populated whne source is first created, causing next SyncAll command to have invalid source_id values.
Created default SyncAll function (using $everything) and SyncAllByResourceName which can be used as a fallback.

cleaned up DB layer , dont use Model unless Gorm cannot figure out the table. Use pointers consistently.
When syncing resources, store errors in a map, so that all resources get synced before returing errors
2022-09-24 22:18:07 -07:00
Jason Kulatunga 8531a028c9 move sync logic to base FHIR401 class. 2022-09-24 19:30:46 -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 734dac28f6 fix oauth token refresh.
make sure raw request query params are passed in.
2022-09-21 22:02:55 -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 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 5f71891970 adding support for dropzone
adding support for manual  source
2022-09-15 22:26:37 -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 edd8587ab2 make sure that the jwt encryption key is configurable by the end user. 2022-09-13 21:41:10 -04:00
Jason Kulatunga 360af5adee renamed usages of providerId to sourceType 2022-09-13 21:02:26 -04:00
Jason Kulatunga 87db3cf751 better error messages. 2022-09-12 17:34:03 -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 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 68eb18e64b update expired access token automatically (using refreshtoken). if updatedSource is returned from client, it must be stored in the DB. 2022-09-08 23:51:46 -07:00
Jason Kulatunga 187d72b085 added mechanism to query resources stored in DB.
Adding raw lookup from source.
2022-09-08 22:53:54 -07:00
Jason Kulatunga c9fc23e3a9 sync all resources on completion. 2022-09-08 21:14:03 -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 7a9fdfd1b9 working on Hub for retreiving data from Health Providers. 2022-08-28 10:51:58 -07:00
Jason Kulatunga 93f04802fe working. list provider credentials. 2022-08-27 19:34:48 -07:00
Jason Kulatunga cf24362806 working, on provider credential create, return created object. 2022-08-27 08:39:55 -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 e657d73e0e working frontend. adding database. 2022-08-25 18:26:29 -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