1. A method for generating a structured medical content database from a diverse set of raw medical data, the method comprising the steps of: extracting content from the raw medical data according to mark-up language-based specifications, to produce a medical records database; aggregating records in the medical records database according to rules in a generalized specification-based language, to produce an aggregated medical records database; and enriching the aggregated medical records database using a generalized pipeline processing engine comprising mark-up language templates.