Skip to content

PlanDefinition processing appears to require a library definition when the profile doesn't require it #505

@alexisc0le

Description

@alexisc0le

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

  1. Save a PlanDefinition resource without a library
  2. 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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions