FHIR Chat · Search for all resources in a profile · implementers

Stream: implementers

Topic: Search for all resources in a profile


view this post on Zulip Brian Reinhold (Sep 27 2018 at 17:34):

How can I search for all resources containing a certain (set) of profiles?
Rather, part of a profile name , for example, 'pchalliance.org/phdfhir/StructureDefinition'?
There are several profiles but each has that string in common

doGET(url + "?_profile:contains=pchalliance.org/phdfhir/StructureDefinition"); // fails
doGET(url + "_profile:contains=pchalliance.org/phdfhir/StructureDefinition"); // fails
doGET(url + "/Patient?_profile:contains=pchalliance.org/phdfhir/StructureDefinition"); // works, returns 0

Missing something in the syntax; I always get errors.

view this post on Zulip Lloyd McKenzie (Sep 27 2018 at 18:05):

profile is a URL - you can't use the string search criteria. You can use above and below though - if the server supports them


Last updated: Apr 12 2022 at 19:14 UTC