code: def get_methods_vocabulary(self, analysis_brain):
          
          uids = analysis_brain.getAllowedMethodUIDs
          query = {'portal_type': 'Method',
                   'is_active': True,
                   'UID': uids}
          brains = api.search(query, 'bika_setup_catalog')
          if not brains:
              return [{'ResultValue': '', 'ResultText': _('None')}]
          return map(lambda brain: {'ResultValue': brain.UID,
                                    'ResultText': brain.Title}, brains)
docs: Returns a vocabulary with all the methods available for the passed in
          analysis, either those assigned to an instrument that are capable to
          perform the test (option "Allow Entry of Results") and those assigned
          manually in the associated Analysis Service.
  
          The vocabulary is a list of dictionaries. Each dictionary has the
          following structure:
  
              {'ResultValue': <method_UID>,
               'ResultText': <method_Title>}
  
          :param analysis_brain: A single Analysis brain
          :type analysis_brain: CatalogBrain
          :returns: A list of dicts