FHIR Chat · Java validator error - ConceptMap.targetCanonical · implementers

Stream: implementers

Topic: Java validator error - ConceptMap.targetCanonical


view this post on Zulip Alexander Zautke (Mar 23 2022 at 10:17):

In the national German base profiles we have the following ConceptMap between a local CodeSystem and SNOMED: https://simplifier.net/basisprofil-de-r4/conceptmap-ops-snomed-category-mapping.

When validating it with the java validator (currently running 5.6.27), I'll get the following error about ConceptMap.targetCanonical:

Error @ ConceptMap.target.ofType(canonical) (line 14, col55): Canonical URL 'http://snomed.info/sct' refers to a resource that has the wrong type. Found CodeSystem expecting one of [ValueSet]

I thought that "http://snomed.info/sc" could be used also as an implicit ValueSet? Is this an error in the Java validator or is it necessary to specify another ValueSet here?

view this post on Zulip Alexander Zautke (Mar 23 2022 at 10:22):

@Patrick Werner FYI

view this post on Zulip Patrick Werner (Mar 23 2022 at 10:24):

Hmm, i'm not aware that the java validator supports implicite VSs. You could create an VS including all of SCT to work around.

view this post on Zulip Rob Hausam (Mar 23 2022 at 11:50):

@Alexander Zautke In a quick check of the SNOMED CT page in THO it appears that CodeSystem.valueSet has not been defined there for SNOMED CT. In the absence of that I probably wouldn't expect this to work (and even if it was defined, the tooling might not be supporting it). There was originally a notion that where an implicit "all codes" value set hadn't been defined the code system url could be used, as you are trying to do, but I think we're expecting to get away from that and apparently it isn't supported in the tooling. So yes, as @Patrick Werner said, probably you will need to use (and define yourself, if you still can't find one) an explicit SNOMED CT "all codes" value set.

view this post on Zulip Alexander Zautke (Mar 23 2022 at 11:56):

Alright, thanks for the suggestion. Will go with that.

view this post on Zulip Alexander Zautke (Mar 23 2022 at 11:56):

I was looking at https://www.hl7.org/fhir/snomedct.html#implicit

view this post on Zulip Alexander Zautke (Mar 23 2022 at 11:57):

There we have the following sentence:

The URL http://snomed.info/sct should be understood to mean an unspecified edition/version. This defines an incomplete value set whose actual membership will depend on the edition used when it is expanded. If no version or edition is specified, the terminology service SHALL use the latest version available for its default edition (or the International Edition, if no other edition is the default).

view this post on Zulip Alexander Zautke (Mar 23 2022 at 11:59):

Based on that I would expect that there would be a core VS defined for it. Does anyone know a ConceptMap that maps to SCT to see how the issue is solved there?

view this post on Zulip Rob Hausam (Mar 23 2022 at 12:01):

Yes, the interpretation that you had is certainly implied in that wording. We still need to make some decisions and clean this up so that it's clear.

view this post on Zulip Rob Hausam (Mar 23 2022 at 12:04):

Even though we recommend using it, ConceptMap.target[x] is optional. And ConceptMap.group.target specifies the code system.


Last updated: Apr 12 2022 at 19:14 UTC