No_Encounter
Start
Inpatient
Emergency
Outpatient
A01
/lastEvent = "A01";
commingFrom = "No_Encounter";
A11
[lastEvent=="A01" && commingFrom=="No_Encounter"]
A13
[lastEvent=="A03" && commingFrom=="Inpatient"]
A03
/lastEvent = "A03";
commingFrom = "Inpatient";
A04
/lastEvent = "A04";
A11
[lastEvent=="A04"]
A03
/lastEvent = "A03";
commingFrom = "Emergency";
A13
[lastEvent=="A03" && commingFrom=="Emergency"]
A04
/lastEvent = "A04";
commingFrom = "No_Encounter";
A11
[lastEvent=="A04" && commingFrom=="No_Encounter"]
A13
[lastEvent=="A03" && commingFrom=="Outpatient"]
A03
/lastEvent = "A03";
commingFrom = "Outpatient";
ini
/lastEvent = "ini";
commingFrom="start";