Class CSVEligibility
- java.lang.Object
-
- org.mitre.synthea.world.agents.behaviors.planeligibility.CSVEligibility
-
- All Implemented Interfaces:
java.io.Serializable
,IPlanEligibility
public class CSVEligibility extends java.lang.Object implements IPlanEligibility
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CSVEligibility(java.util.Map<java.lang.String,java.lang.String> inputEligibilities)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPersonEligible(Person person, long time)
Returns whether the given person meets the eligibility criteria of this algorithm at the given time.java.lang.String
toString()
-
-
-
Method Detail
-
isPersonEligible
public boolean isPersonEligible(Person person, long time)
Description copied from interface:IPlanEligibility
Returns whether the given person meets the eligibility criteria of this algorithm at the given time.- Specified by:
isPersonEligible
in interfaceIPlanEligibility
- Parameters:
person
- The person to check against.time
- The time.- Returns:
- Whether the person is eligible.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-