FHIR Chat · Spurious display name error · IG creation

Stream: IG creation

Topic: Spurious display name error


view this post on Zulip Eric Haas (Feb 11 2020 at 21:46):

For Alerts IG :

...
        "eventCoding" : {
          "system" : "http://hl7.org/fhir/us/davinci-alerts/CodeSystem/notification-event",
          "code" : "notification-admit",
          "display" : "Notification Admit"
        },
....

This error seems spurious:

Bundle/admit-notification-message-bundle-01: Bundle.entry[0].resource.event.ofType(Coding).display  error   Value is 'Notification Admit' but must be 'Notification admit'
~~~~

Thes code system is defined here: http://build.fhir.org/ig/HL7/davinci-alerts/CodeSystem-notification-event.html

As you can see the display names are title case....

view this post on Zulip Rob Hausam (Feb 11 2020 at 22:02):

Yes, that error message is wrong based on the code system definition - the correct display string is "Notification Admit", as you have it. So the question I have is where is the IG Publisher getting "Notification admit"? Have you tried clearing the terminology cache? I'm not sure that will help, but it might be worth a try.

view this post on Zulip Grahame Grieve (Feb 12 2020 at 03:40):

@Eric Haas from one your profiles:

        <patternCoding>
                <system value="http://hl7.org/fhir/us/davinci-alerts/CodeSystem/notification-event"/>
                <code value="notification-admit"/>
                <display value="Notification admit"/>
            </patternCoding>

view this post on Zulip Grahame Grieve (Feb 12 2020 at 03:40):

I suggest that you don't put display in the pattern

view this post on Zulip Eric Haas (Feb 12 2020 at 04:53):

yep that is an error on my part... thanks for catching that.


Last updated: Apr 12 2022 at 19:14 UTC