No_Encounter Preadmit_O Start Preadmit_R Inpatient Emergency Outpatient Preadmit_I 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"; 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";