HL7 Terminology
1.0.0 - Publication

This page is part of the HL7 Terminology (v1.0.0: Release) based on FHIR R4. The current version which supercedes this version is 5.2.0. For a full list of available versions, see the Directory of published versions

messageErrorCondition - XML Representation

(back to description)

Raw xml

Source view


<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="v2-0357"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>messageErrorCondition</h2><div><p>HL7-defined code system of concepts specifying the HL7 (communications) error code.  Used in the ERR segment in HL7 Version 2.x messaging.</p>
</div><p><b>Copyright Statement:</b> Copyright HL7. Licensed under creative commons public domain</p><p><b>Properties</b></p><table class="grid"><tr><td><b>Code</b></td><td><b>URL</b></td><td><b>Description</b></td><td><b>Type</b></td></tr><tr><td>status</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#status</td><td>Status of the concept</td><td>code</td></tr><tr><td>deprecated</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated</td><td>Version of HL7 in which the code was deprecated</td><td>code</td></tr><tr><td>v2-concComment</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment</td><td>V2 Concept Comment</td><td>string</td></tr><tr><td>v2-concCommentAsPub</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub</td><td>V2 Concept Comment As Published</td><td>string</td></tr></table><p>This code system http://terminology.hl7.org/CodeSystem/v2-0357 defines the following codes:</p><table class="codes"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>V2 Table Status</b></td><td><b>V2 Concept Comment</b></td><td><b>V2 Concept Comment As Published</b></td></tr><tr><td style="white-space:nowrap">0<a name="v2-0357-0"> </a></td><td>Message accepted</td><td>Message accepted</td><td>A</td><td>Success. Optional, as the AA conveys success. Used for systems that must always return a status code.</td><td>Success. Optional, as the AA conveys success. Used for systems that must always return a status code.</td></tr><tr><td style="white-space:nowrap">100<a name="v2-0357-100"> </a></td><td>Segment sequence error</td><td>Segment sequence error</td><td>A</td><td>Error: The message segments were not in the proper order, or required segments are missing.</td><td>Error: The message segments were not in the proper order, or required segments are missing.</td></tr><tr><td style="white-space:nowrap">101<a name="v2-0357-101"> </a></td><td>Required field missing</td><td>Required field missing</td><td>A</td><td>Error: A required field is missing from a segment</td><td>Error: A required field is missing from a segment</td></tr><tr><td style="white-space:nowrap">102<a name="v2-0357-102"> </a></td><td>Data type error</td><td>Data type error</td><td>A</td><td>Error: The field contained data of the wrong data type, e.g., an NM field contained &quot;FOO&quot;.</td><td>Error: The field contained data of the wrong data type, e.g., an NM field contained &quot;FOO&quot;.</td></tr><tr><td style="white-space:nowrap">103<a name="v2-0357-103"> </a></td><td>Table value not found</td><td>Table value not found</td><td>A</td><td>Error: A field of data type ID or IS was compared against the corresponding table, and no match was found.</td><td>Error: A field of data type ID or IS was compared against the corresponding table, and no match was found.</td></tr><tr><td style="white-space:nowrap">104<a name="v2-0357-104"> </a></td><td>Value too long</td><td>Value too long</td><td>A</td><td>Error: a value exceeded the normative length, or the length that the application is able to safely handle.</td><td>Error: a value exceeded the normative length, or the length that the application is able to safely handle.</td></tr><tr><td style="white-space:nowrap">198<a name="v2-0357-198"> </a></td><td>Non-Conformant Cardinality</td><td>An error has been encountered related to HL7 message content. Message is not -conformant with the applicable specification’s (base standard, conformance profile or implementation profile)  cardinality.</td><td>N</td><td>Error: Cardinality is listed as [0..3] and more than 3 of the identified element are present in the message.</td><td/></tr><tr><td style="white-space:nowrap">199<a name="v2-0357-199"> </a></td><td>Other HL7 Error</td><td>Any other error with the HL7 syntax that is not captured in any of the other error codes in this set.</td><td>N</td><td>Error</td><td/></tr><tr><td style="white-space:nowrap">200<a name="v2-0357-200"> </a></td><td>Unsupported message type</td><td>Unsupported message type</td><td>A</td><td>Rejection: The Message Type is not supported.</td><td>Rejection: The Message Type is not supported.</td></tr><tr><td style="white-space:nowrap">201<a name="v2-0357-201"> </a></td><td>Unsupported event code</td><td>Unsupported event code</td><td>A</td><td>Rejection: The Event Code is not supported.</td><td>Rejection: The Event Code is not supported.</td></tr><tr><td style="white-space:nowrap">202<a name="v2-0357-202"> </a></td><td>Unsupported processing id</td><td>Unsupported processing id</td><td>A</td><td>Rejection: The Processing ID is not supported.</td><td>Rejection: The Processing ID is not supported.</td></tr><tr><td style="white-space:nowrap">203<a name="v2-0357-203"> </a></td><td>Unsupported version id</td><td>Unsupported version id</td><td>A</td><td>Rejection:  The Version ID is not supported.</td><td>Rejection:  The Version ID is not supported.</td></tr><tr><td style="white-space:nowrap">204<a name="v2-0357-204"> </a></td><td>Unknown key identifier</td><td>Retained for backwards compatibility only: This situation should be reported in ERR-5 (Application Error Code) using code 101 (Unknown Key Identifier) from code system HL70533.</td><td>B</td><td>ERR-3 (HL7 Error Code) should be used to convey errors at the structural level and this is an application level error, which should be reported in ERR-5 (Application Error Code).</td><td>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.</td></tr><tr><td style="white-space:nowrap">205<a name="v2-0357-205"> </a></td><td>Duplicate key identifier</td><td>Retained for backwards compatibility only: This situation should be reported in ERR-5 (Application Error Code) using code 102 (Duplicate Key Identifier) from code system HL70533.</td><td>B</td><td>ERR-3 (HL7 Error Code) should be used to convey errors at the structural level and this is an application level error, which should be reported in ERR-5 (Application Error Code).</td><td>Rejection: The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.).</td></tr><tr><td style="white-space:nowrap">206<a name="v2-0357-206"> </a></td><td>Application record locked</td><td>Retained for backwards compatibility only: This situation should be reported in ERR-5 (Application Error Code) using code 103 (Application record locked) from code system HL70533.</td><td>B</td><td>ERR-3 (HL7 Error Code) should be used to convey errors at the structural level and this is an application level error, which should be reported in ERR-5 (Application Error Code).</td><td>Rejection: The transaction could not be performed at the application storage level, e.g., database locked.</td></tr><tr><td style="white-space:nowrap">207<a name="v2-0357-207"> </a></td><td>Application error</td><td>An application level error has occurred and the detail for that error is identified in ERR-5.</td><td>A</td><td>This value is used when no other value in this list is applicable and there is an application error reported in ERR-5. It is applicable when ERR-3 is required in an implementation guide.</td><td>Rejection: A catchall for internal errors not explicitly covered by other codes.</td></tr></table><p><b>Additional Language Displays</b></p><table class="codes"><tr><td><b>Code</b></td><td><b>Deutsch (German, de)</b></td></tr><tr><td>0</td><td>Nachricht akzeptiert</td></tr><tr><td>100</td><td>Fehler in der Segmentreihenfolge</td></tr><tr><td>101</td><td>erforderliches Feld leer</td></tr><tr><td>102</td><td>Datentypfehler</td></tr><tr><td>103</td><td>fehlender Eintrag in der Tabelle</td></tr><tr><td>104</td><td></td></tr><tr><td>198</td><td></td></tr><tr><td>199</td><td></td></tr><tr><td>200</td><td>Nachrichtentyp wird nicht unterstützt</td></tr><tr><td>201</td><td>Ereignis wird nicht unterstützt</td></tr><tr><td>202</td><td>Processing-ID wird nicht unterstützt</td></tr><tr><td>203</td><td>Version wird nicht unterstützt</td></tr><tr><td>204</td><td>Schlüsselwert nicht gefunden</td></tr><tr><td>205</td><td>doppelter Schlüsselwert</td></tr><tr><td>206</td><td>Datensatz durch Applikation gesperrt</td></tr><tr><td>207</td><td>applikationsinterner Fehler</td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="inm"/>
  </extension>
  <url value="http://terminology.hl7.org/CodeSystem/v2-0357"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.18.217"/>
  </identifier>
  <version value="2.2.0"/>
  <name value="MessageErrorCondition"/>
  <title value="messageErrorCondition"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2019-12-01T00:00:00-05:00"/>
  <publisher value="HL7, Inc"/>
  <contact>
    <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."/>
  <purpose
           value="Underlying Master Code System for V2 table 0357 (Message Error Condition Codes)"/>
  <copyright
             value="Copyright HL7. Licensed under creative commons public domain"/>
  <caseSensitive value="true"/>
  <valueSet value="http://terminology.hl7.org/ValueSet/v2-0357"/>
  <hierarchyMeaning value="is-a"/>
  <compositional value="false"/>
  <versionNeeded value="false"/>
  <content value="complete"/>
  <property>
    <code value="status"/>
    <uri
         value="http://terminology.hl7.org/CodeSystem/utg-concept-properties#status"/>
    <description value="Status of the concept"/>
    <type value="code"/>
  </property>
  <property>
    <code value="deprecated"/>
    <uri
         value="http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated"/>
    <description value="Version of HL7 in which the code was deprecated"/>
    <type value="code"/>
  </property>
  <property>
    <code value="v2-concComment"/>
    <uri
         value="http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment"/>
    <description value="V2 Concept Comment"/>
    <type value="string"/>
  </property>
  <property>
    <code value="v2-concCommentAsPub"/>
    <uri
         value="http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub"/>
    <description value="V2 Concept Comment As Published"/>
    <type value="string"/>
  </property>
  <concept id="3570">
    <code value="0"/>
    <display value="Message accepted"/>
    <definition value="Message accepted"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Nachricht akzeptiert"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="Success. Optional, as the AA conveys success. Used for systems that must always return a status code."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString
                   value="Success. Optional, as the AA conveys success. Used for systems that must always return a status code."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3571">
    <code value="100"/>
    <display value="Segment sequence error"/>
    <definition value="Segment sequence error"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Fehler in der Segmentreihenfolge"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="Error: The message segments were not in the proper order, or required segments are missing."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString
                   value="Error: The message segments were not in the proper order, or required segments are missing."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3572">
    <code value="101"/>
    <display value="Required field missing"/>
    <definition value="Required field missing"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="erforderliches Feld leer"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString value="Error: A required field is missing from a segment"/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString value="Error: A required field is missing from a segment"/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3573">
    <code value="102"/>
    <display value="Data type error"/>
    <definition value="Data type error"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Datentypfehler"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <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="v2-concCommentAsPub"/>
      <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="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3574">
    <code value="103"/>
    <display value="Table value not found"/>
    <definition value="Table value not found"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="fehlender Eintrag in der Tabelle"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <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="v2-concCommentAsPub"/>
      <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="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3575">
    <code value="104"/>
    <display value="Value too long"/>
    <definition value="Value too long"/>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="Error: a value exceeded the normative length, or the length that the application is able to safely handle."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString
                   value="Error: a value exceeded the normative length, or the length that the application is able to safely handle."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3576">
    <code value="198"/>
    <display value="Non-Conformant Cardinality"/>
    <definition
                value="An error has been encountered related to HL7 message content. Message is not -conformant with the applicable specification’s (base standard, conformance profile or implementation profile)  cardinality."/>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="Error: Cardinality is listed as [0..3] and more than 3 of the identified element are present in the message."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="N"/>
    </property>
  </concept>
  <concept id="3577">
    <code value="199"/>
    <display value="Other HL7 Error"/>
    <definition
                value="Any other error with the HL7 syntax that is not captured in any of the other error codes in this set."/>
    <property>
      <code value="v2-concComment"/>
      <valueString value="Error"/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="N"/>
    </property>
  </concept>
  <concept id="3578">
    <code value="200"/>
    <display value="Unsupported message type"/>
    <definition value="Unsupported message type"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Nachrichtentyp wird nicht unterstützt"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString value="Rejection: The Message Type is not supported."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString value="Rejection: The Message Type is not supported."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3579">
    <code value="201"/>
    <display value="Unsupported event code"/>
    <definition value="Unsupported event code"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Ereignis wird nicht unterstützt"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString value="Rejection: The Event Code is not supported."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString value="Rejection: The Event Code is not supported."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3580">
    <code value="202"/>
    <display value="Unsupported processing id"/>
    <definition value="Unsupported processing id"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Processing-ID wird nicht unterstützt"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString value="Rejection: The Processing ID is not supported."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString value="Rejection: The Processing ID is not supported."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3581">
    <code value="203"/>
    <display value="Unsupported version id"/>
    <definition value="Unsupported version id"/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Version wird nicht unterstützt"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString value="Rejection:  The Version ID is not supported."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString value="Rejection:  The Version ID is not supported."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
  <concept id="3582">
    <code value="204"/>
    <display value="Unknown key identifier"/>
    <definition
                value="Retained for backwards compatibility only: This situation should be reported in ERR-5 (Application Error Code) using code 101 (Unknown Key Identifier) from code system HL70533."/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Schlüsselwert nicht gefunden"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="ERR-3 (HL7 Error Code) should be used to convey errors at the structural level and this is an application level error, which should be reported in ERR-5 (Application Error Code)."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <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="status"/>
      <valueCode value="B"/>
    </property>
  </concept>
  <concept id="3583">
    <code value="205"/>
    <display value="Duplicate key identifier"/>
    <definition
                value="Retained for backwards compatibility only: This situation should be reported in ERR-5 (Application Error Code) using code 102 (Duplicate Key Identifier) from code system HL70533."/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="doppelter Schlüsselwert"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="ERR-3 (HL7 Error Code) should be used to convey errors at the structural level and this is an application level error, which should be reported in ERR-5 (Application Error Code)."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <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="status"/>
      <valueCode value="B"/>
    </property>
  </concept>
  <concept id="3584">
    <code value="206"/>
    <display value="Application record locked"/>
    <definition
                value="Retained for backwards compatibility only: This situation should be reported in ERR-5 (Application Error Code) using code 103 (Application record locked) from code system HL70533."/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="Datensatz durch Applikation gesperrt"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="ERR-3 (HL7 Error Code) should be used to convey errors at the structural level and this is an application level error, which should be reported in ERR-5 (Application Error Code)."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString
                   value="Rejection: The transaction could not be performed at the application storage level, e.g., database locked."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="B"/>
    </property>
  </concept>
  <concept id="3585">
    <code value="207"/>
    <display value="Application error"/>
    <definition
                value="An application level error has occurred and the detail for that error is identified in ERR-5."/>
    <designation>
      <language value="de"/>
      <use>
        <system value="http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"/>
        <code value="preferredForLanguage"/>
      </use>
      <value value="applikationsinterner Fehler"/>
    </designation>
    <property>
      <code value="v2-concComment"/>
      <valueString
                   value="This value is used when no other value in this list is applicable and there is an application error reported in ERR-5. It is applicable when ERR-3 is required in an implementation guide."/>
    </property>
    <property>
      <code value="v2-concCommentAsPub"/>
      <valueString
                   value="Rejection: A catchall for internal errors not explicitly covered by other codes."/>
    </property>
    <property>
      <code value="status"/>
      <valueCode value="A"/>
    </property>
  </concept>
</CodeSystem>