UNPKG

fhirbuilder

Version:
74 lines (73 loc) 2.37 kB
import { ICoding, IElement } from 'fhirtypes/dist/r4'; import { CodingBuilder } from '../../builders'; import { Element } from '../base/Element'; import { IValidatable } from '../base/IValidatable'; import { ISerializable } from '../base/ISerializable'; /** * @description A reference to a code defined by a terminology system. * @property {string} code - Symbol in syntax defined by the system * @property {string} display - Representation defined by the system * @property {string} system - Identity of the terminology system * @property {string} version - Version of the system - if relevant * @property {boolean} userSelected - If this coding was chosen directly by the user * @property {IElement} _system - Extension of system * @property {IElement} _version - Extension of version * @property {IElement} _code - Extension of code * @property {IElement} _display - Extension of display * @property {IElement} _userSelected - Extension of userSelected * @implements {ICoding} * @see https://www.hl7.org/fhir/datatypes.html#Coding Coding * @author Roberto Araneda */ export declare class Coding extends Element implements ICoding, IValidatable, ISerializable { /** * @description Identity of the terminology system */ system: string; /** * @description Version of the system - if relevant */ version: string; /** * @description Symbol in syntax defined by the system */ code: string; /** * @description Representation defined by the system */ display: string; /** * @description If this coding was chosen directly by the user */ userSelected: boolean; /** * @description Extension of system */ _system: IElement; /** * @description Extension of version */ _version: IElement; /** * @description Extension of code */ _code: IElement; /** * @description Extension of display */ _display: IElement; /** * @description Extension of userSelected */ _userSelected: IElement; toJson(): any; toPrettyString(): string; toString(): string; validate(): { isValid: boolean; operationOutcome: import("fhirtypes/dist/r4").IOperationOutcome; }; constructor(args?: ICoding); protected builderInstance(): CodingBuilder; serialize(): string; }