fix
parent
19139bbcc8
commit
1fb1de70cb
|
@ -101,7 +101,8 @@ class ReportCycleItem(Model):
|
||||||
for hdcase in citem.hd_cases:
|
for hdcase in citem.hd_cases:
|
||||||
patient=hdcase.patient_id
|
patient=hdcase.patient_id
|
||||||
vascular=patient.vascular_acc
|
vascular=patient.vascular_acc
|
||||||
vasculars[vascular.code]['qty']+=1
|
if vascular:
|
||||||
|
vasculars[vascular.code]['qty']+=1
|
||||||
ptype=patient.type_id
|
ptype=patient.type_id
|
||||||
if ptype_id and ptype_id!=ptype.id:
|
if ptype_id and ptype_id!=ptype.id:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue