PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@deqm-1.0.0
    http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/datax-measurereport-deqm
description: '[MeasureReport] is used as an organizer for both data exchange for measure and for measure reporting.  Three profiles on the MeasureReport resource are defined in this guide to delineate these different uses.\nWhen a data producer needs to send data to a data consumer, they use the **DEQM Data Exchange MeasureReport Profile** defined here.  Notice that the type element in this profile is set to “data-collection” using the [DEQM Data Collection Type Extension].  Along with the MeasureReport profile, the data producer sends the Organization, Patient and any relevant resources for the measure they have produced data on.  When a data producer sends a MeasureReport and the associated data, they may not have all the data that is required to calculate the measure report.  Additional data may need to be collected later or there may additional data used in the measure that the aggregator owns such as a continuous coverage period requirement.'
package_name: hl7.fhir.us.davinci
derivation: constraint
name: profile_datax_measurereport_deqm
type: MeasureReport
elements:
  status: {mustSupport: true, index: 0}
  type:
    type: code
    mustSupport: true
    index: 1
    extensions:
      dataxtype:
        url: h
        type: Extension
        mustSupport: true
        index: 2
        elements:
          valueBoolean:
            type: boolean
            mustSupport: true
            pattern: {type: Boolean, value: true}
            index: 3
        required: [valueBoolean]
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: h
        index: 2
        slicing:
          slices:
            dataxtype:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: h
                index: 2
                elements:
                  valueBoolean:
                    type: boolean
                    mustSupport: true
                    pattern: {type: Boolean, value: true}
                    index: 3
                required: [valueBoolean]
  measure: {mustSupport: true, index: 4}
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient']
    index: 5
  date: {mustSupport: true, index: 6}
  reportingOrganization:
    short: The organization where the measure was completed
    refers: ['http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/organization-deqm']
    type: Reference
    mustSupport: true
    index: 7
  period:
    type: Period
    constraint:
      deqm-1: {human: Date precision SHALL  be at least to day ( YYYY-MM-DD ), severity: error, expression: 'start.matches(''^([0-9]{4})(-)(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])'') and end.matches(''^([0-9]{4})(-)(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])'')'}
    mustSupport: true
    index: 8
    elements:
      start: {mustSupport: true, index: 9}
      end: {mustSupport: true, index: 10}
    required: [start, end]
  evaluatedResources:
    mustSupport: true
    index: 11
    extensions:
      refany: {url: h, min: 1, type: Extension, mustSupport: true, index: 12}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: h
        index: 12
        slicing:
          slices:
            refany:
              match: {}
              schema: {type: Extension, mustSupport: true, url: h, index: 12}
              min: 1
package_version: deqm-1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/datax-measurereport-deqm
base: http://hl7.org/fhir/StructureDefinition/MeasureReport
version: 1.0.0
required: [reportingOrganization, date, patient, period]