Compatibility Validation on SearchParameter
SAP Health Data Services for FHIR validates SearchParameter to ensure that only compatible changes are brought into the system.
When a new version of an existing SearchParameter is created, all the changes in the new version must be compatible with the previous version so that the system can work without any issue. To avoid any issues, the following validations are enabled that raise an error during an incompatible change and ensure that the system state is maintained:
-
The type field in the SearchParameter must not be changed.
-
The code field in the SearchParameter must not be changed.
-
The existing resource types in the base field can't be removed but you can add a new resource type along with the existing ones.
-
The existing expressions in the expression field can't be removed but you can add a new expression along with the existing ones.
-
The following fields in the SearchParameter can be modified:
-
xpath
-
xpathUsage
-
comparator
-
target
-
Example