HL7 v2.7 Vocabulary
0.1.0 - ci-build

HL7 v2.7 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.v27/ and changes regularly. See the Directory of published versions

## : Message Error Condition Codes (2.7 - 1.1.0) - XML Representation

Active as of 2026-01-27

Raw xml | Download

    <CodeSystem xmlns="http://hl7.org/fhir">
      <id value="messageErrorCondition"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><ul><li>Include all codes defined in <a href="CodeSystem-messageErrorCondition.html"><code>http://terminology.hl7.org/v2plusvocab/CodeSystem/messageErrorCondition</code></a></li></ul></div>
      </text>
      <extension
                 url="http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated">
        <valueString value="2.7"/>
      </extension>
      <extension
                 url="http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory">
        <valueString value="generate correct history somehow"/>
      </extension>
      <extension
                 url="http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo">
        <valueString value="0357"/>
      </extension>
      <url
           value="http://terminology.hl7.org/v2plusvocab/CodeSystem/messageErrorCondition"/>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:oid:2.16.840.1.113883.18.217"/>
      </identifier>
      <version value="1.1.0"/>
      <name value="MessageErrorCondition"/>
      <title value="Message Error Condition Codes (2.7 - 1.1.0)"/>
      <status value="active"/>
      <experimental value="true"/>
      <date value="2026-01-27T19:34:39+00:00"/>
      <publisher value="HL7/FO"/>
      <contact>
        <name value="HL7/FO"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org"/>
        </telecom>
      </contact>
      <description
                   value="HL7-defined code system of concepts specifying the HL7 (communications) error code.  Used in the ERR segment in HL7 Version 2.x messaging."/>
      <copyright value="HL7 Inc., 2026"/>
      <caseSensitive value="true"/>
      <compositional value="false"/>
      <content value="complete"/>
      <property>
        <code value="versionIntroduced"/>
        <uri
             value="http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced"/>
        <description value="version when was this code introduced"/>
        <type value="string"/>
      </property>
      <property>
        <code value="versionDeprecated"/>
        <uri
             value="http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated"/>
        <description value="version when was this code deprecated"/>
        <type value="string"/>
      </property>
      <property>
        <code value="status"/>
        <uri value="http://hl7.org/fhir/concept-properties#status"/>
        <description
                     value="A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired"/>
        <type value="code"/>
      </property>
      <property>
        <code value="comment"/>
        <uri
             value="http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment"/>
        <description
                     value="A string that provides additional detail pertinent to the use or understanding of the concept"/>
        <type value="string"/>
      </property>
      <property>
        <code value="usage"/>
        <uri
             value="http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage"/>
        <description value="usage notes for this code"/>
        <type value="string"/>
      </property>
      <property>
        <code value="modified"/>
        <uri
             value="http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified"/>
        <description value="date of last modification"/>
        <type value="dateTime"/>
      </property>
      <concept>
        <code value="0"/>
        <display value="Message accepted"/>
        <definition value="Message accepted"/>
        <designation>
          <language value="de"/>
          <value value="Nachricht akzeptiert"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="Success. Optional, as the AA conveys success. Used for systems that must always return a status code."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="100"/>
        <display value="Segment sequence error"/>
        <definition value="Segment sequence error"/>
        <designation>
          <language value="de"/>
          <value value="Fehler in der Segmentreihenfolge"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="Error: The message segments were not in the proper order, or required segments are missing."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="101"/>
        <display value="Required field missing"/>
        <definition value="Required field missing"/>
        <designation>
          <language value="de"/>
          <value value="erforderliches Feld leer"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString value="Error: A required field is missing from a segment"/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="102"/>
        <display value="Data type error"/>
        <definition value="Data type error"/>
        <designation>
          <language value="de"/>
          <value value="Datentypfehler"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="Error: The field contained data of the wrong data type, e.g., an NM field contained &quot;FOO&quot;."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="103"/>
        <display value="Table value not found"/>
        <definition value="Table value not found"/>
        <designation>
          <language value="de"/>
          <value value="fehlender Eintrag in der Tabelle"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="Error: A field of data type ID or IS was compared against the corresponding table, and no match was found."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="104"/>
        <display value="Value too long"/>
        <definition value="Value too long"/>
        <property>
          <code value="usage"/>
          <valueString
                       value="Error: a value exceeded the normative length, or the length that the application is able to safely handle."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.7"/>
        </property>
      </concept>
      <concept>
        <code value="200"/>
        <display value="Unsupported message type"/>
        <definition value="Unsupported message type"/>
        <designation>
          <language value="de"/>
          <value value="Nachrichtentyp wird nicht unterstützt"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString value="Rejection: The Message Type is not supported."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="201"/>
        <display value="Unsupported event code"/>
        <definition value="Unsupported event code"/>
        <designation>
          <language value="de"/>
          <value value="Ereignis wird nicht unterstützt"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString value="Rejection: The Event Code is not supported."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="202"/>
        <display value="Unsupported processing id"/>
        <definition value="Unsupported processing id"/>
        <designation>
          <language value="de"/>
          <value value="Processing-ID wird nicht unterstützt"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString value="Rejection: The Processing ID is not supported."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="203"/>
        <display value="Unsupported version id"/>
        <definition value="Unsupported version id"/>
        <designation>
          <language value="de"/>
          <value value="Version wird nicht unterstützt"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString value="Rejection:  The Version ID is not supported."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="204"/>
        <display value="Unknown key identifier"/>
        <definition value="Unknown key identifier"/>
        <designation>
          <language value="de"/>
          <value value="Schlüsselwert nicht gefunden"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="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."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="205"/>
        <display value="Duplicate key identifier"/>
        <definition value="Duplicate key identifier"/>
        <designation>
          <language value="de"/>
          <value value="doppelter Schlüsselwert"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="Rejection: The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.)."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="206"/>
        <display value="Application record locked"/>
        <definition value="Application record locked"/>
        <designation>
          <language value="de"/>
          <value value="Datensatz durch Applikation gesperrt"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="Rejection: The transaction could not be performed at the application storage level, e.g., database locked."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
      <concept>
        <code value="207"/>
        <display value="Application internal error"/>
        <definition value="Application internal error"/>
        <designation>
          <language value="de"/>
          <value value="applikationsinterner Fehler"/>
        </designation>
        <property>
          <code value="usage"/>
          <valueString
                       value="Rejection: A catchall for internal errors not explicitly covered by other codes."/>
        </property>
        <property>
          <code value="versionIntroduced"/>
          <valueString value="2.3.1"/>
        </property>
      </concept>
    </CodeSystem>