Smile CDR v2022.08.PRE
On this page:
   37.44    FHIR Realtime Export 37.46    FHIR Resource Types   

37.45Repository Validation

 

The Repository Validation configuration category includes the following configurable options:

  • Enforce Referential Integrity on Write

  • Repository Validation Javascript (File)

  • Repository Validation Javascript (Text)

37.45.1Property: Enforce Referential Integrity on Write

 
Property Name Enforce Referential Integrity on Write
Property Key
Property Type BOOLEAN
Description If disabled, resources may be created or updated even if they contain references to local resources that do not exist.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value enforce_referential_integrity_on_write.enabled
Example Property
module.[MODULE_ID].config.enforce_referential_integrity_on_write.enabled = enforce_referential_integrity_on_write.enabled

37.45.2Property: Repository Validation Javascript (File)

 
Property Name Repository Validation Javascript (File)
Property Key
Property Type Resource Path
Description Provides the script used to build rules for Repository Validation. See Repository Validation: Javascript for more information on this feature.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value (no default)
Example Property
module.[MODULE_ID].config.javascript_repository_validation.script.file = 

37.45.3Property: Repository Validation Javascript (Text)

 
Property Name Repository Validation Javascript (Text)
Property Key
Property Type JAVASCRIPT
Description Provides the script used to build rules for Repository Validation. See Repository Validation: Javascript for more information on this feature.
Applies to Modules
  • FHIR Storage (DSTU2 Relational)
  • FHIR Storage (MongoDB)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
Default Value (no default)
Example Property
module.[MODULE_ID].config.javascript_repository_validation.script.text = 
   37.44    FHIR Realtime Export 37.46    FHIR Resource Types