Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Codesystem-resource-validation-mode.xml

Example CodeSystem/resource-validation-mode (XML)

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

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

Definition for Code System ResourceValidationMode SystemResourceValidationMode

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


  
  
    
  
  
    
    
      
      
        

      
      
      
        
          
            
          
          
            
          
          
            
          
        
        
          create
            
          
          
          The server checks the content, and then checks that the content would be acceptable as
             a create (e.g. that the content would not violate any uniqueness constraints).
        
        
          update
            
          
          
          The server checks the content, and then checks that it would accept it as an update against
             the nominated specific resource (e.g. that there are no changes to immutable fields the
             server does not allow to change and checking version integrity if appropriate).
        
        
          delete
            
          
          
          The server ignores the content and checks that the nominated resource is allowed to be
             deleted (e.g. checking referential integrity rules).
        
        
          profile
            
          
          
          The server checks an existing resource (must be nominated by id, not provided as a parameter)
             as valid against the nominated profile.
        
      
    
  
  
  
    
    
  
  
  
  
  
  
  
  
  
    
      
      
    
    
      
      
    
  
  
  
  
  
  
    
    
    The server checks the content, and then checks that the content would be acceptable as
     a create (e.g. that the content would not violate any uniqueness constraints).
  
  
    
    
    The server checks the content, and then checks that it would accept it as an update against
     the nominated specific resource (e.g. that there are no changes to immutable fields the
     server does not allow to change and checking version integrity if appropriate).
  
  
    
    
    The server ignores the content and checks that the nominated resource is allowed to be
     deleted (e.g. checking referential integrity rules).
  
  
    
    
    The server checks an existing resource (must be nominated by id, not provided as a parameter)
     as valid against the nominated profile.
  

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="resource-validation-mode"/> 
  <meta> 
    <lastUpdated value="2025-11-24T20:46:00.100+00:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: CodeSystem resource-validation-mode</b> 
      </p> 
      <a name="resource-validation-mode"> </a> 
      <a name="hcresource-validation-mode"> </a> 
      <p> This case-sensitive code system 
        <code> http://hl7.org/fhir/resource-validation-mode</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">create
            <a name="resource-validation-mode-create"> </a> 
          </td> 
          <td> Validate for Create</td> 
          <td> The server checks the content, and then checks that the content would be acceptable
             as a create (e.g. that the content would not violate any uniqueness constraints).</td> 
        </tr>         <tr>           <td style="white-space:nowrap">update            <a name="resource-validation-mode-update"> </a>           </td>           <td> Validate for Update</td>           <td> The server checks the content, and then checks that it would accept it as an update

             against the nominated specific resource (e.g. that there are no changes to immutable
             fields the server does not allow to change and checking version integrity if appropriate).</td> 
        </tr>         <tr>           <td style="white-space:nowrap">delete            <a name="resource-validation-mode-delete"> </a>           </td>           <td> Validate for Delete</td>           <td> The server ignores the content and checks that the nominated resource is allowed

             to be deleted (e.g. checking referential integrity rules).</td> 
        </tr>         <tr>           <td style="white-space:nowrap">profile            <a name="resource-validation-mode-profile"> </a>           </td>           <td> Validate Against a Profile</td>           <td> The server checks an existing resource as valid against the nominated profile.</td>         </tr>       </table>     </div>   </text>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">    <valueCode value="fhir"/>   </extension>   <url value="http://hl7.org/fhir/resource-validation-mode"/>   <identifier>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.4.119"/>   </identifier>   <identifier>     <use value="old"/>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.1.109"/>   </identifier>   <identifier>     <use value="old"/>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.2.48"/>   </identifier>   <version value="6.0.0-ballot3"/>   <name value="ResourceValidationMode"/>   <title value="Resource Validation Mode"/>   <status value="active"/>   <experimental value="false"/>   <publisher value="HL7 International"/>   <description value="ResourceValidationMode"/>   <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="create"/>     <display value="Validate for Create"/>     <definition value="The server checks the content, and then checks that the content would be acceptable

     as a create (e.g. that the content would not violate any uniqueness constraints)."/> 
  </concept>   <concept>     <code value="update"/>     <display value="Validate for Update"/>     <definition value="The server checks the content, and then checks that it would accept it as an update

     against the nominated specific resource (e.g. that there are no changes to immutable
     fields the server does not allow to change and checking version integrity if appropriate)."/> 
  </concept>   <concept>     <code value="delete"/>     <display value="Validate for Delete"/>     <definition value="The server ignores the content and checks that the nominated resource is allowed

     to be deleted (e.g. checking referential integrity rules)."/> 
  </concept>   <concept>     <code value="profile"/>     <display value="Validate Against a Profile"/>     <definition value="The server checks an existing resource as valid against the nominated profile."/>   </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.