Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ValueSet/value-filter-comparator (Turtle)

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Value SetValue Filter Comparator

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

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

[] a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "value-filter-comparator"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "5" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/ValueSet/value-filter-comparator"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.3306" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "ValueFilterComparator"];
  fhir:CanonicalResource.title [ fhir:value "Value Filter Comparator"];
  fhir:CanonicalResource.status [ fhir:value "active"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2022-09-07T10:58:29+10:00"];
  fhir:CanonicalResource.publisher [ fhir:value "FHIR Project team"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "The type of comparator operator to use"];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/value-filter-comparator"];
  fhir:ValueSet.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.3306" ]
  ];
  fhir:ValueSet.version [ fhir:value "5.0.0-ballot"];
  fhir:ValueSet.name [ fhir:value "ValueFilterComparator"];
  fhir:ValueSet.title [ fhir:value "Value Filter Comparator"];
  fhir:ValueSet.status [ fhir:value "active"];
  fhir:ValueSet.experimental [ fhir:value "false"];
  fhir:ValueSet.date [ fhir:value "2022-09-07T10:58:29+10:00"];
  fhir:ValueSet.publisher [ fhir:value "FHIR Project team"];
  fhir:ValueSet.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:ValueSet.description [ fhir:value "The type of comparator operator to use"];
  fhir:ValueSet.compose [
     fhir:ValueSetComposeComponent.include [
       fhir:ConceptSetComponent.system [ fhir:value "http://hl7.org/fhir/search-comparator" ];
       fhir:ConceptSetComponent.concept [
         fhir:ConceptReferenceComponent.code [ fhir:value "eq" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "Equals" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "gt" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "Greater Than" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "lt" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "Less Than" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "ge" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "Greater or Equals" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "le" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "Less of Equal" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "sa" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "Starts After" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "eb" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "Ends Before" ]
       ]
     ]
  ] .

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


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.