import { USState } from "@metriport/shared"; import { GeneralPersonalIdentifiers, DriversLicensePersonalIdentifier } from "./demographics"; export type PatientDTO = { id: string; eTag?: string; firstName: string; lastName: string; dob: string; genderAtBirth: "M" | "F" | "O" | "U"; personalIdentifiers?: PersonalIdentifier[]; facilityIds: string[]; externalId?: string; hieOptOut?: boolean; additionalIds?: { [key: string]: string[]; }; dateCreated?: Date; address: Address | Address[]; contact?: Contact | Contact[]; }; type Coordinates = { lat: number; lon: number; }; type Address = { addressLine1: string; addressLine2?: string; city: string; state: string; zip: string; country: string; coordinates?: Coordinates; }; export type BaseIdentifier = { value: string; period?: { start: string; end?: string; } | { start?: string; end: string; }; assigner?: string; }; export type PersonalIdentifier = BaseIdentifier & ({ type: GeneralPersonalIdentifiers; } | { type: DriversLicensePersonalIdentifier; state: USState; }); type Contact = { phone?: string | undefined; email?: string | undefined; }; export {}; //# sourceMappingURL=patientDTO.d.ts.map