This was a secondary analysis of data collected as part of the Rapid Anticonvulsant Medication Prior to Arrival Trial ( RAMPART ) , a study comparing intramuscular midazolam to intravenous lorazepam given by paramedics to patients with prehospital status epilepticus .