def create_patient_match_phenotypes(self, phenotype): patient = Patient(phenotype=phenotype) patient.save(phenotype_matcher=self.phenotype_matcher) patient.process_phenotype_if_changed( phenotype_matcher=self.phenotype_matcher) return patient.patient_text_phenotype.phenotype_description.get_results( )