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
- Save a PlanDefinition resource without a library
- Run the bash _refresh.sh tooling and receive an error
Expected behavior
For the PlanDefinition to be processed when it does not have a library.
Desktop (please complete the following information):
- OS: Macbook M1
- Java Version = 8
Additional context
Link to the repo and branch I am having the issue: https://github.com/alphora/bmj-content-r4/tree/Hypertension-implementation