fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
34 lines (33 loc) • 1.03 kB
TypeScript
import { IAttachment, IElement } from 'fhirtypes/dist/r4';
import { AttachmentBuilder } from '../../builders';
import { Element } from '../base/Element';
import { IValidatable } from '../base/IValidatable';
import { ISerializable } from '../base/ISerializable';
export declare class Attachment extends Element implements IAttachment, IValidatable, ISerializable {
contentType?: string;
data?: string;
language?: string;
url?: string;
size?: number;
hash?: string;
title?: string;
creation?: string;
_contentType?: IElement;
_creation?: IElement;
_data?: IElement;
_hash?: IElement;
_language?: IElement;
_size?: IElement;
_title?: IElement;
_url?: IElement;
toJson(): any;
toPrettyString(): string;
toString(): string;
validate(): {
isValid: boolean;
operationOutcome: import("fhirtypes/dist/r4").IOperationOutcome;
};
constructor(args?: IAttachment);
protected builderInstance(): AttachmentBuilder;
serialize(): string;
}