Smile CDR v2023.05.PRE
On this page:
   41.32    FHIR Configuration 41.34    FHIR Endpoint Conversion   

41.33Consent Service

 

The Consent Service configuration category includes the following configurable options:

  • Consent Service Enabled

  • Java Consent Service Types

  • Consent Service Script (File)

  • Consent Service Script (Text)

41.33.1Property: Consent Service Enabled

 
Property Name Consent Service Enabled
Property Key
Property Type BOOLEAN
Description This is a switch to enable or disable the consent service for this module.
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • Hybrid Providers REST Endpoint
Default Value false
Example Property
module.[MODULE_ID].config.consent_service.enabled = false

41.33.2Property: Java Consent Service Types

 
Property Name Java Consent Service Types
Property Key
Property Type STRING_MULTILINE
Description If set, provides a whitespace or comma separated list of Java class names to instantiate and use as consent service implementations. See Consent Service: Java API for more information. Note that if both JavaScript and Java based implementations are provided, the JavaScript implementations will be invoked first.
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • Hybrid Providers REST Endpoint
Default Value (no default)
Example Property
module.[MODULE_ID].config.consent_service.java_types = 

41.33.3Property: Consent Service Script (File)

 
Property Name Consent Service Script (File)
Property Key
Property Type Resource Path
Description If set, supplies a set of callback functions that will be executed for the consent service. Values should be prefixed with file: or classpath:.
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • Hybrid Providers REST Endpoint
Default Value (no default)
Example Property
module.[MODULE_ID].config.consent_service.script.file = 

41.33.4Property: Consent Service Script (Text)

 
Property Name Consent Service Script (Text)
Property Key
Property Type JAVASCRIPT
Description If set, supplies a set of callback functions that will be executed for the consent service.
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • Hybrid Providers REST Endpoint
Default Value (no default)
Example Property
module.[MODULE_ID].config.consent_service.script.text = 
   41.32    FHIR Configuration 41.34    FHIR Endpoint Conversion