Release 5 R6 Ballot (3rd Draft)
This page is part of the FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Publish-box (todo)

Example CodeSystem/questionnaire-answer-constraint (XML)

FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative

Raw XML ( canonical form + also see XML Format Specification )

Definition for Code SystemQuestionnaireAnswerConstraint

<?xml version="1.0" encoding="UTF-8"?>


  
  
    
    
  
  
    
    
      This code system 
         defines the following codes:
      
      
        
          
            
          
          
            
          
          
            
          
        
        
          optionsOnly
            
          
          

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="questionnaire-answer-constraint"/> 
  <meta> 
    <lastUpdated value="2025-04-01T12:16:37.966+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: CodeSystem questionnaire-answer-constraint</b> 
      </p> 
      <a name="questionnaire-answer-constraint"> </a> 
      <a name="hcquestionnaire-answer-constraint"> </a> 
      <a name="questionnaire-answer-constraint-en-AU"> </a> 
      <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%">
        <p style="margin-bottom: 0px"/>         <p style="margin-bottom: 0px">Profile:           <a href="shareablecodesystem.html">Shareable CodeSystem</a>         </p>       </div>       <p> This case-sensitive code system         <code> http://hl7.org/fhir/questionnaire-answer-constraint</code>  defines the following codes:      </p>       <table class="codes">        <tr>           <td style="white-space:nowrap">            <b> Code</b>           </td>           <td>             <b> Display</b>           </td>           <td>             <b> Definition</b>           </td>         </tr>         <tr>           <td style="white-space:nowrap">optionsOnly            <a name="questionnaire-answer-constraint-optionsOnly"> </a>           </td>           <td> Options only</td> 
          <td> Only values listed as answerOption or in the expansion of the answerValueSet are
             permitted
        
        
          optionsOrType
            
          
          

             permitted</td> 
        </tr>         <tr>           <td style="white-space:nowrap">optionsOrType            <a name="questionnaire-answer-constraint-optionsOrType"> </a>           </td>           <td> Options or 'type'</td> 
          <td> 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
            
          
          

             any other values that correspond to the specified item.type are permitted</td> 
        </tr>         <tr>           <td style="white-space:nowrap">optionsOrString            <a name="questionnaire-answer-constraint-optionsOrString"> </a>           </td>           <td> Options or string</td> 
          <td> 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'.
        
      
    
  
  
    
  
  
  
    
    
  
  
  
  
  
  
  

             free-text strings are permitted.  Answers will have a type of 'string'.</td> 
        </tr>       </table>     </div>   </text>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">    <valueCode value="fhir"/>   </extension>   <url value="http://hl7.org/fhir/questionnaire-answer-constraint"/>   <identifier>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.4.2019"/>   </identifier>   <version value="6.0.0-ballot3"/>   <name value="QuestionnaireAnswerConstraint"/>   <title value="Questionnaire answer constraint codes"/>   <status value="active"/>   <experimental value="false"/>   <publisher value="HL7 International"/> 
  <description value="Codes that describe the types of constraints possible on a question item that has
   a list of permitted answers
  
    
      
      
      
    
  
  
  
  
    
    

   a list of permitted answers"/> 
  <jurisdiction>     <coding>       <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>       <code value="001"/>       <display value="World"/>     </coding>   </jurisdiction>   <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
  
  
    
    

     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
  
  
    
    

     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'.
  

     free-text strings are permitted.  Answers will have a type of 'string'."/> 
  </concept> 


</

CodeSystem

>



Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.