clinic/netforce_clinic/models/import_data_nhso.py

26 lines
848 B
Python
Raw Normal View History

2014-10-22 03:45:23 +00:00
from netforce.model import Model, fields
class ImportDataNHSO(Model):
_name="clinic.data.nhso"
_transient=True
_fields={
'name': fields.Char("Name"),
2014-10-24 04:24:33 +00:00
'type': fields.Selection([['sucess','Succes'],['fail','Fail']],'Type'),
'epostat': fields.Char("Epostat"),
'hdrate': fields.Char("Hdrate"),
'hdflag': fields.Char("Hdflag"),
'amount': fields.Float("Amount"),
'paid': fields.Float("Paid"),
'paychk': fields.Char("Paychk"),
'dttran': fields.Char("Dttran"),
'hreg': fields.Char("Hreg"),
'station': fields.Char("Station"),
'hn': fields.Char("HN"),
'invno': fields.Char("InvNo"),
'rid': fields.Char("RID"),
'cstat': fields.Char("Cstat"),
'reimbpay': fields.Char("Reimbpay"),
2014-10-22 03:45:23 +00:00
}
ImportDataNHSO.register()