import { Identifiable } from '../base/Identifiable.mjs'; import { Named } from '../base/Named.mjs'; import { Base64String } from '../specializations/Base64String.mjs'; import { Encryptable } from './Encryptable.mjs'; /** * * Represents a medical episode, which is a time-bounded grouping of healthcare elements related to * a specific concern. * / */ export interface Episode extends Encryptable, Identifiable, Named { /** * * A comment associated with the episode. */ comment: string | undefined; /** * * The start date in YYYYMMDDHHMMSS format. Unknown components are set to 00. */ startDate: number | undefined; /** * * The end date in YYYYMMDDHHMMSS format. Unknown components are set to 00. */ endDate: number | undefined; readonly isEncrypted: boolean; toJSON(): object; } /** * * Represents a medical episode, which is a time-bounded grouping of healthcare elements related to * a specific concern. * / */ export declare class DecryptedEpisode { /** * * The unique identifier of this episode. */ id: string; /** * * The name of the episode. */ name: string | undefined; /** * * A comment associated with the episode. */ comment: string | undefined; /** * * The start date in YYYYMMDDHHMMSS format. Unknown components are set to 00. */ startDate: number | undefined; /** * * The end date in YYYYMMDDHHMMSS format. Unknown components are set to 00. */ endDate: number | undefined; /** * * The base64-encoded encrypted content of this episode. */ encryptedSelf: Base64String | undefined; readonly isEncrypted: false; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): DecryptedEpisode; } /** * * Represents a medical episode, which is a time-bounded grouping of healthcare elements related to * a specific concern. * / */ export declare class EncryptedEpisode { /** * * The unique identifier of this episode. */ id: string; /** * * The name of the episode. */ name: string | undefined; /** * * A comment associated with the episode. */ comment: string | undefined; /** * * The start date in YYYYMMDDHHMMSS format. Unknown components are set to 00. */ startDate: number | undefined; /** * * The end date in YYYYMMDDHHMMSS format. Unknown components are set to 00. */ endDate: number | undefined; /** * * The base64-encoded encrypted content of this episode. */ encryptedSelf: Base64String | undefined; readonly isEncrypted: true; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): EncryptedEpisode; }