Circle V2 API Docs
    Preparing search index...

    The admission-derived data points triggers are evaluated against. levelOfCareId is the branded read-schema type: callers must parse the admission's raw level_of_care_id column via parseEntityLevelOfCareId at the read boundary so it lines up with the filter LOC ids, which triggerFilterReadSchema brands to the same EntityLevelOfCareId (a string under the hood).

    type TriggerData = {
        admissionDate?: Date;
        currentFacilityProgramId?: FacilityProgramId | null;
        currentProgramStartDate?: Date;
        currentProgramStayId?: ProgramStayId | null;
        dischargeDate?: Date;
        facilityId?: FacilityId | null;
        lastUtilizationEndDate?: Date;
        lastUtilizationFacilityLevelOfCareId?: FacilityLevelOfCareId | null;
        lastUtilizationStartDate?: Date;
        levelOfCareId?: EntityLevelOfCareId | null;
        projectedDischargeDate?: Date;
    }
    Index

    Properties

    admissionDate?: Date
    currentFacilityProgramId?: FacilityProgramId | null

    The newest ongoing program stay's program (facility_programs uuid) on the admission's episode.

    currentProgramStartDate?: Date

    Start of that same newest ongoing program stay — the anchor for program_start triggers.

    currentProgramStayId?: ProgramStayId | null
    dischargeDate?: Date
    facilityId?: FacilityId | null
    lastUtilizationEndDate?: Date
    lastUtilizationFacilityLevelOfCareId?: FacilityLevelOfCareId | null

    The latest utilization review's UR level of care (facility_levels_of_care uuid, type='ur').

    lastUtilizationStartDate?: Date
    levelOfCareId?: EntityLevelOfCareId | null
    projectedDischargeDate?: Date