Circle V2 API Docs
    Preparing search index...

    Type Alias EMRAdapterInsuranceInsert

    EMRAdapterInsuranceInsert: Omit<
        PatientInsuranceInsertParams,
        "patient_id"
        | "payor_id",
    > & { external_patient_id: string | null; payor_name: string | null }

    Adapter-facing insurance row.

    Mirrors the legacy PatientInsuranceInsert shape: adapters carry payor_name from the source EMR rather than payor_id, because EMRs don't expose stable v2 payor identifiers. The repo's upsertPatientInsuranceInformation resolves payor_name → payor_id in bulk before insert (see payorsRepo.findOrCreateByNames).