Class CSVEligibility
java.lang.Object
org.mitre.synthea.world.agents.behaviors.planeligibility.CSVEligibility
- All Implemented Interfaces:
Serializable,IPlanEligibility
Determines if a person is eligible for a health insurance plan based on
a CSV input file that defines various eligibility criteria.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPersonEligible(Person person, long time) Returns whether the given person meets the eligibility criteria of this algorithm at the given time.toString()
-
Constructor Details
-
CSVEligibility
Constructor.- Parameters:
inputEligibilities- The row of eligiblity inputs.- Throws:
IllegalArgumentException
-
-
Method Details
-
isPersonEligible
Description copied from interface:IPlanEligibilityReturns whether the given person meets the eligibility criteria of this algorithm at the given time.- Specified by:
isPersonEligiblein interfaceIPlanEligibility- Parameters:
person- The person to check against.time- The time.- Returns:
- Whether the person is eligible.
-
toString
-