FHIR Chat · DeviceUseStatement error · IG creation

Stream: IG creation

Topic: DeviceUseStatement error


view this post on Zulip Rick Geimer (Apr 07 2022 at 20:07):

I have an IG with a dependency on the CQF Measures IG, and getting this error. Any ideas? @Bryn Rhodes have you seen this before?

Stack Dump (for debugging): (00:22.0858)
org.hl7.fhir.exceptions.FHIRException: Error loading XXX/.fhir/packages/hl7.fhir.us.cqfmeasures#current/package/example/Measur
e-BCSComponent.json: Unknown FHIRAllTypes code 'DeviceUseStatement'
at org.hl7.fhir.r5.context.SimpleWorkerContext$PackageResourceLoader.loadResource(SimpleWorkerContext.java:123)

view this post on Zulip Grahame Grieve (Apr 07 2022 at 22:22):

does it have a prior version warning?

view this post on Zulip Bryn Rhodes (Apr 11 2022 at 15:10):

What version is #current resolving to in the log? That is a known issue with the latest released version, but has been addressed in the CI build (well, addressed as in commented out the use of DeviceUseStatement, there is still an issue with the publication tooling when you have a knowledge artifact that declares data requirements that use resources that have changed names, like DeviceUseStatement).

view this post on Zulip Grahame Grieve (Apr 11 2022 at 21:22):

hmm how do I reproduce?

view this post on Zulip Bryn Rhodes (Apr 11 2022 at 23:56):

Easiest way would be to just change the type and profile for this DataRequirement to DeviceUseStatement:

view this post on Zulip Bryn Rhodes (Apr 11 2022 at 23:56):

https://github.com/HL7/cqf-measures/blob/master/input/resources/Library-BCSComponent.xml#L730

view this post on Zulip Bryn Rhodes (Apr 11 2022 at 23:56):

Then run the publisher and when it tries to convert the Library from R4 to R5 it will give that error.

view this post on Zulip Grahame Grieve (Apr 12 2022 at 00:23):

fixed next release

view this post on Zulip Bryn Rhodes (Apr 12 2022 at 16:13):

Great, thank you!


Last updated: Apr 12 2022 at 19:14 UTC