R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example MeasureReport/hiv-indicators (Turtle)

Clinical Quality Information Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example MeasureReport for reporting public health data elements

@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 "hiv-indicators"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MeasureReport</b><a name=\"hiv-indicators\"> </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;hiv-indicators&quot; </p></div><p><b>status</b>: complete</p><p><b>type</b>: summary</p><p><b>measure</b>: <a href=\"http://ohie.org/Measure/hiv-indicators\">http://ohie.org/Measure/hiv-indicators</a></p><p><b>reporter</b>: <a href=\"organization-example.html\">Organization/hl7</a> &quot;Health Level Seven International&quot;</p><p><b>period</b>: 2018-01-01 --&gt; 2018-01-31</p><blockquote><p><b>group</b></p><p><b>code</b>: QRPH_ADX_ART1_N <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#QRPH_ADX_ART1_N)</span></p><p><b>measureScore</b>: 0</p><blockquote><p><b>stratifier</b></p><p><b>code</b>: AGE_GROUP:SEX <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#AGE_GROUP:SEX)</span></p><blockquote><p><b>stratum</b></p><p><b>value</b>: P0Y--P1Y:F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P0Y--P1Y:F)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P0Y--P1Y:M <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P0Y--P1Y:M)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P1Y--P5Y:F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P1Y--P5Y:F)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P1Y--P5Y:M <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P1Y--P5Y:M)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P10Y--P15Y:F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P10Y--P15Y:F)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P10Y--P15Y:M <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P10Y--P15Y:M)</span></p><p><b>measureScore</b>: 0</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>code</b>: QRPH_ADX_ART1_N <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#QRPH_ADX_ART1_N)</span></p><p><b>measureScore</b>: 0</p><blockquote><p><b>stratifier</b></p><p><b>code</b>: AGE_GROUP:SEX <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#AGE_GROUP:SEX)</span></p><blockquote><p><b>stratum</b></p><p><b>value</b>: P0Y--P1Y:F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P0Y--P1Y:F)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P0Y--P1Y:M <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P0Y--P1Y:M)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P1Y--P5Y:F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P1Y--P5Y:F)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P1Y--P5Y:M <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P1Y--P5Y:M)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P10Y--P15Y:F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P10Y--P15Y:F)</span></p><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><p><b>value</b>: P10Y--P15Y:M <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P10Y--P15Y:M)</span></p><p><b>measureScore</b>: 0</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>code</b>: QRPH_ADX_ART1_N <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#QRPH_ADX_ART1_N)</span></p><p><b>measureScore</b>: 0</p><blockquote><p><b>stratifier</b></p><blockquote><p><b>stratum</b></p><blockquote><p><b>component</b></p><p><b>code</b>: AGE_GROUP <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#AGE_GROUP)</span></p><p><b>value</b>: P0Y--P1Y <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P0Y--P1Y)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: SEX <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#SEX)</span></p><p><b>value</b>: F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#F)</span></p></blockquote><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><blockquote><p><b>component</b></p><p><b>code</b>: AGE_GROUP <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#AGE_GROUP)</span></p><p><b>value</b>: P0Y--P1Y <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P0Y--P1Y)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: SEX <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#SEX)</span></p><p><b>value</b>: M <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#M)</span></p></blockquote><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><blockquote><p><b>component</b></p><p><b>code</b>: AGE_GROUP <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#AGE_GROUP)</span></p><p><b>value</b>: P1Y--P5Y <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P1Y--P5Y)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: SEX <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#SEX)</span></p><p><b>value</b>: F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#F)</span></p></blockquote><p><b>measureScore</b>: 0</p></blockquote><blockquote><p><b>stratum</b></p><blockquote><p><b>component</b></p><p><b>code</b>: AGE_GROUP <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#AGE_GROUP)</span></p><p><b>value</b>: P1Y--P5Y <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#P1Y--P5Y)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: SEX <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#SEX)</span></p><p><b>value</b>: F <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#F)</span></p></blockquote><p><b>measureScore</b>: 0</p></blockquote></blockquote></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "complete"] ; # 
  fhir:type [ fhir:v "summary"] ; # 
  fhir:measure [
     fhir:v "http://ohie.org/Measure/hiv-indicators"^^xsd:anyURI ;
     fhir:link <http://ohie.org/Measure/hiv-indicators>
  ] ; # 
  fhir:reporter [
     fhir:reference [ fhir:v "Organization/hl7" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2018-01-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2018-01-31"^^xsd:date ]
  ] ; # 
  fhir:group ( [
     fhir:code [
       fhir:coding ( [
         fhir:code [ fhir:v "QRPH_ADX_ART1_N" ]
       ] )
     ] ;
     fhir:measureScore [
       a fhir:Quantity ;
       fhir:value [ fhir:v "0"^^xsd:decimal ]
     ] ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:code [ fhir:v "AGE_GROUP:SEX" ]
         ] )
       ] ;
       fhir:stratum ( [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P0Y--P1Y:F" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P0Y--P1Y:M" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P1Y--P5Y:F" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P1Y--P5Y:M" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P10Y--P15Y:F" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P10Y--P15Y:M" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] )
     ] ) #   ...  
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:code [ fhir:v "QRPH_ADX_ART1_N" ]
       ] )
     ] ;
     fhir:measureScore [
       a fhir:Quantity ;
       fhir:value [ fhir:v "0"^^xsd:decimal ]
     ] ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:code [ fhir:v "AGE_GROUP:SEX" ]
         ] )
       ] ;
       fhir:stratum ( [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P0Y--P1Y:F" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P0Y--P1Y:M" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P1Y--P5Y:F" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P1Y--P5Y:M" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P10Y--P15Y:F" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:code [ fhir:v "P10Y--P15Y:M" ]
           ] )
         ] ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] )
     ] ) #   ...  
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:code [ fhir:v "QRPH_ADX_ART1_N" ]
       ] )
     ] ;
     fhir:measureScore [
       a fhir:Quantity ;
       fhir:value [ fhir:v "0"^^xsd:decimal ]
     ] ;
     fhir:stratifier ( [
       fhir:stratum ( [
         fhir:component ( [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "AGE_GROUP" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "P0Y--P1Y" ]
             ] )
           ]
         ] [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "SEX" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "F" ]
             ] )
           ]
         ] ) ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:component ( [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "AGE_GROUP" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "P0Y--P1Y" ]
             ] )
           ]
         ] [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "SEX" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "M" ]
             ] )
           ]
         ] ) ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:component ( [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "AGE_GROUP" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "P1Y--P5Y" ]
             ] )
           ]
         ] [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "SEX" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "F" ]
             ] )
           ]
         ] ) ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] [
         fhir:component ( [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "AGE_GROUP" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "P1Y--P5Y" ]
             ] )
           ]
         ] [
           fhir:code [
             fhir:coding ( [
               fhir:code [ fhir:v "SEX" ]
             ] )
           ] ;
           fhir:value [
             a fhir:CodeableConcept ;
             fhir:coding ( [
               fhir:code [ fhir:v "F" ]
             ] )
           ]
         ] ) ;
         fhir:measureScore [
           a fhir:Quantity ;
           fhir:value [ fhir:v "0"^^xsd:decimal ]
         ]
       ] )
     ] ) #   ...  
  ] )] . #   Option 1: Mashup   

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.