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

: Test Schema - 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-schema-testschema"] ; # 
  fhir:contentType [ fhir:v "application/xsd"] ; # 
  fhir:data [ fhir:v "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS1XM0MgU2NoZW1hIGdlbmVyYXRlZCBieSBYTUxTcHkgdjIwMTMgc3AxICh4NjQpIChodHRwOi8vd3d3LmFsdG92YS5jb20pLS0+DQo8eHM6c2NoZW1hIHhtbG5zOnhzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgdGFyZ2V0TmFtZXNwYWNlPSJodHRwOi8vaGw3Lm9yZy9maGlycGF0aC90ZXN0cyIgeG1sbnM9Imh0dHA6Ly9obDcub3JnL2ZoaXJwYXRoL3Rlc3RzIiBlbGVtZW50Rm9ybURlZmF1bHQ9InF1YWxpZmllZCI+DQoJPHhzOmVsZW1lbnQgbmFtZT0idGVzdHMiIHR5cGU9IlRlc3RzIi8+DQoJPHhzOmNvbXBsZXhUeXBlIG5hbWU9IlRlc3RzIj4NCgkJPHhzOmFubm90YXRpb24+DQoJCQk8eHM6ZG9jdW1lbnRhdGlvbj5UaGUgVGVzdHMgdHlwZSBwcm92aWRlcyBhIGNvbnRhaW5lciBmb3IgdGVzdCBzdWl0ZXMgbWFkZSB1cCBv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