export {} declare global { /** * @remarks * The vital types that can be emitted from vital monitor connections. */ type EmittableVitalType = | 'hr' | 'rr' | 'fico2' | 'etco2' | 'fio2' | 'eto2' | 'spo2' | 'fin2o' | 'etn2o' | 'fisev' | 'etsev' | 'fides' | 'etdes' | 'etiso' | 'fiiso' | 'mac' | 'temp' | 'peep' | 'sbp' | 'dbp' | 'map' type ManuallyReportedVitalType = | 'ecg' | 'pip' | 'tv' | 'GCS' | 'RSS' | 'ESS' | 'ventStatus' | 'ventMode' | 'sedLev' type IndividualVitalType = EmittableVitalType | ManuallyReportedVitalType /** * @remarks * Includes all vital types the user can specify that they want to track. It * lumps the individual components of blood pressure into top level "bp" type. */ type UserSelectableVitalType = | 'bp' | Exclude | ManuallyReportedVitalType type UserSelectableVitalTypeStatus = | 'auto' | 'manual' | 'selected' | 'unselected' | 'paused' | 'ignored' /** * @remarks * Includes all individual types (including BP split up into components) and on its own. */ type EveryVitalType = EmittableVitalType | ManuallyReportedVitalType | 'bp' type TempUnit = 'C' | 'F' type VitalTypeValueType = | 'number' | 'float' | 'manualNumber' | 'string' | 'bp' type VitalTypeDefinitionBase = { name: string type: VitalTypeValueType table?: boolean unit?: string chartName: string startValue?: string | number includeInComparison?: boolean includeInAuto?: boolean includeInManual?: true fillFromPrevious?: boolean subItem?: true } type NumericVitalType = VitalTypeDefinitionBase & { startValue: number type: 'number' | 'float' | 'manualNumber' step?: number min: number max: number } type ECGVitalType = VitalTypeDefinitionBase & { startValue: string } type BPVitalType = VitalTypeDefinitionBase & { type: 'bp' } type VitalTypeDefinition = NumericVitalType | ECGVitalType | BPVitalType type UserSelectableVitalTypeWithId = VitalTypeDefinition & { id: UserSelectableVitalType } type IndividualVitalTypeWithId = VitalTypeDefinition & { id: IndividualVitalType } type DecoratedUserSelectableVitalType = UserSelectableVitalTypeWithId & { status: UserSelectableVitalTypeStatus placed: boolean } type DecoratedIndividualVitalType = IndividualVitalTypeWithId & { status: UserSelectableVitalTypeStatus placed: boolean } type NumericVitalValues = Partial> }