<calendar model="clinic.visit" states='draft' start_field="time_start" end_field="time_stop" colors='{"#090":[["cycle","=",1]],"#2400ff":[["cycle","=",2]],"orange":[["cycle","=",3]],"#f20000":[["cycle","=",4]]}'>
<field name="patient_id"/>
<field name="cycle_id"/>
<field name="number"/>
<field name="doctor_id"/>
<field name="nurse_id"/>
<field name="state"/>
</calendar>