@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://terminology.hl7.org/v2plusvocab/CodeSystem/messageErrorCondition> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "messageErrorCondition"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "2.6"
     ]
  ] [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "generate correct history somehow"
     ]
  ] [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "0357"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/messageErrorCondition"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/messageErrorCondition>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.217" ]
  ] [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/v2-0357" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "MessageErrorCondition"] ; # 
  fhir:title [ fhir:v "Message Error Condition Codes (2.6 - 1.0.0)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2026-03-13T11:09:09+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7/FO"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "HL7/FO" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "HL7-defined code system of concepts specifying the HL7 (communications) error code.  Used in the ERR segment in HL7 Version 2.x messaging."] ; # 
  fhir:copyright [ fhir:v "HL7 Inc., 2026"] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:compositional [ fhir:v false] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "versionIntroduced" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced>
     ] ;
     fhir:description [ fhir:v "version when was this code introduced" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "versionDeprecated" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated>
     ] ;
     fhir:description [ fhir:v "version when was this code deprecated" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/concept-properties#status>
     ] ;
     fhir:description [ fhir:v "A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "comment" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment>
     ] ;
     fhir:description [ fhir:v "A string that provides additional detail pertinent to the use or understanding of the concept" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "usage" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage>
     ] ;
     fhir:description [ fhir:v "usage notes for this code" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "modified" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified>
     ] ;
     fhir:description [ fhir:v "date of last modification" ] ;
     fhir:type [ fhir:v "dateTime" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "0" ] ;
     fhir:display [ fhir:v "Message accepted" ] ;
     fhir:definition [ fhir:v "Message accepted" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Nachricht akzeptiert" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "100" ] ;
     fhir:display [ fhir:v "Segment sequence error" ] ;
     fhir:definition [ fhir:v "Segment sequence error" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Fehler in der Segmentreihenfolge" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "101" ] ;
     fhir:display [ fhir:v "Required field missing" ] ;
     fhir:definition [ fhir:v "Required field missing" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "erforderliches Feld leer" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "102" ] ;
     fhir:display [ fhir:v "Data type error" ] ;
     fhir:definition [ fhir:v "Data type error" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Datentypfehler" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "103" ] ;
     fhir:display [ fhir:v "Table value not found" ] ;
     fhir:definition [ fhir:v "Table value not found" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "fehlender Eintrag in der Tabelle" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "200" ] ;
     fhir:display [ fhir:v "Unsupported message type" ] ;
     fhir:definition [ fhir:v "Unsupported message type" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Nachrichtentyp wird nicht unterstützt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "201" ] ;
     fhir:display [ fhir:v "Unsupported event code" ] ;
     fhir:definition [ fhir:v "Unsupported event code" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Ereignis wird nicht unterstützt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "202" ] ;
     fhir:display [ fhir:v "Unsupported processing id" ] ;
     fhir:definition [ fhir:v "Unsupported processing id" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Processing-ID wird nicht unterstützt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "203" ] ;
     fhir:display [ fhir:v "Unsupported version id" ] ;
     fhir:definition [ fhir:v "Unsupported version id" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Version wird nicht unterstützt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "204" ] ;
     fhir:display [ fhir:v "Unknown key identifier" ] ;
     fhir:definition [ fhir:v "Unknown key identifier" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Schlüsselwert nicht gefunden" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "205" ] ;
     fhir:display [ fhir:v "Duplicate key identifier" ] ;
     fhir:definition [ fhir:v "Duplicate key identifier" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "doppelter Schlüsselwert" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "206" ] ;
     fhir:display [ fhir:v "Application record locked" ] ;
     fhir:definition [ fhir:v "Application record locked" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "Datensatz durch Applikation gesperrt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "207" ] ;
     fhir:display [ fhir:v "Application internal error" ] ;
     fhir:definition [ fhir:v "Application internal error" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "applikationsinterner Fehler" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.3.1"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

