FHIR Chat · Searching by extension · implementers

Stream: implementers

Topic: Searching by extension


view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:07):

Can anyone point me to documentation that indicates how to search for resources by values of an extension? Also, how to define an extension that requires that the extension be searchable?

view this post on Zulip Grahame Grieve (Sep 29 2016 at 22:10):

you define a search parameter for the extension. There's an example here:

view this post on Zulip Grahame Grieve (Sep 29 2016 at 22:11):

http://hl7-fhir.github.io/searchparameter-example-extension.html

view this post on Zulip Grahame Grieve (Sep 29 2016 at 22:11):

to make support for it mandatory, you reference the search parameter from a conformance statement that is mandatory

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:12):

Ah. Got it. Didn't even realize there *was* a SearchParameter resource

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:12):

:)

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:23):

So, where would you require that the SearchParameter be implemented in an implemenation guide

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:23):

I could include the SearchParameter in the ImplementationGuide.package.resource

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:23):

but, there is no cardinality

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:23):

so, no way of saying it is required

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:25):

I was thinking maybe under ImplementationGuide.global

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:25):

but, that references specifically StructureDefinition

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:25):

so, can't reference a SearchParameter there

view this post on Zulip Grahame Grieve (Sep 29 2016 at 22:26):

You reference it from a conformance resource

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:27):

ah ok

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:27):

so then to document it, would I need to profile the Conformance

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:28):

nm... I'll look into that.

view this post on Zulip Grahame Grieve (Sep 29 2016 at 22:28):

no I don't think so - check how DAF does this

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:28):

ok

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:28):

wondering how the ig publisher handles some of these types of things

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:28):

such as SearchParameter and Conformance

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:30):

guessing it doesn't handle it by default at all.. maybe need to update the templates we use in our implementation guides so that it handles documenting these non-StructureDefinition resources

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:30):

ex: a separate tab in the IG for "Conformance", and another one for "Search Parameters"

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:30):

unless you have guidance on a better way to do this?

view this post on Zulip Grahame Grieve (Sep 29 2016 at 22:31):

I'm not sure what you mean by 'handle' - have you looked at what DAF does?

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:36):

hmmm

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:36):

looks like they have a custom section in the implementation guide's overview for conformance

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:36):

so, a static page

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:36):

that references a conformance resource

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:36):

and the conformance page is an instance of Conformance whose "text" is displayed on the main page

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:37):

and the raw xml/json shows the technical implementation of the Conformance resource

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:38):

ok

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:38):

yah, this gives me something to work with

view this post on Zulip Sean McIlvenna (Sep 29 2016 at 22:38):

thx

view this post on Zulip Grahame Grieve (Sep 29 2016 at 22:39):

np

view this post on Zulip Brian Postlethwaite (Sep 30 2016 at 05:01):

This is same for all the conformance resources, such as ValueSet and OperationDefinition too.


Last updated: Apr 12 2022 at 19:14 UTC