HL7 Terminology (THO)
5.1.0 - Publication International flag

This page is part of the HL7 Terminology (v5.1.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

: relationalOperator - TTL Representation

Active as of 2019-12-01

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

 a fhir:CodeSystem;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "v2-0209"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>status</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#status</td><td>code</td><td>Status of the concept</td></tr><tr><td>deprecated</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated</td><td>code</td><td>Version of HL7 in which the code was deprecated</td></tr></table><p><b>Concepts</b></p><p>This code system <code>http://terminology.hl7.org/CodeSystem/v2-0209</code> 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></tr><tr><td style=\"white-space:nowrap\">EQ<a name=\"v2-0209-EQ\"> </a></td><td>Equal</td><td>Equal</td></tr><tr><td style=\"white-space:nowrap\">NE<a name=\"v2-0209-NE\"> </a></td><td>Not Equal</td><td>Not Equal</td></tr><tr><td style=\"white-space:nowrap\">LT<a name=\"v2-0209-LT\"> </a></td><td>Less than</td><td>Less than</td></tr><tr><td style=\"white-space:nowrap\">GT<a name=\"v2-0209-GT\"> </a></td><td>Greater than</td><td>Greater than</td></tr><tr><td style=\"white-space:nowrap\">LE<a name=\"v2-0209-LE\"> </a></td><td>Less than or equal</td><td>Less than or equal</td></tr><tr><td style=\"white-space:nowrap\">GE<a name=\"v2-0209-GE\"> </a></td><td>Greater than or equal</td><td>Greater than or equal</td></tr><tr><td style=\"white-space:nowrap\">CT<a name=\"v2-0209-CT\"> </a></td><td>Contains</td><td>Contains</td></tr><tr><td style=\"white-space:nowrap\">GN<a name=\"v2-0209-GN\"> </a></td><td>Generic</td><td>Generic</td></tr></table></div>"
  ]; # 
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.valueCode [ fhir:value "inm" ]
  ]; # 
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0209"]; # 
  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.114" ]
  ]; # 
  fhir:CodeSystem.version [ fhir:value "2.1.0"]; # 
  fhir:CodeSystem.name [ fhir:value "RelationalOperator"]; # 
  fhir:CodeSystem.title [ fhir:value "relationalOperator"]; # 
  fhir:CodeSystem.status [ fhir:value "active"]; # 
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean]; # 
  fhir:CodeSystem.date [ fhir:value "2019-12-01"^^xsd:date]; # 
  fhir:CodeSystem.publisher [ fhir:value "HL7, Inc"]; # 
  fhir:CodeSystem.contact [
     fhir:index 0;
     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 used to define the relationship between HL7 segment field names identified in a query construct.  Used in HL7 Version 2.x messaging in the QSC segment."]; # 
  fhir:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0209 (Relational Operator)"]; # 
  fhir:CodeSystem.copyright [ fhir:value "Copyright HL7. Licensed under creative commons public domain"]; # 
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean]; # 
  fhir:CodeSystem.valueSet [
     fhir:value "http://terminology.hl7.org/ValueSet/v2-0209";
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0209>
  ]; # 
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"]; # 
  fhir:CodeSystem.compositional [ fhir:value "false"^^xsd:boolean]; # 
  fhir:CodeSystem.versionNeeded [ fhir:value "false"^^xsd:boolean]; # 
  fhir:CodeSystem.content [ fhir:value "complete"]; # 
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:CodeSystem.property.code [ fhir:value "status" ];
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status" ];
     fhir:CodeSystem.property.description [ fhir:value "Status of the concept" ];
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.property.code [ fhir:value "deprecated" ];
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated" ];
     fhir:CodeSystem.property.description [ fhir:value "Version of HL7 in which the code was deprecated" ];
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ]; # 
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:Element.id [ fhir:value "2132" ];
     fhir:CodeSystem.concept.code [ fhir:value "EQ" ];
     fhir:CodeSystem.concept.display [ fhir:value "Equal" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Equal" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "2133" ];
     fhir:CodeSystem.concept.code [ fhir:value "NE" ];
     fhir:CodeSystem.concept.display [ fhir:value "Not Equal" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Not Equal" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "2134" ];
     fhir:CodeSystem.concept.code [ fhir:value "LT" ];
     fhir:CodeSystem.concept.display [ fhir:value "Less than" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Less than" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "2135" ];
     fhir:CodeSystem.concept.code [ fhir:value "GT" ];
     fhir:CodeSystem.concept.display [ fhir:value "Greater than" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Greater than" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 4;
     fhir:Element.id [ fhir:value "2136" ];
     fhir:CodeSystem.concept.code [ fhir:value "LE" ];
     fhir:CodeSystem.concept.display [ fhir:value "Less than or equal" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Less than or equal" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 5;
     fhir:Element.id [ fhir:value "2137" ];
     fhir:CodeSystem.concept.code [ fhir:value "GE" ];
     fhir:CodeSystem.concept.display [ fhir:value "Greater than or equal" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Greater than or equal" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 6;
     fhir:Element.id [ fhir:value "2138" ];
     fhir:CodeSystem.concept.code [ fhir:value "CT" ];
     fhir:CodeSystem.concept.display [ fhir:value "Contains" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Contains" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 7;
     fhir:Element.id [ fhir:value "2139" ];
     fhir:CodeSystem.concept.code [ fhir:value "GN" ];
     fhir:CodeSystem.concept.display [ fhir:value "Generic" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Generic" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ]. # 

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.