1. A method of generating a template for automatic data capture by analyzing a plurality of documents received by a practice management system, the method comprising: determining, with at least one processor, locations of a plurality of data fields in a first document of the plurality of documents, wherein the plurality of data fields are identified based, at least in part, on structured data associated with the first document; identifying at least one second document of the plurality of documents that includes the plurality of data fields in locations similar to those determined for the first document, wherein the first document and the at least one second document form a set of documents, wherein documents in the set of documents are received for a first medical practice of a plurality of medical practices associated with the practice management system; identifying common text elements located at similar locations on at least some of the documents in the set; determining locations of a plurality of anchorboxes, wherein the location of each of the plurality of anchorboxes corresponds to a location of one of the identified common text elements located at similar locations on at least some of the documents in the set; generating the template for automatic data capture, wherein the template describes the locations of the plurality of anchorboxes and the locations of the plurality of data fields on the template; and validating the generated template across documents received for at least two of the plurality of medical practices associated with the practice management system.