Quality Measure Implementation Guide
2.0.0-ballot - STU 2 Ballot

Quality Measure Implementation Guide - Downloaded Version null See the Directory of published versions

## : MeasureReport - Test Case Example

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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:l <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testcase>     ] )
      ] ; #
      fhir:language [ fhir:v "en"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: MeasureReport testcase-example</b></p><a name=\"testcase-example\"> </a><a name=\"hctestcase-example\"> </a><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\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cqm-testcase.html\">CQM Test Case</a></p></div><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 CQM 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>id</b></p>group-1</blockquote><p><b>Extension Definition for MeasureReport.group.linkId for Version 5.0</b>: primary</p><p><b>code</b>: <span title=\"Codes:{http://example.org/group group}\">group-1</span></p><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>initial-population-1</blockquote><p><b>Extension Definition for MeasureReport.group.population.linkId for Version 5.0</b>: primary-exmlogic-initial-population</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><blockquote><p><b>id</b></p>measure-population</blockquote><p><b>Extension Definition for MeasureReport.group.population.linkId for Version 5.0</b>: primary-exmlogic-measure-population</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-population}\">Measure Population</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>measure-observation</blockquote><p><b>Extension Definition for MeasureReport.group.population.linkId for Version 5.0</b>: primary-exmlogic-measure-observation</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-observation}\">Measure Observation</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>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-1</p><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>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-2</p><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>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-3</p><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>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-4</p><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><h2>Parameters</h2><table class=\"grid\"><tr><td>subject</td><td>123</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:contained ( [
    a fhir:Parameters ;
    fhir:id [ fhir:v "testcase-example-parameters" ] ;
        ( fhir:parameter [
    fhir:name [ fhir:v "subject" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "123"       ]     ] )
      ] ) ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-inputParameters>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l <#testcase-example-parameters> ;
    fhir:reference [ fhir:v "#testcase-example-parameters" ]     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testCaseDescription"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testCaseDescription>     ] ;
    fhir:value [
    a fhir:Markdown ;
    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:l <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-operation>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l fhir:OperationDefinition/cqm-package ;
    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:l <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-isTestCase>     ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true     ]
      ] ) ; #
      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:l <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:l <http://terminology.hl7.org/CodeSystem/measure-improvement-notation>       ] ;
    fhir:code [ fhir:v "increase" ]     ] )
      ] ; #
      fhir:group ( [
    fhir:id [ fhir:v "group-1" ] ;
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.linkId>       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary"       ]     ] ) ;
    fhir:code [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://example.org/group"^^xsd:anyURI ;
    fhir:l <http://example.org/group>         ] ;
    fhir:code [ fhir:v "group" ] ;
    fhir:display [ fhir:v "group-1" ]       ] )     ] ;
        ( fhir:population [
    fhir:id [ fhir:v "initial-population-1" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary-exmlogic-initial-population"         ]       ] ) ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "initial-population" ]         ] ) ;
    fhir:text [ fhir:v "Initial Population" ]       ] ;
    fhir:count [ fhir:v 1 ]     ] [
    fhir:id [ fhir:v "measure-population" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary-exmlogic-measure-population"         ]       ] ) ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "measure-population" ] ;
    fhir:display [ fhir:v "Measure Population" ]         ] )       ] ;
    fhir:count [ fhir:v 1 ]     ] [
    fhir:id [ fhir:v "measure-observation" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary-exmlogic-measure-observation"         ]       ] ) ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "measure-observation" ] ;
    fhir:display [ fhir:v "Measure Observation" ]         ] )       ] ;
    fhir:count [ fhir:v 1 ]     ] ) ;
    fhir:measureScore [
    fhir:value [ fhir:v 1.0 ]     ] ;
        ( fhir:stratifier [
    fhir:id [ fhir:v "stratifier-1" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary-exmlogic-stratification-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 ]         ]       ] )     ] [
    fhir:id [ fhir:v "stratifier-2" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary-exmlogic-stratification-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 ]         ]       ] )     ] [
    fhir:id [ fhir:v "stratifier-3" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary-exmlogic-stratification-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 ]         ]       ] )     ] [
    fhir:id [ fhir:v "stratifier-4" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "primary-exmlogic-stratification-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 ]         ]       ] )     ] )
      ] ) . #