Commit Graph

468 Commits

Author SHA1 Message Date
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 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 6433de8f25
make sure refreshed token is stored in the database when making raw unsafe requests. 2023-07-30 19:51:47 -07:00
Jason Kulatunga 956368ce3c
enable latest tag for main flavor and tag.
fixes #200
2023-07-29 18:09:37 -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
packagrio-bot 60bedabe01 (v0.1.3) Automated packaging of release by Packagr 2023-07-21 05:39:54 +00:00
Jason Kulatunga 214ebfeac6
trying to use Github App Token to create release, as thsi should allow Docker image creation to work as well. 2023-07-20 22:38:08 -07:00
Jason Kulatunga c2f3970f07
trying to use Github App Token to create release, as thsi should allow Docker image creation to work as well. 2023-07-20 22:26:29 -07:00
Jason Kulatunga ae4903ec22
Merge pull request #190 from fastenhealth/epic_dynamic_client_registration 2023-07-20 22:21:37 -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 be30cb046f
better error message printing (no more [Object object]) when server error is sent. 2023-07-16 21:35:28 -07:00
packagrio-bot 879312a852 (v0.1.2) Automated packaging of release by Packagr 2023-07-16 19:57:20 +00:00
Jason Kulatunga 6eb7f5643b
fixing tag trigger 2023-07-16 12:55:35 -07:00
packagrio-bot 5e6c823b5b (v0.1.1) Automated packaging of release by Packagr 2023-07-16 19:51:59 +00:00
Jason Kulatunga d2c16bbb81
fixing tag trigger 2023-07-16 12:49:17 -07:00
packagrio-bot 40ca73ea2e (v0.1.0) Automated packaging of release by Packagr 2023-07-16 19:40:50 +00:00
Jason Kulatunga 59fd25c8e8
do not print out the issuer key in plain text. only used for debugging. 2023-07-16 09:37:46 -07:00
Jason Kulatunga e897ddc3fa
fix docker image build again. 2023-07-14 20:43:57 -07:00
Jason Kulatunga b85cb51b60
make sure we can build docker images in parallel again (no mutex via volume mount caching) 2023-07-14 20:15:36 -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 49cee9ff20
trying to fix OOM parallel build issue 2023-07-10 21:17:48 -07:00
Jason Kulatunga c8f06ea1b4
trying to fix OOM parallel build issue 2023-07-10 21:11:05 -07:00
Jason Kulatunga e34cca218d
trying to fix OOM parallel build issue 2023-07-10 09:10:05 -07:00
Jason Kulatunga e60771c992
using fasten ascii art during startup. 2023-07-09 22:15:40 -07:00
Jason Kulatunga ea26ead018
update to fasten-sources 1.15 (includes 1200+ changes to source logos + patient access urls) 2023-07-09 21:59:59 -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 7ae0546cf0
make sure that branch tags are only present if its not main. 2023-07-08 09:50:36 -07:00
Jason Kulatunga 25ae2c669c
build multiple flavors at the same time. handle tags for branches 2023-07-08 09:42:43 -07:00
Jason Kulatunga f1f2da2dd3
Widget Dashboard Queries using extracted Search Parameters (#179) 2023-07-08 07:43:30 -07:00
Jason Kulatunga 3db6c421ca
ARM7 support
adding support for ARM7 docker image builds.
2023-05-19 07:58:37 -07:00
packagrio-bot b177ccc72b (v0.0.12) Automated packaging of release by Packagr 2023-05-14 17:45:02 +00: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 8ae91494db enable CI for sandbox branch. 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