original_docstring: Given a list of claims, return a set of diagnosis codes relevant to the measure.
docstring: Given a list of claims, return a set of diagnosis codes relevant to the measure.
docstring_tokens: Given a list of claims return a set of diagnosis codes relevant to the measure .
code: def _get_relevant_diagnosis_codes(self, claims):
          """Given a list of claims, return a set of diagnosis codes relevant to the measure."""
          logger.debug('Get relevant diagnosis codes.')
  
          relevant_codes = set()
          for claim in claims:
              relevant_codes.update(self.diagnosis_codes.intersection(claim.dx_codes))
  
          return relevant_codes
code_tokens: def _get_relevant_diagnosis_codes ( self , claims ) : logger . debug ( 'Get relevant diagnosis codes.' ) relevant_codes = set ( ) for claim in claims : relevant_codes . update ( self . diagnosis_codes . intersection ( claim . dx_codes ) ) return relevant_codes
short_docstring: Given a list of claims, return a set of diagnosis codes relevant to the measure.
short_docstring_tokens: Given a list of claims return a set of diagnosis codes relevant to the measure .
comment: """Given a list of claims, return a set of diagnosis codes relevant to the measure."""