# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

# m = Manufacturer.create(name: "MEDTRONIC AVE PERIPHERAL DIVISION", location: "CA")
# d = Device.create(generic_name: "AAA STENT GRAFT", brand: "MEDTRONIC ANEURX BIFURCATED STENT GRAFT (FLEXIBLE)", manufacturer_id:1)
# e = Event.create(event_type: "Injury", reporter: "PHYSICIAN", content: "A 24MM X 14MM DIAMETER X 13.5CM LENGTH ANEUXRX BIFURCATED STENT GRAFT AND ITS COMPONENTS WERE IMPLANTED FOR THE ENDOVASCULAR TREATMENT OF AN ABDOMINAL AORTIC ANEURYSM IN A FRAGILE PATIENT IN 2001. IT WAS REPORTED THAT THERE WERE NO COMPLICATIONS OR PROBLEMS AT THE TIME OF IMPLANT. THE PHYSICIAN REPORTED THAT THE PATIENT HAD NUMEROUS COMPLICATIONS. THE PATIENT EXPERIENCED A CARDIAC ARREST AND EVENTUALLY RENAL FAILURE. AN ANGIOGRAM PERFORMED AFTER THE PROCEDURE SHOWED THAT THE STENT GRAFT WAS WELL BELOW THE RENAL ARTERIES. IT IS REPORTED THAT THE PATIENT REMAINED IN THE HOSPITAL ON DIALYSIS. DESPITE REPEATED ATTEMPTS TO OBTAIN ADDITIONAL INFORMATION, NO FURTHER INFORMATION IS AVAILABLE AT THIS TIME.", product_code: "MIH", device_id: 1, manufacturer_id: 1)

Api.call
