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 - JSON Representation

(back to description)

Raw json

Source view

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