This is becoming relatively common these days. As hospital systems switch to more-advanced EHRs, patients are often asked to sign up for a web-based account. From my experience, most hospitals are either going with products from Cerner or EPIC, and both offer this function (and even the ability to read physician notes, etc.)