(self, case_type=None)
return registration_actions
:return: List of actions that create a case. Subcase actions are included
                 as long as they are not inside a repeat. If case_type is not None
                 only return actions that create a case of the specified type.
:return: List of actions that create a case. Subcase actions are included
                 as long as they are not inside a repeat. If case_type is not None
                 only return actions that create a case of the specified type.
: return : List of actions that create a case . Subcase actions are included as long as they are not inside a repeat . If case_type is not None only return actions that create a case of the specified type .
def get_registration_actions(self, case_type=None):
        """
        :return: List of actions that create a case. Subcase actions are included
                 as long as they are not inside a repeat. If case_type is not None
                 only return actions that create a case of the specified type.
        """
        registration_actions = [
            action for action in self.actions.get_open_actions()
            if not action.is_subcase or not action.repeat_context
        ]
        if case_type:
            registration_actions = [a for a in registration_actions if a.case_type == case_type]

        return registration_actions
def get_registration_actions ( self , case_type = None ) : registration_actions = [ action for action in self . actions . get_open_actions ( ) if not action . is_subcase or not action . repeat_context ] if case_type : registration_actions = [ a for a in registration_actions if a . case_type == case_type ] return registration_actions