FHIR Chat · ig publisher regression error · implementers

Stream: implementers

Topic: ig publisher regression error


view this post on Zulip Sean McIlvenna (Jul 07 2017 at 20:32):

@Grahame Grieve, I believe a bug has been injected in the IG Publisher. I am trying to use the latest version of the ig publisher on the C-CDA on FHIR project. When I run the latest version of the IG Publisher, I get this error:

Validating Resources                                                             (28.0178sec)
Exception in thread "main" java.lang.Error: Can't do this right now
        at org.hl7.fhir.r4.utils.FHIRPathEngine.opMemberOf(FHIRPathEngine.java:1453)
        at org.hl7.fhir.r4.utils.FHIRPathEngine.operate(FHIRPathEngine.java:1146)
        at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:927)
        at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:908)

However, when I run the same IG through a previous version of the IG Publisher, I do not get any errors.

The error is not descriptive enough to tell me which resource it is having problems processing, or what the problem actually is. Can you take a look at this?

I am using the files from C-CDA on FHIR IG, located here: https://github.com/HL7/ccda-on-fhir

view this post on Zulip Grahame Grieve (Jul 07 2017 at 22:34):

the answer is not immediately obvious. Nothing has changed down near that code. I will have to debug it, but I can't run right now, and it will probably be 24 hours before I can

view this post on Zulip Eric Haas (Jul 07 2017 at 23:23):

FYI is not causing this error for me - just tried the latest publisher. I think I got this error a while back when playing around with the logical model.

view this post on Zulip Grahame Grieve (Jul 08 2017 at 08:40):

the answer is: someone fixed something somewhere else that was stopping this bug from occurring, Now I'll have to fix this bug

view this post on Zulip Grahame Grieve (Jul 08 2017 at 08:41):

well, I will have to implement this unimplemented feature

view this post on Zulip Grahame Grieve (Jul 08 2017 at 14:20):

I think I have implemented it

view this post on Zulip Sean McIlvenna (Jul 10 2017 at 21:48):

So, should I try again and see if it works? Is that what you're saying?

view this post on Zulip Grahame Grieve (Jul 11 2017 at 04:49):

yes

view this post on Zulip Eric Haas (Jul 11 2017 at 17:42):

updating us-core and got this new error that I have never before seen and can't debug.
Validating Resources (41.0021sec)
Exception in thread "main" java.lang.Error: Not done yet - resolve Practitioner/practitioner-1 locally
at org.hl7.fhir.r4.validation.InstanceValidator$ValidatorHostServices.resolveReference(InstanceValidator.java:196)
at org.hl7.fhir.r4.utils.FHIRPathEngine.funcResolve(FHIRPathEngine.java:2458)
at org.hl7.fhir.r4.utils.FHIRPathEngine.evaluateFunction(FHIRPathEngine.java:2117)
at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:899)
at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:913)
at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:908)
at org.hl7.fhir.r4.utils.FHIRPathEngine.evaluate(FHIRPathEngine.java:381)
at org.hl7.fhir.r4.utils.FHIRPathEngine.evaluateToBoolean(FHIRPathEngine.java:439)
at org.hl7.fhir.r4.validation.InstanceValidator.checkInvariants(InstanceValidator.java:3349)
at org.hl7.fhir.r4.validation.InstanceValidator.validateElement(InstanceValidator.java:2981)
at org.hl7.fhir.r4.validation.InstanceValidator.validateElement(InstanceValidator.java:3283)
at org.hl7.fhir.r4.validation.InstanceValidator.start(InstanceValidator.java:2385)
at org.hl7.fhir.r4.validation.InstanceValidator.validateResource(InstanceValidator.java:3450)
at org.hl7.fhir.r4.validation.InstanceValidator.validateContains(InstanceValidator.java:2948)
at org.hl7.fhir.r4.validation.InstanceValidator.validateElement(InstanceValidator.java:3222)
at org.hl7.fhir.r4.validation.InstanceValidator.validateElement(InstanceValidator.java:3283)
at org.hl7.fhir.r4.validation.InstanceValidator.start(InstanceValidator.java:2369)
at org.hl7.fhir.r4.validation.InstanceValidator.validateResource(InstanceValidator.java:3450)
at org.hl7.fhir.r4.validation.InstanceValidator.validate(InstanceValidator.java:642)
at org.hl7.fhir.r4.validation.InstanceValidator.validate(InstanceValidator.java:603)
at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:2157)
at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:2133)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:358)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:323)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:3829)

view this post on Zulip Sean McIlvenna (Jul 11 2017 at 19:28):

Ironic that you bring this up.. I just posted this: https://chat.fhir.org/#narrow/stream/implementers/subject/references.20to.20samples.20in.20dependencyList

view this post on Zulip Sean McIlvenna (Jul 11 2017 at 19:29):

@Grahame Grieve , FYI, the fix you made seems to work for me. Rick mentioned he wasn't seeing the same results, though... So, he and I are planning to look at it together tomorrow.

view this post on Zulip Eric Haas (Jul 11 2017 at 20:12):

This is in US Core which I am applying some technical edits too.

view this post on Zulip Grahame Grieve (Jul 11 2017 at 20:48):

I will try and get to this in the next day


Last updated: Apr 12 2022 at 19:14 UTC