Circle V2 API Docs
    Preparing search index...

    Type Alias RuleSubjectFacts

    The facts a rule's window and anchor are resolved against, all read in one go from the episode.

    type RuleSubjectFacts = {
        dischargeDate: string | null;
        episodeStart: string | null;
        facilityId: FacilityId;
        facilityTimeZone: string | null;
        lastSyncedDocuments: string | null;
        patientId: PatientId;
        projectedDischargeDate: string | null;
    }
    Index

    Properties

    dischargeDate: string | null
    episodeStart: string | null
    facilityId: FacilityId
    facilityTimeZone: string | null
    lastSyncedDocuments: string | null
    patientId: PatientId

    The episode's own patient. Read here so a caller cannot pair an episode with another one.

    projectedDischargeDate: string | null