No_Encounter Preadmit_O Preadmit_I Start Preadmit_R Inpatient Temporary_Leave Emergency Outpatient A05 /lastEvent = "A05"; A38 [lastEvent=="A05"] A05 /lastEvent = "A05"; A38 [lastEvent=="A05"] A05 /lastEvent = "A05"; A38 [lastEvent=="A05"] A01 /lastEvent = "A01"; commingFrom = "No_Encounter"; A01 /lastEvent = "A01"; commingFrom="Preadmit_I"; A11 [lastEvent=="A01" && commingFrom=="No_Encounter"] A11 [lastEvent=="A01" && commingFrom=="Preadmit_I"] A01 /lastEvent = "A01"; commingFrom="Preadmit_R"; A11 [lastEvent=="A01" && commingFrom=="Preadmit_R"] A13 [lastEvent=="A03" && commingFrom=="Inpatient"] A03 /lastEvent = "A03"; commingFrom = "Inpatient"; A06 /lastEvent = "A06"; A53 [lastEvent=="A22"] A22 /lastEvent = "A22"; A21 /lastEvent = "A21"; A52 [lastEvent=="A21"] A03 /lastEvent = "A03"; commingFrom = "Temporary_Leave"; A13 [lastEvent=="A03" && commingFrom=="Temporary_Leave"] A04 /lastEvent = "A04"; A07 /lastEvent = "A07"; A11 [lastEvent=="A04"] A03 /lastEvent = "A03"; commingFrom = "Emergency"; A13 [lastEvent=="A03" && commingFrom=="Emergency"] A06 /lastEvent = "A06"; A07 /lastEvent = "A07"; A07 /lastEvent = "A07"; A04 /lastEvent = "A04"; commingFrom = "No_Encounter"; A11 [lastEvent=="A04" && commingFrom=="No_Encounter"] A13 [lastEvent=="A03" && commingFrom=="Outpatient"] A03 /lastEvent = "A03"; commingFrom = "Outpatient"; A04 /lastEvent = "A04"; commingFrom = "Preadmit_O"; A11 [lastEvent=="A04" && commingFrom=="Preadmit_O"] A07 /lastEvent = "A07"; A06 /lastEvent = "A06"; ini /lastEvent = "ini"; commingFrom="start";