pub struct MeasureGroupBuilder { /* private fields */ }
Expand description
Builder for MeasureGroup
.
Implementations§
Source§impl MeasureGroupBuilder
impl MeasureGroupBuilder
Sourcepub fn id(self, value: String) -> MeasureGroupBuilder
pub fn id(self, value: String) -> MeasureGroupBuilder
Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Sourcepub fn extension(self, value: Vec<Extension>) -> MeasureGroupBuilder
pub fn extension(self, value: Vec<Extension>) -> MeasureGroupBuilder
Additional content defined by implementations
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.
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.
Sourcepub fn modifier_extension(self, value: Vec<Extension>) -> MeasureGroupBuilder
pub fn modifier_extension(self, value: Vec<Extension>) -> MeasureGroupBuilder
Extensions that cannot be ignored even if unrecognized
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 and/or 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).
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.
Sourcepub fn link_id(self, value: String) -> MeasureGroupBuilder
pub fn link_id(self, value: String) -> MeasureGroupBuilder
Unique id for group in measure
An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource.
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
Sourcepub fn link_id_ext(self, value: FieldExtension) -> MeasureGroupBuilder
pub fn link_id_ext(self, value: FieldExtension) -> MeasureGroupBuilder
Extension field.
Sourcepub fn code(self, value: CodeableConcept) -> MeasureGroupBuilder
pub fn code(self, value: CodeableConcept) -> MeasureGroupBuilder
MeasureGroupExample; Meaning of the group
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.
Sourcepub fn code_ext(self, value: FieldExtension) -> MeasureGroupBuilder
pub fn code_ext(self, value: FieldExtension) -> MeasureGroupBuilder
Extension field.
Sourcepub fn description(self, value: String) -> MeasureGroupBuilder
pub fn description(self, value: String) -> MeasureGroupBuilder
Summary description
The human readable description of this population group.
Sourcepub fn description_ext(self, value: FieldExtension) -> MeasureGroupBuilder
pub fn description_ext(self, value: FieldExtension) -> MeasureGroupBuilder
Extension field.
Sourcepub fn type(self, value: Vec<Option<CodeableConcept>>) -> MeasureGroupBuilder
pub fn type(self, value: Vec<Option<CodeableConcept>>) -> MeasureGroupBuilder
MeasureType; process | outcome | structure | patient-reported-outcome | composite
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.
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
Sourcepub fn type_ext(self, value: Vec<Option<FieldExtension>>) -> MeasureGroupBuilder
pub fn type_ext(self, value: Vec<Option<FieldExtension>>) -> MeasureGroupBuilder
Extension field.
Sourcepub fn subject(self, value: MeasureGroupSubject) -> MeasureGroupBuilder
pub fn subject(self, value: MeasureGroupSubject) -> MeasureGroupBuilder
E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device
The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything.
The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.
Sourcepub fn subject_ext(
self,
value: MeasureGroupSubjectExtension,
) -> MeasureGroupBuilder
pub fn subject_ext( self, value: MeasureGroupSubjectExtension, ) -> MeasureGroupBuilder
Extension field.
Sourcepub fn basis(self, value: FHIRTypes) -> MeasureGroupBuilder
pub fn basis(self, value: FHIRTypes) -> MeasureGroupBuilder
BasisType; Population basis
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 yes/no 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.
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
Sourcepub fn basis_ext(self, value: FieldExtension) -> MeasureGroupBuilder
pub fn basis_ext(self, value: FieldExtension) -> MeasureGroupBuilder
Extension field.
Sourcepub fn scoring(self, value: CodeableConcept) -> MeasureGroupBuilder
pub fn scoring(self, value: CodeableConcept) -> MeasureGroupBuilder
MeasureScoring; proportion | ratio | continuous-variable | cohort
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.
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
Sourcepub fn scoring_ext(self, value: FieldExtension) -> MeasureGroupBuilder
pub fn scoring_ext(self, value: FieldExtension) -> MeasureGroupBuilder
Extension field.
Sourcepub fn scoring_unit(self, value: CodeableConcept) -> MeasureGroupBuilder
pub fn scoring_unit(self, value: CodeableConcept) -> MeasureGroupBuilder
MeasureScoringUnit; What units?
Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit.
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.
Sourcepub fn scoring_unit_ext(self, value: FieldExtension) -> MeasureGroupBuilder
pub fn scoring_unit_ext(self, value: FieldExtension) -> MeasureGroupBuilder
Extension field.
Sourcepub fn rate_aggregation(self, value: String) -> MeasureGroupBuilder
pub fn rate_aggregation(self, value: String) -> MeasureGroupBuilder
How is rate aggregation performed for this measure
Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result.
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).
Sourcepub fn rate_aggregation_ext(self, value: FieldExtension) -> MeasureGroupBuilder
pub fn rate_aggregation_ext(self, value: FieldExtension) -> MeasureGroupBuilder
Extension field.
Sourcepub fn improvement_notation(self, value: CodeableConcept) -> MeasureGroupBuilder
pub fn improvement_notation(self, value: CodeableConcept) -> MeasureGroupBuilder
MeasureImprovementNotation; increase | decrease
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).
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
Sourcepub fn improvement_notation_ext(
self,
value: FieldExtension,
) -> MeasureGroupBuilder
pub fn improvement_notation_ext( self, value: FieldExtension, ) -> MeasureGroupBuilder
Extension field.
Sourcepub fn library(self, value: Vec<Option<String>>) -> MeasureGroupBuilder
pub fn library(self, value: Vec<Option<String>>) -> MeasureGroupBuilder
Logic used by the measure group
A reference to a Library resource containing the formal logic used by the measure group.
Sourcepub fn library_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> MeasureGroupBuilder
pub fn library_ext( self, value: Vec<Option<FieldExtension>>, ) -> MeasureGroupBuilder
Extension field.
Sourcepub fn population(
self,
value: Vec<Option<MeasureGroupPopulation>>,
) -> MeasureGroupBuilder
pub fn population( self, value: Vec<Option<MeasureGroupPopulation>>, ) -> MeasureGroupBuilder
Population criteria
A population criteria for the measure.
Sourcepub fn population_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> MeasureGroupBuilder
pub fn population_ext( self, value: Vec<Option<FieldExtension>>, ) -> MeasureGroupBuilder
Extension field.
Sourcepub fn stratifier(
self,
value: Vec<Option<MeasureGroupStratifier>>,
) -> MeasureGroupBuilder
pub fn stratifier( self, value: Vec<Option<MeasureGroupStratifier>>, ) -> MeasureGroupBuilder
Stratifier criteria for the measure
The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path.
Sourcepub fn stratifier_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> MeasureGroupBuilder
pub fn stratifier_ext( self, value: Vec<Option<FieldExtension>>, ) -> MeasureGroupBuilder
Extension field.