add switching between versions when viewing patient