Struct MeasureGroupBuilder

Source
pub struct MeasureGroupBuilder { /* private fields */ }
Expand description

Builder for MeasureGroup.

Implementations§

Source§

impl MeasureGroupBuilder

Source

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.

Source

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.

Source

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.

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

Extension field.

Source

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.

Source

pub fn code_ext(self, value: FieldExtension) -> MeasureGroupBuilder

Extension field.

Source

pub fn description(self, value: String) -> MeasureGroupBuilder

Summary description

The human readable description of this population group.

Source

pub fn description_ext(self, value: FieldExtension) -> MeasureGroupBuilder

Extension field.

Source

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

Source

pub fn type_ext(self, value: Vec<Option<FieldExtension>>) -> MeasureGroupBuilder

Extension field.

Source

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.

Source

pub fn subject_ext( self, value: MeasureGroupSubjectExtension, ) -> MeasureGroupBuilder

Extension field.

Source

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

Source

pub fn basis_ext(self, value: FieldExtension) -> MeasureGroupBuilder

Extension field.

Source

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

Source

pub fn scoring_ext(self, value: FieldExtension) -> MeasureGroupBuilder

Extension field.

Source

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.

Source

pub fn scoring_unit_ext(self, value: FieldExtension) -> MeasureGroupBuilder

Extension field.

Source

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).

Source

pub fn rate_aggregation_ext(self, value: FieldExtension) -> MeasureGroupBuilder

Extension field.

Source

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

Source

pub fn improvement_notation_ext( self, value: FieldExtension, ) -> MeasureGroupBuilder

Extension field.

Source

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.

Source

pub fn library_ext( self, value: Vec<Option<FieldExtension>>, ) -> MeasureGroupBuilder

Extension field.

Source

pub fn population( self, value: Vec<Option<MeasureGroupPopulation>>, ) -> MeasureGroupBuilder

Population criteria

A population criteria for the measure.

Source

pub fn population_ext( self, value: Vec<Option<FieldExtension>>, ) -> MeasureGroupBuilder

Extension field.

Source

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.

Source

pub fn stratifier_ext( self, value: Vec<Option<FieldExtension>>, ) -> MeasureGroupBuilder

Extension field.

Source

pub fn build(self) -> Result<MeasureGroup, BuilderError>

Builds a new MeasureGroup.

§Errors

If a required field has not been initialized.

Trait Implementations§

Source§

impl Default for MeasureGroupBuilder

Source§

fn default() -> MeasureGroupBuilder

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,