DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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 R2

V3-HL7UpdateMode.json

Raw JSON (canonical form)

The possible modes of updating that occur when an attribute is received by a system that already contains values for that attribute.

{
  "resourceType": "ValueSet",
  "id": "v3-HL7UpdateMode",
  "meta": {
    "lastUpdated": "2015-07-31T00:00:00.000+10:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/valueset-oid",
      "valueUri": "urn:oid:2.16.840.1.113883.1.11.10018"
    }
  ],
  "url": "http://hl7.org/fhir/ValueSet/v3-HL7UpdateMode",
  "version": "2015-07-31",
  "name": "v3 Code System HL7UpdateMode",
  "status": "active",
  "experimental": false,
  "publisher": "HL7, Inc",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org"
        }
      ]
    }
  ],
  "date": "2015-07-31",
  "description": " The possible modes of updating that occur when an attribute is received by a system that already contains values for that attribute.",
  "codeSystem": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/valueset-oid",
        "valueUri": "urn:oid:2.16.840.1.113883.5.57"
      }
    ],
    "system": "http://hl7.org/fhir/v3/HL7UpdateMode",
    "caseSensitive": true,
    "concept": [
      {
        "code": "A",
        "abstract": false,
        "display": "Add",
        "definition": "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.)"
      },
      {
        "code": "AR",
        "abstract": false,
        "display": "Add or Replace",
        "definition": "Description:The item was (or is to be) either added or replaced."
      },
      {
        "code": "D",
        "abstract": false,
        "display": "Remove",
        "definition": "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."
      },
      {
        "code": "K",
        "abstract": false,
        "display": "Key",
        "definition": "Description:This item is part of the identifying information for this object."
      },
      {
        "code": "N",
        "abstract": false,
        "display": "No Change",
        "definition": "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."
      },
      {
        "code": "R",
        "abstract": false,
        "display": "Replace",
        "definition": "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.)"
      },
      {
        "code": "REF",
        "abstract": false,
        "display": "Reference",
        "definition": "Description:This item provides enough information to allow a processing system to locate the full applicable record by identifying the object."
      },
      {
        "code": "U",
        "abstract": false,
        "display": "Unknown",
        "definition": "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."
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
            "valueBoolean": true
          }
        ],
        "code": "_SetUpdateMode",
        "abstract": true,
        "display": "SetUpdateMode",
        "definition": "These concepts apply when the element and/or message is updating a set of items.",
        "concept": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
                "valueBoolean": true
              }
            ],
            "code": "ESA",
            "abstract": false,
            "display": "Set Add",
            "definition": "Add the message element to the collection of items on the receiving system that correspond to the message element."
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
                "valueBoolean": true
              }
            ],
            "code": "ESAC",
            "abstract": false,
            "display": "Set Add or Change",
            "definition": "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."
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
                "valueBoolean": true
              }
            ],
            "code": "ESC",
            "abstract": false,
            "display": "Set Change",
            "definition": "Change the item on the receiving system that corresponds to this message element; do not process if a matching element does not exist."
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
                "valueBoolean": true
              }
            ],
            "code": "ESD",
            "abstract": false,
            "display": "Set Delete",
            "definition": "Delete the item on the receiving system that corresponds to this message element."
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
            "valueBoolean": true
          }
        ],
        "code": "AU",
        "abstract": false,
        "display": "Add or Update",
        "definition": "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."
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
            "valueBoolean": true
          }
        ],
        "code": "I",
        "abstract": false,
        "display": "Ignore",
        "definition": "Ignore this role, it is not relevant to the update."
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
            "valueBoolean": true
          }
        ],
        "code": "V",
        "abstract": false,
        "display": "Verify",
        "definition": "Verify - this message element must match a value already in the receiving systems database in order to process the message."
      }
    ]
  }
}

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.