Immutable Search Parameters

Some Search Parameters may be used in the application logic and therefore should not be removable by users. To protect these parameters, add their IDs to the FHIR API configuration file.

By default, all Search Parameters that apply to all Resources are included in the configuration.

Example of the fhir-api file

Example with default config for fhir-server-api.yaml

  env:
    # List of search parameters ids separated with comma (without spaces) which are forbidden to change (delete or update)
    IMMUTABLE_SEARCH_PARAMETERS: "Resource-id,Resource-lastUpdated,Resource-profile,Resource-security,Resource-source,Resource-tag"

We strongly recommend not removing the default Search Parameters from this configuration, as doing so may disrupt Kodjin's application logic.