FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/search-comparator (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemSearchComparator

@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:id [ fhir:v "search-comparator"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-02-16T15:32:40.206+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem search-comparator</b></p><a name=\"search-comparator\"> </a><a name=\"hcsearch-comparator\"> </a><a name=\"search-comparator-en-US\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/search-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\">eq<a name=\"search-comparator-eq\"> </a></td><td>Equals</td><td>the value for the parameter in the resource is equal to the provided value.</td></tr><tr><td style=\"white-space:nowrap\">ne<a name=\"search-comparator-ne\"> </a></td><td>Not Equals</td><td>the value for the parameter in the resource is not equal to the provided value.</td></tr><tr><td style=\"white-space:nowrap\">gt<a name=\"search-comparator-gt\"> </a></td><td>Greater Than</td><td>the value for the parameter in the resource is greater than the provided value.</td></tr><tr><td style=\"white-space:nowrap\">lt<a name=\"search-comparator-lt\"> </a></td><td>Less Than</td><td>the value for the parameter in the resource is less than the provided value.</td></tr><tr><td style=\"white-space:nowrap\">ge<a name=\"search-comparator-ge\"> </a></td><td>Greater or Equals</td><td>the value for the parameter in the resource is greater or equal to the provided value.</td></tr><tr><td style=\"white-space:nowrap\">le<a name=\"search-comparator-le\"> </a></td><td>Less of Equal</td><td>the value for the parameter in the resource is less or equal to the provided value.</td></tr><tr><td style=\"white-space:nowrap\">sa<a name=\"search-comparator-sa\"> </a></td><td>Starts After</td><td>the value for the parameter in the resource starts after the provided value.</td></tr><tr><td style=\"white-space:nowrap\">eb<a name=\"search-comparator-eb\"> </a></td><td>Ends Before</td><td>the value for the parameter in the resource ends before the provided value.</td></tr><tr><td style=\"white-space:nowrap\">ap<a name=\"search-comparator-ap\"> </a></td><td>Approximately</td><td>the value for the parameter in the resource is approximately the same to the provided value.</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fhir" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "3"^^xsd:integer ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/search-comparator"^^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.4.642.4.638" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.623" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot2"] ; # 
  fhir:name [ fhir:v "SearchComparator"] ; # 
  fhir:title [ fhir:v "Search Comparator"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; # 
  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:description [ fhir:v "What Search Comparator Codes are supported in search."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/search-comparator"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/search-comparator>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "eq" ] ;
     fhir:display [ fhir:v "Equals" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource is equal to the provided value." ]
  ] [
     fhir:code [ fhir:v "ne" ] ;
     fhir:display [ fhir:v "Not Equals" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource is not equal to the provided value." ]
  ] [
     fhir:code [ fhir:v "gt" ] ;
     fhir:display [ fhir:v "Greater Than" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource is greater than the provided value." ]
  ] [
     fhir:code [ fhir:v "lt" ] ;
     fhir:display [ fhir:v "Less Than" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource is less than the provided value." ]
  ] [
     fhir:code [ fhir:v "ge" ] ;
     fhir:display [ fhir:v "Greater or Equals" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource is greater or equal to the provided value." ]
  ] [
     fhir:code [ fhir:v "le" ] ;
     fhir:display [ fhir:v "Less of Equal" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource is less or equal to the provided value." ]
  ] [
     fhir:code [ fhir:v "sa" ] ;
     fhir:display [ fhir:v "Starts After" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource starts after the provided value." ]
  ] [
     fhir:code [ fhir:v "eb" ] ;
     fhir:display [ fhir:v "Ends Before" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource ends before the provided value." ]
  ] [
     fhir:code [ fhir:v "ap" ] ;
     fhir:display [ fhir:v "Approximately" ] ;
     fhir:definition [ fhir:v "the value for the parameter in the resource is approximately the same to the provided 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.