Stream: IG creation
Topic: CVX value set warning
Craig Newman (Jul 08 2020 at 13:50):
For an immunization IG (using FHIR Shorthand), I'm trying to use CVX codes in examples but I'm getting a warning I'd like to clean up. I define an alias in FSH and then use it:
Alias: CVX = http://hl7.org/fhir/sid/cvx
- vaccineCode = CVX#08 "Hep B, adolescent or pediatric"
The Alias is the defining URL for the UTG code system (https://terminology.hl7.org/1.0.0/CodeSystem-CVX.html) and the same as what is used in the base standard for the example value set for Immunization.vaccineCode. But I get the warning:
ValueSet http://hl7.org/fhir/sid/cvx not found by validator
Is this because it's an external (CDC) value set? Or have I gotten something wrong with the url?
Grahame Grieve (Jul 08 2020 at 19:53):
http://hl7.org/fhir/sid/cvx is a code system not a value set
Igor Sirkovich (Jul 09 2020 at 01:38):
@Craig Newman, do you bind vaccineCode to CVX (i.e. * vaccineCode from CVX)? If so, you would need to define another alias for http://hl7.org/fhir/ValueSet/vaccine-code and to bind vaccineCode to this ValueSet.
Last updated: Apr 12 2022 at 19:14 UTC