Smile CDR v2024.05.PRE
On this page:
   45.51    FHIR Gateway Configuration 45.53    LiveBundle Service   

45.52.1FHIR Interceptors

 

The FHIR Interceptors configuration category includes the following configurable options:

  • FHIR storage Callback Script (File)

  • FHIR storage Callback Script (Text)

  • Can Replace Authorization Interceptor

  • Secure Application Context For Customer-Provided Beans

  • Interceptor Bean Types

45.52.2Property: FHIR storage Callback Script (File)

 
Property Name FHIR storage Callback Script (File)
Property Key
Property Type Resource Path
Description If set, supplies a callback function that will be executed. This script allows JavaScript-based interceptors to be written and inject logic into the server. Values should be prefixed with file: or classpath:.
Applies to Modules
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • LDAP Inbound Security
  • Local Inbound Security
  • SAML Inbound Security
  • SMART Inbound Security
  • Scripted Inbound Security
Default Value (no default)
Example Property
module.[MODULE_ID].config.callback_script.file = 

45.52.3Property: FHIR storage Callback Script (Text)

 
Property Name FHIR storage Callback Script (Text)
Property Key
Property Type JAVASCRIPT
Description If set, supplies a callback function that will be executed. This script allows JavaScript-based interceptors to be written and inject logic into the server. See Fhir Storage Interceptor Examples for an example.
Applies to Modules
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • LDAP Inbound Security
  • Local Inbound Security
  • SAML Inbound Security
  • SMART Inbound Security
  • Scripted Inbound Security
Default Value (no default)
Example Property
module.[MODULE_ID].config.callback_script.text = 

45.52.4Property: Can Replace Authorization Interceptor

 
Property Name Can Replace Authorization Interceptor
Property Key
Property Type BOOLEAN
Description If enabled, if a custom interceptor is found that extends the HAPI FHIR AuthorizationInterceptor, it will replace the built-in Smile CDR AuthorizationInterceptor.
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • Hybrid Providers REST Endpoint
Default Value (no default)
Example Property
module.[MODULE_ID].config.custom_interceptor_can_replace_authorization_interceptor = 

45.52.5Property: Secure Application Context For Customer-Provided Beans

 
Property Name Secure Application Context For Customer-Provided Beans
Property Key
Property Type BOOLEAN
Description If enabled, only a subset of the application context will be available to customer-provided beans. This is a security feature that prevents custom code from accessing various internal Smile CDR beans.
Applies to Modules
  • CDA Exchange+
  • Camel
  • Channel Import
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • MDM
  • SMART Outbound Security
  • Subscription Matcher (All FHIR Versions)
Default Value (no default)
Example Property
module.[MODULE_ID].config.interceptor_bean_secure_context = 

45.52.6Property: Interceptor Bean Types

 
Property Name Interceptor Bean Types
Property Key
Property Type STRING
Description A comma or whitespace-separated list of bean classes to register as Smile CDR Interceptors.
Applies to Modules
  • CDA Exchange+
  • Channel Import
  • Cluster Manager
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • Hybrid Providers REST Endpoint
  • MDM
  • SMART Outbound Security
  • Subscription Matcher (All FHIR Versions)
Default Value (no default)
Example Property
module.[MODULE_ID].config.interceptor_bean_types = 
   45.51    FHIR Gateway Configuration 45.53    LiveBundle Service