original_string: public function getDiagnosisData()
      {
          if (! isset($this->_gemsData['gec_diagnosis'])) {
              return [];
          }
          if (is_string($this->_gemsData['gec_diagnosis'])) {
              $this->_gemsData['gec_diagnosis'] = json_decode($this->_gemsData['gec_diagnosis'], true);
          }
  
          return $this->_gemsData['gec_diagnosis'];
      }
code: public function getDiagnosisData()
      {
          if (! isset($this->_gemsData['gec_diagnosis'])) {
              return [];
          }
          if (is_string($this->_gemsData['gec_diagnosis'])) {
              $this->_gemsData['gec_diagnosis'] = json_decode($this->_gemsData['gec_diagnosis'], true);
          }
  
          return $this->_gemsData['gec_diagnosis'];
      }
code_tokens: public function getDiagnosisData ( ) { if ( ! isset ( $ this -> _gemsData [ 'gec_diagnosis' ] ) ) { return [ ] ; } if ( is_string ( $ this -> _gemsData [ 'gec_diagnosis' ] ) ) { $ this -> _gemsData [ 'gec_diagnosis' ] = json_decode ( $ this -> _gemsData [ 'gec_diagnosis' ] , true ) ; } return $ this -> _gemsData [ 'gec_diagnosis' ] ; }
docstring: The diagnosis data of the episode translated from Json
  
  @return array of Json data
docstring_tokens: The diagnosis data of the episode translated from Json