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

45.99.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

45.99.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

45.99.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

45.99.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

45.99.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

45.99.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

45.99.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

45.99.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
   45.98    Initial User Seeding 45.100    JSON Web KeySet (JWKS)