Circle V2 API Docs
    Preparing search index...

    Type Alias ConceptDocument

    One document a concept's matchers recognise. documentedAt is null for a chart the EMR gave no date, and isReady is false while it is still ingesting — both are returned rather than filtered out, because a document the evaluator cannot see is the difference between a confident zero and an honest "not yet".

    PHI: title is a document title. It belongs in rule_evaluation.result, never in a log.

    type ConceptDocument = {
        documentedAt: DbDate | null;
        externalDocumentType: ExternalDocumentType | null;
        id: PatientChartId;
        isReady: boolean;
        rawDocument: TableRow<"patient_charts">["raw_document"];
        title: string | null;
        updatedAt: DbDate | null;
    }
    Index

    Properties

    documentedAt: DbDate | null
    externalDocumentType: ExternalDocumentType | null
    isReady: boolean
    rawDocument: TableRow<"patient_charts">["raw_document"]
    title: string | null
    updatedAt: DbDate | null