mise API - v0.0.0
    Preparing search index...

    Function pulledFilters_build

    • What to ask CUBE, for an answer's held state.

      One filter per STUDY, which is the shape that matters: asking per series costs two round trips each and a patient's history runs to hundreds, while studies are counted in tens. A study the answer does not name is left out, and its series are asked about one at a time instead.

      Parameters

      • model: {
            expression: string;
            pacsName: string;
            patients?: {
                error?: string;
                patientId: string;
                patientName?: string;
                provenance?: { answeredAt: string; replayed: boolean };
                queryId?: number;
                seriesCount: number;
                server?: string;
                status: "found" | "none" | "unasked";
                studyCount: number;
            }[];
            provenance?: { answeredAt: string; replayed: boolean };
            queryId: number;
            studies: {
                accession: string;
                date: string;
                description: string;
                modalities: string;
                patientId: string;
                patientName: string;
                series: {
                    description: string;
                    fileCount?: number;
                    folderPath?: string;
                    modality: string;
                    pulled?: boolean;
                    pulledFiles?: number;
                    seriesUID: string;
                    vfsPath?: string;
                }[];
                server?: string;
                studyUID?: string;
                vfsPath?: string;
            }[];
            vfsPath: string;
        }

        The answer.

      Returns SeriesStorageFilter[]

      One filter per named study, in the answer's order.