import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { QuestionnaireResponse_Item_Answer } from './QuestionnaireResponse_Item_Answer.js';
export interface QuestionnaireResponse_Item {
    /**
     * @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 item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.
     * @short Pointer to specific item from Questionnaire
     */
    linkId: FhirPrimitive<string>;
    /**
     * @description A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.
     * @comment The ElementDefinition must be in a [StructureDefinition](structuredefinition.html#), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http:hl7.orgfhirStructureDefinitionObservation#Observation.value[x].
  
  There is no need for this element if the item pointed to by the linkId has a definition listed.
     * @short ElementDefinition - details for the item
     */
    definition?: FhirPrimitive<string>;
    /**
     * @description Text that is displayed above the contents of the group or as the text of the question being answered.
     * @comment The text for an item SHOULD be identical to the text from the corresponding Questionnaire.item. This can't be strictly enforced because it's possible for the Questionnaire to be updated subsequent to the QuestionnaireResponse having been created, however the intention is that the text in the QuestionnaireResponse reflects what the user saw when completing the Questionnaire.
     * @short Name for group or question text
     */
    text?: FhirPrimitive<string>;
    /**
     * @backbone Nested BackboneElement: answer [0..*]
     */
    answer?: QuestionnaireResponse_Item_Answer[];
    /**
     * @description Sub-questions, sub-groups or display items nested beneath a group.
     * @comment Only used when nesting beneath a group - see item.answer.item for nesting beneath questions
     * @short Child items of group item
     */
    item?: any[];
}
//# sourceMappingURL=QuestionnaireResponse_Item.d.ts.map