-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build out fallback strategy for when Logica is down #31
Comments
…d launch. includes functionality to present a list of resource bundles in a predefined local folder to the user, and to collect the name of one of them from the user in order to kick off a launch. for issue #31
strategy :
see https://stackoverflow.com/questions/61884285/validate-if-a-resource-matches-a-search-criteria for details all that should be required then is to be able to configure which implementation to use. this should be pretty easy as we already perform a similar operation with |
…ithClient, interfaced that, and created a new instantiating class LocalFHIRCredentialsWithClient that is geared to be backed by a local Bundle only, so no API calls are made in the local context. still need to sort out the search matching, but that's the last part. got a message out on the HAPI FHIR Google Group seeing if anyone there has any ideas. see https://groups.google.com/g/hapi-fhir/c/BneijhIFXMw/m/s_tSaRf3AAAJ for details. for issue #31
mostly complete, just need to sort this last bit with |
…d cqf-tooling dependency as it was overriding the hapi-fhir ones, copied (with license, etc.) CodeSystemLookupDictionary from cqf-tooling to COACH as that was the only reason we included that dependency. hasn't fixed the SearchParamMatcher issue, but these are good updates anyway. for issue #31
sent email to Bryn requesting assistance sorting out detached usage of |
@mattStorer FYI we shut down the Logica sandbox infrastructure permanently a couple months ago, but there are new open source solutions that would be worth integrating for users. Let me know if you want to chat... |
Logica, the sandbox repository we use for local development, can be flaky. When it flakes out, it reports no patients in any of our test repositories, which makes it impossible to conduct local testing.
this is a problem.
proposed solution is to copy one or more Logica patient resource bundles, rename their IDs, etc. appropriately, and store them locally as serialized JSON flat files in the COACH repo. Then, adjust COACH logic such that, when configured to operate in this way via some property set in application.properties most likely, to read these resources in from those flat files instead of going out to the FHIR server to get them. we would need to prevent writebacks in this case (this flat-file repository would need to be read-only), but that's okay.
to start, we just need to be able to launch COACH and have it load the UI and run recommendations in the absence of a viable sandbox to test against.
we could even possibly tweak those resources to dynamically set the dates in them, which could be good for testing (e.g. replace hardcoded timestamps with something like "{now-2m}T10:30:00Z" or something like that, where {now-2m} would get replaced with a date that is two months ago from today. this would help resolve the issue of system logic changing as time passes due to different things getting out of their respective time windows, if that makes sense. but this is a downstream need, not immediate.
The text was updated successfully, but these errors were encountered: