Stream: committers
Topic: resolving valueset.system to a codesystem
Simone Heckmann (Feb 07 2017 at 13:16):
I created a valueset valueset-billing-codes.xml
with
<compose> <include> <system value="http://hl7.org/fhir/ebmcode-examples"/> </include> </compose>
and a codesystem codesystem-ebmcodes-examples.xml
with
<url value="http://hl7.org/fhir/ebmcode-examples"/>
Build exits with
[java] ERROR @ pa:ValueSet[billing-codes].compose.include[1] The system 'http://hl7.org/fhir/ebmcode-examples' is not valid
What am I missing. Do I have to register the codesystem somewhere?
Simone Heckmann (Feb 07 2017 at 13:23):
RTFM answers welcome, if link is provided (I can't find anything...)
Vadim Peretokin (Feb 07 2017 at 13:28):
Think you're out of luck. It's hardcoded.
Vadim Peretokin (Feb 07 2017 at 13:29):
here is where the error is coming from, and it's checking isKnownCodeSystem(), which is a list here
Simone Heckmann (Feb 07 2017 at 13:36):
This looks like a list of systems that *don't* resolve in FHIR, because they point at external code systems, no?
But a valueset referencing an existing codesystem should work. I checked similar examples of valuesets referencing existing codesystems that are not explicitly listed in ValueSetValidator.java but still work.
I think I am just missing a place that establishes the reference between the system url and the codesystem filename...
Vadim Peretokin (Feb 07 2017 at 13:37):
Sounds logical, that check could be a last-ditch effort sorta thing.
Simone Heckmann (Feb 07 2017 at 13:37):
As I understand it, ValueSetValidator.java lists only those systems that are explicitly exempt from the requirement to resolve to a codesystem...
Grahame Grieve (Feb 08 2017 at 02:05):
you had a 's' problem in your filename vs your url
Grahame Grieve (Feb 08 2017 at 02:06):
I think that's the problem
Last updated: Apr 12 2022 at 19:14 UTC