David Johnstone is detained at the State Hospital and was not present in court.
Jonathan Cameron, 25, was struck near Buccaneer Service Station on the A941 north of Elgin on Saturday.
The man was struck near Buccaneer Service Station on the A941 north of Elgin at around 6.20am on Saturday.
A stretch of the A1 in East Lothian was closed to all vehicles from 5am on Tuesday.
Antony Rodgers, 57, has been missing from his home in Elgin since Tuesday night.
Emergency services - including three fire engines - were alerted to the incident in Elgin, shortly after 9.30am.
The 29-year-old was taken to Dr Gray's Hospital after becoming unwell on Monday.
The 14-year-old boys have been accused of assaulting another student in Moray.