Quality Measure Implementation Guide
1.0.0-ballot - ballot International flag

This page is part of the Quality Measure Implementation Guide (v1.0.0-ballot: STU1 (v1.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

: MeasureReport - Test Case Example - 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:_MeasureReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "testcase-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testcase"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testcase>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MeasureReport testcase-example</b></p><a name=\"testcase-example\"> </a><a name=\"hctestcase-example\"> </a><a name=\"testcase-example-en-US\"> </a><p><b>Input parameters</b>: <a href=\"#hctestcase-example/testcase-example-parameters\">Parameters: subject</a></p><p><b>CQM Test Case Description</b>: </p><div><p>Example test case illustrating expected input parameters and expected output results given those input parameters</p>\n</div><p><b>CQM Operation</b>: <a href=\"OperationDefinition-cqm-package.html\">OperationDefinition CQFM Package</a></p><p><b>CQM Is Test Case</b>: true</p><p><b>status</b>: Complete</p><p><b>type</b>: Individual</p><p><b>measure</b>: <a href=\"Measure-EXMLogic-FHIR.html\">EXM Measure</a></p><p><b>period</b>: 2020-01-01 --&gt; 2020-12-31</p><p><b>improvementNotation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-improvement-notation increase}\">Increased score indicates improvement</span></p><blockquote><p><b>group</b></p><blockquote><p><b>population</b></p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population initial-population}\">Initial Population</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population denominator}\">Denominator</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population numerator}\">Numerator</span></p><p><b>count</b>: 1</p></blockquote><p><b>measureScore</b>: 1.0</p><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-1</blockquote><p><b>code</b>: <span title=\"Codes:\">Stratifier 1</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>1.0</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-2</blockquote><p><b>code</b>: <span title=\"Codes:\">Stratifier 2</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>0.0</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-3</blockquote><p><b>code</b>: <span title=\"Codes:\">Stratifier 3</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>0.0</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-4</blockquote><p><b>code</b>: <span title=\"Codes:\">Stratifier 4</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>0.0</td></tr></table></blockquote></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Parameters  #testcase-example-parameters</b></p><a name=\"testcase-example/testcase-example-parameters\"> </a><a name=\"hctestcase-example/testcase-example-parameters\"> </a><a name=\"testcase-example/testcase-example-parameters-en-US\"> </a><h2>Parameters</h2><table class=\"grid\"><tr><td>subject</td><td>123</td></tr></table></blockquote></div>"
  ] ; # 
  fhir:contained ( [
a fhir:Parameters ;
fhir:id [ fhir:v "testcase-example-parameters" ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "subject" ] ;
fhir:value [ fhir:v "123" ]     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "#testcase-example-parameters" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testCaseDescription"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Example test case illustrating expected input parameters and expected output results given those input parameters" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "OperationDefinition/cqm-package" ]     ]
  ] ) ; # 
  fhir:modifierExtension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-isTestCase"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]
  ] ) ; # 
  fhir:status [ fhir:v "complete"] ; # 
  fhir:type [ fhir:v "individual"] ; # 
  fhir:measure [
fhir:v "http://hl7.org/fhir/uv/cqm/Measure/EXMLogic-FHIR"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cqm/Measure/EXMLogic-FHIR>
  ] ; # 
  fhir:period [
fhir:start [ fhir:v "2020-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2020-12-31"^^xsd:date ]
  ] ; # 
  fhir:improvementNotation [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
fhir:code [ fhir:v "increase" ]     ] )
  ] ; # 
  fhir:group ( [
    ( fhir:population [
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "initial-population" ]         ] ) ;
fhir:text [ fhir:v "Initial Population" ]       ] ;
fhir:count [ fhir:v "1"^^xsd:integer ]     ] [
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "denominator" ]         ] ) ;
fhir:text [ fhir:v "Denominator" ]       ] ;
fhir:count [ fhir:v "1"^^xsd:integer ]     ] [
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "numerator" ]         ] ) ;
fhir:text [ fhir:v "Numerator" ]       ] ;
fhir:count [ fhir:v "1"^^xsd:integer ]     ] ) ;
fhir:measureScore [
fhir:value [ fhir:v "1.0"^^xsd:decimal ]     ] ;
    ( fhir:stratifier [
fhir:id [ fhir:v "stratifier-1" ] ;
      ( fhir:code [
fhir:text [ fhir:v "Stratifier 1" ]       ] ) ;
      ( fhir:stratum [
fhir:value [
fhir:text [ fhir:v "true" ]         ] ;
fhir:measureScore [
fhir:value [ fhir:v "1.0"^^xsd:decimal ]         ]       ] )     ] [
fhir:id [ fhir:v "stratifier-2" ] ;
      ( fhir:code [
fhir:text [ fhir:v "Stratifier 2" ]       ] ) ;
      ( fhir:stratum [
fhir:value [
fhir:text [ fhir:v "true" ]         ] ;
fhir:measureScore [
fhir:value [ fhir:v "0.0"^^xsd:decimal ]         ]       ] )     ] [
fhir:id [ fhir:v "stratifier-3" ] ;
      ( fhir:code [
fhir:text [ fhir:v "Stratifier 3" ]       ] ) ;
      ( fhir:stratum [
fhir:value [
fhir:text [ fhir:v "true" ]         ] ;
fhir:measureScore [
fhir:value [ fhir:v "0.0"^^xsd:decimal ]         ]       ] )     ] [
fhir:id [ fhir:v "stratifier-4" ] ;
      ( fhir:code [
fhir:text [ fhir:v "Stratifier 4" ]       ] ) ;
      ( fhir:stratum [
fhir:value [
fhir:text [ fhir:v "true" ]         ] ;
fhir:measureScore [
fhir:value [ fhir:v "0.0"^^xsd:decimal ]         ]       ] )     ] )
  ] ) . #