Commit Graph

125 Commits

Author SHA1 Message Date
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 349b627845 remove the CreateSource endpoint from backend api. 2022-10-06 17:57:31 -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 22f478a6e8 fixing build. 2022-09-27 22:23:40 -07:00
Jason Kulatunga 655e63ed2b make sure the seeded db is available in the container. 2022-09-27 22:14:01 -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 53e1574a0c remove quemu/multiarch docker builds. 2022-09-27 08:44:12 -07:00
Jason Kulatunga 159323a008 force use npmjs registry 2022-09-27 08:28:11 -07:00
Jason Kulatunga 7acbb8148c force use npmjs registry 2022-09-27 08:27:06 -07:00
Jason Kulatunga c473ee7e47 try to fix timeout for Yarn on GH Actions. 2022-09-27 08:13:48 -07:00
Jason Kulatunga 1ed02a3a70 make sure we copy the yarn lockfile into the repo. 2022-09-27 07:56:03 -07:00
Jason Kulatunga e043985e7f fix Dockerfile path. 2022-09-27 07:53:00 -07:00
Jason Kulatunga e83c6f908e
Merge pull request #4 from fastenhealth/ci_test 2022-09-27 07:48:51 -07:00
Jason Kulatunga 4d9ea2bfff adding a docker build job. 2022-09-27 07:47:50 -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 35a9025349 fixing Dockerfile. 2022-09-26 22:16:58 -07:00
Jason Kulatunga 30cb696dff fixing config file.
fixing Dockerfile.
2022-09-26 22:14:29 -07:00
Jason Kulatunga bca11bdf87 adding test for logica. 2022-09-26 20:50:34 -07:00
Jason Kulatunga e7701be572 fixing fhir test. 2022-09-26 19:52:55 -07:00
Jason Kulatunga 631bb9bdcd fixing db path in tests. 2022-09-26 19:50:00 -07:00
Jason Kulatunga 7e773ce2c1 removing unused code. 2022-09-26 19:01:02 -07:00
Jason Kulatunga 458a1e17ed testing CI. 2022-09-26 18:54:54 -07:00
Jason Kulatunga d765b03808 added ci. 2022-09-26 18:42:33 -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 8e188144cd adding closed source license. 2022-09-25 09:53:25 -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