FHIR Chat · CVX and NDC warnings in US Core · IG creation

Stream: IG creation

Topic: CVX and NDC warnings in US Core


view this post on Zulip Eric Haas (Dec 01 2020 at 05:45):

WE have these code validation errors with both CVX and NDC.

WARNING: Immunization/imm-1: Immunization.vaccineCode.coding[0]: Internal error: Unknown Code http://hl7.org/fhir/sid/cvx#158 in http://hl7.org/fhir/sid/cvx - note that the code system is labelled as a fragment, so the code may be valid in some other fragment
ERROR: Immunization/imm-1: Immunization.vaccineCode.coding[1]: The code "49281-0633-15" is not valid in the system http://hl7.org/fhir/sid/ndc; The code provided (http://hl7.org/fhir/sid/ndc#49281-0633-15) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4) for 'http://hl7.org/fhir/sid/ndc#49281-0633-15'

The CVX code 158 does indeed exist in the vsac valueset we reference ( see the VSAC Warnings stream for how that is working for us) and I confirmed the system here
The NDC code also was copied from the cdc source here: http://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp as per our guidance in US Core.

Is there something we are missing?

view this post on Zulip Grahame Grieve (Dec 01 2020 at 05:57):

did you try clearing the tx cache?

view this post on Zulip Eric Haas (Dec 01 2020 at 06:16):

not building locally -using the autobuild

view this post on Zulip Grahame Grieve (Dec 01 2020 at 07:17):

doesn't change my answer

view this post on Zulip Grahame Grieve (Dec 01 2020 at 07:18):

no wonder people are complaining about build times

view this post on Zulip Eric Haas (Dec 01 2020 at 18:10):

I am unable to build locally for a couple of reasons: 1) the vsac package causes a memory error. ( leak ?) 2) It slows my local machine to a crawl as discussed elsewhere.

view this post on Zulip Eric Haas (Dec 01 2020 at 18:11):

...and it takes forever

view this post on Zulip Eric Haas (Dec 01 2020 at 18:35):

OK I updated my local build to 4G, cleared all packages and local cache, and after 20 minutes these errors still there.

view this post on Zulip Grahame Grieve (Dec 02 2020 at 03:48):

@Ted Klein it would appear that the source of the cvx problem is UTG. There's a code system sourceOfTruth/external/v2/codeSystems/cs-v2-0292.xml which is a out-of-date? representation of a portion of CVX, but this is being loaded by the terminology server over the top of it's interal master representation which does contain code 158. What is this bad code system doing existing?

view this post on Zulip Grahame Grieve (Dec 02 2020 at 03:50):

as for 49281-0633-15 - it's not the NDC source as far as I can tell.

view this post on Zulip Eric Haas (Dec 02 2020 at 15:55):

The CDC has published this NDC To CVX mapping here: that was my source: : http://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp

view this post on Zulip Eric Haas (Dec 02 2020 at 15:56):

image.png

view this post on Zulip Eric Haas (Dec 02 2020 at 15:57):

@Craig Newman can you comment more on the veracity of this table and the ndc codes?

view this post on Zulip Craig Newman (Dec 02 2020 at 17:41):

@Eric Haas That is the official CDC mapping table. If there is an NDC code in there, it should be valid. There are separate "unit of sale" and "unit of use" NDCs (the NDCs on the box and on the vial/syringe respectively) but both of them should be valid.

view this post on Zulip Grahame Grieve (Dec 02 2020 at 19:36):

@Rob Hausam ?

view this post on Zulip Rob Hausam (Dec 02 2020 at 20:33):

These are on the list to add/update. We do need to think about the update schedule for NDC. Those updates are available monthly (or more frequently) - not sure if we expect to try to keep up with that, or if a lesser frequency is sufficient?

view this post on Zulip Grahame Grieve (Dec 02 2020 at 20:34):

not sure to that but we can bring it up to date now?

view this post on Zulip Eric Haas (Dec 10 2020 at 00:29):

@Rob Hausam where are we with this?

view this post on Zulip Eric Haas (Feb 20 2021 at 03:10):

The error for the NDC code now seems fixed, thanks @RobHausam however, the following warning that the cvx code is unknown still persists. Indeed based on the CDC web site the code does exists :

Immunization/imm-1: Immunization.vaccineCode.coding[0] (l22/c11)    warning Unknown Code http://hl7.org/fhir/sid/cvx#158 in http://hl7.org/fhir/sid/cvx - note that the code system is labelled as a fragment, so the code may be valid in some other fragment for 'http://hl7.org/fhir/sid/cvx#158'

view this post on Zulip Grahame Grieve (Feb 24 2021 at 03:27):

how do I reproduce this?

view this post on Zulip Eric Haas (Jun 09 2021 at 02:11):

OK - now we are back to having the NDC error ( the CVS warning is gone ) see: http://build.fhir.org/ig/HL7/US-Core/qa.html @Rob Hausam ?

view this post on Zulip Rob Hausam (Jun 09 2021 at 02:31):

@Eric Haas It wouldn't be at all surprising if the NDC issue is due to an outdated NDC version on the server - currently it's on 20190321. And since the '49281-0633-15' code in your example shows the (earliest) "Start Marketing Date" as 07-02-2020, that would certainly be sufficient reason for the error. So NDC needs an update - it's on the list.

view this post on Zulip Eric Haas (Jun 23 2021 at 23:06):

Hey @Rob Hausam is there an eta on updating NDC codes (or just adding just this one)?

view this post on Zulip Rob Hausam (Jun 23 2021 at 23:17):

Grahame has been working on the properties, but I think that may not be complete yet - right now I'm getting an OperationOutcome when I try to do a code $lookup. And I think the NDC content still needs to be updated to the current version - but right now my remote desktop access to the tx.fhir.org server also isn't working. I'll try to give you a more complete update soon.

view this post on Zulip Grahame Grieve (Jun 23 2021 at 23:18):

what's the operation outcome about? I thought it all good now

view this post on Zulip Rob Hausam (Jun 23 2021 at 23:19):

{
  "resourceType" : "OperationOutcome",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Identifier Suffix not found in result set.</p></div>"
  },
  "issue" : [
    {
      "severity" : "error",
      "code" : "invalid",
      "diagnostics" : "Identifier Suffix not found in result set."
    }
  ]
}

view this post on Zulip Rob Hausam (Jun 23 2021 at 23:20):

the query was http://tx.fhir.org/r4/CodeSystem/$lookup?system=http://hl7.org/fhir/sid/ndc&code=00409371801

view this post on Zulip Rob Hausam (Jun 23 2021 at 23:25):

I can remote into the server now - the NDC content still needs to be updated. And I should be able to do that at any time (but won't do that yet if Grahame is still working on it).

view this post on Zulip Grahame Grieve (Jun 23 2021 at 23:26):

no please update it

view this post on Zulip Rob Hausam (Jun 23 2021 at 23:32):

ok

view this post on Zulip Rob Hausam (Jun 30 2021 at 21:06):

The NDC content has been updated to be current as of 2021-06-27. @Eric Haas


Last updated: Apr 12 2022 at 19:14 UTC