Click or drag to resize

LocalPatientRepositoryMerge Method

Merges two patients together

Namespace:  SanteDB.DisconnectedClient.Services.Local
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public Patient Merge(
	Patient survivor,
	Patient victim
)

Parameters

survivor
Type: SanteDB.Core.Model.RolesPatient
The surviving patient record
victim
Type: SanteDB.Core.Model.RolesPatient
The victim patient record

Return Value

Type: Patient
A new version of patient a representing the merge
Exceptions
ExceptionCondition
InvalidOperationExceptionIf the persistence service is not found.
NotImplementedException
See Also