A library for connecting to different PHRs through web APIs