Commit Graph

417 Commits

Author SHA1 Message Date
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
Jason Kulatunga 36902b59e1 fixing fhir-resource tests. 2023-01-16 12:54:05 -08:00
Jason Kulatunga d0c1e17896 fixing fhir-resource tests. 2023-01-16 12:42:31 -08:00
Jason Kulatunga aa8289f30a fixing fhir-resource tests. 2023-01-16 12:04:56 -08:00
Jason Kulatunga 8cbfcbfd39 fixing fhir-resource tests. 2023-01-16 10:25:01 -08:00
Jason Kulatunga 844a40fe5c fixing fhir-resource tests. 2023-01-16 10:18:18 -08:00
Jason Kulatunga d972f1fab1 adding collapse module to testing components. 2023-01-16 10:08:08 -08:00
Jason Kulatunga d8cc91d1d0 fixing tests. make we can mock FastenApiService in tests. 2023-01-16 09:55:55 -08:00
Jason Kulatunga db9f289b54 fixing tests. make sure fhirPath can handle null value. 2023-01-16 09:20:03 -08:00
Jason Kulatunga c5e2991c33 moving pipes into their own module. 2023-01-16 09:01:05 -08:00
Jason Kulatunga 18f8b36a39 fixing frontend tests. 2023-01-16 07:55:53 -08:00
Jason Kulatunga b8ea3c8f97 fixing frontend tests. 2023-01-15 11:48:43 -08:00
Jason Kulatunga b28bd3913f fixing frontend tests. 2023-01-15 11:37:26 -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 3dfce9d3a4 adding patient profile link. 2023-01-05 09:41:23 -08:00
Jason Kulatunga 6a5970682e adding loading panels. 2023-01-05 09:33:42 -08:00
Jason Kulatunga 2d8d625aa0 adding loader to medical history page. 2023-01-05 09:15:16 -08:00
Jason Kulatunga fa62b8efef adding loader to dashboard 2023-01-05 09:14:32 -08:00
Jason Kulatunga 3d1eac1682 working loading spinner component. 2023-01-05 08:38:46 -08:00
Jason Kulatunga 4294880d79 adding loading property to each component.
updated lighthouse service to handle "show_hidden" when requesting metadata sources.
2023-01-05 08:15:19 -08:00
Jason Kulatunga 396e25ce20 using hidden field instead of enabled. 2023-01-04 23:13:21 -08:00
Jason Kulatunga 15203d19be
adding search to sources page. (#18) 2023-01-03 16:30:46 -08:00
Jason Kulatunga efe5f0a0a8
update fasten-sources library. (#16) 2023-01-03 11:11:04 -08:00
Brice Ruth 5ac8b0d49d
Update CONTRIBUTING w/ production mode instruction (#15) 2022-12-25 16:33:16 -08:00
Jason Kulatunga 8598a99860 fixing condition report. 2022-12-22 19:39:09 -08:00
Jason Kulatunga c8e074ff4b
added charts (#13) 2022-12-22 18:20:56 -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 6f6183c507 make the left menu sticky. 2022-12-19 07:19:16 -08:00
Jason Kulatunga 0677a0393e disable signup/signin button when loading. 2022-12-18 22:37:50 -08:00