import { z } from "zod"; import { ConsolidatedQuery } from "./fhir"; export declare const patientCreateSchema: z.ZodObject, string, string>, string, string>; genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>; personalIdentifiers: z.ZodOptional; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["driversLicense"]>; state: z.ZodEffects, import("@metriport/shared").USState, unknown>; }>, "strip", z.ZodTypeAny, { type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>, z.ZodObject; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["ssn"]>; }>, "strip", z.ZodTypeAny, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>]>, "many">>; address: z.ZodUnion<[z.ZodArray]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>, "atleastone">, z.ZodObject<{ addressLine1: z.ZodString; addressLine2: z.ZodEffects]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>]>; contact: z.ZodUnion<[z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, "many">>, z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>>]>; }, { externalId: z.ZodOptional; hieOptOut: z.ZodOptional; hie: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; commonwell: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; ehex: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>>; settings: z.ZodOptional>; }, "strip", z.ZodTypeAny, { adt?: string[] | undefined; }, { adt?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { subscriptions?: { adt?: string[] | undefined; } | undefined; }, { subscriptions?: { adt?: string[] | undefined; } | undefined; }>>; cohorts: z.ZodOptional>; }>, "strip", z.ZodTypeAny, { firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; } | [{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, ...{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }[]]; personalIdentifiers?: ({ type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }, { firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; } | [{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }, ...{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }[]]; personalIdentifiers?: ({ type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }>; export type PatientCreate = z.infer; export declare const patientUpdateSchema: z.ZodObject, string, string>, string, string>; genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>; personalIdentifiers: z.ZodOptional; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["driversLicense"]>; state: z.ZodEffects, import("@metriport/shared").USState, unknown>; }>, "strip", z.ZodTypeAny, { type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>, z.ZodObject; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["ssn"]>; }>, "strip", z.ZodTypeAny, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>]>, "many">>; address: z.ZodUnion<[z.ZodArray]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>, "atleastone">, z.ZodObject<{ addressLine1: z.ZodString; addressLine2: z.ZodEffects]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>]>; contact: z.ZodUnion<[z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, "many">>, z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>>]>; }, { externalId: z.ZodOptional; hieOptOut: z.ZodOptional; hie: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; commonwell: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; ehex: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>>; settings: z.ZodOptional>; }, "strip", z.ZodTypeAny, { adt?: string[] | undefined; }, { adt?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { subscriptions?: { adt?: string[] | undefined; } | undefined; }, { subscriptions?: { adt?: string[] | undefined; } | undefined; }>>; cohorts: z.ZodOptional>; }>, { id: z.ZodString; eTag: z.ZodOptional; }>, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; } | [{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, ...{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }[]]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }, { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; } | [{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }, ...{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }[]]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }>; export type PatientUpdate = z.infer; export declare const patientSchema: z.ZodObject, string, string>, string, string>; genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>; personalIdentifiers: z.ZodOptional; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["driversLicense"]>; state: z.ZodEffects, import("@metriport/shared").USState, unknown>; }>, "strip", z.ZodTypeAny, { type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>, z.ZodObject; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["ssn"]>; }>, "strip", z.ZodTypeAny, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>]>, "many">>; address: z.ZodUnion<[z.ZodArray]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>, "atleastone">, z.ZodObject<{ addressLine1: z.ZodString; addressLine2: z.ZodEffects]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>]>; contact: z.ZodUnion<[z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, "many">>, z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>>]>; }, { externalId: z.ZodOptional; hieOptOut: z.ZodOptional; hie: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; commonwell: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; ehex: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>>; settings: z.ZodOptional>; }, "strip", z.ZodTypeAny, { adt?: string[] | undefined; }, { adt?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { subscriptions?: { adt?: string[] | undefined; } | undefined; }, { subscriptions?: { adt?: string[] | undefined; } | undefined; }>>; cohorts: z.ZodOptional>; }>, { id: z.ZodString; eTag: z.ZodOptional; }>, { facilityIds: z.ZodArray; }>, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; } | [{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, ...{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }[]]; facilityIds: string[]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }, { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; } | [{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }, ...{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }[]]; facilityIds: string[]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }>; export type Patient = z.infer; export declare const patientListSchema: z.ZodObject<{ patients: z.ZodArray, string, string>, string, string>; genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>; personalIdentifiers: z.ZodOptional; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["driversLicense"]>; state: z.ZodEffects, import("@metriport/shared").USState, unknown>; }>, "strip", z.ZodTypeAny, { type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>, z.ZodObject; }, "strip", z.ZodTypeAny, { start: string; end?: string | undefined; }, { start: string; end?: string | undefined; }>, z.ZodObject<{ start: z.ZodOptional; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start?: string | undefined; }, { end: string; start?: string | undefined; }>]>>; assigner: z.ZodOptional; }, { type: z.ZodEnum<["ssn"]>; }>, "strip", z.ZodTypeAny, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }, { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; }>]>, "many">>; address: z.ZodUnion<[z.ZodArray]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>, "atleastone">, z.ZodObject<{ addressLine1: z.ZodString; addressLine2: z.ZodEffects]>, string | undefined, string | undefined>; city: z.ZodString; state: z.ZodUnion<[z.ZodEffects, import("@metriport/shared").USState, unknown>, z.ZodEffects, import("@metriport/shared").USTerritory, unknown>]>; zip: z.ZodEffects, string, string>, string, string>; coordinates: z.ZodOptional>; country: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }>]>; contact: z.ZodUnion<[z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, "many">>, z.ZodOptional, string, string>, z.ZodNull]>, z.ZodUndefined]>; email: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>, { phone?: string | null | undefined; email?: string | null | undefined; }, { phone?: string | null | undefined; email?: string | null | undefined; }>>]>; }, { externalId: z.ZodOptional; hieOptOut: z.ZodOptional; hie: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; commonwell: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; ehex: z.ZodOptional; }, "strict", z.ZodTypeAny, { exclude?: boolean | undefined; }, { exclude?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }, { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; }>>; settings: z.ZodOptional>; }, "strip", z.ZodTypeAny, { adt?: string[] | undefined; }, { adt?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { subscriptions?: { adt?: string[] | undefined; } | undefined; }, { subscriptions?: { adt?: string[] | undefined; } | undefined; }>>; cohorts: z.ZodOptional>; }>, { id: z.ZodString; eTag: z.ZodOptional; }>, { facilityIds: z.ZodArray; }>, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; } | [{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, ...{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }[]]; facilityIds: string[]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }, { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; } | [{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }, ...{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }[]]; facilityIds: string[]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { patients: { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; } | [{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }, ...{ addressLine1: string; city: string; state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory; zip: string; country: "USA"; addressLine2?: string | undefined; coordinates?: { lat: number; lon: number; } | undefined; }[]]; facilityIds: string[]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state: import("@metriport/shared").USState; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }[]; }, { patients: { id: string; firstName: string; lastName: string; dob: string; genderAtBirth: "F" | "M" | "O" | "U"; address: { addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; } | [{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }, ...{ addressLine1: string; city: string; zip: string; addressLine2?: string | undefined; state?: unknown; coordinates?: { lat: number; lon: number; } | undefined; country?: "USA" | undefined; }[]]; facilityIds: string[]; eTag?: string | undefined; personalIdentifiers?: ({ type: "driversLicense"; value: string; state?: unknown; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; } | { type: "ssn"; value: string; period?: { start: string; end?: string | undefined; } | { end: string; start?: string | undefined; } | undefined; assigner?: string | undefined; })[] | undefined; contact?: { phone?: string | null | undefined; email?: string | null | undefined; } | { phone?: string | null | undefined; email?: string | null | undefined; }[] | undefined; hie?: { carequality?: { exclude?: boolean | undefined; } | undefined; commonwell?: { exclude?: boolean | undefined; } | undefined; ehex?: { exclude?: boolean | undefined; } | undefined; } | undefined; externalId?: string | undefined; hieOptOut?: boolean | undefined; settings?: { subscriptions?: { adt?: string[] | undefined; } | undefined; } | undefined; cohorts?: string[] | undefined; }[]; }>; export declare const queryStatusSchema: z.ZodEnum<["processing", "completed", "failed"]>; export type QueryStatus = z.infer; export type GetConsolidatedQueryProgressResponse = { /** @deprecated status should no longer be used. Refer to queries array instead. */ status: QueryStatus; queries: ConsolidatedQuery[] | null; message?: string; }; export type GetSingleConsolidatedQueryProgressResponse = ConsolidatedQuery; export type StartConsolidatedQueryProgressResponse = ConsolidatedQuery; export type PatientHieOptOutResponse = { id: string; hieOptOut: boolean; message: string; }; export declare const medicalRecordUrlResponseSchema: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; export type MedicalRecordUrlResponse = z.infer; //# sourceMappingURL=patient.d.ts.map