{"action":"closed","issue":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1114","repository_url":"https://api.github.com/repos/edenlabllc/ehealth.api","labels_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1114/comments","events_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1114/events","html_url":"https://github.com/edenlabllc/ehealth.api/issues/1114","id":260529773,"number":1114,"title":" Generate `Request number` for Medication Request Request","user":{"login":"EdwardVoloshin","id":30432256,"avatar_url":"https://avatars0.githubusercontent.com/u/30432256?v=4","gravatar_id":"","url":"https://api.github.com/users/EdwardVoloshin","html_url":"https://github.com/EdwardVoloshin","followers_url":"https://api.github.com/users/EdwardVoloshin/followers","following_url":"https://api.github.com/users/EdwardVoloshin/following{/other_user}","gists_url":"https://api.github.com/users/EdwardVoloshin/gists{/gist_id}","starred_url":"https://api.github.com/users/EdwardVoloshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdwardVoloshin/subscriptions","organizations_url":"https://api.github.com/users/EdwardVoloshin/orgs","repos_url":"https://api.github.com/users/EdwardVoloshin/repos","events_url":"https://api.github.com/users/EdwardVoloshin/events{/privacy}","received_events_url":"https://api.github.com/users/EdwardVoloshin/received_events","type":"User","site_admin":false},"labels":[{"id":681281692,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/epic/medication_request","name":"epic/medication_request","color":"bfd4f2","default":false},{"id":611127038,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/kind/task","name":"kind/task","color":"c5def5","default":false},{"id":573865280,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/priority/medium","name":"priority/medium","color":"fbca04","default":false},{"id":654754713,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/project/reimbursement","name":"project/reimbursement","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"Troush","id":1163074,"avatar_url":"https://avatars0.githubusercontent.com/u/1163074?v=4","gravatar_id":"","url":"https://api.github.com/users/Troush","html_url":"https://github.com/Troush","followers_url":"https://api.github.com/users/Troush/followers","following_url":"https://api.github.com/users/Troush/following{/other_user}","gists_url":"https://api.github.com/users/Troush/gists{/gist_id}","starred_url":"https://api.github.com/users/Troush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Troush/subscriptions","organizations_url":"https://api.github.com/users/Troush/orgs","repos_url":"https://api.github.com/users/Troush/repos","events_url":"https://api.github.com/users/Troush/events{/privacy}","received_events_url":"https://api.github.com/users/Troush/received_events","type":"User","site_admin":false},"assignees":[{"login":"Troush","id":1163074,"avatar_url":"https://avatars0.githubusercontent.com/u/1163074?v=4","gravatar_id":"","url":"https://api.github.com/users/Troush","html_url":"https://github.com/Troush","followers_url":"https://api.github.com/users/Troush/followers","following_url":"https://api.github.com/users/Troush/following{/other_user}","gists_url":"https://api.github.com/users/Troush/gists{/gist_id}","starred_url":"https://api.github.com/users/Troush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Troush/subscriptions","organizations_url":"https://api.github.com/users/Troush/orgs","repos_url":"https://api.github.com/users/Troush/repos","events_url":"https://api.github.com/users/Troush/events{/privacy}","received_events_url":"https://api.github.com/users/Troush/received_events","type":"User","site_admin":false},{"login":"EdwardVoloshin","id":30432256,"avatar_url":"https://avatars0.githubusercontent.com/u/30432256?v=4","gravatar_id":"","url":"https://api.github.com/users/EdwardVoloshin","html_url":"https://github.com/EdwardVoloshin","followers_url":"https://api.github.com/users/EdwardVoloshin/followers","following_url":"https://api.github.com/users/EdwardVoloshin/following{/other_user}","gists_url":"https://api.github.com/users/EdwardVoloshin/gists{/gist_id}","starred_url":"https://api.github.com/users/EdwardVoloshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdwardVoloshin/subscriptions","organizations_url":"https://api.github.com/users/EdwardVoloshin/orgs","repos_url":"https://api.github.com/users/EdwardVoloshin/repos","events_url":"https://api.github.com/users/EdwardVoloshin/events{/privacy}","received_events_url":"https://api.github.com/users/EdwardVoloshin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/milestones/14","html_url":"https://github.com/edenlabllc/ehealth.api/milestone/14","labels_url":"https://api.github.com/repos/edenlabllc/ehealth.api/milestones/14/labels","id":2802392,"number":14,"title":"Sprint 12 (Oct1-2)","description":"Everything should be done.","creator":{"login":"lymychp","id":5257001,"avatar_url":"https://avatars2.githubusercontent.com/u/5257001?v=4","gravatar_id":"","url":"https://api.github.com/users/lymychp","html_url":"https://github.com/lymychp","followers_url":"https://api.github.com/users/lymychp/followers","following_url":"https://api.github.com/users/lymychp/following{/other_user}","gists_url":"https://api.github.com/users/lymychp/gists{/gist_id}","starred_url":"https://api.github.com/users/lymychp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lymychp/subscriptions","organizations_url":"https://api.github.com/users/lymychp/orgs","repos_url":"https://api.github.com/users/lymychp/repos","events_url":"https://api.github.com/users/lymychp/events{/privacy}","received_events_url":"https://api.github.com/users/lymychp/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":27,"state":"open","created_at":"2017-09-29T09:19:47Z","updated_at":"2017-10-13T08:17:55Z","due_on":"2017-10-13T07:00:00Z","closed_at":null},"comments":0,"created_at":"2017-09-26T08:10:20Z","updated_at":"2017-10-13T08:17:55Z","closed_at":"2017-10-13T08:17:55Z","author_association":"CONTRIBUTOR","body":" Generate `Request number` for Medication request Request  (**EP: Create Medication request Request**)\r\nRequirements : [Human+readable+Medication+request+number](https://edenlab.atlassian.net/wiki/spaces/EH/pages/19923007/Human+readable+Medication+request+number)\r\n\r\n- Structure number `XXXX-1234-5678-9012-345-C` , where:\r\n       - `XXXX` - series: numbers + only some letters (A, E, H, K, M, P, T, X) \r\n       - `1234-5678-9012-345` - randomly generated numbers\r\n       - `C` - checksum: Should be calculated using the Damn algorithm or  Verhoeff algorithm\r\n- After new  `Request number`  was generated we should check that it is unique in the DB (entity: `medication_request` + `medication_request_request`"}}
{"actor":{"display_login":"svetavedmed"}}