import { Coding } from './Coding.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { Quantity } from './Quantity.js';
import { Reference } from './Reference.js';
export interface Questionnaire_Item_EnableWhen {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained andor the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
  
  Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Extensions that cannot be ignored even if unrecognized
     */
    modifierExtension?: Extension[];
    /**
     * @description The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.
     * @comment If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.  If there are multiple items with the same linkId and all are equadistant (e.g. a question references a question that appears in a separate repeating group), that is an error.  (Consider using the enableWhenExpression extension to define logic to handle such a situation.)
     * @short The linkId of question that determines whether item is enableddisabled
     */
    question: FhirPrimitive<string>;
    /**
     * @description Specifies the criteria by which the question is enabled.
     * @short exists | = | != | > | < | >= | <=
     */
    operator: FhirPrimitive<string>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerBoolean?: FhirPrimitive<boolean>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerDecimal?: FhirPrimitive<number>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerInteger?: FhirPrimitive<number>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerDate?: FhirPrimitive<string>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerDateTime?: FhirPrimitive<string>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerTime?: FhirPrimitive<string>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerString?: FhirPrimitive<string>;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerCoding?: Coding;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerQuantity?: Quantity;
    /**
     * @choice This is part of the answer[x] choice.
     * @oneOf answerBoolean, answerDecimal, answerInteger, answerDate, answerDateTime, answerTime, answerString, answerCoding, answerQuantity, answerReference
     */
    answerReference?: Reference;
}
//# sourceMappingURL=Questionnaire_Item_EnableWhen.d.ts.map