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 class
MeasureReport.Builder
static class
MeasureReport.Group
The 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
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static MeasureReport.Builder
builder()
boolean
equals(Object obj)
DateTime
getDate()
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.CodeableConcept
getImprovementNotation()
Whether improvement in the measure is noted by an increase or decrease in the measure score.Canonical
getMeasure()
A reference to the Measure that was calculated to produce this report.Period
getPeriod()
The reporting period for which the report was calculated.Reference
getReporter()
The individual, location, or organization that is reporting the data.MeasureReportStatus
getStatus()
The MeasureReport status.Reference
getSubject()
Optional subject identifying the individual or individuals the report is for.MeasureReportType
getType()
The type of measure report.boolean
hasChildren()
int
hashCode()
MeasureReport.Builder
toBuilder()
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
Identifier
that 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
MeasureReportStatus
that 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
MeasureReportType
that 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
Canonical
that is non-null.
-
getSubject
public Reference getSubject()
Optional subject identifying the individual or individuals the report is for.- Returns:
- An immutable object of type
Reference
that may be null.
-
getDate
public DateTime getDate()
The date this measure report was generated.- Returns:
- An immutable object of type
DateTime
that may be null.
-
getReporter
public Reference getReporter()
The individual, location, or organization that is reporting the data.- Returns:
- An immutable object of type
Reference
that may be null.
-
getPeriod
public Period getPeriod()
The reporting period for which the report was calculated.- Returns:
- An immutable object of type
Period
that 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
CodeableConcept
that 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.Group
that 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
Reference
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept 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:
accept
in interfaceVisitable
- Specified by:
accept
in 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:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static MeasureReport.Builder builder()
-
-