added medsafe schema