Produced by Araxis Merge on 10/3/2017 11:16:01 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\integrationtests\handlers\jmeadows-document | jmeadows-cda-document-conversion-handler-itest-spec.js | Mon Jul 10 17:46:22 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\integrationtests\handlers\jmeadows-document | jmeadows-cda-document-conversion-handler-itest-spec.js | Tue Oct 3 12:48:51 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 536 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | 'use stric t'; | |
| 2 | ||
| 3 | require('. ./../../.. /env-setup '); | |
| 4 | var _ = re quire('und erscore'); | |
| 5 | var realCo nfig = req uire(globa l.VX_ROOT + 'worker- config'); | |
| 6 | var fsUtil = require (global.VX _UTILS + ' fs-utils') ; | |
| 7 | var jobUti ls = requi re(global. VX_UTILS + 'job-util s'); | |
| 8 | var testHa ndler = re quire(glob al.VX_INTT ESTS + 'fr amework/ha ndler-test -framework ').testHan dler; | |
| 9 | var handle = require (global.VX _HANDLERS + 'jmeadow s-document /jmeadows- cda-docume nt-convers ion-handle r'); | |
| 10 | var path = require(' path'); | |
| 11 | var val = require(gl obal.VX_UT ILS + 'obj ect-utils' ).getPrope rty; | |
| 12 | ||
| 13 | var testCo nfig = req uire(globa l.VX_INTTE STS + 'tes t-config') ; | |
| 14 | var vx_syn c_ip = tes tConfig.vx syncIP; | |
| 15 | ||
| 16 | //var Vist aClientDum my = requi re(global. VX_DUMMIES + 'vista- client-dum my'); | |
| 17 | //var jobS tatusUpdat erDummy = require(gl obal.VX_SU BSYSTEMS + 'jds/JobS tatusUpdat erDummy'); | |
| 18 | ||
| 19 | var log = require(gl obal.VX_DU MMIES + '/ dummy-logg er'); | |
| 20 | ||
| 21 | // log = r equire('bu nyan').cre ateLogger( { | |
| 22 | // nam e: 'test', | |
| 23 | // lev el: 'debug ' | |
| 24 | // }); | |
| 25 | ||
| 26 | var config = { | |
| 27 | docume ntStorage: { | |
| 28 | st aging: { | |
| 29 | path: '' | |
| 30 | }, | |
| 31 | pu blish: { | |
| 32 | path: '' , | |
| 33 | permissi ons: realC onfig.docu mentStorag e.publish. permission s //Need t o fix thes e permissi ons!!!! | |
| 34 | }, | |
| 35 | of ficeLocati on: realCo nfig.docum entStorage .officeLoc ation, | |
| 36 | ur iRoot: rea lConfig.do cumentStor age.uriRoo t | |
| 37 | }, | |
| 38 | ||
| 39 | }; | |
| 40 | config.doc umentStora ge.staging .path = re alConfig.d ocumentSto rage.stagi ng.path.re place(/vxs ync/, 'vxs ync-test') ; | |
| 41 | config.doc umentStora ge.publish .path = re alConfig.d ocumentSto rage.publi sh.path.re place(/vxs ync/, 'vxs ync-test') ; | |
| 42 | config.doc umentStora ge.staging .path = pa th.resolve (config.do cumentStor age.stagin g.path); | |
| 43 | config.doc umentStora ge.publish .path = pa th.resolve (config.do cumentStor age.publis h.path); | |
| 44 | config.doc umentStora ge.uriRoot = 'http:/ /' + vx_sy nc_ip + ': 8082/docum ents'; | |
| 45 | ||
| 46 | var sample VprDischar geSummary = { | |
| 47 | refere nceDateTim e: 1320950 895000, | |
| 48 | codes: [{ | |
| 49 | co de: '28636 -9', | |
| 50 | di splay: '', | |
| 51 | sy stem: 'DOD _NCID' | |
| 52 | }, { | |
| 53 | co de: '28563 -5', | |
| 54 | di splay: '', | |
| 55 | sy stem: 'DOD _NOTES' | |
| 56 | }], | |
| 57 | localT itle: 'Pul monary Nur sing Follo w-Up', | |
| 58 | docume ntTypeName : 'Initial Evaluatio n Note', | |
| 59 | author : 'DEMO US ER,', | |
| 60 | author DisplayNam e: 'DEMO U SER,', | |
| 61 | status : 'complet ed', | |
| 62 | status Name: 'com pleted', | |
| 63 | facili tyName: 'D OD', | |
| 64 | facili tyCode: 'D OD', | |
| 65 | uid: ' urn:va:doc ument:DOD: 00001:3cc4 45968192d5 00d5a2ddbf 23ab495260 5f0b0c_', | |
| 66 | pid: ' DOD;00001' , | |
| 67 | text: [{ | |
| 68 | co ntent: '<? xml versio n=\'1.0\' encoding=\ 'UTF-8\'?> <ClinicalD ocument xs i:schemaLo cation=\"x mlns=\'urn :hl7-org:v 3\' xmlns: crs=\'urn: hl7-org:cr s\' xmlns: xsi=\'http ://www.w3. org/2001/X MLSchema-i nstance\'\ " xmlns=\" urn:hl7-or g:v3\" xml ns:xsi=\"h ttp://www. w3.org/200 1/XMLSchem a-instance \">\n <t ypeId exte nsion=\"PO CD_HD00004 0\" root=\ "2.16.840. 1.113883.1 .3\"/>\n <id exten sion=\"504 02157_2011 0502113900 _125\" roo t=\"2.16.8 40.1.11388 3.3.42.144 .100001.17 \"/>\n < code codeS ystem=\"2. 16.840.1.1 13883.6.1\ " codeSyst emName=\"L OINC\" cod e=\"28636- 9\" displa yName=\"&q uot;Initia l Evaluati on Note&qu ot;\"/>\n <title>P ulmonary N ursing Fol low-Up</ti tle>\n < effectiveT ime value= \"20120829 151904\"/> \n <conf identialit yCode code =\"N\" cod eSystem=\" 2.16.840.1 .113883.5. 25\"/>\n <versionN umber valu e=\"8\"/>\ n <recor dTarget>\n <pat ientRole>\ n <id extens ion=\"7867 24\" root= \"2.16.840 .1.113883. 3.42.127.1 25.2\"/>\n < id extensi on=\"000-0 0-1102\" r oot=\"2.16 .840.1.113 883.4.1\"/ >\n <addr>\n <streetA ddressLine >1234 Cher ry Blossom Lane</str eetAddress Line>\n < city/>\n <state/>\n <postalC ode/>\n < country/>\ n </addr>\n <t elecom use =\"HP\" va lue=\"tel: \"/>\n <pati ent>\n <n ame>\n <delimite r/>\n <prefix/>\ n <suf fix/>\n <given>B OB</given> \n <fa mily>BTEST </family>\ n </name> \n <admin istrativeG enderCode codeSystem =\"2.16.84 0.1.113883 .5.1\" cod e=\"F\"/>\ n <birthT ime value= \"19450101 \"/>\n </pat ient>\n </patie ntRole>\n </record Target>\n <author> \n <t ime value= \"20110502 114150\"/> \n <a ssignedAut hor>\n <id e xtension=\ "\" root=\ "2.16.840. 1.113883.3 .42.127.12 5.3\"/>\n <a ddr>\n <s treetAddre ssLine>904 0 Fitzsimm ons Ave</s treetAddre ssLine>\n <city>Tac oma</city> \n <state >WA</state >\n <post alCode>984 31</postal Code>\n < country>US A</country >\n </addr>\ n <telecom u se=\"WP\" value=\"te l:(253) 96 8-1110\"/> \n <assigned Person>\n <name>\n <delim iter/>\n <prefix />\n < suffix/>\n <give n/>\n <family>DE MO USER</f amily>\n </name>\n </ assignedPe rson>\n </assig nedAuthor> \n </aut hor>\n < custodian> \n <a ssignedCus todian>\n <r epresented CustodianO rganizatio n>\n <id root=\"2.1 6.840.1.11 3883.3.42. 127.125.13 \"/>\n </rep resentedCu stodianOrg anization> \n </ assignedCu stodian>\n </custo dian>\n <component >\n < structured Body>\n <com ponent>\n <section> \n <te xt>\n <table> \n <col va lign=\"top \" align=\ "center\" width=\"10 50\"/>\n < tbody>\n <tr>\n <td s tyleCode=\ "Bold\">PU LMONARY NU RSING FOLL OW-UP NOTE </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col v align=\"to p\" width= \"390\"/>\ n <col val ign=\"top\ " width=\" 139\"/>\n <col valig n=\"top\" width=\"52 1\"/>\n <t body>\n <tr>\n <td st yleCode=\" Bold\">- P OST OPERAT IVE FOLLOW UP PHONE CALL -</td >\n <td>Phone number</td >\n <td>800-55 5-4444</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n <compon ent>\n <s ection>\n <text> \n <table>\n <col width =\"49\"/>\ n <col val ign=\"top\ " width=\" 138\"/>\n <col valig n=\"top\" width=\"12 4\"/>\n <c ol valign= \"top\" wi dth=\"498\ "/>\n <col valign=\" top\" widt h=\"241\"/ >\n <tbody >\n <tr >\n <td align= \"center\" />\n <td>Date< /td>\n <td>Tim e</td>\n <td>R esults</td >\n <td>Initia ls</td>\n </tr>\n </tbody>\ n < /table>\n </text >\n </sec tion>\n </co mponent>\n < component> \n <secti on>\n <text>\n <tab le>\n <col valign=\" top\" widt h=\"103\"/ >\n <col v align=\"to p\" width= \"134\"/>\ n <col val ign=\"top\ " width=\" 536\"/>\n <col valig n=\"top\" width=\"23 8\"/>\n <t body>\n <tr>\n <td>02 May</td>\n <td >0600</td> \n < td>Left me ssage</td> \n < td>DEMO</t d>\n </ tr>\n </tb ody>\n </tabl e>\n < /text>\n </section> \n </compone nt>\n <compo nent>\n < section>\n <text >\n <table>\n <col vali gn=\"top\" width=\"1 050\"/>\n <tbody>\n <tr>\n <td styleCode= \"Bold\">- ATTEMPTS TO CONTACT PATIENT - </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col w idth=\"91\ "/>\n <col valign=\" top\" widt h=\"96\"/> \n <col va lign=\"top \" width=\ "124\"/>\n <col vali gn=\"top\" width=\"4 98\"/>\n < col valign =\"top\" w idth=\"241 \"/>\n <tb ody>\n <tr>\n <td ali gn=\"cente r\"/>\n <td>Da te</td>\n <td> Time</td>\ n <t d>Results< /td>\n <td>Ini tials</td> \n </tr >\n </tbod y>\n </table> \n </t ext>\n </ section>\n < /component >\n <compone nt>\n <se ction>\n <text>\ n < table>\n < col width= \"36\"/>\n <col vali gn=\"top\" width=\"4 0\"/>\n <c ol valign= \"top\" wi dth=\"107\ "/>\n <col valign=\" top\" widt h=\"108\"/ >\n <col v align=\"to p\" width= \"521\"/>\ n <col val ign=\"top\ " width=\" 238\"/>\n <tbody>\n <tr>\n <td align=\"ce nter\"/>\n <td >#1</td>\n <td >02May</td >\n <td>0900</ td>\n <td>Reac hed patien t and disc ussed.</td >\n <td>DEMO</ td>\n < /tr>\n </t body>\n </tab le>\n </text>\n </section >\n </compon ent>\n <comp onent>\n <section>\ n <tex t>\n <table>\ n <col wid th=\"33\"/ >\n <col v align=\"to p\" width= \"195\"/>\ n <col val ign=\"top\ " width=\" 822\"/>\n <tbody>\n <tr>\n <td align=\"ce nter\"/>\n <td >PATIENT R ESPONSE</t d>\n <td>* Add itional Co mments Req uired For All Yes Re sponses *< /td>\n </tr>\n </ tbody>\n </ta ble>\n </text>\n </sectio n>\n </compo nent>\n <com ponent>\n <section> \n <te xt>\n <table> \n <col wi dth=\"36\" />\n <col valign=\"t op\" width =\"27\"/>\ n <col val ign=\"top\ " width=\" 42\"/>\n < col valign =\"top\" w idth=\"35\ "/>\n <col valign=\" top\" widt h=\"47\"/> \n <col va lign=\"top \" width=\ "863\"/>\n <tbody>\n <tr>\n <td align=\"c enter\"/>\ n <t d>NO</td>\ n <t d>[X]</td> \n < td>YES</td >\n <td>[ ]</t d>\n <td>Color and amoun t  of sp utum produ ced with c ough</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol width=\ "36\"/>\n <col valig n=\"top\" width=\"27 \"/>\n <co l valign=\ "top\" wid th=\"42\"/ >\n <col v align=\"to p\" width= \"35\"/>\n <col vali gn=\"top\" width=\"4 7\"/>\n <c ol valign= \"top\" wi dth=\"863\ "/>\n <tbo dy>\n < tr>\n <td alig n=\"center \"/>\n <td>NO< /td>\n <td>[X] </td>\n <td>YE S</td>\n <td>[ ]</td>\n <td> Unusual Pa in</td>\n </tr>\n </tbody>\ n < /table>\n </text >\n </sec tion>\n </co mponent>\n < component> \n <secti on>\n <text>\n <tab le>\n <col width=\"3 6\"/>\n <c ol valign= \"top\" wi dth=\"27\" />\n <col valign=\"t op\" width =\"42\"/>\ n <col val ign=\"top\ " width=\" 35\"/>\n < col valign =\"top\" w idth=\"47\ "/>\n <col valign=\" top\" widt h=\"863\"/ >\n <tbody >\n <tr >\n <td align= \"center\" />\n <td>NO</t d>\n <td>[X]</ td>\n <td>YES< /td>\n <td>[ ] </td>\n <td>Fe ver</td>\n </tr>\ n </tbody> \n </table>\n </tex t>\n </se ction>\n </c omponent>\ n <component >\n <sect ion>\n <text>\n <ta ble>\n <co l width=\" 36\"/>\n < col valign =\"top\" w idth=\"27\ "/>\n <col valign=\" top\" widt h=\"42\"/> \n <col va lign=\"top \" width=\ "35\"/>\n <col valig n=\"top\" width=\"47 \"/>\n <co l valign=\ "top\" wid th=\"863\" />\n <tbod y>\n <t r>\n <td align =\"center\ "/>\n <td>NO</ td>\n <td>[ ]< /td>\n <td>YES </td>\n <td>[X ]</td>\n <td>O ther Probl ems:</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol valign= \"top\" wi dth=\"1014 \"/>\n <tb ody>\n <tr>\n <td>A l ittle tire d today.</ td>\n < /tr>\n </t body>\n </tab le>\n </text>\n </section >\n </compon ent>\n <comp onent>\n <section>\ n <tex t>\n <table>\ n <col val ign=\"top\ " width=\" 1014\"/>\n <tbody>\n <tr>\n <td >Patient / Significa nt Other c ommunicate s knowledg e of and u nderstands follow-up instructi ons.</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol valign= \"top\" wi dth=\"251\ "/>\n <col valign=\" top\" widt h=\"799\"/ >\n <tbody >\n <tr >\n <td styleC ode=\"Bold \">Patient \'s condit ion:</td>\ n <t d>Good</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n <compon ent>\n <s ection>\n <text> \n <table>\n <col valig n=\"top\" width=\"25 1\"/>\n <c ol valign= \"top\" wi dth=\"799\ "/>\n <tbo dy>\n < tr>\n <td styl eCode=\"Bo ld\">Addit ional info rmation</t d>\n <td/>\n </tr>\n </tbody>\n </ table>\n </text> \n </sect ion>\n </com ponent>\n <c omponent>\ n <sectio n>\n < text>\n <tabl e>\n <col valign=\"t op\" width =\"1050\"/ >\n <tbody >\n <tr >\n <td styleC ode=\"Bold \">Signatu re of Nurs e/Physicia n: See abo ve electro nic signat ure.</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol width=\ "1\"/>\n < col valign =\"top\" w idth=\"104 9\"/>\n <t body>\n <tr>\n <td al ign=\"cent er\"/>\n <td>S F 509 - E - Progress Notes</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n </structur edBody>\n </compon ent>\n</Cl inicalDocu ment>', | |
| 69 | da teTime: 13 2095089500 0, | |
| 70 | st atus: 'com pleted', | |
| 71 | ui d: 'urn:va :document: DOD:00001: 3cc4459681 92d500d5a2 ddbf23ab49 52605f0b0c _' | |
| 72 | }], | |
| 73 | dodCom plexNoteUr i: null | |
| 74 | }; | |
| 75 | ||
| 76 | var corrup tedSampleV prDischarg eSummary = { | |
| 77 | refere nceDateTim e: 1320950 895000, | |
| 78 | codes: [{ | |
| 79 | co de: '28636 -9', | |
| 80 | di splay: '', | |
| 81 | sy stem: 'DOD _NCID' | |
| 82 | }, { | |
| 83 | co de: '28563 -5', | |
| 84 | di splay: '', | |
| 85 | sy stem: 'DOD _NOTES' | |
| 86 | }], | |
| 87 | localT itle: 'Pul monary Nur sing Follo w-Up', | |
| 88 | docume ntTypeName : 'Initial Evaluatio n Note', | |
| 89 | author : 'DEMO US ER,', | |
| 90 | author DisplayNam e: 'DEMO U SER,', | |
| 91 | status : 'complet ed', | |
| 92 | status Name: 'com pleted', | |
| 93 | facili tyName: 'D OD', | |
| 94 | facili tyCode: 'D OD', | |
| 95 | uid: ' urn:va:doc ument:DOD: 00001:3cc4 45968192d5 00d5a2ddbf 23ab495260 5f0b0c_', | |
| 96 | pid: ' DOD;00001' , | |
| 97 | text: [{ | |
| 98 | co ntent: '<? xml versio n=\'1.0\' encoding=\ 'UTF-8\'?> <ClinicalD ocument xs i:schemaLo cation="xm lns=\'urn: hl7-org:v3 \' xmlns:c rs=\'urn:h l7-org:crs \' xmlns:x si=\'http: //www.w3.o rg/2001/XM LSchema-in stance\'" xmlns="urn :hl7-org:v 3" xmlns:x si="http:/ /www.w3.or g/2001/XML Schema-ins tance">\n <typeId extension= "POCD_HD00 0040" root ="2.16.840 .1.113883. 1.3"/>\n <id exten sion="5040 2157_20110 502113900_ 125" root= "2.16.840. 1.113883.3 .42.144.10 0001.17"/> \n <code codeSyste m="2.16.84 0.1.113883 .6.1" code SystemName ="LOINC" c ode="28636 -9" displa yName="&qu ot;Initial Evaluatio n Note&quo t;"/>\n <title>Pul monary Nur sing Follo w-Up</titl e>\n <ef fectiveTim e value="2 0120829151 904"/>\n <confiden tialityCod e code="N" codeSyste m="2.16.84 0.1.113883 .5.25"/>\n <versio nNumber va lue="8"/>\ n <recor dTarget>\n <pat ientRole>\ n <id extens ion="78672 4" root="2 .16.840.1. 113883.3.4 2.127.125. 2"/>\n <id e xtension=" 000-00-110 2" root="2 .16.840.1. 113883.4.1 "/>\n <addr> \n <stree tAddressLi ne>1234 Ch erry Bloss om Lane</s treetAddre ssLine>\n <city/>\n <state/> \n <posta lCode/>\n <country/ >\n </addr>\ n <telecom u se="HP" va lue="tel:" />\n <patien t>\n <nam e>\n < delimiter/ >\n <p refix/>\n <suffi x/>\n <given>BOB </given>\n <fami ly>BTEST</ family>\n </name>\n <adminis trativeGen derCode co deSystem=" 2.16.840.1 .113883.5. 1" code="F "/>\n <bi rthTime va lue="19450 101"/>\n </p atient>\n </pat ientRole>\ n </reco rdTarget>\ n <autho r>\n <time valu e="2011050 2114150"/> \n <a ssignedAut hor>\n <id e xtension=" " root="2. 16.840.1.1 13883.3.42 .127.125.3 "/>\n <addr> \n <stree tAddressLi ne>9040 Fi tzsimmons Ave</stree tAddressLi ne>\n <ci ty>Tacoma< /city>\n <state>WA< /state>\n <postalCo de>98431</ postalCode >\n <coun try>USA</c ountry>\n </ addr>\n <tel ecom use=" WP" value= "tel:(253) 968-1110" />\n <assign edPerson>\ n <name>\ n <del imiter/>\n <pref ix/>\n <suffix/> \n <gi ven/>\n <family> DEMO USER< /family>\n </name>\ n </assigned Person>\n </ass ignedAutho r>\n </a uthor>\n <custodia n>\n <assignedC ustodian>\ n <represent edCustodia nOrganizat ion>\n <i d root="2. 16.840.1.1 13883.3.42 .127.125.1 3"/>\n </rep resentedCu stodianOrg anization> \n </ assignedCu stodian>\n </custo dian>\n <component >\n < structured Body>\n <com ponent>\n <section> \n <te xt>\n <table> \n <col va lign="top" align="ce nter" widt h="1050"/> \n <tbody> \n <tr> \n < td styleCo de="Bold"> PULMONARY NURSING FO LLOW-UP NO TE</td>\n </tr>\n </tbody>\ n < /table>\n </text >\n </sec tion>\n </co mponent>\n < component> \n <secti on>\n <text>\n <tab le>\n <col valign="t op" width= "390"/>\n <col valig n="top" wi dth="139"/ >\n <col v align="top " width="5 21"/>\n <t body>\n <tr>\n <td st yleCode="B old">- POS T OPERATIV E FOLLOW U P PHONE CA LL -</td>\ n <t d>Phone nu mber</td>\ n <t d>800-555- 4444</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol width=" 49"/>\n <c ol valign= "top" widt h="138"/>\ n <col val ign="top" width="124 "/>\n <col valign="t op" width= "498"/>\n <col valig n="top" wi dth="241"/ >\n <tbody >\n <tr >\n <td align= "center"/> \n < td>Date</t d>\n <td>Time< /td>\n <td>Res ults</td>\ n <t d>Initials </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col v align="top " width="1 03"/>\n <c ol valign= "top" widt h="134"/>\ n <col val ign="top" width="536 "/>\n <col valign="t op" width= "238"/>\n <tbody>\n <tr>\n <td> 02May</td> \n < td>0600</t d>\n <td>Left message</t d>\n <td>DEMO< /td>\n </tr>\n </ tbody>\n </ta ble>\n </text>\n </sectio n>\n </compo nent>\n <com ponent>\n <section> \n <te xt>\n <table> \n <col va lign="top" width="10 50"/>\n <t body>\n <tr>\n <td st yleCode="B old">- ATT EMPTS TO C ONTACT PAT IENT -</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n <compon ent>\n <s ection>\n <text> \n <table>\n <col width ="91"/>\n <col valig n="top" wi dth="96"/> \n <col va lign="top" width="12 4"/>\n <co l valign=" top" width ="498"/>\n <col vali gn="top" w idth="241" />\n <tbod y>\n <t r>\n <td align ="center"/ >\n <td>Date</ td>\n <td>Time </td>\n <td>Re sults</td> \n < td>Initial s</td>\n </tr>\n </tbody>\n </ table>\n </text> \n </sect ion>\n </com ponent>\n <c omponent>\ n <sectio n>\n < text>\n <tabl e>\n <col width="36" />\n <col valign="to p" width=" 40"/>\n <c ol valign= "top" widt h="107"/>\ n <col val ign="top" width="108 "/>\n <col valign="t op" width= "521"/>\n <col valig n="top" wi dth="238"/ >\n <tbody >\n <tr >\n <td align= "center"/> \n < td>#1</td> \n < td>02May</ td>\n <td>0900 </td>\n <td>Re ached pati ent and di scussed.</ td>\n <td>DEMO </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col w idth="33"/ >\n <col v align="top " width="1 95"/>\n <c ol valign= "top" widt h="822"/>\ n <tbody>\ n <tr>\ n <t d align="c enter"/>\n <td >PATIENT R ESPONSE</t d>\n <td>* Add itional Co mments Req uired For All Yes Re sponses *< /td>\n </tr>\n </ tbody>\n </ta ble>\n </text>\n </sectio n>\n </compo nent>\n <com ponent>\n <section> \n <te xt>\n <table> \n <col wi dth="36"/> \n <col va lign="top" width="27 "/>\n <col valign="t op" width= "42"/>\n < col valign ="top" wid th="35"/>\ n <col val ign="top" width="47" />\n <col valign="to p" width=" 863"/>\n < tbody>\n <tr>\n <td a lign="cent er"/>\n <td>NO </td>\n <td>[X ]</td>\n <td>Y ES</td>\n <td> [ ]</td>\n <td >Color and amount  of sputum produced with cough </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col w idth="36"/ >\n <col v align="top " width="2 7"/>\n <co l valign=" top" width ="42"/>\n <col valig n="top" wi dth="35"/> \n <col va lign="top" width="47 "/>\n <col valign="t op" width= "863"/>\n <tbody>\n <tr>\n <td align="cen ter"/>\n <td>N O</td>\n <td>[ X]</td>\n <td> YES</td>\n <td >[ ]</td>\ n <t d>Unusual Pain</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol width=" 36"/>\n <c ol valign= "top" widt h="27"/>\n <col vali gn="top" w idth="42"/ >\n <col v align="top " width="3 5"/>\n <co l valign=" top" width ="47"/>\n <col valig n="top" wi dth="863"/ >\n <tbody >\n <tr >\n <td align= "center"/> \n < td>NO</td> \n < td>[X]</td >\n <td>YES</t d>\n <td>[ ]</ td>\n <td>Feve r</td>\n </tr>\n </tbody>\n </ table>\n </text> \n </sect ion>\n </com ponent>\n <c omponent>\ n <sectio n>\n < text>\n <tabl e>\n <col width="36" />\n <col valign="to p" width=" 27"/>\n <c ol valign= "top" widt h="42"/>\n <col vali gn="top" w idth="35"/ >\n <col v align="top " width="4 7"/>\n <co l valign=" top" width ="863"/>\n <tbody>\n <tr>\n <td align="ce nter"/>\n <td> NO</td>\n <td> [ ]</td>\n <td >YES</td>\ n <t d>[X]</td> \n < td>Other P roblems:</ td>\n < /tr>\n </t body>\n </tab le>\n </text>\n </section >\n </compon ent>\n <comp onent>\n <section>\ n <tex t>\n <table>\ n <col val ign="top" width="101 4"/>\n <tb ody>\n <tr>\n <td>A l ittle tire d today.</ td>\n < /tr>\n </t body>\n </tab le>\n </text>\n </section >\n </compon ent>\n <comp onent>\n <section>\ n <tex t>\n <table>\ n <col val ign="top" width="101 4"/>\n <tb ody>\n <tr>\n <td>Pat ient / Sig nificant O ther commu nicates kn owledge of and under stands fol low-up ins tructions. </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col v align="top " width="2 51"/>\n <c ol valign= "top" widt h="799"/>\ n <tbody>\ n <tr>\ n <t d styleCod e="Bold">P atient\'s condition: </td>\n <td>Go od</td>\n </tr>\n </tbody>\ n < /table>\n </text >\n </sec tion>\n </co mponent>\n < component> \n <secti on>\n <text>\n <tab le>\n <col valign="t op" width= "251"/>\n <col valig n="top" wi dth="799"/ >\n <tbody >\n <tr >\n <td styleC ode="Bold" >Additiona l informat ion</td>\n <td />\n </ tr>\n </tb ody>\n </tabl e>\n < /text>\n </section> \n </compone nt>\n <compo nent>\n < section>\n <text >\n <table>\n <col vali gn="top" w idth="1050 "/>\n <tbo dy>\n < tr>\n <td styl eCode="Bol d">Signatu re of Nurs e/Physicia n: See abo ve electro nic signat ure.</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol width=" 1"/>\n <co l valign=" top" width ="1049"/>\ n <tbody>\ n <tr>\ n <t d align="c enter"/>\n <td >SF 509 - E - Progre ss Notes</ td>\n < /tr>\n </t body>\n </tab le>\n </text>\n </section >\n </compon ent>\n </struct uredBody>\ n </comp onent>\n', | |
| 99 | da teTime: 13 2095089500 0, | |
| 100 | st atus: 'com pleted', | |
| 101 | ui d: 'urn:va :document: DOD:00001: 3cc4459681 92d500d5a2 ddbf23ab49 52605f0b0c _' | |
| 102 | }], | |
| 103 | dodCom plexNoteUr i: null | |
| 104 | }; | |
| 105 | ||
| 106 | // Note: \ ufeff is a zero-widt h non-brea king space | |
| 107 | var plaint extContent = 'Person al Data P rivacy Act of 1974 ( PL 93 579) \nPatien t: BOB BT EST SSN: 000 -00-1102 \n 1234 C herry Blos som Lane , HP: \nBirthd ate: Januar y 1, 1945 Sex: Fem ale \nConsul tant: Created O n: May 2, 2011 \n\n\n\n \nPULMONAR Y NURSING FOLLOW-UP \n * PULMO NARY NURSI NG FOLLOW- UP NOTE \n \n * - POS T OPERATIV E FOLLOW U P PHONE CA LL - Phone number 80 0-555-4444 \n\n * Da te Time Re sults Init ials \n\n * 02May 06 00 Left me ssage DEMO \n\n * - ATTEMPTS T O CONTACT PATIENT - \n\n * Dat e Time Res ults Initi als \n\n * #1 02May 0900 Reach ed patient and discu ssed. DEMO \n\n * PA TIENT RESP ONSE * Add itional Co mments Req uired For All Yes Re sponses * \n\n * NO [X] YES [ ] Color an d amount&n bsp; of sputum produced w ith cough \n\n * NO [X] YES [ ] Unusual Pain \n\n * NO [X] Y ES [ ] Fev er \n\n * NO [ ] YES [X] Other Problems: \n\n * A little tir ed today. \n\n * Pat ient / Sig nificant O ther commu nicates kn owledge of and under stands fol low-up ins tructions. \n\n * Pa tient\'s c ondition: Good \n\n * Addition al informa tion \n\n * Signatur e of Nurse /Physician : See abov e electron ic signatu re. \n\n * SF 509 - E - Progre ss Notes \ n\n\n\n\nA uthored by : DEMO USER on May 2, 201 1 \n 904 0 Fitzsimm ons Ave Ta coma, WA 98431 WP: (253) 968 -1110 \ n\n\n\n\nH EALTHCARE PROVIDERS \n\n\n\n\n SUPPORT PR OVIDERS \n \n\n\n\nIN SURANCE IN FORMATION \n\nFOR OF FICIAL USE ONLY (FOU O)'; | |
| 108 | var expect edDodCompl exNoteUri = config.d ocumentSto rage.uriRo ot + '?dir =444f443b3 0303030303 03033/3cc4 45968192d5 00d5a2ddbf 23ab495260 5f0b0c_&fi le=5243409 9d66a4f3f6 09d0e931b7 62ec6538dd ca9.html'; | |
| 109 | ||
| 110 | var placeh olderText = '-Placeh older for a DOD Pati ent Docume nt- Unfort unately th is documen t is corru pted and c annot be d isplayed. Please re port it so the probl em can be rectified. '; | |
| 111 | ||
| 112 | describe(' jmeadows-c da-documen t-conversi on-handler ', functio n() { | |
| 113 | // var environme nt = { | |
| 114 | // publisher Router: { | |
| 115 | // publi sh: functi on() { | |
| 116 | ||
| 117 | // } | |
| 118 | // } | |
| 119 | // }; | |
| 120 | ||
| 121 | descri be('handle ', functio n() { | |
| 122 | be foreEach(f unction() { | |
| 123 | fsUtil.d eleteAllFi les(config .documentS torage.pub lish.path) ; | |
| 124 | }) ; | |
| 125 | ||
| 126 | // Disabled for AWS te sting | |
| 127 | xi t('success ful conver sion', fun ction() { | |
| 128 | var done = false; | |
| 129 | ||
| 130 | var job = { | |
| 131 | type : 'jmeadow s-cda-docu ment-conve rsion', | |
| 132 | requ estStampTi me: '20150 103120000' , | |
| 133 | data Domain: 'd ischargeSu mmary', | |
| 134 | pati entIdentif ier: { | |
| 135 | type: 'pid ', | |
| 136 | value: 'DO D;00000003 ' | |
| 137 | }, | |
| 138 | reco rd: sample VprDischar geSummary | |
| 139 | }; | |
| 140 | ||
| 141 | var envi ronment = { | |
| 142 | publ isherRoute r: { | |
| 143 | publish: f unction(jo b, callbac k) { | |
| 144 | callba ck(); | |
| 145 | } | |
| 146 | } | |
| 147 | }; | |
| 148 | ||
| 149 | spyOn(en vironment. publisherR outer, 'pu blish').an dCallThrou gh(); | |
| 150 | ||
| 151 | runs(fun ction() { | |
| 152 | hand le(log, co nfig, envi ronment, j ob, functi on() { | |
| 153 | expect(env ironment.p ublisherRo uter.publi sh.calls). toBeTruthy (); | |
| 154 | var publis hCalls = e nvironment .publisher Router.pub lish.calls ; | |
| 155 | expect(pub lishCalls) .toBeTruth y(); | |
| 156 | expect(_.i sArray(pub lishCalls) ).toBe(tru e); | |
| 157 | expect(val (publishCa lls, 'leng th')).toEq ual(1); | |
| 158 | var result Job = val( publishCal ls, 0, 'ar gs', 0); | |
| 159 | expect(res ultJob).to BeTruthy() ; | |
| 160 | //console. log(result Job); | |
| 161 | expect(val (resultJob , 'record' , 'text', 0, 'conten t')).toEqu al(plainte xtContent) ; | |
| 162 | expect(val (resultJob , 'record' , 'dodComp lexNoteUri ')).toEqua l(expected DodComplex NoteUri); | |
| 163 | done = tru e; | |
| 164 | }); | |
| 165 | }); | |
| 166 | ||
| 167 | waitsFor (function( ) { | |
| 168 | retu rn done; | |
| 169 | }, 'Call failed to return in time.', 1 0000); | |
| 170 | }) ; | |
| 171 | ||
| 172 | it ('error in conversio n', functi on() { | |
| 173 | var done = false; | |
| 174 | ||
| 175 | var job = { | |
| 176 | type : 'jmeadow s-cda-docu ment-conve rsion', | |
| 177 | requ estStampTi me: '20150 103120000' , | |
| 178 | data Domain: 'd ischargeSu mmary', | |
| 179 | pati entIdentif ier: { | |
| 180 | type: 'pid ', | |
| 181 | value: 'DO D;00000003 ' | |
| 182 | }, | |
| 183 | reco rd: corrup tedSampleV prDischarg eSummary | |
| 184 | }; | |
| 185 | ||
| 186 | var envi ronment = { | |
| 187 | publ isherRoute r: { | |
| 188 | publish: f unction(jo b, callbac k) { | |
| 189 | callba ck(); | |
| 190 | } | |
| 191 | } | |
| 192 | }; | |
| 193 | ||
| 194 | spyOn(en vironment. publisherR outer, 'pu blish').an dCallThrou gh(); | |
| 195 | ||
| 196 | runs(fun ction() { | |
| 197 | hand le(log, co nfig, envi ronment, j ob, functi on() { | |
| 198 | expect(env ironment.p ublisherRo uter.publi sh.calls). toBeTruthy (); | |
| 199 | var publis hCalls = e nvironment .publisher Router.pub lish.calls ; | |
| 200 | expect(val (publishCa lls, 'leng th')).toEq ual(1); | |
| 201 | var result Job = val( publishCal ls, 0, 'ar gs', 0); | |
| 202 | expect(res ultJob).to BeTruthy() ; | |
| 203 | expect(val (resultJob , 'record' , 'text', 0, 'conten t')).toEqu al(placeho lderText); | |
| 204 | done = tru e; | |
| 205 | }); | |
| 206 | }); | |
| 207 | ||
| 208 | waitsFor (function( ) { | |
| 209 | retu rn done; | |
| 210 | }, 'Call failed to return in time.', 1 0000); | |
| 211 | }) ; | |
| 212 | ||
| 213 | xd escribe('j ob output test', fun ction() { | |
| 214 | var test Job = { | |
| 215 | type : 'jmeadow s-cda-docu ment-conve rsion', | |
| 216 | requ estStampTi me: '20150 103120000' , | |
| 217 | data Domain: 'd ischargeSu mmary', | |
| 218 | pati entIdentif ier: { | |
| 219 | type: 'pid ', | |
| 220 | value: 'DO D;10231928 3' | |
| 221 | }, | |
| 222 | reco rd: { | |
| 223 | referenceD ateTime: 1 3209508950 00, | |
| 224 | codes: [{ | |
| 225 | code: '28636-9', | |
| 226 | displa y: '', | |
| 227 | system : 'DOD_NCI D' | |
| 228 | }, { | |
| 229 | code: '28563-5', | |
| 230 | displa y: '', | |
| 231 | system : 'DOD_NOT ES' | |
| 232 | }], | |
| 233 | localTitle : 'Pulmona ry Nursing Follow-Up ', | |
| 234 | documentTy peName: 'I nitial Eva luation No te', | |
| 235 | author: 'D EMO USER,' , | |
| 236 | authorDisp layName: ' DEMO USER, ', | |
| 237 | status: 'c ompleted', | |
| 238 | statusName : 'complet ed', | |
| 239 | facilityNa me: 'DOD', | |
| 240 | facilityCo de: 'DOD', | |
| 241 | uid: 'urn: va:documen t:DOD:0000 1:3cc44596 8192d500d5 a2ddbf23ab 4952605f0b 0c_', | |
| 242 | pid: 'DOD; 00001', | |
| 243 | text: [{ | |
| 244 | conten t: '<?xml version=\' 1.0\' enco ding=\'UTF -8\'?><Cli nicalDocum ent xsi:sc hemaLocati on="xmlns= \'urn:hl7- org:v3\' x mlns:crs=\ 'urn:hl7-o rg:crs\' x mlns:xsi=\ 'http://ww w.w3.org/2 001/XMLSch ema-instan ce\'" xmln s="urn:hl7 -org:v3" x mlns:xsi=" http://www .w3.org/20 01/XMLSche ma-instanc e">\n <t ypeId exte nsion="POC D_HD000040 " root="2. 16.840.1.1 13883.1.3" />\n <id extension ="50402157 _201105021 13900_125" root="2.1 6.840.1.11 3883.3.42. 144.100001 .17"/>\n <code cod eSystem="2 .16.840.1. 113883.6.1 " codeSyst emName="LO INC" code= "28636-9" displayNam e=""I nitial Eva luation No te""/ >\n <tit le>Pulmona ry Nursing Follow-Up </title>\n <effect iveTime va lue="20120 829151904" />\n <co nfidential ityCode co de="N" cod eSystem="2 .16.840.1. 113883.5.2 5"/>\n < versionNum ber value= "8"/>\n <recordTar get>\n <patient Role>\n <id extension= "786724" r oot="2.16. 840.1.1138 83.3.42.12 7.125.2"/> \n <id exten sion="000- 00-1102" r oot="2.16. 840.1.1138 83.4.1"/>\ n <addr>\n <streetAdd ressLine>1 234 Cherry Blossom L ane</stree tAddressLi ne>\n <ci ty/>\n <s tate/>\n <postalCod e/>\n <co untry/>\n </ addr>\n <tel ecom use=" HP" value= "tel:"/>\n < patient>\n <name>\n <deli miter/>\n <prefi x/>\n <suffix/>\ n <giv en>BOB</gi ven>\n <family>B TEST</fami ly>\n </n ame>\n <a dministrat iveGenderC ode codeSy stem="2.16 .840.1.113 883.5.1" c ode="F"/>\ n <birthT ime value= "19450101" />\n </patie nt>\n </patient Role>\n </recordTa rget>\n <author>\n <tim e value="2 0110502114 150"/>\n <assig nedAuthor> \n <id exten sion="" ro ot="2.16.8 40.1.11388 3.3.42.127 .125.3"/>\ n <addr>\n <streetAdd ressLine>9 040 Fitzsi mmons Ave< /streetAdd ressLine>\ n <city>T acoma</cit y>\n <sta te>WA</sta te>\n <po stalCode>9 8431</post alCode>\n <country> USA</count ry>\n </addr >\n <telecom use="WP" value="tel :(253) 968 -1110"/>\n < assignedPe rson>\n < name>\n <delimit er/>\n <prefix/> \n <su ffix/>\n <given/ >\n <f amily>DEMO USER</fam ily>\n </ name>\n </as signedPers on>\n </assigne dAuthor>\n </autho r>\n <cu stodian>\n <ass ignedCusto dian>\n <rep resentedCu stodianOrg anization> \n <id ro ot="2.16.8 40.1.11388 3.3.42.127 .125.13"/> \n </represe ntedCustod ianOrganiz ation>\n </assi gnedCustod ian>\n < /custodian >\n <com ponent>\n <stru cturedBody >\n <compone nt>\n <se ction>\n <text>\ n < table>\n < col valign ="top" ali gn="center " width="1 050"/>\n < tbody>\n <tr>\n <td s tyleCode=" Bold">PULM ONARY NURS ING FOLLOW -UP NOTE</ td>\n < /tr>\n </t body>\n </tab le>\n </text>\n </section >\n </compon ent>\n <comp onent>\n <section>\ n <tex t>\n <table>\ n <col val ign="top" width="390 "/>\n <col valign="t op" width= "139"/>\n <col valig n="top" wi dth="521"/ >\n <tbody >\n <tr >\n <td styleC ode="Bold" >- POST OP ERATIVE FO LLOW UP PH ONE CALL - </td>\n <td>Ph one number </td>\n <td>80 0-555-4444 </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col w idth="49"/ >\n <col v align="top " width="1 38"/>\n <c ol valign= "top" widt h="124"/>\ n <col val ign="top" width="498 "/>\n <col valign="t op" width= "241"/>\n <tbody>\n <tr>\n <td align="cen ter"/>\n <td>D ate</td>\n <td >Time</td> \n < td>Results </td>\n <td>In itials</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n <compon ent>\n <s ection>\n <text> \n <table>\n <col valig n="top" wi dth="103"/ >\n <col v align="top " width="1 34"/>\n <c ol valign= "top" widt h="536"/>\ n <col val ign="top" width="238 "/>\n <tbo dy>\n < tr>\n <td>02Ma y</td>\n <td>0 600</td>\n <td >Left mess age</td>\n <td >DEMO</td> \n </tr >\n </tbod y>\n </table> \n </t ext>\n </ section>\n < /component >\n <compone nt>\n <se ction>\n <text>\ n < table>\n < col valign ="top" wid th="1050"/ >\n <tbody >\n <tr >\n <td styleC ode="Bold" >- ATTEMPT S TO CONTA CT PATIENT -</td>\n </tr>\n </tbody>\ n < /table>\n </text >\n </sec tion>\n </co mponent>\n < component> \n <secti on>\n <text>\n <tab le>\n <col width="91 "/>\n <col valign="t op" width= "96"/>\n < col valign ="top" wid th="124"/> \n <col va lign="top" width="49 8"/>\n <co l valign=" top" width ="241"/>\n <tbody>\n <tr>\n <td align="ce nter"/>\n <td> Date</td>\ n <t d>Time</td >\n <td>Result s</td>\n <td>I nitials</t d>\n </ tr>\n </tb ody>\n </tabl e>\n < /text>\n </section> \n </compone nt>\n <compo nent>\n < section>\n <text >\n <table>\n <col widt h="36"/>\n <col vali gn="top" w idth="40"/ >\n <col v align="top " width="1 07"/>\n <c ol valign= "top" widt h="108"/>\ n <col val ign="top" width="521 "/>\n <col valign="t op" width= "238"/>\n <tbody>\n <tr>\n <td align="cen ter"/>\n <td># 1</td>\n <td>0 2May</td>\ n <t d>0900</td >\n <td>Reache d patient and discus sed.</td>\ n <t d>DEMO</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n <compon ent>\n <s ection>\n <text> \n <table>\n <col width ="33"/>\n <col valig n="top" wi dth="195"/ >\n <col v align="top " width="8 22"/>\n <t body>\n <tr>\n <td al ign="cente r"/>\n <td>PAT IENT RESPO NSE</td>\n <td >* Additio nal Commen ts Require d For All Yes Respon ses *</td> \n </tr >\n </tbod y>\n </table> \n </t ext>\n </ section>\n < /component >\n <compone nt>\n <se ction>\n <text>\ n < table>\n < col width= "36"/>\n < col valign ="top" wid th="27"/>\ n <col val ign="top" width="42" />\n <col valign="to p" width=" 35"/>\n <c ol valign= "top" widt h="47"/>\n <col vali gn="top" w idth="863" />\n <tbod y>\n <t r>\n <td align ="center"/ >\n <td>NO</td >\n <td>[X]</t d>\n <td>YES</ td>\n <td>[ ]< /td>\n <td>Col or and amo unt  of sputum pro duced with cough</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n <compon ent>\n <s ection>\n <text> \n <table>\n <col width ="36"/>\n <col valig n="top" wi dth="27"/> \n <col va lign="top" width="42 "/>\n <col valign="t op" width= "35"/>\n < col valign ="top" wid th="47"/>\ n <col val ign="top" width="863 "/>\n <tbo dy>\n < tr>\n <td alig n="center" />\n <td>NO</t d>\n <td>[X]</ td>\n <td>YES< /td>\n <td>[ ] </td>\n <td>Un usual Pain </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col w idth="36"/ >\n <col v align="top " width="2 7"/>\n <co l valign=" top" width ="42"/>\n <col valig n="top" wi dth="35"/> \n <col va lign="top" width="47 "/>\n <col valign="t op" width= "863"/>\n <tbody>\n <tr>\n <td align="cen ter"/>\n <td>N O</td>\n <td>[ X]</td>\n <td> YES</td>\n <td >[ ]</td>\ n <t d>Fever</t d>\n </ tr>\n </tb ody>\n </tabl e>\n < /text>\n </section> \n </compone nt>\n <compo nent>\n < section>\n <text >\n <table>\n <col widt h="36"/>\n <col vali gn="top" w idth="27"/ >\n <col v align="top " width="4 2"/>\n <co l valign=" top" width ="35"/>\n <col valig n="top" wi dth="47"/> \n <col va lign="top" width="86 3"/>\n <tb ody>\n <tr>\n <td ali gn="center "/>\n <td>NO</ td>\n <td>[ ]< /td>\n <td>YES </td>\n <td>[X ]</td>\n <td>O ther Probl ems:</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol valign= "top" widt h="1014"/> \n <tbody> \n <tr> \n < td>A littl e tired to day.</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n <componen t>\n <sec tion>\n <text>\n <t able>\n <c ol valign= "top" widt h="1014"/> \n <tbody> \n <tr> \n < td>Patient / Signifi cant Other communica tes knowle dge of and understan ds follow- up instruc tions.</td >\n </t r>\n </tbo dy>\n </table >\n </ text>\n < /section>\ n </componen t>\n <compon ent>\n <s ection>\n <text> \n <table>\n <col valig n="top" wi dth="251"/ >\n <col v align="top " width="7 99"/>\n <t body>\n <tr>\n <td st yleCode="B old">Patie nt\'s cond ition:</td >\n <td>Good</ td>\n < /tr>\n </t body>\n </tab le>\n </text>\n </section >\n </compon ent>\n <comp onent>\n <section>\ n <tex t>\n <table>\ n <col val ign="top" width="251 "/>\n <col valign="t op" width= "799"/>\n <tbody>\n <tr>\n <td styleCode= "Bold">Add itional in formation< /td>\n <td/>\n </tr>\ n </tbody> \n </table>\n </tex t>\n </se ction>\n </c omponent>\ n <component >\n <sect ion>\n <text>\n <ta ble>\n <co l valign=" top" width ="1050"/>\ n <tbody>\ n <tr>\ n <t d styleCod e="Bold">S ignature o f Nurse/Ph ysician: S ee above e lectronic signature. </td>\n </tr>\n < /tbody>\n </t able>\n </text>\ n </secti on>\n </comp onent>\n <co mponent>\n <section >\n <t ext>\n <table >\n <col w idth="1"/> \n <col va lign="top" width="10 49"/>\n <t body>\n <tr>\n <td al ign="cente r"/>\n <td>SF 509 - E - Progress N otes</td>\ n </tr> \n </tbody >\n </table>\ n </te xt>\n </s ection>\n </ component> \n </ structured Body>\n </componen t>\n</Clin icalDocume nt>', | |
| 245 | dateTi me: 132095 0895000, | |
| 246 | status : 'complet ed', | |
| 247 | uid: ' urn:va:doc ument:DOD: 00001:3cc4 45968192d5 00d5a2ddbf 23ab495260 5f0b0c_' | |
| 248 | }], | |
| 249 | dodComplex NoteUri: n ull | |
| 250 | } | |
| 251 | }; | |
| 252 | ||
| 253 | var test Config = r equire(glo bal.VX_INT TESTS + 't est-config '); | |
| 254 | var vx_s ync_ip = t estConfig. vxsyncIP; | |
| 255 | ||
| 256 | var host = vx_sync _ip; | |
| 257 | var port = PORT ; | |
| 258 | var tube name = 'vx -sync-test '; | |
| 259 | ||
| 260 | var jobT ypes = [jo bUtils.rec ordEnrichm entType()] ; | |
| 261 | ||
| 262 | testHand ler(handle , log, con fig, null, host, por t, tubenam e, testJob , jobTypes ); | |
| 263 | }) ; | |
| 264 | }); | |
| 265 | ||
| 266 | afterE ach(functi on() { | |
| 267 | fs Util.delet eAllFiles( config.doc umentStora ge.publish .path); | |
| 268 | }); | |
| 269 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.