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 CodeSystem/subscription-search-modifier (Turtle)

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

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

Definition for Code SystemSubscriptionSearchModifer

@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 "subscription-search-modifier"];
  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/shareablecodesystem" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://terminology.hl7.org/CodeSystem/subscription-search-modifier"];
  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.4.2035" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "SubscriptionSearchModifer"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.description [ fhir:value "This codesystem defines a set of codes that can be used to filter Subscription triggers."];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/subscription-search-modifier"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.2035" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "SubscriptionSearchModifer"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.description [ fhir:value "This codesystem defines a set of codes that can be used to filter Subscription triggers."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "=" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "=" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Used to match a value according to FHIR Search rules (e.g., Patient/123, Encounter/2002)." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "eq" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Equal" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource is equal to the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "ne" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Not Equal" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource is not equal to the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "gt" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Greater Than" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource is greater than the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "lt" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Less Than" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource is less than the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "ge" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Greater Than or Equal" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource is greater or equal to the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "le" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Less Than or Equal" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource is less or equal to the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "sa" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Starts After" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource starts after the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "eb" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Ends Before" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource ends before the provided value." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "ap" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Approximately" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The value for the parameter in the resource is approximately the same to the provided value. Note that the recommended value for the approximation is 10% of the stated value (or for a date, 10% of the gap between now and the date), but systems may choose other values where appropriate." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "above" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Above" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The search parameter is a concept with the form [system]|[code], and the search parameter tests whether the coding in a resource subsumes the specified search code." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "below" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Below" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The search parameter is a concept with the form [system]|[code], and the search parameter tests whether the coding in a resource is subsumed by the specified search code." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "in" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "In" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The search parameter is a member of a Group or List, or the search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the value is present in the specified Group, List, or Value Set." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "not-in" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Not In" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The search parameter is a member of a Group or List, or the search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the value is NOT present in the specified Group, List, or Value Set." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "of-type" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Of Type" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The search parameter has the format system|code|value, where the system and code refer to a Identifier.type.coding.system and .code, and match if any of the type codes match. All 3 parts must be present." ]
  ] .

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


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.