Clinical Quality Language Specification
1.5.3 - Release 1 Errata 2

Clinical Quality Language Specification, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 1.5.3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql/ and changes regularly. See the Directory of published versions

: CQL Tests - Type Operators - TTL Representation

Raw ttl | Download


@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:Binary ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "binary-test-cqltypeoperatorstest"] ; # 
  fhir:contentType [ fhir:v "application/elm+xml"] ; # 
  fhir:data [ fhir:v "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjx0ZXN0cyB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL2hsNy5vcmcvZmhpcnBhdGgvdGVzdHMiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL2hsNy5vcmcvZmhpcnBhdGgvdGVzdHMgLi4vLi4vdGVzdFNjaGVtYS90ZXN0U2NoZW1hLnhzZCINCgluYW1lPSJDcWxUeXBlT3BlcmF0b3JzVGVzdCIgcmVmZXJlbmNlPSJodHRwczovL2NxbC5obDcub3JnLzA5LWItY3FscmVmZXJlbmNlLmh0bWwjdHlwZS1vcGVyYXRvcnMtMSI+DQoJPGdyb3VwIG5hbWU9IkFzIj4NCgkJPHRlc3QgbmFtZT0iQXNRdWFudGl0eSI+DQoJCQk8ZXhwcmVzc2lvbj40NS41ICdnJyBhcyBRdWFudGl0eTwvZXhwcmVzc2lvbj4NCgkJCTxvdXRwdXQ+NDUuNSAnZyc8L291dHB1dD4NCgkJPC90ZX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