Circle V2 API Docs
    Preparing search index...
    type MergePatientsServiceParams = {
        duplicatePatientId: PatientId;
        mergeDirection?: PatientMergeDirection;
        primaryPatientId: PatientId;
    }
    Index

    Properties

    duplicatePatientId: PatientId

    Convention when neither patient is EMR: this row is deleted after reassigning references.

    mergeDirection?: PatientMergeDirection

    When set, skips re-resolving EMR direction (orchestrator must have already resolved).

    primaryPatientId: PatientId

    Convention when neither patient is EMR: this row becomes the merge survivor.