HL7 v2.7 Vocabulary
0.2.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.2.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) - TTL Representation

Active as of 2026-09-22

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

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

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/CodeSystem/messageErrorCondition.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/CodeSystem/messageErrorCondition.ttl> .