Circle V2 API Docs
    Preparing search index...

    Variable circleDocumentMetadataSchemaConst

    circleDocumentMetadataSchema: ZodObject<
        {
            admittedAt: ZodNullable<ZodString>;
            capturedAt: ZodString;
            dischargedAt: ZodNullable<ZodString>;
            entityId: ZodNumber;
            episodeEnd: ZodOptional<ZodNullable<ZodString>>;
            episodeStart: ZodOptional<ZodNullable<ZodString>>;
            levelOfCareName: ZodOptional<ZodNullable<ZodString>>;
            patientId: ZodPipe<
                ZodUnion<readonly [ZodString, ZodNumber]>,
                ZodTransform<PatientId, string | number>,
            >;
            patientName: ZodString;
            programEnd: ZodOptional<ZodNullable<ZodString>>;
            programName: ZodOptional<ZodNullable<ZodString>>;
            programStart: ZodOptional<ZodNullable<ZodString>>;
            proxy: ZodOptional<
                ZodObject<
                    {
                        attachmentFailedAttempts: ZodOptional<ZodNumber>;
                        attachmentId: ZodNullable<ZodString>;
                        attachmentRetryAfter: ZodOptional<ZodString>;
                        attachmentSkipReason: ZodOptional<
                            ZodNullable<
                                ZodEnum<
                                    {
                                        extraction_failed_repeatedly: "extraction_failed_repeatedly";
                                        hash_mismatch: "hash_mismatch";
                                        metadata_invalid: "metadata_invalid";
                                        not_listed: "not_listed";
                                        not_pdf: "not_pdf";
                                        too_large: "too_large";
                                        vendor_rejected: "vendor_rejected";
                                    },
                                >,
                            >,
                        >;
                        businessId: ZodNullable<ZodString>;
                        connector: ZodString;
                        contentHash: ZodNullable<ZodString>;
                        contentHashStoredAt: ZodOptional<ZodNullable<ZodString>>;
                        embedFailedAt: ZodOptional<ZodString>;
                        embedFailedAttempts: ZodOptional<ZodNumber>;
                        label: ZodNullable<ZodString>;
                        schemaVersion: ZodString;
                        sourceEpisodeId: ZodOptional<ZodNullable<ZodString>>;
                        table: ZodString;
                    },
                    $strip,
                >,
            >;
            urLevelOfCareName: ZodOptional<ZodNullable<ZodString>>;
        },
        $strip,
    > = ...