An electronic health record management system and a method of creating, maintaining and utilising an electronic health record are provided. The electronic health record management system comprises a communication module to receive patient medical encounter files from at least one third party database server. A record building module parses the received patient medical encounter files thereby to obtain patient data and associated medical encounter data from the medical encounter files in accordance with the rule set. This information associated with a particular patient is stored in predetermined fields of the patient record according to a predefined rule set, thereby to create a current patient database with multiple patient records, each patient record to comprise information on multiple medical encounters of the patient.