{"action":"opened","issue":{"url":"https://api.github.com/repos/MDMI/MDMI/issues/24","labels_url":"https://api.github.com/repos/MDMI/MDMI/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/MDMI/MDMI/issues/24/comments","events_url":"https://api.github.com/repos/MDMI/MDMI/issues/24/events","html_url":"https://github.com/MDMI/MDMI/issues/24","id":118882346,"number":24,"title":"CCDA 1.1 - AutoGen Medication Activity","user":{"login":"KenLord","id":12999630,"avatar_url":"https://avatars.githubusercontent.com/u/12999630?v=3","gravatar_id":"","url":"https://api.github.com/users/KenLord","html_url":"https://github.com/KenLord","followers_url":"https://api.github.com/users/KenLord/followers","following_url":"https://api.github.com/users/KenLord/following{/other_user}","gists_url":"https://api.github.com/users/KenLord/gists{/gist_id}","starred_url":"https://api.github.com/users/KenLord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenLord/subscriptions","organizations_url":"https://api.github.com/users/KenLord/orgs","repos_url":"https://api.github.com/users/KenLord/repos","events_url":"https://api.github.com/users/KenLord/events{/privacy}","received_events_url":"https://api.github.com/users/KenLord/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MDMI/MDMI/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"swmuir","id":5348887,"avatar_url":"https://avatars.githubusercontent.com/u/5348887?v=3","gravatar_id":"","url":"https://api.github.com/users/swmuir","html_url":"https://github.com/swmuir","followers_url":"https://api.github.com/users/swmuir/followers","following_url":"https://api.github.com/users/swmuir/following{/other_user}","gists_url":"https://api.github.com/users/swmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/swmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swmuir/subscriptions","organizations_url":"https://api.github.com/users/swmuir/orgs","repos_url":"https://api.github.com/users/swmuir/repos","events_url":"https://api.github.com/users/swmuir/events{/privacy}","received_events_url":"https://api.github.com/users/swmuir/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-25T17:09:31Z","updated_at":"2015-11-25T17:09:31Z","closed_at":null,"body":"This is an example of how we need to annotate / couple the MDHT Model with the RI.\r\n\r\nA Medication Activity can apply, for example, to a Medication Administered, a Medication Prescribed, or a  Medication Dispensed.  In the Referent Index, there are Business Elements representing Semantic Business Containers for each of those.  The Medication Activity needs to be mapped to the correct Business Element.  In addition, the moodCode and templateID when the CCDA 1.1 message is the target needs to be set appropriately.  \r\n\r\nIn addition, the child semantic elements of Medication Activity also need to be mapped to the set of Business Elements and there needs to be a data relationship based on the value of moodCode that determines exactly what Business Element should be used in the Mapping.  "}}