UNPKG

fhirbuilder

Version:
39 lines (38 loc) 1.44 kB
import { ICodeableConcept, ICoding, IElement } from 'fhirtypes/dist/r4'; import { CodeableConceptBuilder } from '../../builders'; import { Element } from '../base/Element'; import { IValidatable } from '../base/IValidatable'; import { ISerializable } from '../base/ISerializable'; /** * @description Concept - reference to a terminology or just text. * @property {string} id - Unique id for inter-element referencing * @property {ICoding[]} coding - Code defined by a terminology system * @property {string} text - Plain text representation of the concept * @property {IElement} _text - Extension of text element * @see https://www.hl7.org/fhir/datatypes.html#CodeableConcept CodeableConcept * @author Roberto Araneda */ export declare class CodeableConcept extends Element implements ICodeableConcept, IValidatable, ISerializable { /** * @description Code defined by a terminology system */ coding?: ICoding[]; /** * @description Plain text representation of the concept */ text?: string; /** * @description Extension of text element */ _text?: IElement; toJson(): any; toPrettyString(): string; toString(): string; validate(): { isValid: boolean; operationOutcome: import("fhirtypes/dist/r4").IOperationOutcome; }; constructor(args?: ICodeableConcept); protected builderInstance(): CodeableConceptBuilder; serialize(): string; }