{"action":"opened","issue":{"url":"https://api.github.com/repos/TheProductWorks/smart_client/issues/103","labels_url":"https://api.github.com/repos/TheProductWorks/smart_client/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/TheProductWorks/smart_client/issues/103/comments","events_url":"https://api.github.com/repos/TheProductWorks/smart_client/issues/103/events","html_url":"https://github.com/TheProductWorks/smart_client/issues/103","id":81897431,"number":103,"title":"Add 'returning' or 'new' booking type selection when making an appointment ","user":{"login":"sciritai","id":1171007,"avatar_url":"https://avatars.githubusercontent.com/u/1171007?v=3","gravatar_id":"","url":"https://api.github.com/users/sciritai","html_url":"https://github.com/sciritai","followers_url":"https://api.github.com/users/sciritai/followers","following_url":"https://api.github.com/users/sciritai/following{/other_user}","gists_url":"https://api.github.com/users/sciritai/gists{/gist_id}","starred_url":"https://api.github.com/users/sciritai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sciritai/subscriptions","organizations_url":"https://api.github.com/users/sciritai/orgs","repos_url":"https://api.github.com/users/sciritai/repos","events_url":"https://api.github.com/users/sciritai/events{/privacy}","received_events_url":"https://api.github.com/users/sciritai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-28T12:01:32Z","updated_at":"2015-05-28T12:01:32Z","closed_at":null,"body":"Story\r\n------\r\n\r\nAs a midwife or admin I'd like to be able to make a double booking for a new woman who has entered the program. I need to be able to select from a list one option of 'returning' or 'new'.\r\n\r\nAPI docs are updated here: https://github.com/TheProductWorks/smart_client/blob/master/doc/api.md#post-appointments\r\n\r\nTasks\r\n----\r\n\r\n* Add a dropdown to select either option in the Android client\r\n* The return_type is the key to add to the POST request and the server will take care of the rest.\r\n\r\nExample from the admin interface:\r\n\r\n![screen shot 2015-05-28 at 13 00 04](https://cloud.githubusercontent.com/assets/1171007/7859498/8bc3dcfe-0539-11e5-96cd-43c172ac94de.png)"}}