{"action":"created","issue":{"url":"https://api.github.com/repos/MDMI/cda2mdmi/issues/6","labels_url":"https://api.github.com/repos/MDMI/cda2mdmi/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/MDMI/cda2mdmi/issues/6/comments","events_url":"https://api.github.com/repos/MDMI/cda2mdmi/issues/6/events","html_url":"https://github.com/MDMI/cda2mdmi/issues/6","id":104560924,"number":6,"title":"General Issue: Semantic Elements of type Container","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/cda2mdmi/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":0,"created_at":"2015-09-02T20:05:18Z","updated_at":"2015-09-03T13:01:56Z","closed_at":null,"body":"General Rule:\r\nIn the Semantic Element Tree, the only parent of a Semantic Element can be a Semantic Element of datatype Container of type Normal. A normal Semantic Element of type Container must have an associated syntax node that has cardinality of >1.  If it is recognized that a syntax node has a cardinality of 1 and does not have a value (it is a container), then there should be no Semantic Element created for this syntax node. The exception to this rule is the Root variable.\r\n\r\nExample: The syntax node of Author is >1. Therefore it has a Semantic Element called Author with a datatype of Container and of type Normal.  Author has a child syntax node call AssignedAuthor.  AssignedAuthor does not have values (it is a container).  Therefore AssignedAuthor does not have an associate semantic element. The syntax node of addr is a child of the syntax node AssignedAuthor. The semantic element created for this node is correct (datatype address).  The semantic parent of addr should be Author.\r\n  "},"comment":{"url":"https://api.github.com/repos/MDMI/cda2mdmi/issues/comments/137432165","html_url":"https://github.com/MDMI/cda2mdmi/issues/6#issuecomment-137432165","issue_url":"https://api.github.com/repos/MDMI/cda2mdmi/issues/6","id":137432165,"user":{"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},"created_at":"2015-09-03T13:01:56Z","updated_at":"2015-09-03T13:01:56Z","body":"The AssignedAuthor can have values specifically address and telecom - see below and is required\r\nSo while we do need to understand the container/type this is not the case\r\n\r\nWe do have an issue of getting two authors in the document definition\r\n\r\n\r\n\t\t<assignedAuthor classCode=\"ASSIGNED\">\r\n\t\t\t<id nullFlavor=\"NI\"/>\r\n\t\t<telecom use=\"WP\" value=\"tel:(555) 555-1010\"/>\r\n\t\t\t\t<addr use=\"WP\">\r\n\t\t\t\t\t<streetAddressLine>4000 Hospital Dr.</streetAddressLine>\r\n\t\t\t\t\t<city>Portland</city>\r\n\t\t\t\t\t<state>OR</state>\r\n\t\t\t\t\t<postalCode>97005-    </postalCode>\r\n\t\t\t\t\t<country>US</country>\r\n\t\t\t\t</addr>\r\n\t\t\t<assignedAuthoringDevice>\r\n\t\t\t\t<manufacturerModelName>Cerner Corporation</manufacturerModelName>\r\n\t\t\t\t<softwareName>Millennium Clinical Document Generator</softwareName>\r\n\t\t\t</assignedAuthoringDevice>\r\n\t\t</assignedAuthor>"}}