Smile CDR v2024.05.PRE
On this page:
   44.97    Initial User Seeding 44.99    JSON Web KeySet (JWKS)   

44.98.1JavaScript Execution Environment

 

The JavaScript Execution Environment configuration category includes the following configurable options:

  • Debug Enabled

  • Debug Host Address

  • Path

  • Port

  • Secure

  • Suspend

  • ECMAScript Module

44.98.2Property: Debug Enabled

 
Property Name Debug Enabled
Property Key
Property Type BOOLEAN
Description Enable remote JavaScript debugging
Applies to Modules
  • CDA Exchange
  • CDA Exchange+
  • Camel
  • Channel Import
  • ETL Importer
  • 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 (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value false
Example Property
module.[MODULE_ID].config.debug.debug_enabled = false

44.98.3Property: Debug Host Address

 
Property Name Debug Host Address
Property Key
Property Type STRING
Description The hostname of the server running Smile CDR
Applies to Modules
  • CDA Exchange
  • CDA Exchange+
  • Camel
  • Channel Import
  • ETL Importer
  • 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 (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value localhost
Example Property
module.[MODULE_ID].config.debug.host_address = localhost

44.98.4Property: Path

 
Property Name Path
Property Key
Property Type STRING
Description The url path the JavaScript Execution Environment debugger will expect connections on. This url path should be hard to guess to prevent unexpected connections. If blank, the server will generate and log a new random UUID every time the module is restarted.
Applies to Modules
  • CDA Exchange
  • CDA Exchange+
  • Camel
  • Channel Import
  • ETL Importer
  • 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 (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value (no default)
Example Property
module.[MODULE_ID].config.debug.path = some-unguessable-random-path

44.98.5Property: Port

 
Property Name Port
Property Key
Property Type POSITIVE_INTEGER
Description The port the JavaScript Execution Environment debugger will accept debug connections on
Applies to Modules
  • CDA Exchange
  • CDA Exchange+
  • Camel
  • Channel Import
  • ETL Importer
  • 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 (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value 9930
Example Property
module.[MODULE_ID].config.debug.port = 9930

44.98.6Property: Secure

 
Property Name Secure
Property Key
Property Type BOOLEAN
Description Whether the debug connection url should use TLS.
Applies to Modules
  • CDA Exchange
  • CDA Exchange+
  • Camel
  • Channel Import
  • ETL Importer
  • 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 (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value false
Example Property
module.[MODULE_ID].config.debug.secure = false

44.98.7Property: Suspend

 
Property Name Suspend
Property Key
Property Type BOOLEAN
Description Whether Smile CDR should pause when restarting the module to wait for the debugger to attach.
Applies to Modules
  • CDA Exchange
  • CDA Exchange+
  • Camel
  • Channel Import
  • ETL Importer
  • 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 (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value true
Example Property
module.[MODULE_ID].config.debug.suspend = true

44.98.8Property: ECMAScript Module

 
Property Name ECMAScript Module
Property Key
Property Type BOOLEAN
Description The script is an ECMAScript Module. This permits the use of import but requires all functions to be exported.
Applies to Modules
  • CDA Exchange
  • CDA Exchange+
  • Camel
  • Channel Import
  • ETL Importer
  • 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 (MongoDB)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • HL7 v2.x Sending Endpoint
  • Hybrid Providers REST Endpoint
  • LDAP Inbound Security
  • Local Inbound Security
  • MDM
  • SAML Inbound Security
  • SMART Inbound Security
  • SMART Outbound Security
  • Scripted Inbound Security
Default Value false
Example Property
module.[MODULE_ID].config.ecmascript_module = false
   44.97    Initial User Seeding 44.99    JSON Web KeySet (JWKS)