diff --git a/src/clinical_etl/mohschemav3.py b/src/clinical_etl/mohschemav3.py index abafc8f..e1cd6c1 100644 --- a/src/clinical_etl/mohschemav3.py +++ b/src/clinical_etl/mohschemav3.py @@ -212,8 +212,6 @@ def validate_donors(self, map_json): diagnoses_dates = {} for diagnosis in map_json["primary_diagnoses"]: diagnosis_date = None - # if "date_of_diagnosis" not in diagnosis: #and diagnosis["date_of_diagnosis"] in [None, '']: - # self.warn('There is no date of diagnosis, cannot calculate any date intervals') if "date_of_diagnosis" in diagnosis and diagnosis["date_of_diagnosis"] not in [None, '']: if "dict" in str(type(diagnosis["date_of_diagnosis"])): diagnosis_date = diagnosis["date_of_diagnosis"]["month_interval"]