Validations for Canonical Resources

SAP Health Data Services for FHIR validates canonical resources during RESTful interactions. This reference describes the validation rules applied to canonical resources.

SAP Health Data Services for FHIR validates the following:

  • The url of the resource is validated.

  • The mandatory field version of the resource is validated. The version must be in major.minor.patch format.

  • Disallow creation if the resource already exists with same url and version.

  • Updating the resource with same version is allowed.

  • Bringing a new version of the resource with the same url is allowed.

  • Allow update only if logical ID, URL, and version match.

  • The profile must be present in SAP Health Data Services for FHIR.