Commit Graph

83 Commits

Author SHA1 Message Date
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 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 1535f139c1 when making requests to the db, use the current user context. 2022-09-12 21:20:56 -04:00
Jason Kulatunga 87db3cf751 better error messages. 2022-09-12 17:34:03 -04:00
Jason Kulatunga d67650eaf1 make sure we parse the auth header.
make sure the token signing method is one we expect.
2022-09-12 01:03:20 -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 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 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 96465f23df adding test framework/recordings for client.
Adding generic upsert fuction for models.
2022-09-01 18:54:01 -07:00
Jason Kulatunga caa7315ad9 adding tests.
fixing go generate
updating FHIR models to version with comments.
2022-08-31 19:06:12 -07:00
Jason Kulatunga 79755d8e8b fixing composite unique index (when embedded the index is not unique).
creating a lookup table for retrieving Resource references (and generated UUIDs).
Adding organization processing.
2022-08-30 21:36:40 -07:00
Jason Kulatunga 9902daa75d make sure null is handled correctly. 2022-08-30 20:24:37 -07:00
Jason Kulatunga 05b13677a6 working serialization, storage in DB. 2022-08-30 19:55:27 -07:00
Jason Kulatunga 4c0d3c831d working on Gorm Serialization of structs. 2022-08-30 19:35:01 -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 e6944cb4ee reorganzing functions. 2022-08-28 21:32:13 -07:00
Jason Kulatunga fa714d6bff working hub with versioned fhir clients. 2022-08-28 19:09:39 -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 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 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 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