{"action":"opened","issue":{"url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/447","repository_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend","labels_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/447/comments","events_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/447/events","html_url":"https://github.com/HospitalRun/hospitalrun-frontend/issues/447","id":153715397,"number":447,"title":"Patient Id auto increment with page refresh","user":{"login":"sentana","id":757155,"avatar_url":"https://avatars.githubusercontent.com/u/757155?v=3","gravatar_id":"","url":"https://api.github.com/users/sentana","html_url":"https://github.com/sentana","followers_url":"https://api.github.com/users/sentana/followers","following_url":"https://api.github.com/users/sentana/following{/other_user}","gists_url":"https://api.github.com/users/sentana/gists{/gist_id}","starred_url":"https://api.github.com/users/sentana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sentana/subscriptions","organizations_url":"https://api.github.com/users/sentana/orgs","repos_url":"https://api.github.com/users/sentana/repos","events_url":"https://api.github.com/users/sentana/events{/privacy}","received_events_url":"https://api.github.com/users/sentana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-09T07:08:42Z","updated_at":"2016-05-09T07:08:42Z","closed_at":null,"body":"**Expected behavior:**\r\nPatient ID should increment every time a patient is registered successfully.\r\n**Actual behavior:**\r\nThe patient ID increment even if we cancel the registration \r\n**Steps to reproduce:**\r\n\r\n1. Click the new patient menu, and new patient registration form is open.\r\n\r\n2. Take a note of the Patient ID\r\n\r\n3. Click a Go Back arrow and Click Go Forward arrow\r\n\r\n4. Notice the ID increments \r\n\r\n \r\n\r\n \r\n\r\n**Screenshots (if applicable):**\r\n\r\n**OS and Browser:**\r\n"}}