Commit Graph

66 Commits

Author SHA1 Message Date
Jason Kulatunga 862e3d6ea7 pass in the event bus to the DatabaseRepository for notifications. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 0a9eb88b1b
fixing module name (fasten-onprem vs fastenhealth-onprem) 2023-08-27 17:09:46 -07:00
Jason Kulatunga 9a4dcf9852 adding tests for dashboard settings
fixing database persistence for settings.
using reflection instead of abusing AppConfig for parsing UserSettingsEntries to UserSettings struct.
2023-08-25 08:36:12 -07:00
Jason Kulatunga 31479a4fc4 adding support for user settings (Remote Dashboard Locations) 2023-08-25 08:36:12 -07:00
Jason Kulatunga 3fe72918fd
adding ability to count by wildcard (source_resource_type).
internal fields like `id`, `source_id`, `source_resource_id` and `source_resource_type` are now queryable via keyword type.
2023-08-23 12:24:08 -07:00
Jason Kulatunga 2a8b302319 fixing tests. 2023-08-17 17:19:26 -06:00
Jason Kulatunga 3c30298b7c fixing tests. 2023-08-17 17:19:26 -06:00
Jason Kulatunga 2f292397f7 where possible store the SourceURI with the resource.
requires updated version of Fasten sources (better Binary compatibility)
2023-08-17 17:19:26 -06:00
Jason Kulatunga b3a173df01 working aggregation code 2023-08-14 17:23:36 -06:00
Jason Kulatunga 6f56fa9c3b working aggregation code.
added tests for sql generation.
2023-08-14 17:23:36 -06:00
Jason Kulatunga 2c5133bef7 adding testing framework for Aggregation code.
WIP.
2023-08-14 17:23:36 -06:00
Jason Kulatunga 410696c26f adding pagination to the explore page. fixes #216
simplified fallback component for table list
2023-08-12 10:27:46 -06:00
Jason Kulatunga 0397a2f0cb sort all resources by "sort_date" column during query
return units when querying
rename all usages of "source" page to "explore"
adding new explore page.
fix dashboard widgets to correctly
2023-08-08 21:08:17 -07:00
Jason Kulatunga 28cb91817a
make sure sortTitle and SortDate are correctly set when extracting searchParamters
Failures during searchparameter extraction should not cause the resource to be skipped.
Update searchparameter extraction to correctly handle Time objects
Update searchparameter extraction to default to nil if empty list is returned during extraction.
2023-08-01 20:29:35 -07:00
Jason Kulatunga 9e776c60b8 make sure HumanName and Address types are correctly extracted as searchable strings.
Make sure they can be searched against using the query endpoint.
2023-07-31 18:46:52 -07:00
Jason Kulatunga f1b7e80e13
make sure that we print the error response body if we can.
Added an update source method.
After sync, if sourcecredential access token/refresh token has been updated make sure we store it int he database.
2023-07-20 21:43:37 -07:00
Jason Kulatunga 12cfcaee41
make sure that the sourcecredential interface is a pointer reciever. 2023-07-14 19:52:02 -07:00
Jason Kulatunga f1f2da2dd3
Widget Dashboard Queries using extracted Search Parameters (#179) 2023-07-08 07:43:30 -07:00
Jason Kulatunga 2eced4fe91
Storybook Integration for Component testing. (#142)
Co-authored-by: Serinus1 <junkmayle670@yahoo.com>
2023-05-05 09:06:33 -07:00
Jason Kulatunga 2e53ce79c7
make sure we can dynamically generate directed graph relationships on… (#131) 2023-04-22 22:08:58 -07:00
Jason Kulatunga 01b6cc3aee
started working on DICOM support (stored in Media object) (#116) 2023-04-04 19:25:48 -07:00
Jason Kulatunga 390cea6108
adding a glossary endpoint which attempts to get patient-friendly descriptions from code. (#120) 2023-03-21 08:04:43 -07:00
Jason Kulatunga e68900b1bc make sure we handle error if the current user is invalid. 2023-01-15 11:07:41 -08:00
Jason Kulatunga cdf7f83777
UI Tweaks (#32) 2023-01-15 10:25:46 -08:00
Jason Kulatunga f903c38b55
adding support for Composition resource type (Custom grouping) (#20) 2023-01-10 19:23:47 -08:00
Jason Kulatunga ba333fce42 make sure sortTitle and sortDate is stored with every resource in the database. 2023-01-07 09:41:43 -08:00
Jason Kulatunga d0f87c4381 added tests to ensure that implementation stays in sync with interfaces from fasten-sources lib. 2023-01-03 20:50:43 -08:00
Jason Kulatunga 918c856338 adding allow_unsafe_endpoints config option.
adding flattend resource graph.
adding Reciprocal resources
adding a report labs page.
2022-12-21 19:51:02 -08:00
Jason Kulatunga 6fd69575d1
Better Reporting (#12) 2022-12-17 15:10:19 -08:00
Jason Kulatunga e8981ff9bb simplify the Source-patient query to work in Postgres.
Make sure that we can handle auth_username provided by context object (in cloud).
2022-12-03 19:16:32 -08:00
Jason Kulatunga 0d57a75890 updating database interface.
Using public database fields.
2022-12-03 12:48:35 -08:00
Jason Kulatunga 492d2a7efb make the SqliteRepository accessible so we can inherit. 2022-12-03 11:08:14 -08:00
Jason Kulatunga e360369706
begin restoring Sqlite functionality. (#11) 2022-12-02 19:40:58 -08:00
Jason Kulatunga bcb3f58d6e get full name information, make sure its displayed in the UI.
added a white on transparent banner image.
2022-11-03 22:24:30 -07:00
Jason Kulatunga 032946100c
working backend changes to generate JWT tokens during signin and signup. (#9) 2022-11-02 00:12:54 -07:00
Jason Kulatunga f0f37cd738 adding a new configuration for "cloud_sandbox" - used for AWS bucket.
consistent couchdb creds.
removed metadata endpoint and config.
ensure that the couchdb endpoint can be relative or absolute url. added tests for relative vs abs urls.
2022-10-28 19:01:20 -07:00
Jason Kulatunga 947586c71d fixing genreated mock database.
fixing time on toasts.
2022-10-12 19:01:43 -07:00
Jason Kulatunga 8f933e626d cleanup config files and messages. 2022-10-09 12:30:26 -07:00
Jason Kulatunga f2bb44e8be refactor backend to remove all storage logic. Just auth and metadata endpoints now.
Adding docker image for couchdb and addign docker-compose file.
2022-10-08 19:40:33 -07:00
Jason Kulatunga 61ed115dae fixing breadcrumbs
make sure patient is sent with SourceSummary.
2022-09-25 18:35:36 -07:00
Jason Kulatunga cd6a0fb68f working getResourceBySourceId query and api. 2022-09-25 16:57:30 -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 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 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 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 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