| /** |
| */ |
| package org.hl7.fhir; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Questionnaire Enable When</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getQuestion <em>Question</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getOperator <em>Operator</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerBoolean <em>Answer Boolean</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerDecimal <em>Answer Decimal</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerInteger <em>Answer Integer</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerDate <em>Answer Date</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerDateTime <em>Answer Date Time</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerTime <em>Answer Time</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerString <em>Answer String</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerCoding <em>Answer Coding</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerQuantity <em>Answer Quantity</em>}</li> |
| * <li>{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerReference <em>Answer Reference</em>}</li> |
| * </ul> |
| * |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen() |
| * @model extendedMetaData="name='Questionnaire.EnableWhen' kind='elementOnly'" |
| * @generated |
| */ |
| public interface QuestionnaireEnableWhen extends BackboneElement { |
| /** |
| * Returns the value of the '<em><b>Question</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The linkId for the question whose answer (or lack of answer) governs whether this item is enabled. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Question</em>' containment reference. |
| * @see #setQuestion(org.hl7.fhir.String) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_Question() |
| * @model containment="true" required="true" |
| * extendedMetaData="kind='element' name='question' namespace='##targetNamespace'" |
| * @generated |
| */ |
| org.hl7.fhir.String getQuestion(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getQuestion <em>Question</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Question</em>' containment reference. |
| * @see #getQuestion() |
| * @generated |
| */ |
| void setQuestion(org.hl7.fhir.String value); |
| |
| /** |
| * Returns the value of the '<em><b>Operator</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Specifies the criteria by which the question is enabled. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Operator</em>' containment reference. |
| * @see #setOperator(QuestionnaireItemOperator) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_Operator() |
| * @model containment="true" required="true" |
| * extendedMetaData="kind='element' name='operator' namespace='##targetNamespace'" |
| * @generated |
| */ |
| QuestionnaireItemOperator getOperator(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getOperator <em>Operator</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Operator</em>' containment reference. |
| * @see #getOperator() |
| * @generated |
| */ |
| void setOperator(QuestionnaireItemOperator value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Boolean</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Boolean</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Boolean</em>' containment reference. |
| * @see #setAnswerBoolean(org.hl7.fhir.Boolean) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerBoolean() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerBoolean' namespace='##targetNamespace'" |
| * @generated |
| */ |
| org.hl7.fhir.Boolean getAnswerBoolean(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerBoolean <em>Answer Boolean</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Boolean</em>' containment reference. |
| * @see #getAnswerBoolean() |
| * @generated |
| */ |
| void setAnswerBoolean(org.hl7.fhir.Boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Decimal</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Decimal</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Decimal</em>' containment reference. |
| * @see #setAnswerDecimal(Decimal) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerDecimal() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerDecimal' namespace='##targetNamespace'" |
| * @generated |
| */ |
| Decimal getAnswerDecimal(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerDecimal <em>Answer Decimal</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Decimal</em>' containment reference. |
| * @see #getAnswerDecimal() |
| * @generated |
| */ |
| void setAnswerDecimal(Decimal value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Integer</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Integer</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Integer</em>' containment reference. |
| * @see #setAnswerInteger(org.hl7.fhir.Integer) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerInteger() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerInteger' namespace='##targetNamespace'" |
| * @generated |
| */ |
| org.hl7.fhir.Integer getAnswerInteger(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerInteger <em>Answer Integer</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Integer</em>' containment reference. |
| * @see #getAnswerInteger() |
| * @generated |
| */ |
| void setAnswerInteger(org.hl7.fhir.Integer value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Date</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Date</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Date</em>' containment reference. |
| * @see #setAnswerDate(Date) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerDate() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerDate' namespace='##targetNamespace'" |
| * @generated |
| */ |
| Date getAnswerDate(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerDate <em>Answer Date</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Date</em>' containment reference. |
| * @see #getAnswerDate() |
| * @generated |
| */ |
| void setAnswerDate(Date value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Date Time</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Date Time</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Date Time</em>' containment reference. |
| * @see #setAnswerDateTime(DateTime) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerDateTime() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerDateTime' namespace='##targetNamespace'" |
| * @generated |
| */ |
| DateTime getAnswerDateTime(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerDateTime <em>Answer Date Time</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Date Time</em>' containment reference. |
| * @see #getAnswerDateTime() |
| * @generated |
| */ |
| void setAnswerDateTime(DateTime value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Time</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Time</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Time</em>' containment reference. |
| * @see #setAnswerTime(Time) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerTime() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerTime' namespace='##targetNamespace'" |
| * @generated |
| */ |
| Time getAnswerTime(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerTime <em>Answer Time</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Time</em>' containment reference. |
| * @see #getAnswerTime() |
| * @generated |
| */ |
| void setAnswerTime(Time value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer String</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer String</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer String</em>' containment reference. |
| * @see #setAnswerString(org.hl7.fhir.String) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerString() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerString' namespace='##targetNamespace'" |
| * @generated |
| */ |
| org.hl7.fhir.String getAnswerString(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerString <em>Answer String</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer String</em>' containment reference. |
| * @see #getAnswerString() |
| * @generated |
| */ |
| void setAnswerString(org.hl7.fhir.String value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Coding</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Coding</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Coding</em>' containment reference. |
| * @see #setAnswerCoding(Coding) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerCoding() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerCoding' namespace='##targetNamespace'" |
| * @generated |
| */ |
| Coding getAnswerCoding(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerCoding <em>Answer Coding</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Coding</em>' containment reference. |
| * @see #getAnswerCoding() |
| * @generated |
| */ |
| void setAnswerCoding(Coding value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Quantity</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Quantity</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Quantity</em>' containment reference. |
| * @see #setAnswerQuantity(Quantity) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerQuantity() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerQuantity' namespace='##targetNamespace'" |
| * @generated |
| */ |
| Quantity getAnswerQuantity(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerQuantity <em>Answer Quantity</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Quantity</em>' containment reference. |
| * @see #getAnswerQuantity() |
| * @generated |
| */ |
| void setAnswerQuantity(Quantity value); |
| |
| /** |
| * Returns the value of the '<em><b>Answer Reference</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Answer Reference</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Answer Reference</em>' containment reference. |
| * @see #setAnswerReference(Reference) |
| * @see org.hl7.fhir.FhirPackage#getQuestionnaireEnableWhen_AnswerReference() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='answerReference' namespace='##targetNamespace'" |
| * @generated |
| */ |
| Reference getAnswerReference(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.QuestionnaireEnableWhen#getAnswerReference <em>Answer Reference</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Answer Reference</em>' containment reference. |
| * @see #getAnswerReference() |
| * @generated |
| */ |
| void setAnswerReference(Reference value); |
| |
| } // QuestionnaireEnableWhen |