fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
29 lines (28 loc) • 957 B
TypeScript
import { IElement, IQuantity, QuantityComparatorType } from 'fhirtypes/dist/r4';
import { QuantityBuilder } from '../../builders';
import { Element } from '../base/Element';
import { IValidatable } from '../base/IValidatable';
import { ISerializable } from '../base/ISerializable';
export declare class Quantity extends Element implements IQuantity, IValidatable, ISerializable {
code: string;
comparator: QuantityComparatorType;
system: string;
unit: string;
value: number;
_code: IElement;
_comparator: IElement;
_system: IElement;
_unit: IElement;
_value: IElement;
toJson(): any;
toPrettyString(): string;
toString(): string;
validate(): {
isValid: boolean;
operationOutcome: import("fhirtypes/dist/r4").IOperationOutcome;
};
static builder(): QuantityBuilder;
constructor(args?: IQuantity);
protected builderInstance(): QuantityBuilder;
serialize(): string;
}