### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/MeasureReport.json
### ----------------------------------------------------
### -- Chunk 9 of 9
7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MeasureReportStatus"
        }],
        "strength" : "required",
        "description" : "The status of the measure report.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/measure-report-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.status"
      }]
    },
    {
      "id" : "MeasureReport.type",
      "path" : "MeasureReport.type",
      "short" : "individual | subject-list | summary | data-collection",
      "definition" : "The type of measure report. This may be an individual report, which provides the score for the measure for an individual member of the population; a subject-listing, which returns the list of members that meet the various criteria in the measure; a summary report, which returns a population count for each of the criteria in the measure; or a data-collection, which enables the MeasureReport to be used to exchange the data-of-interest for a quality measure.",
      "comment" : "Data-collection reports are used only to communicate data-of-interest for a measure. They do not necessarily include all the data for a particular subject or population, but they may.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "condition" : ["mrp-1"],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MeasureReportType"
        }],
        "strength" : "required",
        "description" : "The type of the measure report.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/measure-report-type|4.0.0"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "MeasureReport.measure",
      "path" : "MeasureReport.measure",
      "short" : "What measure was calculated",
      "definition" : "A reference to the Measure that was calculated to produce this report.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Measure"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      }]
    },
    {
      "id" : "MeasureReport.subject",
      "path" : "MeasureReport.subject",
      "short" : "What individual(s) the report is for",
      "definition" : "Optional subject identifying the individual or individuals the report is for.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Location",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
        "http://hl7.org/fhir/StructureDefinition/Group"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "MeasureReport.date",
      "path" : "MeasureReport.date",
      "short" : "When the report was generated",
      "definition" : "The date this measure report was generated.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      }]
    },
    {
      "id" : "MeasureReport.reporter",
      "path" : "MeasureReport.reporter",
      "short" : "Who is reporting the data",
      "definition" : "The individual, location, or organization that is reporting the data.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Location",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      }]
    },
    {
      "id" : "MeasureReport.period",
      "path" : "MeasureReport.period",
      "short" : "What period the report covers",
      "definition" : "The reporting period for which the report was calculated.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Period"
      }],
      "isSummary" : true
    },
    {
      "id" : "MeasureReport.improvementNotation",
      "path" : "MeasureReport.improvementNotation",
      "short" : "increase | decrease",
      "definition" : "Whether improvement in the measure is noted by an increase or decrease in the measure score.",
      "comment" : "This element is typically defined by the measure, but reproduced here to ensure the measure score can be interpreted. The element is labeled as a modifier because it changes the interpretation of the reported measure score.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : true,
      "isModifierReason" : "Improvement notation determines how to interpret the measure score (i.e. whether an increase is an improvement)",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MeasureImprovementNotation"
        }],
        "strength" : "required",
        "description" : "Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.0"
      }
    },
    {
      "id" : "MeasureReport.group",
      "path" : "MeasureReport.group",
      "short" : "Measure results for each group",
      "definition" : "The results of the calculation, one for each population group in the measure.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "condition" : ["mrp-1"]
    },
    {
      "id" : "MeasureReport.group.code",
      "path" : "MeasureReport.group.code",
      "short" : "Meaning of the group",
      "definition" : "The meaning of the population group as defined in the measure definition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true
    },
    {
      "id" : "MeasureReport.group.population",
      "path" : "MeasureReport.group.population",
      "short" : "The populations in the group",
      "definition" : "The populations that make up the population group, one for each type of population appropriate for the measure.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "MeasureReport.group.population.code",
      "path" : "MeasureReport.group.population.code",
      "short" : "initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation",
      "definition" : "The type of the population.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MeasurePopulation"
        }],
        "strength" : "extensible",
        "description" : "The type of population (e.g. initial, numerator, denominator, etc.).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/measure-population"
      }
    },
    {
      "id" : "MeasureReport.group.population.count",
      "path" : "MeasureReport.group.population.count",
      "short" : "Size of the population",
      "definition" : "The number of members of the population.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "MeasureReport.group.population.subjectResults",
      "path" : "MeasureReport.group.population.subjectResults",
      "short" : "For subject-list reports, the subject results in this population",
      "definition" : "This element refers to a List of subject level MeasureReport resources, one for each subject in this population.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/List"]
      }]
    },
    {
      "id" : "MeasureReport.group.measureScore",
      "path" : "MeasureReport.group.measureScore",
      "short" : "What score this group achieved",
      "definition" : "The measure score for this population group, calculated as appropriate for the measure type and scoring method, and based on the contents of the populations defined in the group.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity"
      }],
      "isSummary" : true
    },
    {
      "id" : "MeasureReport.group.stratifier",
      "path" : "MeasureReport.group.stratifier",
      "short" : "Stratification results",
      "definition" : "When a measure includes multiple stratifiers, there will be a stratifier group for each stratifier defined by the measure.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.code",
      "path" : "MeasureReport.group.stratifier.code",
      "short" : "What stratifier of the group",
      "definition" : "The meaning of this stratifier, as defined in the measure definition.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "StratifierGroup"
      }],
      "path" : "MeasureReport.group.stratifier.stratum",
      "short" : "Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components",
      "definition" : "This element contains the results for a single stratum within the stratifier. For example, when stratifying on administrative gender, there will be four strata, one for each possible gender value.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.value",
      "path" : "MeasureReport.group.stratifier.stratum.value",
      "short" : "The stratum value, e.g. male",
      "definition" : "The value for this stratum, expressed as a CodeableConcept. When defining stratifiers on complex values, the value must be rendered such that the value for each stratum within the stratifier is unique.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.component",
      "path" : "MeasureReport.group.stratifier.stratum.component",
      "short" : "Stratifier component values",
      "definition" : "A stratifier component value.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.component.code",
      "path" : "MeasureReport.group.stratifier.stratum.component.code",
      "short" : "What stratifier component of the group",
      "definition" : "The code for the stratum component value.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.component.value",
      "path" : "MeasureReport.group.stratifier.stratum.component.value",
      "short" : "The stratum component value, e.g. male",
      "definition" : "The stratum component value.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.population",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "StratifierGroupPopulation"
      }],
      "path" : "MeasureReport.group.stratifier.stratum.population",
      "short" : "Population results in this stratum",
      "definition" : "The populations that make up the stratum, one for each type of population appropriate to the measure.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.population.code",
      "path" : "MeasureReport.group.stratifier.stratum.population.code",
      "short" : "initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation",
      "definition" : "The type of the population.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MeasurePopulation"
        }],
        "strength" : "extensible",
        "description" : "The type of population (e.g. initial, numerator, denominator, etc.).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/measure-population"
      }
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.population.count",
      "path" : "MeasureReport.group.stratifier.stratum.population.count",
      "short" : "Size of the population",
      "definition" : "The number of members of the population in this stratum.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.population.subjectResults",
      "path" : "MeasureReport.group.stratifier.stratum.population.subjectResults",
      "short" : "For subject-list reports, the subject results in this population",
      "definition" : "This element refers to a List of subject level MeasureReport resources, one for each subject in this population in this stratum.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/List"]
      }]
    },
    {
      "id" : "MeasureReport.group.stratifier.stratum.measureScore",
      "path" : "MeasureReport.group.stratifier.stratum.measureScore",
      "short" : "What score this stratum achieved",
      "definition" : "The measure score for this stratum, calculated as appropriate for the measure type and scoring method, and based on only the members of this stratum.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity"
      }]
    },
    {
      "id" : "MeasureReport.evaluatedResource",
      "path" : "MeasureReport.evaluatedResource",
      "short" : "What data was used to calculate the measure score",
      "definition" : "A reference to a Bundle containing the Resources that were used in the calculation of this measure.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }]
    }]
  }
}


