{"action":"created","issue":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/776","repository_url":"https://api.github.com/repos/jamesagnew/hapi-fhir","labels_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/776/comments","events_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/776/events","html_url":"https://github.com/jamesagnew/hapi-fhir/pull/776","id":270269512,"number":776,"title":"[(master)] Added support for extensions in Meta resource","user":{"login":"sjanic","id":7621970,"avatar_url":"https://avatars0.githubusercontent.com/u/7621970?v=4","gravatar_id":"","url":"https://api.github.com/users/sjanic","html_url":"https://github.com/sjanic","followers_url":"https://api.github.com/users/sjanic/followers","following_url":"https://api.github.com/users/sjanic/following{/other_user}","gists_url":"https://api.github.com/users/sjanic/gists{/gist_id}","starred_url":"https://api.github.com/users/sjanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjanic/subscriptions","organizations_url":"https://api.github.com/users/sjanic/orgs","repos_url":"https://api.github.com/users/sjanic/repos","events_url":"https://api.github.com/users/sjanic/events{/privacy}","received_events_url":"https://api.github.com/users/sjanic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-01T10:50:31Z","updated_at":"2017-11-01T12:01:27Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/pulls/776","html_url":"https://github.com/jamesagnew/hapi-fhir/pull/776","diff_url":"https://github.com/jamesagnew/hapi-fhir/pull/776.diff","patch_url":"https://github.com/jamesagnew/hapi-fhir/pull/776.patch"},"body":"A fix for issue: #772 \r\n\r\nKnown limitations:\r\n-  If you add an extension to a resource's Meta, you have to make the url used as key unique. When we deserialize the meta resource back we use the extension url as key, and duplicate keys will be ignored.\r\n\r\n- In my own organisation we only use the Json part of Hapi Fhir, so I haven't added Xml support given other priorities. If I have the time, or somebody else wants to, feel free to add it.\r\n\r\n- Subextensions are not supported in extensions that are located in Meta.   "},"comment":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/comments/341087600","html_url":"https://github.com/jamesagnew/hapi-fhir/pull/776#issuecomment-341087600","issue_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/776","id":341087600,"user":{"login":"sjanic","id":7621970,"avatar_url":"https://avatars0.githubusercontent.com/u/7621970?v=4","gravatar_id":"","url":"https://api.github.com/users/sjanic","html_url":"https://github.com/sjanic","followers_url":"https://api.github.com/users/sjanic/followers","following_url":"https://api.github.com/users/sjanic/following{/other_user}","gists_url":"https://api.github.com/users/sjanic/gists{/gist_id}","starred_url":"https://api.github.com/users/sjanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjanic/subscriptions","organizations_url":"https://api.github.com/users/sjanic/orgs","repos_url":"https://api.github.com/users/sjanic/repos","events_url":"https://api.github.com/users/sjanic/events{/privacy}","received_events_url":"https://api.github.com/users/sjanic/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T12:01:27Z","updated_at":"2017-11-01T12:01:27Z","author_association":"NONE","body":"Hmm... It seemed when I cloned the branch and made my changes, DeviceStatus and DeviceStatusEnumFactory got changed. I didn't intent to do that, as my fix doesn't involve these two files, so I assume the files got auto generated when running mvn install.\r\n\r\nI have reverted the files, but it seems that the class names differs from the file names. Class Devicestatus is has file name DeviceStatus.java and DevicestatusEnumFactory has file name DeviceStatusEnumFactory. According to Java file name and class name should be the same. \r\n@jamesagnew Is this as expected?  "}}
{"actor":{"display_login":"sjanic"}}