FHIR Chat · New publisher complains about missing name property · IG creation

Stream: IG creation

Topic: New publisher complains about missing name property


view this post on Zulip François Macary (Jul 01 2020 at 08:20):

@Grahame Grieve The order-catalog IG now ends up in failure with this:
onGenerate:
Generating Summary Outputs (00:27.0268)
Exception in thread "main" java.lang.Error: The resource type "ChargeItemDefinition" does not implement the property "name"
at org.hl7.fhir.r5.model.ChargeItemDefinition.getName(ChargeItemDefinition.java:2358)
at org.hl7.fhir.igtools.publisher.Publisher.generateCanonicalSummary(Publisher.java:5550)
at org.hl7.fhir.igtools.publisher.Publisher.generateSummaryOutputs(Publisher.java:5369)
at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4662)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:858)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:707)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:7756)
This IG is using among others these resources which do not have a name element in R4: ChargeItemDefinition, SpecimenDefinition, ObservationDefinition. I understand that these resource should feed this gap in R5 but how do we do with an IG base on R4, which is about to be ballotted?

view this post on Zulip François Macary (Jul 01 2020 at 16:29):

May be the issue is only with the ChargeItemDefinition resource and not the others: This resource does not have any name element. Nonetheless it has an invariant which reads:
image.png
So is it what is blocking the new release of the publisher? And if it is, how can this be solved since the order-catalog IG is based on R4 and needs this resource?
Thanks for help.

view this post on Zulip Lloyd McKenzie (Jul 01 2020 at 16:31):

That's not blocking publication. The complaint is about StructureDefinition.name

view this post on Zulip François Macary (Jul 01 2020 at 16:34):

Ah, OK, thank you Lloyd. However the publisher fails, and as you can see on the CI log, the error is:
Exception in thread "main" java.lang.Error: The resource type "ChargeItemDefinition" does not implement the property "name"

view this post on Zulip Grahame Grieve (Jul 01 2020 at 20:31):

I get this error running the order catalog IG:

view this post on Zulip Grahame Grieve (Jul 01 2020 at 20:31):

First "url" contact telecom must start with "http://hl7.org/Special/committees/"

view this post on Zulip François Macary (Jul 02 2020 at 06:57):

Checking that: most of the resources of the order catalog IG use "http://www.hl7.org/Special/committees/orders/index.cfm"
I understand I should remove the "www" part. I will do that right away.
But this does not seem to be related to the error above (The resource type "ChargeItemDefinition" does not implement the property "name") .
Or is it? @Grahame Grieve

view this post on Zulip Grahame Grieve (Jul 02 2020 at 06:58):

no that's different. it'll be fixed next release

view this post on Zulip François Macary (Jul 02 2020 at 06:59):

Thanks, so you confirm that this other problem is the "www" that should be taken out?

view this post on Zulip Grahame Grieve (Jul 02 2020 at 07:00):

That's from the template, so I'm not sure

view this post on Zulip Jose Costa Teixeira (Jul 02 2020 at 07:21):

@François Macary your contact.type must be 'url', not 'other'

view this post on Zulip Jose Costa Teixeira (Jul 02 2020 at 07:24):

  <contact>
    <telecom>
      <!-- Or whatever URL and/or email address(es) are appropriate -->
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/orders/index.cfm"/>
    </telecom>
  </contact>

view this post on Zulip François Macary (Jul 02 2020 at 12:15):

Thanks @Jose Costa Teixeira . I think that it is already the case for all the artifacts of Order catalog. But I'l double check.

view this post on Zulip Jose Costa Teixeira (Jul 02 2020 at 12:31):

Not the resources, the ig itself. It is not correct and this is why the template complains

view this post on Zulip François Macary (Jul 02 2020 at 12:47):

Got it. Corrected just now.


Last updated: Apr 12 2022 at 19:14 UTC