amida-tech / blue-button

Blue Button (CCDA/CMS Blue Button/etc) to JSON Parser.
Other
49 stars 44 forks source link

Pull in additional dx information from encounter #256

Open ewhitley opened 5 years ago

ewhitley commented 5 years ago

Added reference to an additional problem template ID so additional encounter dx information is imported. Based this on the HL7 encounter dx template information from https://github.com/HL7/C-CDA-Examples/blob/master/Encounters/Outpatient%20Encounter%20with%20Diagnoses/Outpatient%20Encounter%20with%20Diagnoses(C-CDA%20R2.1).xml

ewhitley commented 5 years ago

Sorry for lag - was out of the country.

I'm not getting any validation errors locally. Installed under node 9.11.2.

Grunt shows 100% of tests passing and I'm not seeing any of the errors. Any suggestions on how I should approach this?

output

Running "jsbeautifier:beautify" (jsbeautifier) task Beautified 63 files, changed 0 files...OK

Running "jshint:files" (jshint) task

64 files lint free.

Running "mochaTest:test" (mochaTest) task

Parser C32 Support Testing ✓ C32 Demo File Check Sense ✓ C32 Demo File Check Sections (373ms) ✓ C32 parser/model validation (378ms)

Parser CDA R2 CCD Support Testing ✓ CDA R2 CCD Demo File 1 Check Sense ✓ CDA R2 CCD Demo File 1 Check Sections ✓ CCD 1 parser/model validation

parser.js ✓ CCDA parser/model validation (263ms)

parser.js ✓ CMS parser/model validation (45ms)

sense.js test ✓ should return NULL for no string with data passed ✓ should return CCDA for proper CCDA/XML input ✓ should return XML for proper basic XML input ✓ should return XML for XML input (no <?xml declaration) ✓ should return C32 for proper VA C32 XML input ✓ should return BLUE-BUTTON.JS for proper BB JSON input ✓ should return JSON for proper JSON input ✓ should return CMS and version for CMS BB text input ✓ should return VA and version for VA BB text input ✓ should return PDF for PDF file input ✓ should return FORMAT-X for format X text input ✓ should return UNKNOWN for text input ✓ should return UNKNOWN for broken XML input

functional status section parser ✓ validity

new sections testing ✓ reason for referral & hospital discharge instructions

nullFlavor testing ✓ race and ethnicity (228ms)

reference resolution ✓ resolves references (233ms)

telecom unit tests ✓ prepare ✓ multiple_tel_email ✓ nullFlavor_noTel ✓ emptyValue