Commit Graph

63 Commits

Author SHA1 Message Date
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 ce8efdb753 making all references to EventBusListeners pointers
adding a keepalive event type.
2023-09-13 13:57:17 -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 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 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 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 495fce5696 starting to work on GroupBy aggregations 2023-08-14 17:23:36 -06:00
Jason Kulatunga 1f113cdf63
make sure reference fields are correctly extracted and stored in the DB. 2023-08-13 15:28:03 -06:00
Jason Kulatunga 4dad809f19
removing Resource. segment of FHIRpath expressions (not supported) 2023-08-13 12:30:39 -06:00
Jason Kulatunga ddbf65080d
fixing Condition onset and abatement extraction. 2023-08-13 12:21:43 -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 cb1dab738d fix backend tests 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 94fa479ff8 update the generator script for FhirResource storage. 2023-07-31 18:46:52 -07:00
Jason Kulatunga 0517f9b350 make sure we can handle HumanName and Address type objects (convert to string). 2023-07-31 18:46:52 -07:00
Jason Kulatunga 07d01fc33b
fixing tests. 2023-07-20 22:08:31 -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 a5b37159c1
- make sure that we can generate offline tokens for Epic providers (using dynamic client registration - https://fhir.epic.com/Documentation?docId=Oauth2&section=Standalone-Oauth2-OfflineAccess-0)
- when SourceCredential is sent to the CreateSource API, we'll check if dynamic client regirstion is enabled. If it is, we'll use this token to register a new client, store the client information, and geneate a new Access Token using the key pair associated with this newly registered client.
- added additional fields to SourceCredential table (registration_endpoint, dynamic_client_registration_mode, dynamic_client_jwks, dynamic_client_id)
- renamed RefreshTokens to SetTokens in SourceCredential model - to have consistent naming
- added IsDynamicClient and RefreshDynamicClientAccessToken methods to SourceCredential Model

fixes #178
2023-07-19 22:45:14 -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 50ba91ff93
differentiate error messages
adding 600+ manually downloaded logos, thanks to everyone who contributed!
2023-07-09 21:23:41 -07:00
Jason Kulatunga f0fa05c297
adding new fhir resources. 2023-07-08 17:54:19 -07:00
Jason Kulatunga f1f2da2dd3
Widget Dashboard Queries using extracted Search Parameters (#179) 2023-07-08 07:43:30 -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 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 0d57a75890 updating database interface.
Using public database fields.
2022-12-03 12:48:35 -08:00
Jason Kulatunga e360369706
begin restoring Sqlite functionality. (#11) 2022-12-02 19:40:58 -08:00
Jason Kulatunga c79dc02a1d cleanup unnecessary constants.
adding anthem sourcetypes.
2022-11-08 19:45:05 -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 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 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 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 11605aae93 added a getResources and ListResourceFhir API endpoint 2022-09-14 21:56:32 -07:00
Jason Kulatunga 360af5adee renamed usages of providerId to sourceType 2022-09-13 21:02:26 -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 e24ff1b8f6 fixing fonts.
tweaking dashboard UI
fixing medical sources component to be dynamically generated via list.
2022-09-10 14:59:13 -04:00