Commit Graph

446 Commits

Author SHA1 Message Date
Jason Kulatunga d427f79ffc
adding icons and updated dashboard.
Added new way to register widgets with Gridstack (comes from widgetModule directly)
2023-10-13 18:26:32 -07:00
Jason Kulatunga 90b08b8e3f
update fasten-sources v0.4.5 2023-10-13 17:03:22 -07:00
Jason Kulatunga 30fe42825f
update bluebutton/medicare logo and VAHealth logos. 2023-10-12 16:52:55 -07:00
Jason Kulatunga a6edb24aa0
move registration code into the sourceCredential.
Added ability to Reconnect/Update source
make sure re-connect function is disabled for manual sources.
2023-10-11 20:43:27 -07:00
Jason Kulatunga c590663537
adding ability to delete source + associated records. 2023-10-11 07:54:18 -07:00
Jason Kulatunga fa1003b1e3
adding logos from updated fasten-sources. 2023-10-10 15:40:45 -07:00
Jason Kulatunga cae3afce72
adding ability to submit support tickets in-app.
added logos to the patient profile menu
added link to fundraising doc in-app
update fontawesome version.

fixes #272
2023-10-09 16:38:17 -07:00
Jason Kulatunga bbf5169a44
make sure background jobs status is updated every minute. 2023-10-09 11:28:35 -07:00
Jason Kulatunga dcabfc8cd9
Background Jobs (#266) 2023-10-08 16:29:26 -07:00
Jason Kulatunga aee2d5c9f7
Update fasten-sources (extract Contained resources)
EOB code extraction
2023-10-05 20:20:41 -07:00
Jason Kulatunga d09d4adb48
update reference model datatype (include identifier model) 2023-10-04 17:50:48 -07:00
Jason Kulatunga d43e3d0def
center the pagination block. 2023-10-03 19:38:24 -07:00
Jason Kulatunga 1fda51074e
finishing pagination for medical history page. 2023-10-03 17:27:08 -07:00
Jason Kulatunga f26447c3fc
make sure the currently selected report is highlighted. 2023-10-03 13:21:33 -07:00
Jason Kulatunga 8e39cf60a7
include report information in the header if filtered to report. 2023-10-03 13:05:48 -07:00
Jason Kulatunga 74a3fd4b4e
lab report filtering is working. 2023-10-02 22:36:57 -07:00
Jason Kulatunga 61528ac643
paginated lab results page. 2023-10-02 20:43:24 -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 f3b1c7e283
fixing dashboard widgets with built-in queries containing aggregations. 2023-10-02 14:37:57 -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 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 c258ab44d4
adding filter and sort dropdowns on Lab page. 2023-10-01 13:16:44 -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 df8890c794
fixing dropdown button. 2023-09-11 12:49:05 -07:00
Jason Kulatunga 067f7d99cf
fixing explore button link. 2023-09-11 12:39:50 -07:00
Jason Kulatunga e161a64b32
trying to fix frontend build 2023-09-10 20:27:33 -07:00
Jason Kulatunga 3da2f80720
fixing missing dependency. 2023-09-10 10:19:50 -07:00
Jason Kulatunga dc7d5a5424
adding explore button to modal popup
fixes #250
2023-09-10 09:39:23 -07:00
Jason Kulatunga 8b6c321e8e consolidate event bus methods in EventBusService. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 2b0a1e0d6d working updates. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 3c02bede7a working updates. 2023-09-10 09:25:15 -07:00
Jason Kulatunga b2bff9ccdd removing content type ehader from event bus connection. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 74fc682dbf renamed sse endpoint to events. Using the technology name in the API isnt a good idea. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 1646cec253 fixing test. 2023-09-07 16:58:26 -07:00
Jason Kulatunga 7dc0318931 adding loading spinner to desktop callback.
make sure modal popup is closed in sources window when app is redirected.
2023-09-07 16:58:26 -07:00
Jason Kulatunga 0ce1b3f20f adding a desktop callback page, for event propogation to desktop windows. 2023-09-07 16:58:26 -07:00
Jason Kulatunga 206d9479fc moving open external link functionality into shared lib. 2023-09-07 16:58:26 -07:00
Jason Kulatunga 6691837797 fix relative links, 2023-09-07 16:58:26 -07:00
Jason Kulatunga bf03a987f3 make sure that the dynamically populated text boxes (with content from NHS) correctly opens links in external windows. 2023-09-07 16:58:26 -07:00
Jason Kulatunga 80d3f680a5 ensure that all external links (other than Source OAuth/SmartOnFire) open in an external window. 2023-09-07 16:58:26 -07:00
Jason Kulatunga d519684055
fixing storybook tests. 2023-09-05 20:30:21 -07:00
Jason Kulatunga bb9f4632b3
fixing frontend tests. 2023-09-05 19:58:24 -07:00
Jason Kulatunga 786f2f6f5e
fixing tests 2023-09-05 19:26:03 -07:00
Jason Kulatunga f5c245a0e2
fixing tests 2023-09-05 19:18:20 -07:00
Jason Kulatunga 78677961d5
Adding Address information for Location table. 2023-09-05 10:17:44 -07:00
Jason Kulatunga c063c654df
adding Organization Practitioner explore table data. 2023-09-05 09:47:45 -07:00
Jason Kulatunga d9564eb31c
adding CareTeam, Device, Binary and Location infomration to Explore tab. 2023-09-05 09:21:12 -07:00
Jason Kulatunga 84bcf41735
using codableConcept formatter with OhHeyAlan's pr. 2023-09-05 08:30:33 -07:00
OhHeyAlan 25f37f37b9
Update list-document-reference.component.ts
Current shows mostly "unknown". This accurately reflects the category for all docs.
2023-09-05 08:30:24 -07:00
Jason Kulatunga 9be431c2a6
adding support for popup-auth (disabled by default in all envs). 2023-09-05 07:30:10 -07:00
Jason Kulatunga ad83fa7ae1
adding explore functionality to header.
make sure explore resource list has a pointer cursor.
when report header doesnt return a patient, handle gracefully.
when explore page has no connected sources, correctly display empty page.
2023-08-31 00:08:35 -07:00
Jason Kulatunga 204ea95370
adding build-frontend-desktop-prod 2023-08-29 16:15:56 -07:00
Jason Kulatunga 00d0684b57
cache location 2023-08-29 16:05:36 -07:00
Jason Kulatunga a9cb793c8a split frontend routing config from backend config.
Added method to use embedded frontend routing.
rename desktop config to desktop_sandbox config.

adding desktop_mode (used for Wails Desktop app + hash based routing)
make sure all `window.location` parsing works correctly with desktop_mode
2023-08-28 18:36:32 -07:00
Jason Kulatunga 011cfa37e6 fixing build commands. make sure that we can build a desktop flavor of the UI. 2023-08-27 13:59:23 -07:00
Jason Kulatunga c9b482d668
fixing token expiration time (can be number or string), make sure we parse it correctly. 2023-08-25 15:48:52 -07:00
Jason Kulatunga b351919096
fixing some tests. 2023-08-25 15:38:50 -07:00
Jason Kulatunga 8b33c6d34a adding examples and documentation links. 2023-08-25 08:36:12 -07:00
Jason Kulatunga 349863211d handle errors better.
add dashboard location validation.
2023-08-25 08:36:12 -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 cb6cb1d2c5 adding the ability to add one custom dashboard at a time.
make sure source information is automatically populated for remote dashboards
adding modals to add dashboard via UI
addign modals to edit
make sure we can switch between dashboards.
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 dbc2f49d86
make sure that we can filter by platform in the left menu. 2023-08-22 18:11:41 -07:00
Jason Kulatunga 3db12ee4b8
adding information about the unsafe endpoints.
Dashboard locations should be added to settings table.
2023-08-21 17:20:17 -07:00
Jason Kulatunga 97f15d52b3
adding popover info for General Practitioner/Primary Care. 2023-08-17 18:32:15 -06:00
Jason Kulatunga 5b0144118e
style fixes (right-clickable links)
related #192
2023-08-17 17:32:16 -06:00
Jason Kulatunga 4e7560f980 fixing resource links. 2023-08-17 17:19:26 -06:00
Jason Kulatunga 43cc6b4559 make sure the diagnostic report correctly embeds attachments.
Make sure that Binary resource types with fully qualified urls identifier are handled correctly (base64 encoded url is the ResourceID).
Update fasten-sources version.
2023-08-17 17:19:26 -06:00
Jason Kulatunga 936af443bd
disable client-side sorting in explore tables. 2023-08-14 17:50:21 -06:00
Jason Kulatunga b3a173df01 working aggregation code 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 b4ee83b0a1 make sure explore page loading animation is present until all source lookups are complete. 2023-08-12 10:27:46 -06:00
Jason Kulatunga 169dc28776 Practitioner UI tweaks. 2023-08-12 10:27:46 -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 83114f0067 UI updates. 2023-08-12 10:27:46 -06:00
Jason Kulatunga f94f29da52 cleanup html attachments.
fixing attachment titles.
2023-08-12 10:27:46 -06:00
Jason Kulatunga 9469e29657 ui fixes for medical history page. (broken details links and [Object object]) 2023-08-12 10:27:46 -06:00
Jason Kulatunga b834d3f842
added a buffer to temporarily fix #160 2023-08-11 08:17:17 -06:00
Jason Kulatunga ba64565a06
set a min image height for medical-sources-card, to ensure SVG images are always displayed. 2023-08-11 08:13:04 -06:00
Jason Kulatunga 204d35b64b more updates. 2023-08-09 15:35:10 -07:00
Jason Kulatunga a298635f84 updates to PR213. Added codeableConcept formatter and safe chaining to table explore view. 2023-08-09 15:35:10 -07:00
OhHeyAlan 09640e50ae Update list-condition.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 20c2dd0f44 Update list-allergy-intolerance.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 13c07c7ecd Update list-diagnostic-report.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 69e0d1927c Update list-document-reference.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 22ca0837be Update list-encounter.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 1273504871 Update list-immunization.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan b1f7c4777b Update list-medication-request.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 285e1ffdb7 Update list-medication.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 1f331d8853 Update list-medication.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 45059fa8fd Update list-observation.component.ts 2023-08-09 15:35:10 -07:00
OhHeyAlan 54e644bfed Update list-service-request.component.ts 2023-08-09 15:35:10 -07:00
Jason Kulatunga d09098919c update medical sources connect flow, correctly extract Patient ID when absolute url provided.
update logos
update fasten-sources version to 0.2.5 (eclinicalworks sandbox, allscripts sandbox, allscripts Patient R4 endpoints)
2023-08-08 21:08:17 -07:00
Jason Kulatunga 568fa1ed22 rename additional usages of "source" page to "explore" 2023-08-08 21:08:17 -07: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
OhHeyAlan 80e0998a7d
Fix Displayed Age. (#201) 2023-07-29 17:28:26 -07:00
Jason Kulatunga 72062f3713
Merge pull request #198 from fastenhealth/dashboard-fixes 2023-07-27 19:06:51 -07:00
Jason Kulatunga fefb2e8277
try to extact patient id from idtoken if present (used in AllScripts). 2023-07-27 18:32:59 -07:00
Jason Kulatunga 07f0a1fbfc
in response wrapper, the error field is optional
Dashboard widget query processing is now done in the dashboard-widget.
added tests for dashboard-widget.
2023-07-26 18:54:55 -07:00
Jason Kulatunga 779948a024
moving dashboard widget processing code into its own function, so we can test it without an API call.
adding tests for dashboard widget component.
2023-07-24 20:09:46 -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 be30cb046f
better error message printing (no more [Object object]) when server error is sent. 2023-07-16 21:35:28 -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 f1f2da2dd3
Widget Dashboard Queries using extracted Search Parameters (#179) 2023-07-08 07:43:30 -07:00
Jason Kulatunga df695c7e30 fix code_challenge_methods_supported calls. 2023-05-14 13:43:23 -04:00
Jason Kulatunga 2f275dd0f7 fix code_challenge_methods_supported calls. 2023-05-14 13:43:23 -04:00
Jason Kulatunga 2d1a9bf6d1 update makefile
added storybook for medical sources card.
added shortDomain pipe + tests
2023-05-14 13:43:23 -04:00
Jason Kulatunga 8e203a5b3c working callbacks, working search filtering/facets 2023-05-14 13:43:23 -04:00
Jason Kulatunga 363dc49636 working callbacks, working search filtering/facets 2023-05-14 13:43:23 -04:00
Jason Kulatunga 4758f2adcc WIP trying to get callbacks working. 2023-05-14 13:43:23 -04:00
Jason Kulatunga 2d570850f0 adding a medical sources card - using it for medical-source-connected and medical-sources pages/component.
make sure additional fields/metadata (like aliases and category) are sent.
2023-05-14 13:43:23 -04:00
Jason Kulatunga 2db04a15da working service updates. When changing searchbox, will reset the controls.
Added resetControl function.
2023-05-14 13:43:23 -04:00
Jason Kulatunga 4c680a6c42 moved connected sources list to its own component.
adding medical sources filter component for left menu with pipe for code => category name.
filter component can exand and shrink wiht animations

TODO: clear checkbox list when query changes.
2023-05-14 13:43:23 -04:00
Jason Kulatunga 551c7cbd42 start working on a source fitlering service. 2023-05-14 13:43:23 -04:00
Jason Kulatunga f306b34795
adding images for meditech and nextgen. 2023-05-07 15:26:06 -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
Eric Lathrop 277aaccb6e
Fix grammar (#128) 2023-04-17 20:26:01 -07:00
Eric Lathrop a8cd9322d5
Make minlength on inputs match error messages (#126) 2023-04-17 20:24:00 -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 fa75594a47
make sure document references are listed in the Condition UI. 2023-03-18 08:47:20 -07:00
Jason Kulatunga f76ef5e392
fixing tests. 2023-03-17 23:21:16 -07:00
Jason Kulatunga 41cea8601f
Adding ability to attach documents (PDFs, text, notes, DICOM) to manually created conditions. (#108) 2023-03-17 20:25:55 -07:00
Jason Kulatunga 003e713ccf
fixing tests (#109) 2023-03-16 23:17:34 -07:00
Jason Kulatunga f6fb99002e
fixing issue where the wrong provider was being shown as pending connection after redirect back from lighthouse.
fixes #99
fixes #106
2023-03-16 22:36:42 -07:00
Jason Kulatunga e1fbd44e4d
add link for creating condition manually. 2023-03-14 22:49:25 -07:00
Jason Kulatunga f9d3829f64
adding badges for Google Forms (#98) 2023-03-12 11:34:36 -07:00
Jason Kulatunga 807884a758
make sure we use the brandlogo if present (which may be a .jpg or svg file) rather than the png default. 2023-03-10 19:58:01 -08:00
Jason Kulatunga b97a242e72
adding brand logo images from mturk. 2023-03-10 09:24:33 -08:00
Jason Kulatunga f2d3edbc90
Working nextgen api.
Adding platform_type key for use in filters.
fixing docker-compose file referencing couchdb.
2023-03-09 17:35:33 -08:00
Jason Kulatunga 7a730ec32b
when changing search term, we should change the results panel.
make sure we debounch search box.
2023-03-08 23:01:20 -08:00
Jason Kulatunga b87bf5e7c8
adding support for infinite scroll
removed fuse (client side search) replaced with remote search support.
2023-03-08 19:18:55 -08:00
Jason Kulatunga b1b1a1a0f5
adding support for terminiology server.
fixed #76
2023-03-06 08:13:05 -08:00
Jason Kulatunga 0fa4e78e06
adding support for terminiology server. 2023-03-06 07:59:28 -08:00
Jason Kulatunga f5b0fb59d7
add a link to create a condiiton manually. 2023-03-06 06:53:44 -08:00
Jason Kulatunga 0b176bfabc
add a link to create a condiiton manually. 2023-03-05 22:06:25 -08:00
Jason Kulatunga 5afb6ef659
Adding UI for manually creating conditions (and associated resources) (#92) 2023-03-05 21:46:55 -08:00
Jason Kulatunga 3692fd462f
adding polyfill for subtle crypto, so container can be accessed by IP (#59) 2023-02-05 18:35:14 -08:00
Jason Kulatunga 53f640d438
adding new source images from mturk. 2023-02-04 21:43:53 -08:00
Jason Kulatunga 0a5dd6af5a cleaned up some ancient dependencies. 2023-01-26 02:03:45 -08:00
Jason Kulatunga 7554f3bf9d trying to fix yarn install. forcing npm registry. 2023-01-25 21:50:22 -08:00
Jason Kulatunga e3281baf98 dont request hidden sources by default.
Upgrade to latest version of fasten-sources,
2023-01-22 12:11:55 -08:00
Jason Kulatunga 0428766ea6 throw and display error messages if Oauth token swap fails -- instead of swallowing error. 2023-01-16 21:40:32 -08:00
Jason Kulatunga f219c53be1 adding allscripts sandbox logo. 2023-01-16 20:17:09 -08:00
Jason Kulatunga 4d15affff7 finally fixed all tests. 2023-01-16 18:01:59 -08:00
Jason Kulatunga f818428dfd finally fixed all tests. 2023-01-16 18:01:42 -08:00
Jason Kulatunga a97942c954 fixing tests. 2023-01-16 17:36:54 -08:00
Jason Kulatunga a2937a42e4 fixing tests. 2023-01-16 17:30:12 -08:00