fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
63 lines (62 loc) • 2.04 kB
TypeScript
import { IElement } from 'fhirtypes/dist/r4';
import { IBundleSearch, IOperationOutcome } from 'fhirtypes/dist/r4';
import { BackboneElement, IValidatable, ISerializable } from '../base';
import { SearchEntryModeType } from 'fhirtypes/dist/r4/types';
/**
* @version R4 (v4.0.1)
* @summary FHIR® Specification by HL7®
* @description Class for BundleSearch BackboneElement
* @property {string} mode
* @property {IElement} _mode
* @property {number} score
* @property {IElement} _score
* @author Roberto Araneda Espinoza
*/
export declare class BundleSearch extends BackboneElement implements IBundleSearch, IValidatable, ISerializable {
/**
* @description Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
match | include | outcome.
*/
mode?: SearchEntryModeType;
/**
* @description Extensions for mode
*/
_mode?: IElement;
/**
* @description When searching, the server's search ranking score for the entry.
*/
score?: number;
/**
* @description Extensions for score
*/
_score?: IElement;
/**
* @description Returns a JSON representation of the model
* @returns {Record<string, any>}
*/
toJson(): Record<string, any>;
/**
* @description Returns a string representation of the model
* @returns {string}
*/
toString(): string;
/**
* @description Returns a pretty string representation of the model
* @returns {string}
*/
toPrettyString(): string;
/**
* @description Returns a serialized string representation of the model
* @returns {string}
*/
serialize(): string;
/**
* @description Validates the model
* @returns {isValid: boolean, operationOutcome: IOperationOutcome}
*/
validate(): {
isValid: boolean;
operationOutcome: IOperationOutcome;
};
constructor(args?: IBundleSearch);
}