Bridge SDK
    Preparing search index...

    Interface Patient

    The Patient being viewed in the EHR.

    interface Patient {
        altIds?: string[];
        dob?: string;
        first?: string;
        id: string;
        last?: string;
        sex?: "M" | "F";
        xdata?: {
            address?: {
                city?: string;
                line1?: string;
                line2?: string;
                state?: string;
                zip?: string;
            };
            dept?: string;
            email?: string;
            lastDateOfService?: string;
            pcpIds?: { id: string; type: string }[];
            phoneCell?: string;
            phoneHome?: string;
            primaryInsurance?: string;
            primaryInsuranceGroupNum?: string;
            primaryInsurancePolicyNum?: string;
            problems?: string[];
            provider?: string;
            referringProvider?: string;
            secondaryInsurance?: string;
            secondaryInsuranceGroupNum?: string;
            secondaryInsurancePolicyNum?: string;
        };
    }
    Index

    Properties

    altIds?: string[]

    EHR Alternative Patient IDs

    dob?: string

    Patient's date of birth (DD/MM//YYYY)

    first?: string

    Patient's first name

    id: string

    EHR Patient ID

    last?: string

    Patient's last name

    sex?: "M" | "F"

    Patient's sex

    xdata?: {
        address?: {
            city?: string;
            line1?: string;
            line2?: string;
            state?: string;
            zip?: string;
        };
        dept?: string;
        email?: string;
        lastDateOfService?: string;
        pcpIds?: { id: string; type: string }[];
        phoneCell?: string;
        phoneHome?: string;
        primaryInsurance?: string;
        primaryInsuranceGroupNum?: string;
        primaryInsurancePolicyNum?: string;
        problems?: string[];
        provider?: string;
        referringProvider?: string;
        secondaryInsurance?: string;
        secondaryInsuranceGroupNum?: string;
        secondaryInsurancePolicyNum?: string;
    }

    Additional patient data

    Type declaration

    • Optionaladdress?: { city?: string; line1?: string; line2?: string; state?: string; zip?: string }
    • Optionaldept?: string
    • Optionalemail?: string
    • OptionallastDateOfService?: string

      Last date of service in ISO 8601 format: "YYYY-MM-DD"

      Prompt: Most recent visit's (across all cases) date of service. undefined if no visits.

    • OptionalpcpIds?: { id: string; type: string }[]
    • OptionalphoneCell?: string
    • OptionalphoneHome?: string
    • OptionalprimaryInsurance?: string

      The primary insurance of the patient.

      Prompt: This is the first listed active insurance. undefined if no active insurances. Format: "[ ]"

    • OptionalprimaryInsuranceGroupNum?: string

      The primary insurance group number as provided by the EHR.

    • OptionalprimaryInsurancePolicyNum?: string

      The primary insurance policy number as provided by the EHR.

    • Optionalproblems?: string[]

      The patient's list of medical diagnoses as provided by the EHR.

      Prompt: List of active cases' visits' services' diagnoses. Sorted alphabetically. Empty array if no active cases.

    • Optionalprovider?: string

      The provider assigned to the patient.

      Prompt: The provider on the most recent active case. undefined if no active cases, or no provider on the most recent active case. Format: ", [ ][, ]"

    • OptionalreferringProvider?: string

      The provider that referred the patient.

      Prompt: The referring provider on the most recent active case. undefined if no active cases, or no referring provider on the most recent active case. Format: ", [ ][, ]"

    • OptionalsecondaryInsurance?: string

      The patient's secondary insurance.

      Prompt: This is the second listed active insurance. undefined if fewer than 2 insurances. Format: "[ ]"

    • OptionalsecondaryInsuranceGroupNum?: string

      The secondary insurance group number as provided by the EHR.

    • OptionalsecondaryInsurancePolicyNum?: string

      The secondary insurance policy number as provided by the EHR.