FHIR Chat · NPE for validateCode() · IG creation

Stream: IG creation

Topic: NPE for validateCode()


view this post on Zulip Sean McIlvenna (Dec 12 2019 at 18:32):

@AbdulMalik Shakir is getting a NullPointerException in his implementation guide:

No value set found at Observation.value[x] (url = 'https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.6003')...
No value set found at Observation.value[x] (url = 'https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.6003')...
No value set found at Observation.value[x] (url = 'http://hl7.org/fhir/ValueSet/TransportationRelationships')...
No value set found at Observation.value[x] (url = 'http://hl7.org/fhir/ValueSet/TransportationRelationships')...
No value set found at Practitioner.qualification.code (url = 'https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.7186')...
No value set found at Practitioner.qualification.code (url = 'https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.7186')...
Generating Summary Outputs                                                       (01:43.0916)...
Publishing Content Failed: null                                                  (02:04.0391)
                                                                                 (02:04.0391)
Use -? to get command line help                                                  (02:04.0391)
                                                                                 (02:04.0391)
Stack Dump (for debugging):                                                      (02:04.0391)...
java.lang.NullPointerException...
at org.hl7.fhir.r5.context.BaseWorkerContext.validateCode(BaseWorkerContext.java:543)
    at org.hl7.fhir.r5.context.BaseWorkerContext.validateCode(BaseWorkerContext.java:519)
    at org.hl7.fhir.igtools.renderers.CrossViewRenderer.renderCodingCell(CrossViewRenderer.java:476)
    at org.hl7.fhir.igtools.renderers.CrossViewRenderer.getObservationSummary(CrossViewRenderer.java:397)
    at org.hl7.fhir.igtools.publisher.Publisher.generateSummaryOutputs(Publisher.java:4693)
    at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4033)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:781)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:657)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6665)...

@Grahame Grieve do you know what this is about?

view this post on Zulip Vassil Peytchev (Dec 12 2019 at 18:34):

Does PHIN VADS provide the values sets in FHIR format?

view this post on Zulip Sean McIlvenna (Dec 12 2019 at 18:35):

ahh, you think that's the issue? The url for the value sets are pointing to non-ValueSet resources?

view this post on Zulip Kevin Mayfield (Dec 12 2019 at 18:36):

It's an issue with the igPublisher.

view this post on Zulip Grahame Grieve (Dec 12 2019 at 19:12):

yes already reported, and I will be issuing a fix soon


Last updated: Apr 12 2022 at 19:14 UTC