Quality Measure Implementation Guide (STU4)
4.0.0 - STU4 United States of America flag

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v4.0.0: STU4 (v4.0.0)) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). 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/us/cqfmeasures/StructureDefinition/test-case-cqfm"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/test-case-cqfm>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MeasureReport</b><a name=\"testcase-example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MeasureReport &quot;testcase-example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-test-case-cqfm.html\">CQFM Test Case</a></p></div><p><b>CQFM Input Parameters</b>: <a name=\"testcase-example-parameters\"> </a></p><blockquote><p/><p><a name=\"testcase-example-parameters\"> </a></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>subject</td><td>123</td></tr></table></blockquote><p><b>CQFM Test Case Description</b>: Example test case illustrating expected input parameters and expected output results given those input parameters</p><p><b>CQFM Operation</b>: <a href=\"OperationDefinition-Measure-data-requirements.html\">OperationDefinition/Measure-data-requirements</a> &quot;MeasureDataRequirements&quot;</p><blockquote><p><b>modifierExtension[http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-isTestCase]</b></p></blockquote><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>: Increased score indicates improvement <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-measure-improvement-notation.html\">MeasureImprovementNotation</a>#increase)</span></p><blockquote><p><b>group</b></p><blockquote><p><b>population</b></p><p><b>code</b>: Initial Population <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#initial-population)</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: Denominator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#denominator)</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: Numerator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#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>: Stratifier 1 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>: Stratifier 2 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>: Stratifier 3 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>: Stratifier 4 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td>0.0</td></tr></table></blockquote></blockquote><hr/><blockquote><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/us/cqfmeasures/StructureDefinition/cqfm-inputParameters"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "#testcase-example-parameters" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "OperationDefinition/Measure-data-requirements" ]     ]
  ] ) ; # 
  fhir:modifierExtension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/Measure/EXMLogic-FHIR"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/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 ]         ]       ] )     ] )
  ] ) . #