fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
42 lines (41 loc) • 1.29 kB
TypeScript
import { Element } from '../base/Element';
import { IAnnotation, IElement, IReference } from 'fhirtypes/dist/r4';
import { AnnotationBuilder } from '../../builders/datatypes/AnnotationBuilder';
import { IValidatable } from '../base/IValidatable';
import { ISerializable } from '../base/ISerializable';
export declare class Annotation extends Element implements IAnnotation, IValidatable, ISerializable {
protected builderInstance(): AnnotationBuilder;
/**
* @description The individual responsible for the annotation.
*/
authorReference?: IReference;
/**
* @description The individual responsible for the annotation.
*/
authorString?: string;
/**
* @description Indicates when the annotation was made.
*/
time?: string;
/**
* @description The annotation - text content (as markdown).
*/
text: string;
/**
* @description Extension for time.
*/
_time?: IElement;
/**
* @description Extension for text
*/
_text?: IElement;
toJson(): any;
serialize(): string;
toPrettyString(): string;
toString(): string;
validate(): {
isValid: boolean;
operationOutcome: import("fhirtypes/dist/r4").IOperationOutcome;
};
constructor(args?: IAnnotation);
}