-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Missing support for externalized content when using HAPI FHIR #478
Comments
I guess one way to fix it would be to extract this clinical-reasoning/cqf-fhir-cql/src/main/java/org/opencds/cqf/fhir/cql/Engines.java Line 189 in d45dc73
|
@barhodes I can do a PR that fixes it but it will have quite the impact on the current architecture. Due the static design on CqlEngine and the switch statements for obtaining a AdapterFactory I'd prefer a discussion before heading into a PR adventure. I did the original design on e.g. https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/java/ca/uhn/fhir/jpa/starter/annotations/OnEitherVersion.java and I would suggest to head the same direction - having the version of the AdaptorFactories being bound to configs outside the CqlEngine - or at least injected into it. There isn't many Spring annotations in the existing codebase and I assume you guys would prefer it stays that way? Preferrably and overall I would suggest let the specific AdaptorFactory be constructed by Spring and let that be arried through the different places. Let me know what you think. |
@jkiddo Apologies for the delayed response. We've been discussing this internally and have a few ideas for solutions. We would like to avoid putting this logic into the Adapters themselves and are currently leaning towards adding support for the extension into the BaseFhirLibrarySourceProvider. Do you have some time next week we could meet to discuss so we can better understand what your use case is here and talk through some potential solutions? |
@barhodes would love to do so but Im on vacation the next 3 weeks. Im good doing a meeting or so the 26th. Would that work out or is that too late? |
@jkiddo That will work fine, we can schedule something when you're back. |
@barhodes when would a meeting fit you? |
Email me at brenin.rhodes@smiledigitalhealth.com and we can setup a meeting. |
Resolved by #520 |
The functionality here:
clinical-reasoning/cqf-fhir-cql/src/main/java/org/opencds/cqf/fhir/cql/cql2elm/content/BaseFhirLibrarySourceProvider.java
Line 49 in f4843b3
The text was updated successfully, but these errors were encountered: