--- type: "codesystem" title: "Questionnaire answer constraint codes" codesystem: "questionnaire-answer-constraint" --- # Questionnaire answer constraint codes - **Official URL**: http://hl7.org/fhir/questionnaire-answer-constraint - **Version**: 6.0.0 - **Status**: active - **Name**: QuestionnaireAnswerConstraint - **Title**: Questionnaire answer constraint codes - **Description**: Codes that describe the types of constraints possible on a question item that has a list of permitted answers - **Case Sensitive**: true - **Content**: complete ## Concepts | Code | Display | Definition | | --- | --- | --- | | optionsOnly | Options only | Only values listed as answerOption or in the expansion of the answerValueSet are permitted | | optionsOrType | Options or 'type' | In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted | | optionsOrString | Options or string | In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted. Answers will have a type of 'string'. | ## CodeSystem XML ```xml <status value="active"/> <experimental value="false"/> <description value="Codes that describe the types of constraints possible on a question item that has a list of permitted answers"/> <caseSensitive value="true"/> <content value="complete"/> <concept> <code value="optionsOnly"/> <display value="Options only"/> <definition value="Only values listed as answerOption or in the expansion of the answerValueSet are permitted"/> </concept> <concept> <code value="optionsOrType"/> <display value="Options or 'type'"/> <definition value="In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted"/> </concept> <concept> <code value="optionsOrString"/> <display value="Options or string"/> <definition value="In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted. Answers will have a type of 'string'."/> </concept> </CodeSystem> ```