Circle V2 API Docs
    Preparing search index...

    Type Alias FormRunRetrievalScope

    The retrieval bound a run was kicked off with, persisted so a re-run can reproduce it.

    Deliberately NOT the chosen contacts: those are rows in patient_charts_contacts, and holding PHI-adjacent contact ids in a second place is how the two drift.

    type FormRunRetrievalScope = {
        includeEmr: boolean;
        selectedDocumentIds: string[];
        selectedSessionIds?: string[];
    }
    Index

    Properties

    includeEmr: boolean
    selectedDocumentIds: string[]

    The charts the fill may read. An EMPTY list means "read no documents", the same as at kickoff.

    selectedSessionIds?: string[]

    The session notes the fill may quote. Absent on runs recorded before notes were evidence.