Package org.mitre.synthea.engine
Class Logic.AtLeast
- java.lang.Object
-
- org.mitre.synthea.engine.Logic
-
- org.mitre.synthea.engine.Logic.AtLeast
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Logic
public static class Logic.AtLeast extends Logic
The At Least condition type tests that a minimum number of conditions from a set of sub-conditions are true. If the minimum number or more sub-conditions are true, it will return true, but if less than the minimum are true, it will return false. (If the minimum is the same as the number of sub-conditions provided, this is equivalent to the And condition. If the minimum is 1, this is equivalent to the Or condition.)- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mitre.synthea.engine.Logic
Logic.ActiveAllergy, Logic.ActiveCarePlan, Logic.ActiveCondition, Logic.ActiveMedication, Logic.Age, Logic.And, Logic.AtLeast, Logic.AtMost, Logic.Attribute, Logic.Date, Logic.False, Logic.Gender, Logic.Not, Logic.Observation, Logic.Or, Logic.PriorState, Logic.Race, Logic.SocioeconomicStatus, Logic.Symptom, Logic.True, Logic.VitalSign
-
-
Constructor Summary
Constructors Constructor Description AtLeast()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(Person person, long time)
Test whether the logic is true for the given person at the given time.
-