///
import { Resource } from "fhir/r4";
import { ZusAggregatedProfileProps } from "./zus-aggregated-profile";
import { CTWProviderProps } from "../../../components/core/providers/ctw-provider";
import { PatientResourceID, ThirdPartyID } from "../../../components/core/providers/patient-provider";
export type IFrameTheme = {
fontFamily?: "Avenir" | "Roboto";
headerSize?: string;
lineHeight?: string;
letterSpacing?: string;
fontWeight?: string;
};
export type ZapIFrameConfig = {
CTWProviderProps: CTWProviderProps;
PatientProviderProps: ThirdPartyID | PatientResourceID;
ZusAggregatedProfileProps: ZusAggregatedProfileIFrameProps;
iframeTheme: IFrameTheme | undefined;
};
export declare const ZapIFrameConfigMessageType = "ZusAggregatedProfileIFrameConfig";
export declare const ZapIFrameReadyMessageType = "ZusAggregatedProfileIFrameReady";
export declare const ZapOnResourceSaveMessageType = "ZusAggregatedProfileOnResourceSave";
export declare const ZapOnPatientSaveMessageType = "ZusAggregatedProfileOnPatientSave";
export declare const ZapOnAddToRecordMessageType = "ZusAggregatedProfileOnAddToRecord";
export declare const ZapOnConfigReceivedMessageType = "ZusAggregatedProfileConfigReceived";
export type ZapMessageEventData = {
type: EventType;
id?: string;
} & ({
payload: EventPayload;
error?: never;
} | {
payload?: never;
error: string;
});
export type ZapIFrameConfigMessageEvent = ZapMessageEventData;
export type ZapOnConfigReceivedMessageEvent = ZapMessageEventData;
export type ZapIFrameReadyMessageEvent = ZapMessageEventData;
export type ZapOnResourceSaveMessageEvent = ZapMessageEventData;
export type ZapOnAddToRecordMessageEvent = ZapMessageEventData;
component: "medications-outside" | "medications-all";
}>;
export type ZapMessageEvent = MessageEvent;
type ZusAggregatedProfileIFrameProps = ZusAggregatedProfileProps & {
overrideIframeUrl?: string;
};
export declare const ZusAggregatedProfileIFrame: import("react").ForwardRefExoticComponent<{
resources?: ("search" | "timeline" | "allergies" | "conditions" | "medications" | "encounters" | "vitals" | "documents" | "immunizations" | "care-team" | "conditions-outside" | "conditions-all" | "diagnostic-reports" | "medications-outside" | "medications-all" | "overview" | "sources")[] | undefined;
forceHorizontalTabs?: boolean | undefined;
includePatientDemographicsForm?: boolean | undefined;
title?: string | undefined;
hideTitle?: boolean | undefined;
removeBranding?: boolean | undefined;
removeRequestRecords?: boolean | undefined;
} & {
allergiesProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../allergies/patient-allergies").PatientAllergiesProps) | undefined;
careTeamProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../care-team/patient-careteam").PatientCareTeamProps) | undefined;
conditionsProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../conditions/patient-conditions").PatientConditionsProps) | undefined;
conditionsOutsideProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../conditions/patient-conditions-outside").PatientConditionsOutsideProps) | undefined;
conditionsAllProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../conditions/patient-conditions-all-grouped").PatientConditionsAllGroupedProps) | undefined;
diagnosticReportsProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../diagnostic-reports/patient-diagnostic-reports").PatientDiagnosticReportsProps) | undefined;
documentsProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../document/patient-documents").PatientDocumentsProps) | undefined;
immunizationsProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../immunizations/patient-immunizations").PatientImmunizationsProps) | undefined;
medicationsProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../medications/patient-medications").PatientMedicationsProps) | undefined;
medicationsOutsideProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../medications/patient-medications-outside").PatientMedicationsOutsideProps) | undefined;
medicationsAllProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../medications/patient-medications-all").PatientMedicationsAllProps) | undefined;
timelineProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../timeline/patient-timeline").PatientTimelineProps) | undefined;
encounterProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../encounters/patient-encounters").PatientEncountersProps) | undefined;
searchProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../patient-record-search/patient-record-search").PatientRecordSearchProps) | undefined;
sourcesProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../patient-sources/patient-sources").PatientSourcesProps) | undefined;
vitalsProps?: ({
hideRequestRecords?: boolean | undefined;
} & import("../vitals/patient-vitals").PatientVitalsProps) | undefined;
} & {
overrideIframeUrl?: string | undefined;
} & import("react").RefAttributes>;
export {};
//# sourceMappingURL=zus-aggregated-profile-iframe.d.ts.map