R6 Ballot (3rd Draft) (1st Full Ballot)

Publish-box (todo) This page is part of the FHIR Specification v6.0.0-ballot4: Release 6 Ballot (1st Full Ballot) (see Ballot Notes ). The current version is 5.0.0 . For a full list of available versions, see the Directory of published versions for published versions

Example CodeSystem/patch-operation (XML)

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

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

Definition for Code SystemPatchOperation

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

  
  
    
    
  
  
    
    
      
        
      
      
      
      
      display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%
        
        Profile: 
          
        
      
      This case-sensitive code system 
         defines the following codes:
      
      
        
          
            
          
          
            
          
          
            
          
        
        
          add
            
          
          
          
        
        
          insert
            
          
          
          
        
        
          delete
            
          
          
          
        
        
          replace
            
          
          
          
        
        
          move
            
          
          
          
        
      
    
  
  
    
  
  
    
  
  
    
  
  
  
  
  
  
  
  
  
  
    
      
      
    
    
      
      
    
  
  
  
    
      
      
      
    
  
  
  
  
  
    
    
    
  
  
    
    
    
  
  
    
    
    
  
  
    
    
    
  
  
    
    
    
  

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="patch-operation"/> 
  <meta> 
    <lastUpdated value="2025-12-18T07:07:42.170+11:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: CodeSystem patch-operation</b> 
      </p> 
      <a name="patch-operation"> </a> 
      <a name="hcpatch-operation"> </a> 
      <p> This case-sensitive code system 
        <code> http://hl7.org/fhir/patch-operation</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">add
            <a name="patch-operation-add"> </a> 
          </td> 
          <td> Add</td> 
          <td> Add content at the nominated location.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">insert
            <a name="patch-operation-insert"> </a> 
          </td> 
          <td> Insert</td> 
          <td> Insert content at the nominated location.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">delete
            <a name="patch-operation-delete"> </a> 
          </td> 
          <td> Delete</td> 
          <td> Delete content from the nominated location.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">replace
            <a name="patch-operation-replace"> </a> 
          </td> 
          <td> Replace</td> 
          <td> Replace the content with the new content at the nominated location.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">move
            <a name="patch-operation-move"> </a> 
          </td> 
          <td> Move</td> 
          <td> Move content from one location to another.</td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0"/> 
  </extension> 
  <url value="http://hl7.org/fhir/patch-operation"/> 
  <version value="6.0.0-ballot4"/> 
  <name value="PatchOperation"/> 
  <title value="Patch Operation"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2021-01-05T10:01:24+11:00"/> 
  <publisher value="HL7 (FHIR Project)"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
    <telecom> 
      <system value="email"/> 
      <value value="fhir@lists.hl7.org"/> 
    </telecom> 
  </contact> 
  <description value="Codes identifying the valid FHIRPath patch operations."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <caseSensitive value="true"/> 
  <valueSet value="http://hl7.org/fhir/ValueSet/patch-operation"/> 
  <content value="complete"/> 
  <concept> 
    <code value="add"/> 
    <display value="Add"/> 
    <definition value="Add content at the nominated location."/> 
  </concept> 
  <concept> 
    <code value="insert"/> 
    <display value="Insert"/> 
    <definition value="Insert content at the nominated location."/> 
  </concept> 
  <concept> 
    <code value="delete"/> 
    <display value="Delete"/> 
    <definition value="Delete content from the nominated location."/> 
  </concept> 
  <concept> 
    <code value="replace"/> 
    <display value="Replace"/> 
    <definition value="Replace the content with the new content at the nominated location."/> 
  </concept> 
  <concept> 
    <code value="move"/> 
    <display value="Move"/> 
    <definition value="Move content from one location to another."/> 
  </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.