R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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

V3-HL7UpdateMode.cs.json

Vocabulary Work GroupMaturity Level: N/ABallot Status: Informative

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": "CodeSystem",
  "id": "v3-HL7UpdateMode",
  "meta": {
    "lastUpdated": "2017-07-31T00:00:00.000+10:00"
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString": "External"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0
    }
  ],
  "url": "http://hl7.org/fhir/v3/HL7UpdateMode",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.5.57"
  },
  "version": "2017-07-31",
  "name": "v3 Code System HL7UpdateMode",
  "status": "active",
  "experimental": false,
  "date": "2017-07-31T00:00:00+10:00",
  "publisher": "HL7, Inc",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org"
        }
      ]
    }
  ],
  "description": " The possible modes of updating that occur when an attribute is received by a system that already contains values for that attribute.",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/v3-HL7UpdateMode",
  "hierarchyMeaning": "is-a",
  "content": "complete",
  "property": [
    {
      "code": "notSelectable",
      "uri": "http://hl7.org/fhir/concept-properties#notSelectable",
      "description": "Indicates that the code is abstract - only intended to be used as a selector for other concepts",
      "type": "boolean"
    },
    {
      "code": "inactive",
      "uri": "http://hl7.org/fhir/concept-properties#inactive",
      "description": "True if the concept is not considered active - e.g. not a valid concept any more",
      "type": "boolean"
    }
  ],
  "concept": [
    {
      "code": "A",
      "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",
      "display": "Add or Replace",
      "definition": "Description:The item was (or is to be) either added or replaced."
    },
    {
      "code": "D",
      "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",
      "display": "Key",
      "definition": "Description:This item is part of the identifying information for this object."
    },
    {
      "code": "N",
      "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",
      "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",
      "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",
      "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."
    },
    {
      "code": "_SetUpdateMode",
      "display": "SetUpdateMode",
      "definition": "These concepts apply when the element and/or message is updating a set of items.",
      "property": [
        {
          "code": "notSelectable",
          "valueBoolean": true
        },
        {
          "code": "inactive",
          "valueBoolean": true
        }
      ],
      "concept": [
        {
          "code": "ESA",
          "display": "Set Add",
          "definition": "Add the message element to the collection of items on the receiving system that correspond to the message element.",
          "property": [
            {
              "code": "inactive",
              "valueBoolean": true
            }
          ]
        },
        {
          "code": "ESAC",
          "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.",
          "property": [
            {
              "code": "inactive",
              "valueBoolean": true
            }
          ]
        },
        {
          "code": "ESC",
          "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.",
          "property": [
            {
              "code": "inactive",
              "valueBoolean": true
            }
          ]
        },
        {
          "code": "ESD",
          "display": "Set Delete",
          "definition": "Delete the item on the receiving system that corresponds to this message element.",
          "property": [
            {
              "code": "inactive",
              "valueBoolean": true
            }
          ]
        }
      ]
    },
    {
      "code": "AU",
      "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.",
      "property": [
        {
          "code": "inactive",
          "valueBoolean": true
        }
      ]
    },
    {
      "code": "I",
      "display": "Ignore",
      "definition": "Ignore this role, it is not relevant to the update.",
      "property": [
        {
          "code": "inactive",
          "valueBoolean": true
        }
      ]
    },
    {
      "code": "V",
      "display": "Verify",
      "definition": "Verify - this message element must match a value already in the receiving systems database in order to process the message.",
      "property": [
        {
          "code": "inactive",
          "valueBoolean": true
        }
      ]
    }
  ]
}

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.