FHIR DataStore Configuration
The FHIR DataStore configuration is a profile over the BusinessConfiguration for the referential integrity validator. The default FHIR DataStore configuration is enabled and delivered as a part of default content.
The execution of the referential integrity validator is done based on the configuration defined for the interaction types:
-
During create or update interaction, the referential integrity checks whether the resource contains a reference to a resource. If there's a reference to a resource that doesn't exist, then the request fails.
-
During delete interaction, the referential integrity checks whether other resources have a reference to the resource you are trying to delete. If there's a reference, then the request fails.
-
During bundle interaction, the referential integrity checks whether the resource contains a reference to a resource. If there's a reference to a resource that doesn't exist, then the request fails.
|
Configuration |
Description |
|---|---|
|
onWrite |
If true, validates the referential integrity during resource creation or update. |
|
onDelete |
If true, validates the referential integrity during resource deletion. |
|
onBundle |
If true, validates the referential integrity for the requests from bundle transactions. |