Switch from jsdom to xmldom for node parsing. jsdom is a much better supported project, but xmldom is 10x faster and deals better with some malformed XML files, which jsdom will parse as HTML. The code change required is really minimal, and all the tests pass without any changes to the expected JSON, so hopefully this change will be transparent to clients of the library
CCDA template for vitals wasn't using the shared hl7Code function (which handles nulls intelligently)
CCDA generation was incorrectly using the 'Active' status SNOMED for every problem, regardless of its actual status
Add lot_number, manufactuer_name, and dose_quantity to the immunization fields we can import/export
Improve the handling of allergies in Allscripts CCDAs
Teaches xml.val() to understand <reference>/<content> tags (the former reference free-text stored discontinuously in the latter), takes advantage of this ability to improve med/problem parsing, and adds an Allscripts CCDA to the test suite, because Allscripts uses that part of the CDA spec regularly
Directly referencing undefined variables in strict mode fails
Merge pull request #107 from elationemr/master

Jsdom -> Xmldom + improvements to immunization import/export, problem export, allergy import, and text field parsing