@P, Pioline (Cognizant) Thanks for reaching out. The FHIR service does not enforce referential integrity among FHIR resources.
This means that if you delete a Patient resource, any Claim resources that reference the deleted Patient will not be automatically deleted or throw an error. This is by design, as FHIR aims to be a flexible model that can handle real-world healthcare scenarios. In many cases, resources may reference other resources that are no longer available or have been deleted.
let me know incase of further queries, i would be happy to assist you.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topic