Stream: inferno
Topic: Immunization NDC coding
Matthew Dugal (Jul 13 2020 at 14:48):
I am having an issue with inferno test for Immunizations and am hoping you can tell me what is going wrong. The error I am receiving is:
The code "49281-0286-01" is not valid in the system http://hl7.org/fhir/sid/ndc
The json code element for the resource is:
"vaccineCode": {
"coding": [
{
"system": "http://hl7.org/fhir/sid/cvx",
"code": "106",
"display": "Tetanus and diphtheria toxoids"
},
{
"system": "http://hl7.org/fhir/sid/ndc",
"code": "49281-0286-01",
"display": "Tetanus and diphtheria toxoids"
}
]
},
US Core says NDC should be provided
https://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-immunization.html
The code exists in the concept map
https://build.fhir.org/ig/HL7/US-Core-R4/ConceptMap-ndc-cvx.html
And the provided example uses the same code system URL.
https://build.fhir.org/ig/HL7/US-Core-R4/Immunization-imm-1.json.html
Robert Scanlon (Jul 13 2020 at 14:51):
I'm not sure it makes a difference in this case (it probably doesn't), but make sure you are looking at US Core v3.1.0 (http://hl7.org/fhir/us/core/STU3.1/), not the version on build.fhir.org.
Robert Scanlon (Jul 13 2020 at 15:12):
I double checked and this applies to v3.1.0 (so no difference)
Reece Adamson (Jul 13 2020 at 15:12):
@Matthew Dugal are you getting an error or a warning? I'd expect a warning here because vaccineCode
has an extensible binding to a ValueSet which only includes codes from http://hl7.org/fhir/sid/cvx. Inferno will throw warnings on any code that is outside a ValueSet for an element for an extensible binding so that a user or tester can review.
Reece Adamson (Jul 13 2020 at 15:13):
Inferno does not evaluate the ConceptMap provided to try and do a more automated assessment of whether a code could have been covered by a concept existing in this extensible ValueSet (in which case you might get a failure), but this is the only ConceptMap provided in US Core so they are just generally handled as warnings at this point.
Matthew Dugal (Jul 13 2020 at 15:14):
This appears to be an error with a red X.
Error Message: Invalid Immunization: Immunization.vaccineCode.coding[1]: The code "49281-0286-01" is not valid in the system http://hl7.org/fhir/sid/ndc; The code provided (http://hl7.org/fhir/sid/ndc#49281-0286-01) is not valid in the value set All codes known to the system for 'http://hl7.org/fhir/sid/ndc#49281-0286-01'
Reece Adamson (Jul 13 2020 at 15:17):
ahh I see, this looks like a validation against the code system itself. Are you running on inferno.healthit.gov or locally?
Matthew Dugal (Jul 13 2020 at 15:17):
Running against the public inferno.healthit.gov.
Reece Adamson (Jul 13 2020 at 16:12):
Investigating now... I think we might have a bug when evaluating codes when we don't have the codesystem loaded to check against (in which case there should just be a warning that the code wasn't checked). Thanks for reporting this and we'll update once we know more!
Vishak OS (Jul 13 2020 at 16:27):
I ran the same patient test across the Public Program Edition and Public Community Edition(US Core v3.1.0).
The Community edition is the one giving the below Error; Program edition is good and conforms to the U.S Core profile.
Immunization.vaccineCode: The code "49281-0710-40" is not valid in the system http://hl7.org/fhir/sid/ndc;
Reece Adamson (Jul 13 2020 at 16:58):
Thanks @Vishak OS! @Matthew Dugal were you testing against Community Edition in this case as well? Might be worth testing against Program if possible as some of the bug fixes and features in Program are not present in Community at this time.
Vishak OS (Jul 13 2020 at 17:30):
@Reece Adamson : We tried to check with the Community Edition initially, since couple of the optional tests are present in the Community Edition compared to the program edition.
Eg: Immunization search by patient+status
btw, @Matthew Dugal and I work on the same team.
Last updated: Apr 12 2022 at 19:14 UTC