This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4 R3
The possible modes of updating that occur when an attribute is received by a system that already contains values for that attribute.
<CodeSystem xmlns="http://hl7.org/fhir"> <id value="v3-HL7UpdateMode"/> <meta> <lastUpdated value="2016-03-23T00:00:00.000+11:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>Release Date: 2016-03-23</p> <table class="grid"> <tr> <td> <b>Level</b> </td> <td> <b>Code</b> </td> <td> <b>Display</b> </td> <td> <b>Definition</b> </td> </tr> <tr> <td>1</td> <td>A <a name="A"> </a> </td> <td>Add</td> <td> Description:The item was (or is to be) added, having not been present immediately before. (If it is already present, this may be treated as an error condition.) <br/> </td> </tr> <tr> <td>1</td> <td>AR <a name="AR"> </a> </td> <td>Add or Replace</td> <td> Description:The item was (or is to be) either added or replaced. <br/> </td> </tr> <tr> <td>1</td> <td>D <a name="D"> </a> </td> <td>Remove</td> <td> Description:The item was (or is to be) removed (sometimes referred to as deleted). If the item is part of a collection, delete any matching items. <br/> </td> </tr> <tr> <td>1</td> <td>K <a name="K"> </a> </td> <td>Key</td> <td> Description:This item is part of the identifying information for this object. <br/> </td> </tr> <tr> <td>1</td> <td>N <a name="N"> </a> </td> <td>No Change</td> <td> Description:There was (or is to be) no change to the item. This is primarily used when this element has not changed, but other attributes in the instance have changed. <br/> </td> </tr> <tr> <td>1</td> <td>R <a name="R"> </a> </td> <td>Replace</td> <td> Description:The item existed previously and has (or is to be) revised. (If an item does not already exist, this may be treated as an error condition.) <br/> </td> </tr> <tr> <td>1</td> <td>REF <a name="REF"> </a> </td> <td>Reference</td> <td> Description:This item provides enough information to allow a processing system to locate the full applicable record by identifying the object. <br/> </td> </tr> <tr> <td>1</td> <td>U <a name="U"> </a> </td> <td>Unknown</td> <td> Description:Description:</b>It is not specified whether or what kind of change has occurred to the item, or whether the item is present as a reference or identifying property. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>1</td> <td> <span style="color: grey"> <i>(_SetUpdateMode)</i> </span> <b> <i>Abstract</i> </b> <b> <i>Deprecated</i> </b> </td> <td> <a name="_SetUpdateMode">Â </a> </td> <td> These concepts apply when the element and/or message is updating a set of items. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>2</td> <td>Â Â ESA <a name="ESA"> </a> <b> <i>Deprecated</i> </b> </td> <td>Set Add</td> <td> Add the message element to the collection of items on the receiving system that correspond to the message element. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>2</td> <td>Â Â ESAC <a name="ESAC"> </a> <b> <i>Deprecated</i> </b> </td> <td>Set Add or Change</td> <td> Change the item on the receiving system that corresponds to this message element; if a matching element does not exist, add a new one created with the values in the message. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>2</td> <td>Â Â ESC <a name="ESC"> </a> <b> <i>Deprecated</i> </b> </td> <td>Set Change</td> <td> Change the item on the receiving system that corresponds to this message element; do not process if a matching element does not exist. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>2</td> <td>Â Â ESD <a name="ESD"> </a> <b> <i>Deprecated</i> </b> </td> <td>Set Delete</td> <td> Delete the item on the receiving system that corresponds to this message element. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>1</td> <td>AU <a name="AU"> </a> <b> <i>Deprecated</i> </b> </td> <td>Add or Update</td> <td> Description: AU: If this item exists, update it with these values. If it does not exist, create it with these values. If the item is part of the collection, update each item that matches this item, and if no items match, add a new item to the collection. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>1</td> <td>I <a name="I"> </a> <b> <i>Deprecated</i> </b> </td> <td>Ignore</td> <td> Ignore this role, it is not relevant to the update. <br/> </td> </tr> <tr style="background: #EFEFEF"> <td>1</td> <td>V <a name="V"> </a> <b> <i>Deprecated</i> </b> </td> <td>Verify</td> <td> Verify - this message element must match a value already in the receiving systems database in order to process the message. <br/> </td> </tr> </table> </div> </text> <extension url="http://hl7.org/fhir/StructureDefinition/valueset-oid"> <valueUri value="urn:oid:2.16.840.1.113883.5.57"/> </extension> <url value="http://hl7.org/fhir/v3/HL7UpdateMode"/> <version value="2016-03-23"/> <name value="v3 Code System HL7UpdateMode"/> <status value="active"/> <experimental value="false"/> <publisher value="HL7, Inc"/> <contact> <telecom> <system value="other"/> <value value="http://hl7.org"/> </telecom> </contact> <date value="2016-03-23T00:00:00+11:00"/> <description value=" The possible modes of updating that occur when an attribute is received by a system that already contains values for that attribute."/> <caseSensitive value="true"/> <valueSet value="http://hl7.org/fhir/ValueSet/v3-HL7UpdateMode"/> <content value="complete"/> <property> <code value="abstract"/> <description value="Indicates that the code is abstract - only intended to be used as a selector for other concepts"/> <type value="boolean"/> </property> <concept> <code value="A"/> <display value="Add"/> <definition value="Description:The item was (or is to be) added, having not been present immediately before. (If it is already present, this may be treated as an error condition.)"/> </concept> <concept> <code value="AR"/> <display value="Add or Replace"/> <definition value="Description:The item was (or is to be) either added or replaced."/> </concept> <concept> <code value="D"/> <display value="Remove"/> <definition value="Description:The item was (or is to be) removed (sometimes referred to as deleted). If the item is part of a collection, delete any matching items."/> </concept> <concept> <code value="K"/> <display value="Key"/> <definition value="Description:This item is part of the identifying information for this object."/> </concept> <concept> <code value="N"/> <display value="No Change"/> <definition value="Description:There was (or is to be) no change to the item. This is primarily used when this element has not changed, but other attributes in the instance have changed."/> </concept> <concept> <code value="R"/> <display value="Replace"/> <definition value="Description:The item existed previously and has (or is to be) revised. (If an item does not already exist, this may be treated as an error condition.)"/> </concept> <concept> <code value="REF"/> <display value="Reference"/> <definition value="Description:This item provides enough information to allow a processing system to locate the full applicable record by identifying the object."/> </concept> <concept> <code value="U"/> <display value="Unknown"/> <definition value="Description:Description:</b>It is not specified whether or what kind of change has occurred to the item, or whether the item is present as a reference or identifying property."/> </concept> <concept> <code value="_SetUpdateMode"/> <display value="SetUpdateMode"/> <definition value="These concepts apply when the element and/or message is updating a set of items."/> <property> <code value="abstract"/> <valueBoolean value="true"/> </property> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> <concept> <code value="ESA"/> <display value="Set Add"/> <definition value="Add the message element to the collection of items on the receiving system that correspond to the message element."/> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> </concept> <concept> <code value="ESAC"/> <display value="Set Add or Change"/> <definition value="Change the item on the receiving system that corresponds to this message element; if a matching element does not exist, add a new one created with the values in the message."/> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> </concept> <concept> <code value="ESC"/> <display value="Set Change"/> <definition value="Change the item on the receiving system that corresponds to this message element; do not process if a matching element does not exist."/> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> </concept> <concept> <code value="ESD"/> <display value="Set Delete"/> <definition value="Delete the item on the receiving system that corresponds to this message element."/> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> </concept> </concept> <concept> <code value="AU"/> <display value="Add or Update"/> <definition value="Description: AU: If this item exists, update it with these values. If it does not exist, create it with these values. If the item is part of the collection, update each item that matches this item, and if no items match, add a new item to the collection."/> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> </concept> <concept> <code value="I"/> <display value="Ignore"/> <definition value="Ignore this role, it is not relevant to the update."/> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> </concept> <concept> <code value="V"/> <display value="Verify"/> <definition value="Verify - this message element must match a value already in the receiving systems database in order to process the message."/> <property> <code value="deprecated"/> <valueBoolean value="true"/> </property> </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.