Commit Graph

95 Commits

Author SHA1 Message Date
Jason Kulatunga 86b336e489
adding ability to delete user account completely 2024-01-11 13:31:36 -08:00
Jason Kulatunga d23af018e7
Timeline based Manual Entry form (#330) 2023-12-03 18:40:16 -08:00
Jason Kulatunga 2061684aed
WIP adding medical history timeline view. (#325) 2023-11-23 08:51:01 -08:00
Jason Kulatunga a161f41998
make sure we migrate the database models. 2023-11-20 09:23:00 -08:00
Jason Kulatunga dbd868c796
adding meta prefix to all relevant meta keys. (#323)
* adding meta prefix to all relevant meta keys.
moved extractor functions into reusable script.

* adding comprensive tests and types for extracted data stored in tables.

* update with README.

* using choiceTypePaths to correctly append types to the search parameter queries.

* adding comment or `keyword` types

* better extraction of Date information.

* fix tests.
2023-11-19 11:09:23 -08:00
Jason Kulatunga 77cb81435c
Encryption At Rest (#284) 2023-11-07 15:17:00 -08:00
Jason Kulatunga 145eea6d6a
update uuid.Nil reference for special placeholder reference. 2023-10-17 20:25:23 -07:00
Jason Kulatunga 6858ae8d4c
added database migration framework. 2023-10-17 11:46:08 -07:00
Jason Kulatunga 9087f590b2
fixing test suite. 2023-10-16 21:49:15 -07:00
Nicholas Murray d154d9e811 Merge main
Picked up on most recent change with DeleteSource func
2023-10-16 07:49:45 -07:00
Nicholas Murray 8be1e34e68 backend/pkg/database: add postgres package and postgres specific db instantiation 2023-10-14 10:52:17 -07:00
Nicholas Murray c90f3c0d88 backend/pkg/database: to squash, git add renamed files 2023-10-14 10:33:37 -07:00
Nicholas Murray abbfa9a93e backend/pkg/database: move all common Gorm functionality to new files 2023-10-13 16:57:43 -07:00
Jason Kulatunga 504cd4264c
[WIP] adding factory pattern support to Database package.
Users can select database type using database.type configuration when calling NewRepository()
2023-10-12 14:19:12 -07:00
Jason Kulatunga c590663537
adding ability to delete source + associated records. 2023-10-11 07:54:18 -07:00
Jason Kulatunga e5f920c2ec
when server restarts, we should unlock all locked jobs, and set their status to failed
make sure we can customize the limit value for Background Job query.

fixes #267
2023-10-09 17:16:18 -07:00
Jason Kulatunga dcabfc8cd9
Background Jobs (#266) 2023-10-08 16:29:26 -07:00
Jason Kulatunga 1fda51074e
finishing pagination for medical history page. 2023-10-03 17:27:08 -07:00
Jason Kulatunga 345b2d5cfd
working medical history pagination
- performance improvements by using placeholder ids for graph
- only inflating with real resources once we've calculated pagination window.
2023-10-03 17:25:30 -07:00
Jason Kulatunga 21dc5ebe92
WIP paginate graph (medical history view) 2023-10-03 17:19:13 -07:00
Jason Kulatunga 595541f3a0
correctly handle query for token with system but no code. 2023-10-02 16:07:25 -07:00
Jason Kulatunga 623c9ab663
adding tests for processing aggregation parameters.
make sure frontend code uses new aggregation parameter structure.
2023-10-02 14:27:35 -07:00
Jason Kulatunga 01c293bf40
provide mechanism to call functions when doing aggregations.
provide a standardized format for token aggregation ($.system|$.code)
2023-10-02 13:42:41 -07:00
Jason Kulatunga af2344ec00
add sort_date as a DB field that can be queried.
make sure that order_by is automatically desc for date fields.
2023-10-01 19:15:24 -07:00
Jason Kulatunga 6d831f6ee7
make sure we can send limit and offset when querying.
list the diagnostic reports in the dropdown for filtering.
2023-10-01 17:05:55 -07:00
Jason Kulatunga c8718b2d8f adding NoopEventBus version. Fixing tests. 2023-09-20 14:57:05 -07:00
Jason Kulatunga b6da493d62 removed singleton eventbus. Moved to application init.
Added interface for eventbus.
verified working.
2023-09-20 14:57:05 -07:00
Jason Kulatunga 9e1c7455d1 moved event bus into its own package.
created models for event bus messaging.
added logger.
added source complete and sync events.
2023-09-10 09:25:15 -07:00
Jason Kulatunga 6a3afe150e working private event notifications. 2023-09-10 09:25:15 -07:00
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