Here in Canada if you have access to the central medical records you can look up anyone but (a) if you are not a doc and are not assigned to the case or (b) you are looking up yourself or a family member, you immediately get a call and get fired on the spot.
(Source: Wife works at the hospital and has seen some people get fired shortly after unauhorized access.)