FHIR Chat · Issue in creating Values Set in IG publisher · implementers

Stream: implementers

Topic: Issue in creating Values Set in IG publisher


view this post on Zulip Sayali Pophalkar (Sep 16 2020 at 09:12):

Hi All,
We are working on a project where we have published FHIR Implementation Guide for it using IG publisher tool. Now we are trying to include a value set for medicine codes in our IG using SNOMED CT code system. For that, we are using SNOMED CT expression to generate value set.

We are populating Compose like below,

<compose>
<include>
<filter>
<system value="http://snomed.info/sct"/>
<property value="constraint"/>
<op value="="/>
<value value="(<< 373873005 |Pharmaceutical / biologic product (product)| : ( 732944001 |Has presentation strength numerator value (attribute)| = * OR 733724008 |Has concentration strength numerator value (attribute)| = * ))"/>
</filter>
</include>
</compose>

The expression gives outcome in SNOMED CT Browser but when we are using this expression in IG publisher, we are unable to get expansion for it.

Can anyone please help to resolve the issue?
Thank You.

view this post on Zulip Vassil Peytchev (Sep 16 2020 at 13:50):

I don't think that a SNOMED expression can be used within filter. Have you tried using the expression in compose.include.concept.code ?

view this post on Zulip Robert McClure (Sep 16 2020 at 17:27):

@Rob Hausam

view this post on Zulip Rob Hausam (Sep 16 2020 at 17:43):

The spec supports using an expression constraint in a filter as noted here - if the server supports the SNOMED ECL, which certainly not all servers do. But the issue may be that the 'system' element is at the same level as 'filter' under 'include' and occurs before it, like:

<compose>
    <include>
        <system value="http://snomed.info/sct"/>
        <filter>
            <property value="constraint"/>
            <op value="="/>
            <value value="(<< 373873005 |Pharmaceutical / biologic product (product)| : ( 732944001 |Has presentation strength numerator value (attribute)| = * OR 733724008 |Has concentration strength numerator value (attribute)| = * ))"/>
        </filter>
    </include>
</compose>

view this post on Zulip Sayali Pophalkar (Sep 25 2020 at 04:44):

Thank You Rob for your reply! I'll check with this. :)


Last updated: Apr 12 2022 at 19:14 UTC