@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://terminology.hl7.org/CodeSystem/v3-MessageCondition> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v3-MessageCondition"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem v3-MessageCondition</b></p><a name=\"v3-MessageCondition\"> </a><a name=\"hcv3-MessageCondition\"> </a><a name=\"v3-MessageCondition-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p></div><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>Specializes</td><td>Specializes</td><td/><td>Coding</td><td>The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric.</td></tr><tr><td>Generalizes</td><td>Generalizes</td><td/><td>Coding</td><td>Inverse of Specializes.  Only included as a derived relationship.</td></tr><tr><td>internalId</td><td>internalId</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id</td><td>code</td><td>The internal identifier for the concept in the HL7 Access database repository.</td></tr><tr><td>Status</td><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>Designation of a concept's state. Normally is not populated unless the state is retired.</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v3-MessageCondition</code> defines the following codes in a Is-A hierarchy:</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>internalId</b></td><td><b>Status</b></td></tr><tr><td style=\"white-space:nowrap\">0<a name=\"v3-MessageCondition-0\"> </a></td><td>Message accepted</td><td>Success. Optional, as in version 2.x the AA conveys success. Used for systems that must always return a status code.</td><td>10131</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">100<a name=\"v3-MessageCondition-100\"> </a></td><td>Sequence error</td><td>The message elements were not in the proper order, or required elements are missing.</td><td>10132</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">101<a name=\"v3-MessageCondition-101\"> </a></td><td>Missing required element.</td><td>A required message element is missing.</td><td>10133</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">102<a name=\"v3-MessageCondition-102\"> </a></td><td>Data type error</td><td>An element is represented by a data type that is not compatible with that which is allowable.</td><td>10134</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">103<a name=\"v3-MessageCondition-103\"> </a></td><td>Table value not found</td><td>The value received for a common HL7 or user defined table was not found to match allowable table values.</td><td>10135</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">200<a name=\"v3-MessageCondition-200\"> </a></td><td>Unsupported message type</td><td>The message type is not supported.</td><td>10136</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">201<a name=\"v3-MessageCondition-201\"> </a></td><td>Unsupported interaction</td><td>The identified interaction is not supported.</td><td>10137</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">202<a name=\"v3-MessageCondition-202\"> </a></td><td>Unsupported ProcessingID</td><td>The ProcessingID is not supported.</td><td>10138</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">203<a name=\"v3-MessageCondition-203\"> </a></td><td>Unsupported VersionID</td><td>The VersionID is not supported.</td><td>10139</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">204<a name=\"v3-MessageCondition-204\"> </a></td><td>Unknown key identifier</td><td>The identifier for a patient, order, etc. was not found. Occurs for transactions other than additions.</td><td>10140</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">205<a name=\"v3-MessageCondition-205\"> </a></td><td>Duplicate key identifier</td><td>The identifier for a patient, order, etc. already exists. Occurs in response to addition transactions (e.g. new Admit, new Order, etc.).</td><td>10141</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">206<a name=\"v3-MessageCondition-206\"> </a></td><td>Application record locked</td><td>The transaction could not be performed at the application storage level, e.g. database locked.</td><td>10142</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">207<a name=\"v3-MessageCondition-207\"> </a></td><td>Application internal error</td><td>A catchall for internal errors not explicitly covered by other error codes.</td><td>10143</td><td>active</td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-MessageCondition"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.5.80" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.1"] ; # 
  fhir:name [ fhir:v "MessageCondition"] ; # 
  fhir:title [ fhir:v "MessageCondition"] ; # 
  fhir:status [ fhir:v "retired"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-03-20"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level 7"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Health Level Seven" ]
  ] ) ; # 
  fhir:description [ fhir:v "**Deprecation Comment:** Deprecated as per 11/2008 Harmonization cleanup; internal and obsolete HL7 usage, no longer used.This isn't referenced in the RIM and is a copy of old v2 codes. It's superseded by AcknowledgementDetailCode"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "antisymmetric" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "transitive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "irreflexive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Specializes" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Generalizes" ]
     ] ) ;
     fhir:code [ fhir:v "Specializes" ] ;
     fhir:description [ fhir:v "The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "antisymmetric" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "transitive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "irreflexive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Generalizes" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Specializes" ]
     ] ) ;
     fhir:code [ fhir:v "Generalizes" ] ;
     fhir:description [ fhir:v "Inverse of Specializes.  Only included as a derived relationship." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:code [ fhir:v "internalId" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "The internal identifier for the concept in the HL7 Access database repository." ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Designation of a concept's state. Normally is not populated unless the state is retired." ] ;
     fhir:type [ fhir:v "code" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "0" ] ;
     fhir:display [ fhir:v "Message accepted" ] ;
     fhir:definition [ fhir:v "Success. Optional, as in version 2.x the AA conveys success. Used for systems that must always return a status code." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10131" ]
     ] )
  ] [
     fhir:code [ fhir:v "100" ] ;
     fhir:display [ fhir:v "Sequence error" ] ;
     fhir:definition [ fhir:v "The message elements were not in the proper order, or required elements are missing." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10132" ]
     ] )
  ] [
     fhir:code [ fhir:v "101" ] ;
     fhir:display [ fhir:v "Missing required element." ] ;
     fhir:definition [ fhir:v "A required message element is missing." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10133" ]
     ] )
  ] [
     fhir:code [ fhir:v "102" ] ;
     fhir:display [ fhir:v "Data type error" ] ;
     fhir:definition [ fhir:v "An element is represented by a data type that is not compatible with that which is allowable." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10134" ]
     ] )
  ] [
     fhir:code [ fhir:v "103" ] ;
     fhir:display [ fhir:v "Table value not found" ] ;
     fhir:definition [ fhir:v "The value received for a common HL7 or user defined table was not found to match allowable table values." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10135" ]
     ] )
  ] [
     fhir:code [ fhir:v "200" ] ;
     fhir:display [ fhir:v "Unsupported message type" ] ;
     fhir:definition [ fhir:v "The message type is not supported." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10136" ]
     ] )
  ] [
     fhir:code [ fhir:v "201" ] ;
     fhir:display [ fhir:v "Unsupported interaction" ] ;
     fhir:definition [ fhir:v "The identified interaction is not supported." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10137" ]
     ] )
  ] [
     fhir:code [ fhir:v "202" ] ;
     fhir:display [ fhir:v "Unsupported ProcessingID" ] ;
     fhir:definition [ fhir:v "The ProcessingID is not supported." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10138" ]
     ] )
  ] [
     fhir:code [ fhir:v "203" ] ;
     fhir:display [ fhir:v "Unsupported VersionID" ] ;
     fhir:definition [ fhir:v "The VersionID is not supported." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10139" ]
     ] )
  ] [
     fhir:code [ fhir:v "204" ] ;
     fhir:display [ fhir:v "Unknown key identifier" ] ;
     fhir:definition [ fhir:v "The identifier for a patient, order, etc. was not found. Occurs for transactions other than additions." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10140" ]
     ] )
  ] [
     fhir:code [ fhir:v "205" ] ;
     fhir:display [ fhir:v "Duplicate key identifier" ] ;
     fhir:definition [ fhir:v "The identifier for a patient, order, etc. already exists. Occurs in response to addition transactions (e.g. new Admit, new Order, etc.)." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10141" ]
     ] )
  ] [
     fhir:code [ fhir:v "206" ] ;
     fhir:display [ fhir:v "Application record locked" ] ;
     fhir:definition [ fhir:v "The transaction could not be performed at the application storage level, e.g. database locked." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10142" ]
     ] )
  ] [
     fhir:code [ fhir:v "207" ] ;
     fhir:display [ fhir:v "Application internal error" ] ;
     fhir:definition [ fhir:v "A catchall for internal errors not explicitly covered by other error codes." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "10143" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

