I glossed over Hamilton's military service in the FHQ paper. Here is a more complete account.
May: joins Co. A, 5 Regiment Pennsylvania Reserve Infantry as a private at Jersey Shore, PA
June: Skirmish at New Creek, WV
June - July: Peninsula campaign: Battles of Mechanicsville, Gaines Mill, Charles City Cross Roads or White Oak Swamp, Malvern Hill
July: promoted to corporal
Sept: Battles of South Mountain and Antietam
Nov.: CMH courtmartialed, charged with "absence without authority from company while on picket duty." CMH was arrested by a Union army patrol outside of the picket lines near Rappahannock Station on Nov. 12, 1862. The Cavalry officer who had arrested CMH testified that he found CMH and another man outside of less than a mile beyond the picket lines at a house near the river with another man "carrying off some fresh pork." Col. Fisher of CMH's regiment testified that he knew "of no young man possessed of a better character." CMH's officers stated for the defense that they had given CMH permission to visit a nearby house to buy bread. CMH was found not guilty of the charges against him.
Dec. 13, 1862: Battle of Fredericksburg: wounded (fracture of tibia caused by gunshot), left on field for 5 days, captured and taken to Richmond
Dec. 1862 - Jan 1863: Imprisoned ("enjoyed the storied feliciities") at Richmond's Libbey Prison
Jan.: imprisoned in Richmond and exchanged
Jan - April: U.S. Hospital, Annapolis MD (receives 20 days leave of absence to PA home where fell ill with "typhus fever")
March: Promoted to Sargeant
May - Aug.: U.S. Hospital in Philadelphia (typhus fever and treatment of leg wounded)
Sept.: Ordered Invalid Corps to report as guard to the Provost Marshall's office, Philadelphia
Oct.: Discharged by order to the War Dept. to accept a commission as 2nd Lieut in Invalid Corps (Co. B, 9 Veteran Reserve Corp) on account of disability: fracture of tibia
Nov.; VRC unit stationed in Washington: CMH "detailed to commant the Guard, and take charge of the Aqueduct Bridge"
Jan.: Takes charge of Washington's Chain Bridge
Feb. - Apri: detalied as Judge Advocate of a General Court Martial
April 1864 - Dec.: detailed on General Martindale's staff as assistant Pass Officer, also Transportation Officer
Dec.: Assigned as Post Adjutant as Forrest Hall Prison in Georgetown
1865 and later
Jan.: Transferred to to Central Guard House prison
March: CMH reassigned to his regiment
April: Granted leave to accompany his father to recover the body of his brother John killed at Peterburg; detailed back to the Central Guard House prison, returned to his regiment and then assigned to command the Guard at Secy Seward's residence
June: assigned to transport Burnett of the Confederate Congress to the care of Maj Gen'l Palmer in Kentucky
July - Oct.: detalailed as Judge Advocate General Court Martial
Oct: ordered to report with detachment of 33 soldiers to the Freedmen's Bureau sub asst commission at St. Mary's Co., MD
Nov.: returned to his regiment and elects to remain in U.S. service
June 1867: promoted by brevet to 1st. Lieut and Captain to date from March 13, 1865 for "faithful and meritorious services during the war"
Jan. 1868: Honorably discharged from military service