FHIR Chat · FQL - MessageDefinition · FQL

Stream: FQL

Topic: FQL - MessageDefinition


view this post on Zulip Kevin Mayfield (Mar 17 2022 at 06:51):

Should this work?

from MessageDefinition
select url
from MessageDefinition
where url='https://fhir.nhs.uk/MessageDefinition/prescription-order'
for focus
select code, profile, min, max

view this post on Zulip Kevin Mayfield (Mar 17 2022 at 06:52):

Not getting anything returned back from either of the NHS Digital IGs

view this post on Zulip Ward Weistra (Mar 17 2022 at 17:00):

@Kevin Mayfield Both work like a charm for me, for example here's the latter: https://simplifier.net/fql/share?session=vwpMkSgcWaB89rqXKTz4owKVOf6JdXO6-jBk6Xee2l-1xWkr6-iQrrAB1bD29vipQJfiMuhDpcDctCsbspKHsp8-QAyhqzmco3KQb5ta8yUl-r_K1chJ6vfKSa_IDl_H4CvfaPeOn81J0gp0T26Z5IIu_T6VHWiJLdUlxRqYg2iW4BUGOiizM7vOWnbzwHFnuUTHz2KGP0W5uJFwpEN6bkaI857jaYkcZcfLdlar7tt2hVHh38gDAKfTwiku3-Yh

image.png

Are you seeing something different?

view this post on Zulip Kevin Mayfield (Mar 17 2022 at 17:09):

Yes that works in nhs.digital.r4 implementation guide e.g.
https://simplifier.net/guide/NHSDigital/Home/FHIRAssets/AllAssets/MessageDefinitions/prescription-order.guide.md
but not an IG which has this as a dependency.

view this post on Zulip Kevin Mayfield (Mar 17 2022 at 17:11):

It's this IG I'm trying to use FQL https://simplifier.net/UKDigitalMedicine/~introduction

view this post on Zulip Ward Weistra (Mar 17 2022 at 17:15):

So this query right?

(You can use the share URL top right to give someone a link to exactly run your query: image.png )

view this post on Zulip Ward Weistra (Mar 17 2022 at 17:16):

I believe you expected it to show the MessageDefinitions from the entire scope, including package dependencies.

view this post on Zulip Kevin Mayfield (Mar 17 2022 at 17:17):

Yes, that is correct.

view this post on Zulip Ward Weistra (Mar 17 2022 at 17:17):

Currently the FQL Playground only searches in the direct scope, so the project itself, which doesn't contain any MessageDefinitions.

view this post on Zulip Ward Weistra (Mar 17 2022 at 17:19):

On Firely Terminal, however, you can already use other scopes: https://simplifier.net/docs/FQL/Home/Syntax/Sourceselection/Using.guide.md

view this post on Zulip Ward Weistra (Mar 17 2022 at 17:20):

@Kevin Mayfield A query like this one. For now that gives in the Playground:

It is not yet allowed to change the scope of an FQL query


Last updated: Apr 12 2022 at 19:14 UTC