{"action":"created","issue":{"url":"https://api.github.com/repos/blue-button/bluebutton.js/issues/140","labels_url":"https://api.github.com/repos/blue-button/bluebutton.js/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/blue-button/bluebutton.js/issues/140/comments","events_url":"https://api.github.com/repos/blue-button/bluebutton.js/issues/140/events","html_url":"https://github.com/blue-button/bluebutton.js/issues/140","id":67485756,"number":140,"title":"originalText with Reference Values","user":{"login":"Smcner","id":4706805,"avatar_url":"https://avatars.githubusercontent.com/u/4706805?v=3","gravatar_id":"","url":"https://api.github.com/users/Smcner","html_url":"https://github.com/Smcner","followers_url":"https://api.github.com/users/Smcner/followers","following_url":"https://api.github.com/users/Smcner/following{/other_user}","gists_url":"https://api.github.com/users/Smcner/gists{/gist_id}","starred_url":"https://api.github.com/users/Smcner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smcner/subscriptions","organizations_url":"https://api.github.com/users/Smcner/orgs","repos_url":"https://api.github.com/users/Smcner/repos","events_url":"https://api.github.com/users/Smcner/events{/privacy}","received_events_url":"https://api.github.com/users/Smcner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-10T01:33:13Z","updated_at":"2015-04-13T00:56:48Z","closed_at":null,"body":"Live C-CDA from vendors such as Allscripts, eCW, or even Epic, tend to have values for Allergies, Meds, etc. that use originalText tags with a reference value to call on the html table entries which are not recognized by bluebutton js currently. As a result, many C-CDA will appear to be missing data but actually have it referenced in the section parsed. It may not be best practice, but it is the reality of these vendors.\r\nAre there any plans to update the script to fallback on the reference values called in the originalText tag?"},"comment":{"url":"https://api.github.com/repos/blue-button/bluebutton.js/issues/comments/92158289","html_url":"https://github.com/blue-button/bluebutton.js/issues/140#issuecomment-92158289","issue_url":"https://api.github.com/repos/blue-button/bluebutton.js/issues/140","id":92158289,"user":{"login":"sankarravi","id":1098507,"avatar_url":"https://avatars.githubusercontent.com/u/1098507?v=3","gravatar_id":"","url":"https://api.github.com/users/sankarravi","html_url":"https://github.com/sankarravi","followers_url":"https://api.github.com/users/sankarravi/followers","following_url":"https://api.github.com/users/sankarravi/following{/other_user}","gists_url":"https://api.github.com/users/sankarravi/gists{/gist_id}","starred_url":"https://api.github.com/users/sankarravi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sankarravi/subscriptions","organizations_url":"https://api.github.com/users/sankarravi/orgs","repos_url":"https://api.github.com/users/sankarravi/repos","events_url":"https://api.github.com/users/sankarravi/events{/privacy}","received_events_url":"https://api.github.com/users/sankarravi/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T00:56:48Z","updated_at":"2015-04-13T00:56:48Z","body":"@Smcner yeah, definitely not proposing we throw out the structured data. I was just curious whether Prime had managed to build something that produces decent results from the HTML because, if so, it suggests a hybrid approach could be extracting a lot more data than we get in the status quo.\r\n\r\n(I'm not counting properly following <reference>/<content> tags... that's part of the spec and is something we should totally do.)\r\n\r\n @thetylerhayes @owenfi would love to see what your system looks like!"}}