Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4

Codesystem-quantity-comparator.ttl

Example CodeSystem/quantity-comparator (Turtle)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Standards Status : Informative

Raw Turtle (+ also see Turtle/RDF Format Specification )

Definition for Code System QuantityComparator SystemQuantityComparator

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

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "quantity-comparator"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2019-11-01T09:29:23.356+11:00" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "normative" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
     fhir:Extension.value [ fhir:value "4.0.0" ]
  ], [
     fhir:index 3;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "5" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/quantity-comparator"];
  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.4.642.4.60" ]
  ];
  fhir:CodeSystem.version [ fhir:value "4.0.1"];
  fhir:CodeSystem.name [ fhir:value "QuantityComparator"];
  fhir:CodeSystem.title [ fhir:value "QuantityComparator"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2019-11-01T09:29:23+11:00"];
  fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]

<http://hl7.org/fhir/CodeSystem/quantity-comparator> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "quantity-comparator"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-11-10T15:17:08.817+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem quantity-comparator</b></p><a name=\"quantity-comparator\"> </a><a name=\"hcquantity-comparator\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/quantity-comparator</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\">&lt;<a name=\"quantity-comparator-.60\"> </a></td><td>Less than</td><td>The actual value is less than the given value.</td></tr><tr><td style=\"white-space:nowrap\">&lt;=<a name=\"quantity-comparator-.60.61\"> </a></td><td>Less or Equal to</td><td>The actual value is less than or equal to the given value.</td></tr><tr><td style=\"white-space:nowrap\">&gt;=<a name=\"quantity-comparator-.62.61\"> </a></td><td>Greater or Equal to</td><td>The actual value is greater than or equal to the given value.</td></tr><tr><td style=\"white-space:nowrap\">&gt;<a name=\"quantity-comparator-.62\"> </a></td><td>Greater than</td><td>The actual value is greater than the given value.</td></tr><tr><td style=\"white-space:nowrap\">ad<a name=\"quantity-comparator-ad\"> </a></td><td>Sufficient to achieve this total quantity</td><td>The actual value is sufficient for the total quantity to equal the given value.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"

     ]
  ];
  fhir:CodeSystem.description [ fhir:value "How the Quantity should be understood and represented."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/quantity-comparator"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "<" ];
     fhir:CodeSystem.display [ fhir:value "Less than" ];
     fhir:CodeSystem.definition [ fhir:value "The actual value is less than the given value." ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "<=" ];
     fhir:CodeSystem.display [ fhir:value "Less or Equal to" ];
     fhir:CodeSystem.definition [ fhir:value "The actual value is less than or equal to the given value." ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value ">=" ];
     fhir:CodeSystem.display [ fhir:value "Greater or Equal to" ];
     fhir:CodeSystem.definition [ fhir:value "The actual value is greater than or equal to the given value." ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value ">" ];
     fhir:CodeSystem.display [ fhir:value "Greater than" ];
     fhir:CodeSystem.definition [ fhir:value "The actual value is greater than the given value." ]
  ] .

  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "normative"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/quantity-comparator"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/quantity-comparator>
  ] ; # 
  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.4.642.4.60" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "QuantityComparator"] ; # 
  fhir:title [ fhir:v "QuantityComparator"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-11-10T15:17:08+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "How the Quantity should be understood and represented."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/quantity-comparator"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/quantity-comparator>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "<" ] ;
     fhir:display [ fhir:v "Less than" ] ;
     fhir:definition [ fhir:v "The actual value is less than the given value." ]
  ] [
     fhir:code [ fhir:v "<=" ] ;
     fhir:display [ fhir:v "Less or Equal to" ] ;
     fhir:definition [ fhir:v "The actual value is less than or equal to the given value." ]
  ] [
     fhir:code [ fhir:v ">=" ] ;
     fhir:display [ fhir:v "Greater or Equal to" ] ;
     fhir:definition [ fhir:v "The actual value is greater than or equal to the given value." ]
  ] [
     fhir:code [ fhir:v ">" ] ;
     fhir:display [ fhir:v "Greater than" ] ;
     fhir:definition [ fhir:v "The actual value is greater than the given value." ]
  ] [
     fhir:code [ fhir:v "ad" ] ;
     fhir:display [ fhir:v "Sufficient to achieve this total quantity" ] ;
     fhir:definition [ fhir:v "The actual value is sufficient for the total quantity to equal the given value." ]
  ] ) . # 


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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.