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:
Serializable
- Enclosing class:
- 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:
-
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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<Logic>A collection of conditions associated with the logic. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
conditions
A collection of conditions associated with the logic.
-
-
Constructor Details
-
AtLeast
public AtLeast()
-
-
Method Details
-
test
Description copied from class:LogicTest whether the logic is true for the given person at the given time.
-