import { Measure } from './Measure.mjs'; import { Medication } from './Medication.mjs'; import { DecryptedService, EncryptedService, Service } from './Service.mjs'; import { TimeSeries } from './TimeSeries.mjs'; /** * * Represents the value content of a medical service. A content can hold different types of values * such as strings, numbers, dates, measurements, medications, time series, or compound * sub-services. * / */ export interface Content { /** * * A string value. */ stringValue: string | undefined; /** * * A numeric value. */ numberValue: number | undefined; /** * * A boolean value. */ booleanValue: boolean | undefined; /** * * An instant value. */ instantValue: number | undefined; /** * * Value as a fuzzy date, which may contain day, month, and/or year components. */ fuzzyDateValue: number | undefined; /** * * A binary value encoded as a byte array. */ binaryValue: Int8Array | undefined; /** * * The identifier of a linked document. */ documentId: string | undefined; /** * * Values of measurements recorded, including value, range, severity, and unit. */ measureValue: Measure | undefined; /** * * The details of prescribed or suggested medication. */ medicationValue: Medication | undefined; /** * * A high frequency time-series containing timestamps in ms and their values. */ timeSeries: TimeSeries | undefined; /** * * A list of sub-services forming a compound value. */ compoundValue: Array | undefined; /** * * A list of measures representing a ratio. */ ratio: Array | undefined; /** * * A list of measures representing a range. */ range: Array | undefined; readonly isEncrypted: boolean; toJSON(): object; } /** * * Represents the value content of a medical service. A content can hold different types of values * such as strings, numbers, dates, measurements, medications, time series, or compound * sub-services. * / */ export declare class DecryptedContent { /** * * A string value. */ stringValue: string | undefined; /** * * A numeric value. */ numberValue: number | undefined; /** * * A boolean value. */ booleanValue: boolean | undefined; /** * * An instant value. */ instantValue: number | undefined; /** * * Value as a fuzzy date, which may contain day, month, and/or year components. */ fuzzyDateValue: number | undefined; /** * * A binary value encoded as a byte array. */ binaryValue: Int8Array | undefined; /** * * The identifier of a linked document. */ documentId: string | undefined; /** * * Values of measurements recorded, including value, range, severity, and unit. */ measureValue: Measure | undefined; /** * * The details of prescribed or suggested medication. */ medicationValue: Medication | undefined; /** * * A high frequency time-series containing timestamps in ms and their values. */ timeSeries: TimeSeries | undefined; /** * * A list of sub-services forming a compound value. */ compoundValue: Array | undefined; /** * * A list of measures representing a ratio. */ ratio: Array | undefined; /** * * A list of measures representing a range. */ range: Array | undefined; readonly isEncrypted: false; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): DecryptedContent; } /** * * Represents the value content of a medical service. A content can hold different types of values * such as strings, numbers, dates, measurements, medications, time series, or compound * sub-services. * / */ export declare class EncryptedContent { /** * * A string value. */ stringValue: string | undefined; /** * * A numeric value. */ numberValue: number | undefined; /** * * A boolean value. */ booleanValue: boolean | undefined; /** * * An instant value. */ instantValue: number | undefined; /** * * Value as a fuzzy date, which may contain day, month, and/or year components. */ fuzzyDateValue: number | undefined; /** * * A binary value encoded as a byte array. */ binaryValue: Int8Array | undefined; /** * * The identifier of a linked document. */ documentId: string | undefined; /** * * Values of measurements recorded, including value, range, severity, and unit. */ measureValue: Measure | undefined; /** * * The details of prescribed or suggested medication. */ medicationValue: Medication | undefined; /** * * A high frequency time-series containing timestamps in ms and their values. */ timeSeries: TimeSeries | undefined; /** * * A list of sub-services forming a compound value. */ compoundValue: Array | undefined; /** * * A list of measures representing a ratio. */ ratio: Array | undefined; /** * * A list of measures representing a range. */ range: Array | undefined; readonly isEncrypted: true; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): EncryptedContent; }