@property
    def delivery(self):
        if 'place_birth' not in self.case:
            return '---'
        else:
            if "at_home" == self.case['place_birth']:
                return _('Home')
            elif "in_hospital" == self.case['place_birth']:
                return _('Hospital')
            else:
                return _('Other')
dataset/ETHPy150Open dimagi/commcare-hq/custom/apps/crs_reports/reports.py/HNBCReportDisplay.delivery/original