@staticmethod
    def defaults():

        dummy = S3ReusableField("dummy_id", "integer",
                                readable = False,
                                writable = False,
                                )

        return {"dvr_appointment_status_opts": {},
                "dvr_appointment_type_id": lambda name="type_id", **attr: \
                                           dummy(name, **attr),
                }

    # -------------------------------------------------------------------------
Safe defaults for names in case the module is disabled
dataset/ETHPy150Open sahana/eden/modules/s3db/dvr.py/DVRCaseAppointmentModel.defaults