Stream: IG creation
Topic: Valueset include.filter extending beyond its .include
David deRoode (Jul 23 2020 at 22:02):
My Valueset is
<compose>
<include>
<system value="http://hl7.org/fhir/sid/icd-10-cm"/>
</include>
<include>
<system value="http://loinc.org"/>
</include>
<include>
<system value="http://www.ada.org/snodent"/>
<filter>
<property value="parent"/>
<op value="="/>
<value value="165877D"/>
</filter>
<filter>
<property value="parent"/>
<op value="="/>
<value value="165733D"/>
</filter>
</include>
<include>
<system value="http://snomed.info/sct"/>
<filter>
<property value="parent"/>
<op value="="/>
<value value="404684003"/>
</filter>
<filter>
<property value="parent"/>
<op value="="/>
<value value="243796009"/>
</filter>
</include>
</compose>
And example
<coding>
<system value="http://loinc.org"/>
<code value="32916-9"/>
<display value="Horizontal overlap [Length] Maxilla and Mandible Measured"/>
</coding>
And am getting "The filter "parent = 404684003" was not understood in the context of http://snomed.info/sct".
The publisher appears to be applying/checking filters across all includes.
Jean Duteau (Jul 23 2020 at 22:05):
the message is correct because "parent" isn't a property of SNOMED. the filter shouldn't be "parent = xxx" but rather "concept descendent-of xxx" (or "is-a" if you want to include the parent code itself
David deRoode (Jul 23 2020 at 22:10):
Thanks Jean, that makes sense and has resolved the issue. Thanks for the clarity
Jean Duteau (Jul 23 2020 at 22:12):
you're welcome. btw, i responded so quickly because I keep hitting my head against that same issue when I'm define SNOMED subsets. If too much time passes between my writing up definitions, I forget that "parent" isn't in SNOMED's concepts.
David deRoode (Jul 23 2020 at 22:19):
Though, now I'm getting "The filter "descendent-of = 404684003" was not understood in the context of http://snomed.info/sct". But my example file uses a LOINC code/system, and LOINC in my valueset has no filter
Jean Duteau (Jul 23 2020 at 22:20):
yes, but the problem is the filter on your SNOMED codesystem
Your filter should look like this:
<filter>
<property value="concept"/>
<op value="descendent-of"/>
<value value="404684003"/>
</filter>
David deRoode (Jul 23 2020 at 22:23):
Oh, I'm following now. Looks like we're error free now. And identified a tooling bug. Thanks again
David deRoode (Jul 29 2020 at 00:04):
@Jean Duteau Just curious, which IG uses the decedent-of valueset? Wondering if different error might be related to descendant-of in snodent
Jean Duteau (Jul 29 2020 at 00:07):
unfortunately not a public domain IG
Sarah Gaunt (Jul 29 2020 at 01:34):
@Jean Duteau do you get an expansion for your intensional value set?
We are getting: "This value set contains 0 concepts"
Sarah Gaunt (Jul 29 2020 at 01:35):
Grahame Grieve (Jul 29 2020 at 02:33):
where is this?
Sarah Gaunt (Jul 29 2020 at 02:35):
It was here: https://build.fhir.org/ig/HL7/dental-data-exchange/branches/master/ValueSet-dental-observation-codes.html
But I added back the includes for SNODENT terms and the whole LOINC code system so now don't get that as it can't expand it "No Expansion for this valueset (not supported by Publication Tooling)". I'm assuming that's because of SNODENT.
Grahame Grieve (Jul 29 2020 at 02:37):
not sure
Jean Duteau (Jul 29 2020 at 04:26):
@Sarah Gaunt Yes.
Screen-Shot-2020-07-28-at-10.26.33-PM.png
Jean Duteau (Jul 29 2020 at 04:27):
{
"resourceType": "ValueSet",
"status": "active",
"name": "TestEncounterType",
"id": "Test-SNOMED-EncounterType",
"version": "0.1.0",
"url": "http://hl7.org/fhir/us/davinci-pas/ValueSet/Test-SNOMED-EncounterType",
"compose": {
"include": [
{
"system": "http://snomed.info/sct",
"filter": [
{
"property": "concept",
"op": "descendent-of",
"value": "308335008"
}
]
}
]
}
}
Sarah Gaunt (Jul 29 2020 at 05:11):
Thanks @Jean Duteau !
Last updated: Apr 12 2022 at 19:14 UTC