-
Notifications
You must be signed in to change notification settings - Fork 23
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
PlanDefinition processing appears to require a library definition when the profile doesn't require it #505
Comments
I've checked the definition of PlanDefinition here : https://smilecdr.com/docs/clinical_reasoning/plan_definitions.html And checked the Json file for HypertensionOrderSetLogicBMJ.json I had to update the cqf-tooling to the latest version on Master "tooling-cli-3.1.0-SNAPSHOT.jar" I'm getting this at the end `0 PlanDefinition(s) refreshed, but not bundled (due to issues): [Bundle PlanDefinitions has finished - 2024-01-23 12:05:01] [Bundle Questionnaires has started - 2024-01-23 12:05:01] 0 Questionnaire(s) successfully bundled: [Bundle Questionnaires has finished - 2024-01-23 12:05:01] Press any key to resume ... The only issue I got was Unless I should get a different result, my suggestion @alexisc0le would be to retry the refresh process with the latest version of cqf-tooling (tooling-cli-3.1.0-SNAPSHOT.jar). |
After adding a name to the test case Bundle-test-case-1-1.json in that format
`daviddieppois@Davids-MBP bmj-content-r4 % /bin/bash /Users/daviddieppois/Documents/git/bmj-content-r4/_refresh.sh [Bundle Measures has started - 2024-01-25 11:03:19] 0 Measure(s) successfully bundled: Total "tests-*" files copied: 0. [Bundle Measures has finished - 2024-01-25 11:03:19] [Bundle PlanDefinitions has started - 2024-01-25 11:03:19] [pool-1-thread-77] INFO org.opencds.cqf.tooling.utilities.IOUtils - Reading activitydefinitions Bundle Test Case Files: 0 files copied for /Users/daviddieppois/Documents/git/bmj-content-r4/input/tests/plandefinition/PlanDefinition-ACEInhibitorOrAngiotensin-9159a64f8354c56-14aaae8e-Act 112 PlanDefinition(s) successfully bundled: [Bundle PlanDefinitions has finished - 2024-01-25 11:03:33] [Bundle Questionnaires has started - 2024-01-25 11:03:33] 0 Questionnaire(s) successfully bundled: [Bundle Questionnaires has finished - 2024-01-25 11:03:33] Press any key to resume ... We can see that |
Describe the bug
When trying to process a PlanDefinition, the JAVA Jar repeatedly throws an exception that the PlanDefinition is missing a Library, even though that is not a required element. The statement I get is-
java.lang.IllegalArgumentException: PlanDefinition is expected to have one and only one library.
. I have tried using the tolling version 2.4.0 and 2.5.0 and have had the same issue with both.To Reproduce
Expected behavior
For the PlanDefinition to be processed when it does not have a library.
Desktop (please complete the following information):
Additional context
Link to the repo and branch I am having the issue: https://github.com/alphora/bmj-content-r4/tree/Hypertension-implementation
The text was updated successfully, but these errors were encountered: