Data Integrity in the Resource (FHIR R4)

Dear all,

Can you help me, I would like to create a way to guarantee the uniqueness of registration in an FHIR resource.

Example:

Resource: Patient
Element: Identifier

“identifier”: [
{
“system”: “patient”,
“value”: “11111”
}
]

Objective:

Do not allow a new record with the same identifier to be included.

You need to provide more information. As an interface standard, all FHIR says is ‘a server can return an error in this case if it wants’. FHIR does not dictate whether the server wants to or not, nor how it would implement such a rule if it wanted to. Are you asking about a particular server?