Class Logic.Gender

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Logic

    public static class Logic.Gender
    extends Logic
    The Gender condition type tests the patient's gender. (M or F)
    See Also:
    Serialized Form
    • Constructor Detail

      • Gender

        public Gender()
    • Method Detail

      • test

        public boolean test​(Person person,
                            long time)
        Description copied from class: Logic
        Test whether the logic is true for the given person at the given time.
        Specified by:
        test in class Logic
        Parameters:
        person - Person to execute logic against
        time - Timestamp to execute logic against
        Returns:
        boolean - whether or not the given condition is true or not