  <span class='co'># As Inductive Miner of PM4PY is not life-cycle aware, keep only `complete` events:</span>
  <span class='no'>patients_completes</span> <span class='kw'>&lt;-</span> <span class='no'>patients</span>[<span class='no'>patients</span>$<span class='no'>registration_type</span> <span class='kw'>==</span> <span class='st'>"complete"</span>, ]

  <span class='no'>net</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='discovery.html'>discovery_inductive</a></span>(<span class='no'>pat