HL7 v2.7.1 Vocabulary
0.1.0 - ci-build

HL7 v2.7.1 Vocabulary, published by HL7/FO. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/frankoemig/hl7.v2.terminology.v271/ and changes regularly. See the Directory of published versions

## CodeSystem: Message Error Condition Codes (2.7.1 - 1.1.0) (Experimental)

Official URL: http://terminology.hl7.org/v2plusvocab/CodeSystem/messageErrorCondition | Version: 1.1.0
Active as of 2026-01-27 | Computable Name: MessageErrorCondition
Other Identifiers: OID:2.16.840.1.113883.18.217
Copyright/Legal: HL7 Inc., 2026

HL7-defined code system of concepts specifying the HL7 (communications) error code. Used in the ERR segment in HL7 Version 2.x messaging.

This Code system is referenced in the content logical definition of the following value sets:

- Hl7VSmessageErrorConditionCodes

Properties

This code system defines the following properties for its concepts

Name | Code | URI | Type | Description
versionIntroduced | versionIntroduced | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced | string | version when was this code introduced
versionDeprecated | versionDeprecated | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated | string | version when was this code deprecated
status | status | http://hl7.org/fhir/concept-properties#status | code | A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired
comment | comment | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment | string | A string that provides additional detail pertinent to the use or understanding of the concept
usage | usage | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage | string | usage notes for this code
modified | modified | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified | dateTime | date of last modification

Concepts

This case-sensitive code system `http://terminology.hl7.org/v2plusvocab/CodeSystem/messageErrorCondition` defines the following codes:

Code | Display | Definition | versionIntroduced | usage | Deutsch (German, de)
0 | Message accepted | Message accepted | 2.3.1 | Success. Optional, as the AA conveys success. Used for systems that must always return a status code. | Nachricht akzeptiert
100 | Segment sequence error | Segment sequence error | 2.3.1 | Error: The message segments were not in the proper order, or required segments are missing. | Fehler in der Segmentreihenfolge
101 | Required field missing | Required field missing | 2.3.1 | Error: A required field is missing from a segment | erforderliches Feld leer
102 | Data type error | Data type error | 2.3.1 | Error: The field contained data of the wrong data type, e.g., an NM field contained "FOO". | Datentypfehler
103 | Table value not found | Table value not found | 2.3.1 | Error: A field of data type ID or IS was compared against the corresponding table, and no match was found. | fehlender Eintrag in der Tabelle
104 | Value too long | Value too long | 2.7 | Error: a value exceeded the normative length, or the length that the application is able to safely handle. |
200 | Unsupported message type | Unsupported message type | 2.3.1 | Rejection: The Message Type is not supported. | Nachrichtentyp wird nicht unterstützt
201 | Unsupported event code | Unsupported event code | 2.3.1 | Rejection: The Event Code is not supported. | Ereignis wird nicht unterstützt
202 | Unsupported processing id | Unsupported processing id | 2.3.1 | Rejection: The Processing ID is not supported. | Processing-ID wird nicht unterstützt
203 | Unsupported version id | Unsupported version id | 2.3.1 | Rejection: The Version ID is not supported. | Version wird nicht unterstützt
204 | Unknown key identifier | Unknown key identifier | 2.3.1 | Rejection: The ID of the patient, order, etc., was not found. Used for transactions other than additions, e.g., transfer of a non-existent patient. | Schlüsselwert nicht gefunden
205 | Duplicate key identifier | Duplicate key identifier | 2.3.1 | Rejection: The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.). | doppelter Schlüsselwert
206 | Application record locked | Application record locked | 2.3.1 | Rejection: The transaction could not be performed at the application storage level, e.g., database locked. | Datensatz durch Applikation gesperrt
207 | Application internal error | Application internal error | 2.3.1 | Rejection: A catchall for internal errors not explicitly covered by other codes. | applikationsinterner Fehler