This Perl Sample Source Code is athenahealth's More Disruption Please API samples. The libraries are used to help facilitate access to the API. Each package has a naive implementation of using the API, as well as a library and a testing script to use that library.
Medical record exchange is an area where many technical challenges have been addressed. A big factor in the inability of medical record exchange is the hospitals themselves. They block information and APIs. Bruce Fryer recently had two experiences getting medical records and shares what he found.