Circle V2 API Docs
    Preparing search index...

    Type Alias FetchPatientAdmissionResult

    type FetchPatientAdmissionResult = {
        admissions: (
            Omit<
                TableInsert<"patient_admissions">,
                "patient_id" | "level_of_care_id",
            > & {
                external_level_of_care_name: string | null | undefined;
                external_patient_id: string;
            }
        )[];
        insurances: EMRAdapterInsuranceInsert[];
        levelsOfCare: Omit<
            EntityLevelsOfCareInsertParams,
            "entity_id"
            | "facility_id",
        >[];
        patients: SetRequired<PatientInsertParams, "external_patient_id">[];
    }
    Index

    Properties

    admissions: (
        Omit<
            TableInsert<"patient_admissions">,
            "patient_id" | "level_of_care_id",
        > & {
            external_level_of_care_name: string | null | undefined;
            external_patient_id: string;
        }
    )[]

    Admissions to insert, with external patient ID and level of care names

    • The external patient ID will matched with the corresponding patient in our db
    • The level of care name will matched with the corresponding level of care in our db

    Insurance records extracted from admission data

    levelsOfCare: Omit<EntityLevelsOfCareInsertParams, "entity_id" | "facility_id">[]
    patients: SetRequired<PatientInsertParams, "external_patient_id">[]

    Patients to insert