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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="patch-operation"/>
  <meta>
    <lastUpdated value="2026-03-31T18:55:04.283+00: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>