@property
    def dob(self):
        if 'date_birth' not in self.case:
            return '---'
        else:
            return self.report.date_to_json(self.case['date_birth'])
dataset/ETHPy150Open dimagi/commcare-hq/custom/apps/crs_reports/reports.py/HNBCReportDisplay.dob/original