fix
parent
19139bbcc8
commit
1fb1de70cb
|
@ -101,6 +101,7 @@ 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
|
||||||
|
if vascular:
|
||||||
vasculars[vascular.code]['qty']+=1
|
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:
|
||||||
|
|
Loading…
Reference in New Issue