UNPKG

fhirbuilder

Version:
102 lines (101 loc) 3.25 kB
import { IElement, ICoding, IReference } from 'fhirtypes/dist/r4'; import { IQuestionnaireAnswerOption, IOperationOutcome } from 'fhirtypes/dist/r4'; import { BackboneElement, IValidatable, ISerializable } from '../base'; /** * @version R4 (v4.0.1) * @summary FHIR® Specification by HL7® * @description Class for QuestionnaireAnswerOption BackboneElement undefined * @property {number} valueInteger * @property {IElement} _valueInteger * @property {string} valueDate * @property {IElement} _valueDate * @property {string} valueTime * @property {IElement} _valueTime * @property {string} valueString * @property {IElement} _valueString * @property {ICoding} valueCoding * @property {IReference} valueReference * @property {boolean} initialSelected * @property {IElement} _initialSelected * @author Roberto Araneda Espinoza */ export declare class QuestionnaireAnswerOption extends BackboneElement implements IQuestionnaireAnswerOption, IValidatable, ISerializable { /** * @description A potential answer that's allowed as the answer to this question. */ valueInteger?: number; /** * @description Extensions for valueInteger */ _valueInteger?: IElement; /** * @description A potential answer that's allowed as the answer to this question. */ valueDate?: string; /** * @description Extensions for valueDate */ _valueDate?: IElement; /** * @description A potential answer that's allowed as the answer to this question. */ valueTime?: string; /** * @description Extensions for valueTime */ _valueTime?: IElement; /** * @description A potential answer that's allowed as the answer to this question. */ valueString?: string; /** * @description Extensions for valueString */ _valueString?: IElement; /** * @description A potential answer that's allowed as the answer to this question. */ valueCoding?: ICoding; /** * @description A potential answer that's allowed as the answer to this question. */ valueReference?: IReference; /** * @description Indicates whether the answer value is selected when the list of possible answers is initially shown. */ initialSelected?: boolean; /** * @description Extensions for initialSelected */ _initialSelected?: IElement; /** * @description Returns a JSON representation of the model * @returns {Record<string, any>} */ toJson(): Record<string, any>; /** * @description Returns a string representation of the model * @returns {string} */ toString(): string; /** * @description Returns a pretty string representation of the model * @returns {string} */ toPrettyString(): string; /** * @description Returns a serialized string representation of the model * @returns {string} */ serialize(): string; /** * @description Validates the model * @returns {isValid: boolean, operationOutcome: IOperationOutcome} */ validate(): { isValid: boolean; operationOutcome: IOperationOutcome; }; constructor(args?: IQuestionnaireAnswerOption); }