import { CodeableConcept } from './CodeableConcept.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { Measure_Group_Population } from './Measure_Group_Population.js';
import { Measure_Group_Stratifier } from './Measure_Group_Stratifier.js';
import { Reference } from './Reference.js';
export interface Measure_Group {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained andor the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
  
  Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Extensions that cannot be ignored even if unrecognized
     */
    modifierExtension?: Extension[];
    /**
     * @description An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource.
     * @comment This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.
  
  LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such
     * @short Unique id for group in measure
     */
    linkId?: FhirPrimitive<string>;
    /**
     * @description Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures.
     * @short Meaning of the group
     */
    code?: CodeableConcept;
    /**
     * @description The human readable description of this population group.
     * @short Summary description
     */
    description?: FhirPrimitive<string>;
    /**
     * @description Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization.
     * @comment When specified at the group level, defines the measure type for this specific group. If not specified, the measureType of the group is determined by the root type element
     * @short process | outcome | structure | patient-reported-outcome | composite
     */
    type?: CodeableConcept[];
    /**
     * @choice This is part of the subject[x] choice.
     * @oneOf subjectCodeableConcept, subjectReference
     */
    subjectCodeableConcept?: CodeableConcept;
    /**
     * @choice This is part of the subject[x] choice.
     * @oneOf subjectCodeableConcept, subjectReference
     */
    subjectReference?: Reference;
    /**
     * @description The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yesno values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters.
     * @comment When specified at the group level, defines the population basis for this specific group. If not specified, the basis for the group is determined by the root basis element
     * @short Population basis
     */
    basis?: FhirPrimitive<string>;
    /**
     * @description Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented.
     * @comment When specified at the group level, defines the scoring for this specific group. If not specified, scoring for this group is determined by the root scoring element
     * @short proportion | ratio | continuous-variable | cohort
     */
    scoring?: CodeableConcept;
    /**
     * @description Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit.
     * @comment When specified at the group level, this defines the scoringUnit for this specific group. If not specified, the scoringUnit for this group is determined by the root scoringUnit element. As with the root element, when this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM.
     * @short What units?
     */
    scoringUnit?: CodeableConcept;
    /**
     * @description Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result.
     * @comment The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level).
     * @short How is rate aggregation performed for this measure
     */
    rateAggregation?: FhirPrimitive<string>;
    /**
     * @description Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range).
     * @comment When specified at the group level, this element defines the improvementNotation for this specific group. If not specified, improvementNotation for this group is determined by the root improvementNotation element
     * @short increase | decrease
     */
    improvementNotation?: CodeableConcept;
    /**
     * @description A reference to a Library resource containing the formal logic used by the measure group.
     * @short Logic used by the measure group
     */
    library?: FhirPrimitive<string>[];
    /**
     * @backbone Nested BackboneElement: population [0..*]
     */
    population?: Measure_Group_Population[];
    /**
     * @backbone Nested BackboneElement: stratifier [0..*]
     */
    stratifier?: Measure_Group_Stratifier[];
}
//# sourceMappingURL=Measure_Group.d.ts.map