R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example CodeSystem/assert-operator-codes (Turtle)

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

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

Definition for Code SystemAssertionOperatorType

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

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

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "assert-operator-codes"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-12-18T15:12:07.602+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fhir" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "2" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/assert-operator-codes"], [ fhir:v "http://hl7.org/fhir/assert-operator-codes"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.709" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.697" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.360" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.709" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.697" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.360" ]
  ] ) ;
  fhir:version [ fhir:v "6.0.0-ballot1"], [ fhir:v "6.0.0-ballot1"] ;
  fhir:name [ fhir:v "AssertionOperatorType"], [ fhir:v "AssertionOperatorType"] ;
  fhir:title [ fhir:v "Assertion Operator Type"], [ fhir:v "Assertion Operator Type"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"], [ fhir:v "2021-01-05T10:01:24+11:00"] ;
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"], [ 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: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 "The type of operator to use for assertion."], [ fhir:v "The type of operator to use for assertion."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "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/assert-operator-codes"] ;
  fhir:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "equals" ] ;
     fhir:display [ fhir:v "equals" ] ;
     fhir:definition [ fhir:v "Default value. Equals comparison." ]
  ] [
     fhir:code [ fhir:v "notEquals" ] ;
     fhir:display [ fhir:v "notEquals" ] ;
     fhir:definition [ fhir:v "Not equals comparison." ]
  ] [
     fhir:code [ fhir:v "in" ] ;
     fhir:display [ fhir:v "in" ] ;
     fhir:definition [ fhir:v "Compare value within a known set of values." ]
  ] [
     fhir:code [ fhir:v "notIn" ] ;
     fhir:display [ fhir:v "notIn" ] ;
     fhir:definition [ fhir:v "Compare value not within a known set of values." ]
  ] [
     fhir:code [ fhir:v "greaterThan" ] ;
     fhir:display [ fhir:v "greaterThan" ] ;
     fhir:definition [ fhir:v "Compare value to be greater than a known value." ]
  ] [
     fhir:code [ fhir:v "lessThan" ] ;
     fhir:display [ fhir:v "lessThan" ] ;
     fhir:definition [ fhir:v "Compare value to be less than a known value." ]
  ] [
     fhir:code [ fhir:v "empty" ] ;
     fhir:display [ fhir:v "empty" ] ;
     fhir:definition [ fhir:v "Compare value is empty." ]
  ] [
     fhir:code [ fhir:v "notEmpty" ] ;
     fhir:display [ fhir:v "notEmpty" ] ;
     fhir:definition [ fhir:v "Compare value is not empty." ]
  ] [
     fhir:code [ fhir:v "contains" ] ;
     fhir:display [ fhir:v "contains" ] ;
     fhir:definition [ fhir:v "Compare value string contains a known value." ]
  ] [
     fhir:code [ fhir:v "notContains" ] ;
     fhir:display [ fhir:v "notContains" ] ;
     fhir:definition [ fhir:v "Compare value string does not contain a known value." ]
  ] [
     fhir:code [ fhir:v "eval" ] ;
     fhir:display [ fhir:v "evaluate" ] ;
     fhir:definition [ fhir:v "Evaluate the FHIRPath expression as a boolean condition." ]
  ] [
     fhir:code [ fhir:v "manualEval" ] ;
     fhir:display [ fhir:v "manualEvaluate" ] ;
     fhir:definition [ fhir:v "Manually evaluate the condition described by this assert. The test engine SHALL pause and provide an input mechanism to set the outcome of this assert to 'pass', 'fail', 'skip' or 'stop'." ]
  ] ) .

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


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.