1. A method of integrating syntactically valid medical images into a database management system comprising: creating a database table; initializing a database object with a medical image object; parsing the medical image object; creating an XML representation of metadata associated with the medical image object; and inserting the database object in the table.