Skip to content

Question about FHIR search parameters #349

Answered by lmsurpre
m-onyshchuk asked this question in Q&A
Discussion options

You must be logged in to vote

from the first line in that section:

To configure tenant-specific search parameters, create a file called extension-search-parameters.json, populate it with a Bundle of SearchParameter resources, and place it in the ${server.config.dir}/config/ directory.

what it means is that you need to wrap your SearchParameter in a bundle. basically you should be able to just change your file contents to something like this:

{
	"resourceType": "Bundle",
	"type": "collection",
	"entry": [{
  "fullUrl": "http:https://ibm.com/fhir/SearchParameter/Patient-favorite-color",
  "resource": {
    "resourceType": "SearchParameter",
    "id": "Patient-favorite-color",
    "url": "http:https://ibm.com/fhir/SearchParameter/…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@m-onyshchuk
Comment options

Answer selected by m-onyshchuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants