Package com.ibm.fhir.model.resource
Class MeasureReport
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.MeasureReport
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class MeasureReport extends DomainResource
The MeasureReport resource contains the results of the calculation of a measure; and optionally a reference to the resources involved in that calculation.Maturity level: FMM2 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMeasureReport.Builderstatic classMeasureReport.GroupThe results of the calculation, one for each population group in the measure.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static MeasureReport.Builderbuilder()booleanequals(Object obj)DateTimegetDate()The date this measure report was generated.List<Reference>getEvaluatedResource()A reference to a Bundle containing the Resources that were used in the calculation of this measure.List<MeasureReport.Group>getGroup()The results of the calculation, one for each population group in the measure.List<Identifier>getIdentifier()A formal identifier that is used to identify this MeasureReport when it is represented in other formats or referenced in a specification, model, design or an instance.CodeableConceptgetImprovementNotation()Whether improvement in the measure is noted by an increase or decrease in the measure score.CanonicalgetMeasure()A reference to the Measure that was calculated to produce this report.PeriodgetPeriod()The reporting period for which the report was calculated.ReferencegetReporter()The individual, location, or organization that is reporting the data.MeasureReportStatusgetStatus()The MeasureReport status.ReferencegetSubject()Optional subject identifying the individual or individuals the report is for.MeasureReportTypegetType()The type of measure report.booleanhasChildren()inthashCode()MeasureReport.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
A formal identifier that is used to identify this MeasureReport when it is represented in other formats or referenced in a specification, model, design or an instance.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public MeasureReportStatus getStatus()
The MeasureReport status. No data will be available until the MeasureReport status is complete.- Returns:
- An immutable object of type
MeasureReportStatusthat is non-null.
-
getType
public MeasureReportType getType()
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.- Returns:
- An immutable object of type
MeasureReportTypethat is non-null.
-
getMeasure
public Canonical getMeasure()
A reference to the Measure that was calculated to produce this report.- Returns:
- An immutable object of type
Canonicalthat is non-null.
-
getSubject
public Reference getSubject()
Optional subject identifying the individual or individuals the report is for.- Returns:
- An immutable object of type
Referencethat may be null.
-
getDate
public DateTime getDate()
The date this measure report was generated.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getReporter
public Reference getReporter()
The individual, location, or organization that is reporting the data.- Returns:
- An immutable object of type
Referencethat may be null.
-
getPeriod
public Period getPeriod()
The reporting period for which the report was calculated.- Returns:
- An immutable object of type
Periodthat is non-null.
-
getImprovementNotation
public CodeableConcept getImprovementNotation()
Whether improvement in the measure is noted by an increase or decrease in the measure score.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getGroup
public List<MeasureReport.Group> getGroup()
The results of the calculation, one for each population group in the measure.- Returns:
- An unmodifiable list containing immutable objects of type
MeasureReport.Groupthat may be empty.
-
getEvaluatedResource
public List<Reference> getEvaluatedResource()
A reference to a Bundle containing the Resources that were used in the calculation of this measure.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public MeasureReport.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static MeasureReport.Builder builder()
-
-