FHIR Chat · Vocabulary Validation · terminology

Stream: terminology

Topic: Vocabulary Validation


view this post on Zulip daniel venton (Sep 25 2019 at 13:43):

Using -jar .\org.hl7.fhir.validator.jar .\fhirbundle.xml -version 4.0

Is it the casing that is a problem or the trailing space (in the allowed value)?:
Warning @ Bundle.entry[3].resource.code.coding[0] (line 614, col19) : The display "Softcide" is not a valid display for
the code {http://hl7.org/fhir/sid/ndc}71695-200 - should be one of ["SOFTCIDE "]

Also:
Warning @ Bundle.entry[73].resource.vaccineCode.coding[0] (line 3587, col19) : The display "Venezuelan equine encephalit
is vaccine, unspecified formulation" is not a valid display for the code {http://hl7.org/fhir/sid/cvx}92 - should be one o
f ["VEE, unspecified formulation"]

The cdc says, https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx
Short Description Full Vaccine name CVX Code Vaccine Status Last Updated
Date Notes ▴
VEE, unspecified formulation Venezuelan equine encephalitis vaccine, unspecified formulation 92 Inactive 9/30/2010 This CVX code allows reporting of a vaccination when formulation is unknown (for example, when recording a VEE vaccination when noted on a vaccination card)

Shouldn't vocabulary validation allow EITHER the short description OR the full vaccine name?

view this post on Zulip Grahame Grieve (Sep 25 2019 at 19:22):

the validator is enforcing the current text of the page about CVX which says:

Use the value of the "Short Description" column in the web page

view this post on Zulip Grahame Grieve (Sep 26 2019 at 22:58):

@Rob Hausam ping on this?

view this post on Zulip Rob Hausam (Sep 26 2019 at 23:08):

Yes, I think that allowing only the short description is an arbitrary choice and that we should also allow (and likely prefer) the full vaccine name. I'll put that on the list to update.

view this post on Zulip daniel venton (Oct 01 2019 at 12:22):

I find this pair of validations humorous:
Warning @ Bundle.entry[9].resource.medication.ofType(CodeableConcept).coding[0] (line 681, col19) : The display "SOFTCIDE" is not a vali
d display for the code {http://hl7.org/fhir/sid/ndc}55863-155 - should be one of ["SOFTCIDE "]

Warning @ Bundle.entry[9].resource.medication.ofType(CodeableConcept).coding[0].display (line 684, col42) : value should not start or fi
nish with whitespace

The 1st one requires a trailing space to match the dictionary. Even though my entry has a trailing space in an attempt to match your dictionary. Apparently you trim my value to do the compare but forgot to trim the dictionary.
The second one dings for having a trailing space.

    <medicationCodeableConcept>
      <coding>
        <system value="http://hl7.org/fhir/sid/ndc" />
        <code value="55863-155" />
        <display value="SOFTCIDE " />
      </coding>
    </medicationCodeableConcept>

view this post on Zulip Lloyd McKenzie (Oct 01 2019 at 14:09):

@daniel venton Can you submit a change request?

view this post on Zulip Grahame Grieve (Oct 01 2019 at 20:31):

wooah. That's pure class on my part. But actually this is not a change proposal for the spec, but a bug in the validator, so report it here: https://github.com/hapifhir/org.hl7.fhir.core/issues

view this post on Zulip Grahame Grieve (Oct 02 2019 at 19:35):

no it's a bug in my terminology server, and will be fixed next time I deploy an update


Last updated: Apr 12 2022 at 19:14 UTC