@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "v3-MessageCondition"];
  fhir:Resource.language [ fhir:value "en"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MessageCondition"];
  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.5.80" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.1"];
  fhir:CodeSystem.name [ fhir:value "MessageCondition"];
  fhir:CodeSystem.title [ fhir:value "MessageCondition"];
  fhir:CodeSystem.status [ fhir:value "retired"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2019-03-20"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level 7"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Health Level Seven" ]
  ];
  fhir:CodeSystem.description [ fhir:value "**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:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" ];
       fhir:Extension.value [ fhir:value "antisymmetric" ]
     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" ];
       fhir:Extension.value [ fhir:value "transitive" ]
     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" ];
       fhir:Extension.value [ fhir:value "irreflexive" ]
     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" ];
       fhir:Extension.value [ fhir:value "true" ]
     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" ];
       fhir:Extension.value [ fhir:value "Specializes" ]
     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" ];
       fhir:Extension.value [ fhir:value "Generalizes" ]
     ];
     fhir:CodeSystem.code [ fhir:value "Specializes" ];
     fhir:CodeSystem.description [ fhir:value "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:CodeSystem.type [ fhir:value "Coding" ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" ];
       fhir:Extension.value [ fhir:value "antisymmetric" ]
     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" ];
       fhir:Extension.value [ fhir:value "transitive" ]
     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" ];
       fhir:Extension.value [ fhir:value "irreflexive" ]
     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" ];
       fhir:Extension.value [ fhir:value "true" ]
     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" ];
       fhir:Extension.value [ fhir:value "Generalizes" ]
     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" ];
       fhir:Extension.value [ fhir:value "Specializes" ]
     ];
     fhir:CodeSystem.code [ fhir:value "Generalizes" ];
     fhir:CodeSystem.description [ fhir:value "Inverse of Specializes.  Only included as a derived relationship." ];
     fhir:CodeSystem.type [ fhir:value "Coding" ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "internalId" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id" ];
     fhir:CodeSystem.description [ fhir:value "The internal identifier for the concept in the HL7 Access database repository." ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "status" ];
     fhir:CodeSystem.uri [ fhir:value "http://hl7.org/fhir/concept-properties#status" ];
     fhir:CodeSystem.description [ fhir:value "Designation of a concept's state. Normally is not populated unless the state is retired." ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "0" ];
     fhir:CodeSystem.display [ fhir:value "Message accepted" ];
     fhir:CodeSystem.definition [ fhir:value "Success. Optional, as in version 2.x the AA conveys success. Used for systems that must always return a status code." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10131" ]
     ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "100" ];
     fhir:CodeSystem.display [ fhir:value "Sequence error" ];
     fhir:CodeSystem.definition [ fhir:value "The message elements were not in the proper order, or required elements are missing." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10132" ]
     ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "101" ];
     fhir:CodeSystem.display [ fhir:value "Missing required element." ];
     fhir:CodeSystem.definition [ fhir:value "A required message element is missing." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10133" ]
     ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "102" ];
     fhir:CodeSystem.display [ fhir:value "Data type error" ];
     fhir:CodeSystem.definition [ fhir:value "An element is represented by a data type that is not compatible with that which is allowable." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10134" ]
     ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.code [ fhir:value "103" ];
     fhir:CodeSystem.display [ fhir:value "Table value not found" ];
     fhir:CodeSystem.definition [ fhir:value "The value received for a common HL7 or user defined table was not found to match allowable table values." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10135" ]
     ]
  ], [
     fhir:index 5;
     fhir:CodeSystem.code [ fhir:value "200" ];
     fhir:CodeSystem.display [ fhir:value "Unsupported message type" ];
     fhir:CodeSystem.definition [ fhir:value "The message type is not supported." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10136" ]
     ]
  ], [
     fhir:index 6;
     fhir:CodeSystem.code [ fhir:value "201" ];
     fhir:CodeSystem.display [ fhir:value "Unsupported interaction" ];
     fhir:CodeSystem.definition [ fhir:value "The identified interaction is not supported." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10137" ]
     ]
  ], [
     fhir:index 7;
     fhir:CodeSystem.code [ fhir:value "202" ];
     fhir:CodeSystem.display [ fhir:value "Unsupported ProcessingID" ];
     fhir:CodeSystem.definition [ fhir:value "The ProcessingID is not supported." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10138" ]
     ]
  ], [
     fhir:index 8;
     fhir:CodeSystem.code [ fhir:value "203" ];
     fhir:CodeSystem.display [ fhir:value "Unsupported VersionID" ];
     fhir:CodeSystem.definition [ fhir:value "The VersionID is not supported." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10139" ]
     ]
  ], [
     fhir:index 9;
     fhir:CodeSystem.code [ fhir:value "204" ];
     fhir:CodeSystem.display [ fhir:value "Unknown key identifier" ];
     fhir:CodeSystem.definition [ fhir:value "The identifier for a patient, order, etc. was not found. Occurs for transactions other than additions." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10140" ]
     ]
  ], [
     fhir:index 10;
     fhir:CodeSystem.code [ fhir:value "205" ];
     fhir:CodeSystem.display [ fhir:value "Duplicate key identifier" ];
     fhir:CodeSystem.definition [ fhir:value "The identifier for a patient, order, etc. already exists. Occurs in response to addition transactions (e.g. new Admit, new Order, etc.)." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10141" ]
     ]
  ], [
     fhir:index 11;
     fhir:CodeSystem.code [ fhir:value "206" ];
     fhir:CodeSystem.display [ fhir:value "Application record locked" ];
     fhir:CodeSystem.definition [ fhir:value "The transaction could not be performed at the application storage level, e.g. database locked." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10142" ]
     ]
  ], [
     fhir:index 12;
     fhir:CodeSystem.code [ fhir:value "207" ];
     fhir:CodeSystem.display [ fhir:value "Application internal error" ];
     fhir:CodeSystem.definition [ fhir:value "A catchall for internal errors not explicitly covered by other error codes." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "10143" ]
     ]
  ] .

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

