Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Patient-friendly Blue Button with Bluebutton.js...

320

Patient-friendly Blue Button with Bluebutton.js and bbClear

A brief introduction to the bbClear and bluebutton.js tools for parsing C-CDA health record XML documents

M. Jackson Wilkinson

July 12, 2013
Tweet

Transcript

  1. > bb.medications()[0].product > bb.medications()[0].reason { ‘code’ : ‘803348’, ‘code_system’ :

    ‘2.16.840.1.113883.6.88’ ‘name’ : ‘Hydrocortisone Topical Gel 0.01 mg/mg’ } { ‘code’ : ‘43116000’, ‘code_system’ : ‘2.16.840.1.113883.6.96’ ‘name’ : ‘Eczema’ }
  2. WEB STANDARDS MANY TECHNOLOGIES HTML markup & file wrapper format

    C-CDA & bluebutton.js data & translation Javascript & jQuerybasic interactions swig.js templating engine CSS3screen styles CSS3print styles IN A SINGLE FILE
  3. {% for allergy in allergies %} {% if loop.first %}<ul>{%

    endif %} <li>{{allergy.severity}}: {{allergy.allergen.name}}</li> {% if forloop.last %}</ul>{% endif %} {% endfor %}