FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/patch-operation (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemPatchOperation

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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="patch-operation"/> 
  <meta> 
    <lastUpdated value="2025-03-18T13:49:06.036+00: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 patch-operation</b> 
      </p> 
      <a name="patch-operation"> </a> 
      <a name="hcpatch-operation"> </a> 
      <a name="patch-operation-en-US"> </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/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="trial-use"/> 
  </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-ballot2"/> 
  <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.