Commit Graph

373 Commits

Author SHA1 Message Date
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
Jason Kulatunga 639d10ef89 added logos.
restyled add sources page.
2022-12-18 15:35:02 -08:00
Jason Kulatunga 6fd69575d1
Better Reporting (#12) 2022-12-17 15:10:19 -08:00
Jason Kulatunga e360369706
begin restoring Sqlite functionality. (#11) 2022-12-02 19:40:58 -08:00
Jason Kulatunga 0259f894c9 adding credential links to sandbox builds. 2022-11-15 17:48:16 -08:00
Jason Kulatunga 586aeca565 update ucsf-health logo. 2022-11-11 15:44:05 -08:00
Jason Kulatunga 3a8495eed4 adding ability to connect sources that reuse redirect/callback uri's 2022-11-09 20:52:29 -08:00
Jason Kulatunga bb6faf4fe7 adding images. 2022-11-08 23:38:36 -08:00
Jason Kulatunga 5fc73e4cce make sure the fhir version is stored with the resource. 2022-11-08 21:46:59 -08:00
Jason Kulatunga b51dc587da using a static IV 2022-11-08 21:27:54 -08:00
Jason Kulatunga 46c0e8c805 adding pngs for amerigroup. 2022-11-08 19:52:12 -08:00
Jason Kulatunga c79dc02a1d cleanup unnecessary constants.
adding anthem sourcetypes.
2022-11-08 19:45:05 -08:00
Jason Kulatunga 0c480576a6 adding sources. reorg upsertBulk 2022-11-08 17:53:08 -08:00
Jason Kulatunga 043869a0ef using perferred response_mode as specified by provider 2022-11-07 22:05:38 -08:00
Jason Kulatunga 6f0675e176 skip encryption manager for cloud users. 2022-11-07 08:36:58 -08:00
Jason Kulatunga 3a13d2d4ac make sure that supportedResources always includes USCore resources. 2022-11-06 19:35:22 -08:00
Jason Kulatunga aa479fd655 Fetching additional referenced resources after processing.
fixing hospitalization key.
Tweaking the cerner client to use USCore resources, and then adding additional cerner specific resources.
2022-11-06 18:42:34 -08:00
Jason Kulatunga 4bc62135ea make sure resource detail breadcrumbs are clickable.
added functionality to extract resource references from raw resources.
2022-11-06 13:00:06 -08:00
Jason Kulatunga 1da64a9269 adding link to parent source in resource detail page. 2022-11-06 11:55:32 -08:00
Jason Kulatunga 4a9c52c245 fix ngIf else 2022-11-06 10:06:23 -08:00
Jason Kulatunga 8e3df5cd96 fix ngIf else 2022-11-06 09:56:46 -08:00
Jason Kulatunga 1cb848d724 adding spinner when redirected back after hello login
adding empty dashboard view.
2022-11-04 21:37:55 -07: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 c0e996dc74 tweak ui to allow signin with hello. 2022-11-02 08:58:57 -07:00
Jason Kulatunga 99af2846b9
fixing tests. (#10) 2022-11-02 00:26:54 -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 14fae4c748 tweaking idp connect and callback.
working couchdb jwt auth.
2022-10-30 21:43:22 -07:00
Jason Kulatunga e379fe989a send redirect_uri. 2022-10-30 19:56:29 -07:00
Jason Kulatunga 52802323ee using access token. 2022-10-30 19:43:28 -07:00
Jason Kulatunga 29e143c8c1 only show "connect with hello" if deployed in cloud mode. 2022-10-30 17:28:29 -07:00
Jason Kulatunga 14492b0483 working on callback, which will send the idp to the callback url to trade it for an application jwt. 2022-10-30 17:27:43 -07:00
Jason Kulatunga 6e6e050f85 fixing redirect_uri parametr. 2022-10-30 16:36:36 -07:00
Jason Kulatunga 9bdc323c01 adding support for 3rd party idp's including hello - only on cloud deployment. 2022-10-30 12:21:25 -07:00
Jason Kulatunga 5d9bfa267b fixign tests. 2022-10-29 14:05:45 -07:00
Jason Kulatunga 35ca4a4e1b fixign tests. 2022-10-29 14:00:57 -07:00
Jason Kulatunga 3973c4e003 fixign tests. 2022-10-29 13:30:20 -07:00
Jason Kulatunga 2ca6f6ad96 fixign tests. 2022-10-29 13:21:21 -07:00
Jason Kulatunga b433cf24f2 fixign tests. 2022-10-29 13:17:05 -07:00
Jason Kulatunga 8d7ddddd78 pass in the cors proxy endpoint 2022-10-29 13:07:19 -07:00
Jason Kulatunga 6dc835d080 dont try to create user database when connecting. 2022-10-28 20:45:42 -07:00
Jason Kulatunga f84cf6fd8c default config should be for local dev environment. 2022-10-28 20:39:21 -07:00
Jason Kulatunga c5949f88bd deploy to the root domain. 2022-10-28 20:23:56 -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 3a5db5452a since s3 bucket path includes /web, we dont need this conditional. 2022-10-26 23:57:46 -07:00
Jason Kulatunga 7c3fa21d9b lighthouse will provide available sources and metadata. 2022-10-26 20:02:18 -07:00