Produced by Araxis Merge on 4/5/2017 4:22:10 PM 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 | C:\working_scrub\Unredacted\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\SpecProcessor\src\test\resources\NewStyleSheets\nhin | detailCommon.xsl | Fri Feb 10 15:41:44 2017 UTC |
| 2 | eHX-CIF.zip\eHX-CIF\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\SpecProcessor\src\test\resources\NewStyleSheets\nhin | detailCommon.xsl | Mon Apr 3 14:39:46 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 7 | 3324 |
| Changed | 6 | 12 |
| 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 | <?xml | |
| 2 | version="1 .0" | |
| 3 | encoding=" utf-8" | |
| 4 | ?> | |
| 5 | ||
| 6 | <xsl:style sheet | |
| 7 | version="1 .0" | |
| 8 | ||
| 9 | xmlns:n1=" urn:hl7-or g:v3" | |
| 10 | ||
| 11 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 12 | ||
| 13 | xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" | |
| 14 | > | |
| 15 | ||
| 16 | ||
| 17 | <xsl:impor t | |
| 18 | href="nhin Common.xsl " | |
| 19 | /> | |
| 20 | ||
| 21 | <xsl:impor t | |
| 22 | href="../C ommon.xsl" | |
| 23 | /> | |
| 24 | ||
| 25 | ||
| 26 | <xsl:varia ble | |
| 27 | name="snom edCode" | |
| 28 | > | |
| 29 | 2.16.840.1 .113883.6. 96 | |
| 30 | </xsl:vari able> | |
| 31 | ||
| 32 | <xsl:varia ble | |
| 33 | name="snom edProblemC ode" | |
| 34 | > | |
| 35 | 55607006 | |
| 36 | </xsl:vari able> | |
| 37 | ||
| 38 | <xsl:varia ble | |
| 39 | name="snom edProblemC ode2" | |
| 40 | > | |
| 41 | 404684003 | |
| 42 | </xsl:vari able> | |
| 43 | ||
| 44 | <xsl:varia ble | |
| 45 | name="snom edProblemC ode3" | |
| 46 | > | |
| 47 | 418799008 | |
| 48 | </xsl:vari able> | |
| 49 | ||
| 50 | <xsl:varia ble | |
| 51 | name="snom edAllergyC ode" | |
| 52 | > | |
| 53 | 416098002 | |
| 54 | </xsl:vari able> | |
| 55 | ||
| 56 | ||
| 57 | <xsl:varia ble | |
| 58 | name="loin cCode" | |
| 59 | > | |
| 60 | 2.16.840.1 .113883.6. 1 | |
| 61 | </xsl:vari able> | |
| 62 | ||
| 63 | <xsl:varia ble | |
| 64 | name="loin cProblemCo de" | |
| 65 | > | |
| 66 | 11450-4 | |
| 67 | </xsl:vari able> | |
| 68 | ||
| 69 | <xsl:varia ble | |
| 70 | name="loin cAllergyCo de" | |
| 71 | > | |
| 72 | 48765-2 | |
| 73 | </xsl:vari able> | |
| 74 | ||
| 75 | <xsl:varia ble | |
| 76 | name="loin cMedCode" | |
| 77 | > | |
| 78 | 10160-0 | |
| 79 | </xsl:vari able> | |
| 80 | ||
| 81 | <xsl:varia ble | |
| 82 | name="loin cEncounter Code" | |
| 83 | > | |
| 84 | 46240-8 | |
| 85 | </xsl:vari able> | |
| 86 | ||
| 87 | <xsl:varia ble | |
| 88 | name="loin cResultsCo de" | |
| 89 | > | |
| 90 | 30954-2 | |
| 91 | </xsl:vari able> | |
| 92 | ||
| 93 | <xsl:varia ble | |
| 94 | name="loin cProcedure sCode" | |
| 95 | > | |
| 96 | 47519-4 | |
| 97 | </xsl:vari able> | |
| 98 | ||
| 99 | <xsl:varia ble | |
| 100 | name="loin cImmunizat ionsCode" | |
| 101 | > | |
| 102 | 11369-6 | |
| 103 | </xsl:vari able> | |
| 104 | ||
| 105 | <xsl:varia ble | |
| 106 | name="loin cVitalsCod e" | |
| 107 | > | |
| 108 | 8716-3 | |
| 109 | </xsl:vari able> | |
| 110 | ||
| 111 | <xsl:varia ble | |
| 112 | name="loin cAdvDirect ivesCode" | |
| 113 | > | |
| 114 | 42348-3 | |
| 115 | </xsl:vari able> | |
| 116 | ||
| 117 | <xsl:varia ble | |
| 118 | name="loin cPaymentSo urcesCode" | |
| 119 | > | |
| 120 | 48768-6 | |
| 121 | </xsl:vari able> | |
| 122 | ||
| 123 | <xsl:varia ble | |
| 124 | name="loin cPlanOfCar eCode" | |
| 125 | > | |
| 126 | 18776-5 | |
| 127 | </xsl:vari able> | |
| 128 | ||
| 129 | ||
| 130 | <!-- vital s --> | |
| 131 | ||
| 132 | <xsl:varia ble | |
| 133 | name="loin cTemperatu re" | |
| 134 | > | |
| 135 | 8310-5 | |
| 136 | </xsl:vari able> | |
| 137 | ||
| 138 | <xsl:varia ble | |
| 139 | name="loin cHeight" | |
| 140 | > | |
| 141 | 8302-2 | |
| 142 | </xsl:vari able> | |
| 143 | ||
| 144 | <xsl:varia ble | |
| 145 | name="loin cWeight" | |
| 146 | > | |
| 147 | 3141-9 | |
| 148 | </xsl:vari able> | |
| 149 | ||
| 150 | <xsl:varia ble | |
| 151 | name="loin cPulse" | |
| 152 | > | |
| 153 | 8867-4 | |
| 154 | </xsl:vari able> | |
| 155 | ||
| 156 | <xsl:varia ble | |
| 157 | name="loin cRespirati on" | |
| 158 | > | |
| 159 | 9279-1 | |
| 160 | </xsl:vari able> | |
| 161 | ||
| 162 | <xsl:varia ble | |
| 163 | name="loin cPulseOxim etry" | |
| 164 | > | |
| 165 | 2710-2 | |
| 166 | </xsl:vari able> | |
| 167 | ||
| 168 | <xsl:varia ble | |
| 169 | name="loin cBloodGluc ose" | |
| 170 | > | |
| 171 | 2339-0 | |
| 172 | </xsl:vari able> | |
| 173 | ||
| 174 | <xsl:varia ble | |
| 175 | name="loin cBloodPres sure" | |
| 176 | > | |
| 177 | 55284-4 | |
| 178 | </xsl:vari able> | |
| 179 | ||
| 180 | <xsl:varia ble | |
| 181 | name="loin cBmi1" | |
| 182 | > | |
| 183 | 39156-5 | |
| 184 | </xsl:vari able> | |
| 185 | ||
| 186 | <xsl:varia ble | |
| 187 | name="loin cBmi2" | |
| 188 | > | |
| 189 | 41909-3 | |
| 190 | </xsl:vari able> | |
| 191 | ||
| 192 | <xsl:varia ble | |
| 193 | name="loin cCentralVe nousPressu re" | |
| 194 | > | |
| 195 | 8591-0 | |
| 196 | </xsl:vari able> | |
| 197 | ||
| 198 | <xsl:varia ble | |
| 199 | name="loin cCircGirth " | |
| 200 | > | |
| 201 | 8280-0 | |
| 202 | </xsl:vari able> | |
| 203 | ||
| 204 | <xsl:varia ble | |
| 205 | name="loin cFlowRate" | |
| 206 | > | |
| 207 | 3151-8 | |
| 208 | </xsl:vari able> | |
| 209 | ||
| 210 | <xsl:varia ble | |
| 211 | name="loin cO2Concent ration" | |
| 212 | > | |
| 213 | 3150-0 | |
| 214 | </xsl:vari able> | |
| 215 | ||
| 216 | <xsl:varia ble | |
| 217 | name="loin cPain" | |
| 218 | > | |
| 219 | 32419-4 | |
| 220 | </xsl:vari able> | |
| 221 | ||
| 222 | <xsl:varia ble | |
| 223 | name="loin cBpSystoli c" | |
| 224 | > | |
| 225 | 8480-6 | |
| 226 | </xsl:vari able> | |
| 227 | ||
| 228 | <xsl:varia ble | |
| 229 | name="loin cBpDiastol ic" | |
| 230 | > | |
| 231 | 8462-4 | |
| 232 | </xsl:vari able> | |
| 233 | ||
| 234 | <xsl:varia ble | |
| 235 | name="loin cBodyHtLyi ng" | |
| 236 | > | |
| 237 | 8306-3 | |
| 238 | </xsl:vari able> | |
| 239 | ||
| 240 | <xsl:varia ble | |
| 241 | name="loin cOCF" | |
| 242 | > | |
| 243 | 8287-5 | |
| 244 | </xsl:vari able> | |
| 245 | ||
| 246 | <xsl:varia ble | |
| 247 | name="loin cWeight2" | |
| 248 | > | |
| 249 | 29463-7 | |
| 250 | </xsl:vari able> | |
| 251 | ||
| 252 | ||
| 253 | <xsl:varia ble | |
| 254 | name="vita lsTemplate Code" | |
| 255 | > | |
| 256 | 2.16.840.1 .113883. IP | |
| 257 | </xsl:vari able> | |
| 258 | ||
| 259 | <xsl:varia ble | |
| 260 | name="labs TemplateCo de" | |
| 261 | > | |
| 262 | 2.16.840.1 .113883. IP | |
| 263 | </xsl:vari able> | |
| 264 | ||
| 265 | <xsl:varia ble | |
| 266 | name="immu nizationsT emplateCod e" | |
| 267 | > | |
| 268 | 2.16.840.1 .113883. IP | |
| 269 | </xsl:vari able> | |
| 270 | ||
| 271 | <xsl:varia ble | |
| 272 | name="alle rgyTemplat eCode" | |
| 273 | > | |
| 274 | 2.16.840.1 .113883. IP | |
| 275 | </xsl:vari able> | |
| 276 | ||
| 277 | <xsl:varia ble | |
| 278 | name="prob lemTemplat eCode" | |
| 279 | > | |
| 280 | 2.16.840.1 .113883. IP | |
| 281 | </xsl:vari able> | |
| 282 | ||
| 283 | <xsl:varia ble | |
| 284 | name="plan OfCareTemp lateCode" | |
| 285 | > | |
| 286 | 2.16.840.1 .113883. IP | |
| 287 | </xsl:vari able> | |
| 288 | ||
| 289 | ||
| 290 | <!-- Narra tive Block IDs --> | |
| 291 | ||
| 292 | <xsl:varia ble | |
| 293 | name="alle rgiesComme ntTableId" | |
| 294 | > | |
| 295 | _nbAllergy Comments | |
| 296 | </xsl:vari able> | |
| 297 | ||
| 298 | <xsl:varia ble | |
| 299 | name="alle rgiesTable Id" | |
| 300 | > | |
| 301 | _nbAllergy | |
| 302 | </xsl:vari able> | |
| 303 | ||
| 304 | <xsl:varia ble | |
| 305 | name="alle rgiesTable ConsolId" | |
| 306 | > | |
| 307 | _nbAllergy Consol | |
| 308 | </xsl:vari able> | |
| 309 | ||
| 310 | <xsl:varia ble | |
| 311 | name="prob lemsCommen tsTableId" | |
| 312 | > | |
| 313 | _nbConditi onProblems Comments | |
| 314 | </xsl:vari able> | |
| 315 | ||
| 316 | <xsl:varia ble | |
| 317 | name="prob lemsTableI d" | |
| 318 | > | |
| 319 | _nbConditi onProblems | |
| 320 | </xsl:vari able> | |
| 321 | ||
| 322 | <xsl:varia ble | |
| 323 | name="medi cationsCom mentsTable Id" | |
| 324 | > | |
| 325 | _nbMedicat ionsCommen ts | |
| 326 | </xsl:vari able> | |
| 327 | ||
| 328 | <xsl:varia ble | |
| 329 | name="medi cationsTab leId" | |
| 330 | > | |
| 331 | _nbMedicat ions | |
| 332 | </xsl:vari able> | |
| 333 | ||
| 334 | <xsl:varia ble | |
| 335 | name="vita lSignsComm entsTableI d" | |
| 336 | > | |
| 337 | _nbVitalSi gnsComment s | |
| 338 | </xsl:vari able> | |
| 339 | ||
| 340 | <xsl:varia ble | |
| 341 | name="vita lSignsTabl eId" | |
| 342 | > | |
| 343 | _nbVitalSi gns | |
| 344 | </xsl:vari able> | |
| 345 | ||
| 346 | <xsl:varia ble | |
| 347 | name="proc eduresComm entsTableI d" | |
| 348 | > | |
| 349 | _nbProcedu resComment s | |
| 350 | </xsl:vari able> | |
| 351 | ||
| 352 | <xsl:varia ble | |
| 353 | name="proc eduresTabl eId" | |
| 354 | > | |
| 355 | _nbProcedu res | |
| 356 | </xsl:vari able> | |
| 357 | ||
| 358 | <xsl:varia ble | |
| 359 | name="enco untersComm entsTableI d" | |
| 360 | > | |
| 361 | _nbEncount erComments | |
| 362 | </xsl:vari able> | |
| 363 | ||
| 364 | <xsl:varia ble | |
| 365 | name="enco untersTabl eId" | |
| 366 | > | |
| 367 | _nbEncount er | |
| 368 | </xsl:vari able> | |
| 369 | ||
| 370 | <xsl:varia ble | |
| 371 | name="immu nizationsC ommentsTab leId" | |
| 372 | > | |
| 373 | _nbImmuniz ationComme nts | |
| 374 | </xsl:vari able> | |
| 375 | ||
| 376 | <xsl:varia ble | |
| 377 | name="immu nizationsT ableId" | |
| 378 | > | |
| 379 | _nbImmuniz ation | |
| 380 | </xsl:vari able> | |
| 381 | ||
| 382 | <xsl:varia ble | |
| 383 | name="advD irectivesC ommentsTab leId" | |
| 384 | > | |
| 385 | _nbAdvDire ctiveComme nts | |
| 386 | </xsl:vari able> | |
| 387 | ||
| 388 | <xsl:varia ble | |
| 389 | name="advD irectivesT ableId" | |
| 390 | > | |
| 391 | _nbAdvDire ctive | |
| 392 | </xsl:vari able> | |
| 393 | ||
| 394 | <xsl:varia ble | |
| 395 | name="paye rCommentsT ableId" | |
| 396 | > | |
| 397 | _nbPayerCo mments | |
| 398 | </xsl:vari able> | |
| 399 | ||
| 400 | <xsl:varia ble | |
| 401 | name="paye rTableId" | |
| 402 | > | |
| 403 | _nbPayer | |
| 404 | </xsl:vari able> | |
| 405 | ||
| 406 | <xsl:varia ble | |
| 407 | name="resu ltsDivId" | |
| 408 | > | |
| 409 | _nbResults Section | |
| 410 | </xsl:vari able> | |
| 411 | ||
| 412 | <xsl:varia ble | |
| 413 | name="resu ltsComment sTableId" | |
| 414 | > | |
| 415 | _nbResults Comments | |
| 416 | </xsl:vari able> | |
| 417 | ||
| 418 | <xsl:varia ble | |
| 419 | name="resu ltsTableId " | |
| 420 | > | |
| 421 | _nbResults | |
| 422 | </xsl:vari able> | |
| 423 | ||
| 424 | <xsl:varia ble | |
| 425 | name="plan OfCareDivI d" | |
| 426 | > | |
| 427 | _nbPlanOfC are | |
| 428 | </xsl:vari able> | |
| 429 | ||
| 430 | <xsl:varia ble | |
| 431 | name="plan OfCareComm entsTableI d" | |
| 432 | > | |
| 433 | _nbPlanOfC areComment s | |
| 434 | </xsl:vari able> | |
| 435 | ||
| 436 | <xsl:varia ble | |
| 437 | name="futu reEncounte rsDivId" | |
| 438 | > | |
| 439 | _nbFutureE ncoutersSe ction | |
| 440 | </xsl:vari able> | |
| 441 | ||
| 442 | <xsl:varia ble | |
| 443 | name="futu reEncounte rsTableId" | |
| 444 | > | |
| 445 | _nbFutureE ncounters | |
| 446 | </xsl:vari able> | |
| 447 | ||
| 448 | <xsl:varia ble | |
| 449 | name="futu reSupplyDi vId" | |
| 450 | > | |
| 451 | _nbFutureS upplySecti on | |
| 452 | </xsl:vari able> | |
| 453 | ||
| 454 | <xsl:varia ble | |
| 455 | name="futu reSupplyTa bleId" | |
| 456 | > | |
| 457 | _nbFutureS upply | |
| 458 | </xsl:vari able> | |
| 459 | ||
| 460 | <xsl:varia ble | |
| 461 | name="futu reActDivId " | |
| 462 | > | |
| 463 | _nbFutureA ctSection | |
| 464 | </xsl:vari able> | |
| 465 | ||
| 466 | <xsl:varia ble | |
| 467 | name="futu reActTable Id" | |
| 468 | > | |
| 469 | _nbFutureA ct | |
| 470 | </xsl:vari able> | |
| 471 | ||
| 472 | <xsl:varia ble | |
| 473 | name="futu reProcedur eDivId" | |
| 474 | > | |
| 475 | _nbFutureP rocedureSe ction | |
| 476 | </xsl:vari able> | |
| 477 | ||
| 478 | <xsl:varia ble | |
| 479 | name="futu reProcedur eTableId" | |
| 480 | > | |
| 481 | _nbFutureP rocedure | |
| 482 | </xsl:vari able> | |
| 483 | ||
| 484 | <xsl:varia ble | |
| 485 | name="futu reSubstanc eDivId" | |
| 486 | > | |
| 487 | _nbFutureS ubstanceSe ction | |
| 488 | </xsl:vari able> | |
| 489 | ||
| 490 | <xsl:varia ble | |
| 491 | name="futu reSubstanc eTableId" | |
| 492 | > | |
| 493 | _nbFutureS ubstance | |
| 494 | </xsl:vari able> | |
| 495 | ||
| 496 | <xsl:varia ble | |
| 497 | name="futu reObservat ionDivId" | |
| 498 | > | |
| 499 | _nbFutureO bservation Section | |
| 500 | </xsl:vari able> | |
| 501 | ||
| 502 | <xsl:varia ble | |
| 503 | name="futu reObservat ionTableId " | |
| 504 | > | |
| 505 | _nbFutureO bservation | |
| 506 | </xsl:vari able> | |
| 507 | ||
| 508 | ||
| 509 | <xsl:varia ble | |
| 510 | name="row" | |
| 511 | > | |
| 512 | "ClinicalD ocument/" | |
| 513 | </xsl:vari able> | |
| 514 | ||
| 515 | ||
| 516 | <xsl:varia ble | |
| 517 | name="titl e" | |
| 518 | > | |
| 519 | ||
| 520 | <xsl:choos e> | |
| 521 | ||
| 522 | <xsl:when | |
| 523 | test="stri ng-length( /n1:Clinic alDocument /n1:title) =0" | |
| 524 | > | |
| 525 | ||
| 526 | <xsl:text> | |
| 527 | Clinical D ocument | |
| 528 | </xsl:text > | |
| 529 | ||
| 530 | </xsl:when > | |
| 531 | ||
| 532 | <xsl:when | |
| 533 | test="/n1: ClinicalDo cument/n1: title" | |
| 534 | > | |
| 535 | ||
| 536 | <xsl:value -of | |
| 537 | select="/n 1:Clinical Document/n 1:title" | |
| 538 | /> | |
| 539 | ||
| 540 | </xsl:when > | |
| 541 | ||
| 542 | </xsl:choo se> | |
| 543 | ||
| 544 | </xsl:vari able> | |
| 545 | ||
| 546 | ||
| 547 | <xsl:templ ate | |
| 548 | name="faci lityName" | |
| 549 | > | |
| 550 | ||
| 551 | <xsl:value -of | |
| 552 | select="/n 1:Clinical Document/n 1:author/n 1:assigned Author/n1: represente dOrganizat ion/n1:nam e" | |
| 553 | /> | |
| 554 | ||
| 555 | </xsl:temp late> | |
| 556 | ||
| 557 | ||
| 558 | <xsl:templ ate | |
| 559 | name="getL ocationNam e" | |
| 560 | > | |
| 561 | ||
| 562 | <xsl:param | |
| 563 | name="orga nizer" | |
| 564 | /> | |
| 565 | ||
| 566 | <xsl:choos e> | |
| 567 | ||
| 568 | <xsl:when | |
| 569 | test="$org anizer/n1: author/n1: assignedAu thor/n1:re presentedO rganizatio n/n1:name" | |
| 570 | > | |
| 571 | ||
| 572 | <xsl:value -of | |
| 573 | select="$o rganizer/n 1:author/n 1:assigned Author/n1: represente dOrganizat ion/n1:nam e" | |
| 574 | /> | |
| 575 | ||
| 576 | </xsl:when > | |
| 577 | ||
| 578 | <xsl:when | |
| 579 | test="$org anizer/n1: performer/ n1:assigne dEntity/n1 :represent edOrganiza tion/n1:na me" | |
| 580 | > | |
| 581 | ||
| 582 | <xsl:value -of | |
| 583 | select="$o rganizer/n 1:performe r/n1:assig nedEntity/ n1:represe ntedOrgani zation/n1: name" | |
| 584 | /> | |
| 585 | ||
| 586 | </xsl:when > | |
| 587 | ||
| 588 | </xsl:choo se> | |
| 589 | ||
| 590 | </xsl:temp late> | |
| 591 | ||
| 592 | ||
| 593 | <!-- Medic ations --> | |
| 594 | ||
| 595 | ||
| 596 | <xsl:templ ate | |
| 597 | name="medS tatus" | |
| 598 | > | |
| 599 | ||
| 600 | <xsl:param | |
| 601 | name="subs tanceAdmin " | |
| 602 | /> | |
| 603 | ||
| 604 | <xsl:varia ble | |
| 605 | name="stat us" | |
| 606 | > | |
| 607 | ||
| 608 | <xsl:call- template | |
| 609 | name="getM edStatusSt ring" | |
| 610 | > | |
| 611 | ||
| 612 | <xsl:with- param | |
| 613 | name="subs tanceAdmin " | |
| 614 | select="$s ubstanceAd min" | |
| 615 | /> | |
| 616 | ||
| 617 | </xsl:call -template> | |
| 618 | ||
| 619 | </xsl:vari able> | |
| 620 | ||
| 621 | <xsl:choos e> | |
| 622 | ||
| 623 | <xsl:when | |
| 624 | test="stri ng-length( $status)&g t;0" | |
| 625 | > | |
| 626 | ||
| 627 | <xsl:value -of | |
| 628 | select="$s tatus" | |
| 629 | /> | |
| 630 | ||
| 631 | </xsl:when > | |
| 632 | ||
| 633 | <xsl:other wise> | |
| 634 | ||
| 635 | <xsl:call- template | |
| 636 | name="na" | |
| 637 | /> | |
| 638 | ||
| 639 | </xsl:othe rwise> | |
| 640 | ||
| 641 | </xsl:choo se> | |
| 642 | ||
| 643 | </xsl:temp late> | |
| 644 | ||
| 645 | ||
| 646 | <xsl:templ ate | |
| 647 | name="medQ uantity" | |
| 648 | > | |
| 649 | ||
| 650 | <xsl:param | |
| 651 | name="subs tanceAdmin " | |
| 652 | /> | |
| 653 | ||
| 654 | <xsl:varia ble | |
| 655 | name="qtyS tring" | |
| 656 | > | |
| 657 | ||
| 658 | <xsl:call- template | |
| 659 | name="getM edQuantity String" | |
| 660 | > | |
| 661 | ||
| 662 | <xsl:with- param | |
| 663 | name="subs tanceAdmin " | |
| 664 | select="$s ubstanceAd min" | |
| 665 | /> | |
| 666 | ||
| 667 | </xsl:call -template> | |
| 668 | ||
| 669 | </xsl:vari able> | |
| 670 | ||
| 671 | <xsl:choos e> | |
| 672 | ||
| 673 | <xsl:when | |
| 674 | test="stri ng-length( $qtyString )>0" | |
| 675 | > | |
| 676 | ||
| 677 | <xsl:value -of | |
| 678 | select="$q tyString" | |
| 679 | /> | |
| 680 | ||
| 681 | </xsl:when > | |
| 682 | ||
| 683 | <xsl:other wise> | |
| 684 | ||
| 685 | <xsl:call- template | |
| 686 | name="na" | |
| 687 | /> | |
| 688 | ||
| 689 | </xsl:othe rwise> | |
| 690 | ||
| 691 | </xsl:choo se> | |
| 692 | ||
| 693 | </xsl:temp late> | |
| 694 | ||
| 695 | ||
| 696 | <xsl:templ ate | |
| 697 | name="medB egintime" | |
| 698 | > | |
| 699 | ||
| 700 | <xsl:param | |
| 701 | name="row" | |
| 702 | /> | |
| 703 | ||
| 704 | <xsl:varia ble | |
| 705 | name="medB eginString " | |
| 706 | > | |
| 707 | ||
| 708 | <xsl:call- template | |
| 709 | name="medD ateBeginSt ring" | |
| 710 | > | |
| 711 | ||
| 712 | <xsl:with- param | |
| 713 | name="subs tanceAdmin " | |
| 714 | select="$r ow/n1:subs tanceAdmin istration" | |
| 715 | /> | |
| 716 | ||
| 717 | </xsl:call -template> | |
| 718 | ||
| 719 | </xsl:vari able> | |
| 720 | ||
| 721 | <xsl:choos e> | |
| 722 | ||
| 723 | <xsl:when | |
| 724 | test="stri ng-length( $medBeginS tring)> 1" | |
| 725 | > | |
| 726 | ||
| 727 | <xsl:call- template | |
| 728 | name="form atDateShor t" | |
| 729 | > | |
| 730 | ||
| 731 | <xsl:with- param | |
| 732 | name="date String" | |
| 733 | select="$m edBeginStr ing" | |
| 734 | /> | |
| 735 | ||
| 736 | </xsl:call -template> | |
| 737 | ||
| 738 | </xsl:when > | |
| 739 | ||
| 740 | <xsl:other wise> | |
| 741 | ||
| 742 | <xsl:call- template | |
| 743 | name="na" | |
| 744 | /> | |
| 745 | ||
| 746 | </xsl:othe rwise> | |
| 747 | ||
| 748 | </xsl:choo se> | |
| 749 | ||
| 750 | </xsl:temp late> | |
| 751 | ||
| 752 | ||
| 753 | <xsl:templ ate | |
| 754 | name="medE xpiretime" | |
| 755 | > | |
| 756 | ||
| 757 | <xsl:param | |
| 758 | name="subs tanceAdmin " | |
| 759 | /> | |
| 760 | ||
| 761 | <xsl:varia ble | |
| 762 | name="medE xpireStrin g" | |
| 763 | > | |
| 764 | ||
| 765 | <xsl:call- template | |
| 766 | name="medE xpireDateS tring" | |
| 767 | > | |
| 768 | ||
| 769 | <xsl:with- param | |
| 770 | name="subs tanceAdmin " | |
| 771 | select="$s ubstanceAd min" | |
| 772 | /> | |
| 773 | ||
| 774 | </xsl:call -template> | |
| 775 | ||
| 776 | </xsl:vari able> | |
| 777 | ||
| 778 | <xsl:choos e> | |
| 779 | ||
| 780 | <xsl:when | |
| 781 | test="stri ng-length( $medExpire String)>1" | |
| 782 | > | |
| 783 | ||
| 784 | <xsl:call- template | |
| 785 | name="form atDateShor t" | |
| 786 | > | |
| 787 | ||
| 788 | <xsl:with- param | |
| 789 | name="date String" | |
| 790 | select="$m edExpireSt ring" | |
| 791 | /> | |
| 792 | ||
| 793 | </xsl:call -template> | |
| 794 | ||
| 795 | </xsl:when > | |
| 796 | ||
| 797 | <xsl:other wise> | |
| 798 | ||
| 799 | <xsl:call- template | |
| 800 | name="na" | |
| 801 | /> | |
| 802 | ||
| 803 | </xsl:othe rwise> | |
| 804 | ||
| 805 | </xsl:choo se> | |
| 806 | ||
| 807 | </xsl:temp late> | |
| 808 | ||
| 809 | ||
| 810 | <!-- Probl ems --> | |
| 811 | ||
| 812 | ||
| 813 | <xsl:templ ate | |
| 814 | name="prob Status" | |
| 815 | > | |
| 816 | ||
| 817 | <xsl:param | |
| 818 | name="row" | |
| 819 | /> | |
| 820 | ||
| 821 | <xsl:choos e> | |
| 822 | ||
| 823 | <xsl:when | |
| 824 | test="$row /n1:act/n1 :entryRela tionship [ @typeCode= 'SUBJ']/n1 :observati on [@moodC ode='EVN'] [@classCo de='OBS']/ n1:statusC ode/@code" | |
| 825 | > | |
| 826 | ||
| 827 | <xsl:value -of | |
| 828 | select="$r ow/n1:act/ n1:entryRe lationship [@typeCod e='SUBJ']/ n1:observa tion [@moo dCode='EVN '] [@class Code='OBS' ]/n1:statu sCode/@cod e" | |
| 829 | /> | |
| 830 | ||
| 831 | </xsl:when > | |
| 832 | ||
| 833 | <xsl:when | |
| 834 | test="$row /n1:act/n1 :entryRela tionship[@ typeCode=' SUBJ']/n1: observatio n/n1:entry Relationsh ip[@typeCo de='REFR'] /n1:observ ation/n1:v alue/@disp layName" | |
| 835 | > | |
| 836 | ||
| 837 | <xsl:value -of | |
| 838 | select="$r ow/n1:act/ n1:entryRe lationship [@typeCode ='SUBJ']/n 1:observat ion/n1:ent ryRelation ship[@type Code='REFR ']/n1:obse rvation/n1 :value/@di splayName" | |
| 839 | /> | |
| 840 | ||
| 841 | </xsl:when > | |
| 842 | ||
| 843 | <xsl:when | |
| 844 | test="$row /n1:act/n1 :entryRela tionship[@ typeCode=' REFR']/n1: observatio n/n1:value /@displayN ame" | |
| 845 | > | |
| 846 | ||
| 847 | <xsl:value -of | |
| 848 | select="$r ow/n1:act/ n1:entryRe lationship [@typeCode ='REFR']/n 1:observat ion/n1:val ue/@displa yName" | |
| 849 | /> | |
| 850 | ||
| 851 | </xsl:when > | |
| 852 | ||
| 853 | <xsl:when | |
| 854 | test="$row /n1:act/n1 :entryRela tionship[@ typeCode=' SUBJ']/n1: observatio n/n1:value /@displayN ame" | |
| 855 | > | |
| 856 | ||
| 857 | <xsl:value -of | |
| 858 | select="$r ow/n1:act/ n1:entryRe lationship [@typeCode ='SUBJ']/n 1:observat ion/n1:val ue/@displa yName" | |
| 859 | /> | |
| 860 | ||
| 861 | </xsl:when > | |
| 862 | ||
| 863 | <xsl:when | |
| 864 | test="$row /n1:act/n1 :entryRela tionship[@ typeCode=' SUBJ']/n1: observatio n/n1:statu sCode/@cod e" | |
| 865 | > | |
| 866 | ||
| 867 | <xsl:value -of | |
| 868 | select="$r ow/n1:act/ n1:entryRe lationship [@typeCode ='SUBJ']/n 1:observat ion/n1:sta tusCode/@c ode" | |
| 869 | /> | |
| 870 | ||
| 871 | </xsl:when > | |
| 872 | ||
| 873 | <xsl:other wise> | |
| 874 | ||
| 875 | <xsl:call- template | |
| 876 | name="na" | |
| 877 | /> | |
| 878 | ||
| 879 | </xsl:othe rwise> | |
| 880 | ||
| 881 | </xsl:choo se> | |
| 882 | ||
| 883 | </xsl:temp late> | |
| 884 | ||
| 885 | ||
| 886 | <xsl:templ ate | |
| 887 | name="prob Date" | |
| 888 | > | |
| 889 | ||
| 890 | <xsl:param | |
| 891 | name="row" | |
| 892 | /> | |
| 893 | ||
| 894 | <xsl:varia ble | |
| 895 | name="rawD ate" | |
| 896 | > | |
| 897 | ||
| 898 | <xsl:call- template | |
| 899 | name="getP roblemOnse tDateStrin g" | |
| 900 | > | |
| 901 | ||
| 902 | <xsl:with- param | |
| 903 | name="act" | |
| 904 | select="$r ow/n1:act" | |
| 905 | /> | |
| 906 | ||
| 907 | </xsl:call -template> | |
| 908 | ||
| 909 | </xsl:vari able> | |
| 910 | ||
| 911 | <xsl:choos e> | |
| 912 | ||
| 913 | <xsl:when | |
| 914 | test="stri ng-length( $rawDate)> 1" | |
| 915 | > | |
| 916 | ||
| 917 | <xsl:call- template | |
| 918 | name="form atDateShor t" | |
| 919 | > | |
| 920 | ||
| 921 | <xsl:with- param | |
| 922 | name="date String" | |
| 923 | select="$r awDate" | |
| 924 | /> | |
| 925 | ||
| 926 | </xsl:call -template> | |
| 927 | ||
| 928 | </xsl:when > | |
| 929 | ||
| 930 | <xsl:other wise> | |
| 931 | ||
| 932 | <xsl:call- template | |
| 933 | name="na" | |
| 934 | /> | |
| 935 | ||
| 936 | </xsl:othe rwise> | |
| 937 | ||
| 938 | </xsl:choo se> | |
| 939 | ||
| 940 | </xsl:temp late> | |
| 941 | ||
| 942 | ||
| 943 | <!-- Aller gies --> | |
| 944 | ||
| 945 | ||
| 946 | <xsl:templ ate | |
| 947 | name="alle rgyType" | |
| 948 | > | |
| 949 | ||
| 950 | <xsl:param | |
| 951 | name="obse rvation" | |
| 952 | /> | |
| 953 | ||
| 954 | <xsl:choos e> | |
| 955 | ||
| 956 | <xsl:when | |
| 957 | test="$obs ervation/n 1:code/@di splayName and not ($ isKaiser)" | |
| 958 | > | |
| 959 | ||
| 960 | <xsl:value -of | |
| 961 | select="$o bservation /n1:code/@ displayNam e" | |
| 962 | /> | |
| 963 | ||
| 964 | </xsl:when > | |
| 965 | ||
| 966 | <xsl:other wise> | |
| 967 | ||
| 968 | <xsl:call- template | |
| 969 | name="na" | |
| 970 | /> | |
| 971 | ||
| 972 | </xsl:othe rwise> | |
| 973 | ||
| 974 | </xsl:choo se> | |
| 975 | ||
| 976 | </xsl:temp late> | |
| 977 | ||
| 978 | ||
| 979 | <xsl:templ ate | |
| 980 | name="getR eactionStr ing" | |
| 981 | > | |
| 982 | ||
| 983 | <xsl:param | |
| 984 | name="entr y" | |
| 985 | /> | |
| 986 | ||
| 987 | <xsl:varia ble | |
| 988 | name="path " | |
| 989 | select="$e ntry/.." | |
| 990 | /> | |
| 991 | ||
| 992 | <xsl:for-e ach | |
| 993 | select="$e ntry/n1:ac t/n1:entry Relationsh ip[@typeCo de='MFST'] " | |
| 994 | > | |
| 995 | ||
| 996 | <xsl:varia ble | |
| 997 | name="reac tionRefere nce" | |
| 998 | select="n1 :observati on/n1:text /n1:refere nce/@value " | |
| 999 | /> | |
| 1000 | ||
| 1001 | <xsl:varia ble | |
| 1002 | name="reac tionValue" | |
| 1003 | select="$p ath/n1:tex t//n1:cont ent[@ID=$r eactionRef erence]" | |
| 1004 | /> | |
| 1005 | ||
| 1006 | <xsl:varia ble | |
| 1007 | name="reac tionValue2 " | |
| 1008 | select="$p ath/n1:tex t//n1:cont ent[@ID=su bstring-af ter($react ionReferen ce,'#')]" | |
| 1009 | /> | |
| 1010 | ||
| 1011 | <xsl:if | |
| 1012 | test="stri ng-length( $reactionV alue)>1 an d not($isK aiser)" | |
| 1013 | > | |
| 1014 | ||
| 1015 | <xsl:if | |
| 1016 | test="posi tion()>1" | |
| 1017 | > | |
| 1018 | ||
| 1019 | <xsl:text> | |
| 1020 | , | |
| 1021 | </xsl:text > | |
| 1022 | ||
| 1023 | </xsl:if> | |
| 1024 | ||
| 1025 | <xsl:value -of | |
| 1026 | select="$r eactionVal ue" | |
| 1027 | /> | |
| 1028 | ||
| 1029 | </xsl:if> | |
| 1030 | ||
| 1031 | <xsl:if | |
| 1032 | test="stri ng-length( $reactionV alue2)>1" | |
| 1033 | > | |
| 1034 | ||
| 1035 | <xsl:if | |
| 1036 | test="posi tion()>1" | |
| 1037 | > | |
| 1038 | ||
| 1039 | <xsl:text> | |
| 1040 | , | |
| 1041 | </xsl:text > | |
| 1042 | ||
| 1043 | </xsl:if> | |
| 1044 | ||
| 1045 | <xsl:value -of | |
| 1046 | select="$r eactionVal ue2" | |
| 1047 | /> | |
| 1048 | ||
| 1049 | </xsl:if> | |
| 1050 | ||
| 1051 | </xsl:for- each> | |
| 1052 | ||
| 1053 | </xsl:temp late> | |
| 1054 | ||
| 1055 | ||
| 1056 | <xsl:templ ate | |
| 1057 | name="getS everityTex t" | |
| 1058 | > | |
| 1059 | ||
| 1060 | <xsl:param | |
| 1061 | name="obse rvation" | |
| 1062 | /> | |
| 1063 | ||
| 1064 | <xsl:if | |
| 1065 | test="$obs ervation" | |
| 1066 | > | |
| 1067 | ||
| 1068 | <xsl:varia ble | |
| 1069 | name="sevr Reference" | |
| 1070 | select="su bstring-af ter($obser vation/n1: entryRelat ionship/n1 :observati on/n1:entr yRelations hip/n1:obs ervation/n 1:text/n1: reference/ @value,'#' )" | |
| 1071 | /> | |
| 1072 | ||
| 1073 | <xsl:varia ble | |
| 1074 | name="seve rity" | |
| 1075 | select="$o bservation /../../../ ../n1:text //n1:conte nt[@ID=$se vrReferenc e]" | |
| 1076 | /> | |
| 1077 | ||
| 1078 | <xsl:if | |
| 1079 | test="stri ng-length( $severity) >1" | |
| 1080 | > | |
| 1081 | ||
| 1082 | <xsl:value -of | |
| 1083 | select="$s everity" | |
| 1084 | /> | |
| 1085 | ||
| 1086 | </xsl:if> | |
| 1087 | ||
| 1088 | </xsl:if> | |
| 1089 | ||
| 1090 | </xsl:temp late> | |
| 1091 | ||
| 1092 | ||
| 1093 | <xsl:templ ate | |
| 1094 | name="getC reatedOnDa te" | |
| 1095 | > | |
| 1096 | ||
| 1097 | <xsl:choos e> | |
| 1098 | ||
| 1099 | <xsl:when | |
| 1100 | test="stri ng-length( /n1:Clinic alDocument /n1:effect iveTime/@v alue)=0" | |
| 1101 | > | |
| 1102 | ||
| 1103 | <xsl:call- template | |
| 1104 | name="na" | |
| 1105 | /> | |
| 1106 | ||
| 1107 | </xsl:when > | |
| 1108 | ||
| 1109 | <xsl:when | |
| 1110 | test="star ts-with(/n 1:Clinical Document/n 1:effectiv eTime/@val ue,' ')" | |
| 1111 | > | |
| 1112 | ||
| 1113 | <xsl:call- template | |
| 1114 | name="na" | |
| 1115 | /> | |
| 1116 | ||
| 1117 | </xsl:when > | |
| 1118 | ||
| 1119 | <xsl:other wise> | |
| 1120 | ||
| 1121 | <xsl:call- template | |
| 1122 | name="form atDateLong " | |
| 1123 | > | |
| 1124 | ||
| 1125 | <xsl:with- param | |
| 1126 | name="date String" | |
| 1127 | select="/n 1:Clinical Document/n 1:effectiv eTime/@val ue" | |
| 1128 | /> | |
| 1129 | ||
| 1130 | </xsl:call -template> | |
| 1131 | ||
| 1132 | </xsl:othe rwise> | |
| 1133 | ||
| 1134 | </xsl:choo se> | |
| 1135 | ||
| 1136 | </xsl:temp late> | |
| 1137 | ||
| 1138 | ||
| 1139 | <xsl:templ ate | |
| 1140 | name="getG enderStrin g" | |
| 1141 | > | |
| 1142 | ||
| 1143 | <xsl:choos e> | |
| 1144 | ||
| 1145 | <xsl:when | |
| 1146 | test="/n1: ClinicalDo cument/n1: recordTarg et/n1:pati entRole/n1 :patient/n 1:administ rativeGend erCode/@di splayName" | |
| 1147 | > | |
| 1148 | ||
| 1149 | <xsl:value -of | |
| 1150 | select="/n 1:Clinical Document/n 1:recordTa rget/n1:pa tientRole/ n1:patient /n1:admini strativeGe nderCode/@ displayNam e" | |
| 1151 | /> | |
| 1152 | ||
| 1153 | </xsl:when > | |
| 1154 | ||
| 1155 | <xsl:when | |
| 1156 | test="/n1: ClinicalDo cument/n1: recordTarg et/n1:pati entRole/n1 :patient/n 1:administ rativeGend erCode/@co de" | |
| 1157 | > | |
| 1158 | ||
| 1159 | <xsl:value -of | |
| 1160 | select="/n 1:Clinical Document/n 1:recordTa rget/n1:pa tientRole/ n1:patient /n1:admini strativeGe nderCode/@ code" | |
| 1161 | /> | |
| 1162 | ||
| 1163 | </xsl:when > | |
| 1164 | ||
| 1165 | <xsl:other wise> | |
| 1166 | ||
| 1167 | <xsl:call- template | |
| 1168 | name="gend erString" | |
| 1169 | > | |
| 1170 | ||
| 1171 | <xsl:with- param | |
| 1172 | name="sex" | |
| 1173 | select="/n 1:Clinical Document/n 1:recordTa rget/n1:pa tientRole/ n1:patient /n1:admini strativeGe nderCode/n 1:original Text" | |
| 1174 | /> | |
| 1175 | ||
| 1176 | </xsl:call -template> | |
| 1177 | ||
| 1178 | </xsl:othe rwise> | |
| 1179 | ||
| 1180 | </xsl:choo se> | |
| 1181 | ||
| 1182 | </xsl:temp late> | |
| 1183 | ||
| 1184 | ||
| 1185 | <!-- Labs --> | |
| 1186 | ||
| 1187 | ||
| 1188 | <xsl:templ ate | |
| 1189 | name="getR esultValue _detail" | |
| 1190 | > | |
| 1191 | ||
| 1192 | <xsl:param | |
| 1193 | name="obse rvation" | |
| 1194 | /> | |
| 1195 | ||
| 1196 | <xsl:if | |
| 1197 | test="$obs ervation" | |
| 1198 | > | |
| 1199 | ||
| 1200 | <xsl:choos e> | |
| 1201 | ||
| 1202 | <xsl:when | |
| 1203 | test="$obs ervation/n 1:value/@v alue" | |
| 1204 | > | |
| 1205 | ||
| 1206 | <xsl:value -of | |
| 1207 | select="$o bservation /n1:value/ @value" | |
| 1208 | /> | |
| 1209 | ||
| 1210 | </xsl:when > | |
| 1211 | ||
| 1212 | <xsl:when | |
| 1213 | test="$obs ervation/n 1:value[@x si:type='S T']" | |
| 1214 | > | |
| 1215 | ||
| 1216 | <xsl:value -of | |
| 1217 | select="$o bservation /n1:value[ @xsi:type= 'ST']" | |
| 1218 | /> | |
| 1219 | ||
| 1220 | </xsl:when > | |
| 1221 | ||
| 1222 | <xsl:other wise> | |
| 1223 | ||
| 1224 | <xsl:call- template | |
| 1225 | name="na" | |
| 1226 | /> | |
| 1227 | ||
| 1228 | </xsl:othe rwise> | |
| 1229 | ||
| 1230 | </xsl:choo se> | |
| 1231 | ||
| 1232 | </xsl:if> | |
| 1233 | ||
| 1234 | </xsl:temp late> | |
| 1235 | ||
| 1236 | ||
| 1237 | <xsl:templ ate | |
| 1238 | name="getR esultValue Detail" | |
| 1239 | > | |
| 1240 | ||
| 1241 | <xsl:param | |
| 1242 | name="obse rvation" | |
| 1243 | /> | |
| 1244 | ||
| 1245 | <xsl:if | |
| 1246 | test="$obs ervation" | |
| 1247 | > | |
| 1248 | ||
| 1249 | <xsl:choos e> | |
| 1250 | ||
| 1251 | <xsl:when | |
| 1252 | test="$obs ervation/n 1:value/@v alue" | |
| 1253 | > | |
| 1254 | ||
| 1255 | <xsl:value -of | |
| 1256 | select="$o bservation /n1:value/ @value" | |
| 1257 | /> | |
| 1258 | ||
| 1259 | <xsl:if | |
| 1260 | test="$obs ervation/n 1:value/@u nit" | |
| 1261 | > | |
| 1262 | ||
| 1263 | <xsl:text> | |
| 1264 | ||
| 1265 | </xsl:text > | |
| 1266 | ||
| 1267 | <xsl:value -of | |
| 1268 | select="$o bservation /n1:value/ @unit" | |
| 1269 | /> | |
| 1270 | ||
| 1271 | </xsl:if> | |
| 1272 | ||
| 1273 | </xsl:when > | |
| 1274 | ||
| 1275 | <xsl:other wise> | |
| 1276 | ||
| 1277 | <xsl:call- template | |
| 1278 | name="na" | |
| 1279 | /> | |
| 1280 | ||
| 1281 | </xsl:othe rwise> | |
| 1282 | ||
| 1283 | </xsl:choo se> | |
| 1284 | ||
| 1285 | </xsl:if> | |
| 1286 | ||
| 1287 | </xsl:temp late> | |
| 1288 | ||
| 1289 | ||
| 1290 | <xsl:templ ate | |
| 1291 | name="getF lag" | |
| 1292 | > | |
| 1293 | ||
| 1294 | <xsl:param | |
| 1295 | name="inte rpretation " | |
| 1296 | /> | |
| 1297 | ||
| 1298 | <xsl:choos e> | |
| 1299 | ||
| 1300 | <xsl:when | |
| 1301 | test="$int erpretatio n/@display Name" | |
| 1302 | > | |
| 1303 | ||
| 1304 | <xsl:value -of | |
| 1305 | select="$i nterpretat ion/@displ ayName" | |
| 1306 | /> | |
| 1307 | ||
| 1308 | </xsl:when > | |
| 1309 | ||
| 1310 | <xsl:when | |
| 1311 | test="$int erpretatio n/n1:origi nalText" | |
| 1312 | > | |
| 1313 | ||
| 1314 | <xsl:value -of | |
| 1315 | select="$i nterpretat ion/n1:ori ginalText" | |
| 1316 | /> | |
| 1317 | ||
| 1318 | </xsl:when > | |
| 1319 | ||
| 1320 | <xsl:other wise> | |
| 1321 | ||
| 1322 | <xsl:call- template | |
| 1323 | name="na" | |
| 1324 | /> | |
| 1325 | ||
| 1326 | </xsl:othe rwise> | |
| 1327 | ||
| 1328 | </xsl:choo se> | |
| 1329 | ||
| 1330 | </xsl:temp late> | |
| 1331 | ||
| 1332 | ||
| 1333 | <xsl:templ ate | |
| 1334 | name="getR esultUnit" | |
| 1335 | > | |
| 1336 | ||
| 1337 | <xsl:param | |
| 1338 | name="obse rvation" | |
| 1339 | /> | |
| 1340 | ||
| 1341 | <xsl:choos e> | |
| 1342 | ||
| 1343 | <xsl:when | |
| 1344 | test="$obs ervation/n 1:value/@u nit" | |
| 1345 | > | |
| 1346 | ||
| 1347 | <xsl:value -of | |
| 1348 | select="$o bservation /n1:value/ @unit" | |
| 1349 | /> | |
| 1350 | ||
| 1351 | </xsl:when > | |
| 1352 | ||
| 1353 | <xsl:when | |
| 1354 | test="$isK aiser" | |
| 1355 | > | |
| 1356 | ||
| 1357 | <xsl:text> | |
| 1358 | </xsl:text > | |
| 1359 | ||
| 1360 | </xsl:when > | |
| 1361 | ||
| 1362 | <xsl:other wise> | |
| 1363 | ||
| 1364 | <xsl:call- template | |
| 1365 | name="na" | |
| 1366 | /> | |
| 1367 | ||
| 1368 | </xsl:othe rwise> | |
| 1369 | ||
| 1370 | </xsl:choo se> | |
| 1371 | ||
| 1372 | </xsl:temp late> | |
| 1373 | ||
| 1374 | ||
| 1375 | <xsl:templ ate | |
| 1376 | name="getR esultRefRa nge" | |
| 1377 | > | |
| 1378 | ||
| 1379 | <xsl:param | |
| 1380 | name="obse rvation" | |
| 1381 | /> | |
| 1382 | ||
| 1383 | <xsl:choos e> | |
| 1384 | ||
| 1385 | <xsl:when | |
| 1386 | test="$obs ervation/n 1:referenc eRange/n1: observatio nRange/n1: text" | |
| 1387 | > | |
| 1388 | ||
| 1389 | <xsl:value -of | |
| 1390 | select="$o bservation /n1:refere nceRange/n 1:observat ionRange/n 1:text" | |
| 1391 | /> | |
| 1392 | ||
| 1393 | </xsl:when > | |
| 1394 | ||
| 1395 | <xsl:other wise> | |
| 1396 | ||
| 1397 | <xsl:call- template | |
| 1398 | name="na" | |
| 1399 | /> | |
| 1400 | ||
| 1401 | </xsl:othe rwise> | |
| 1402 | ||
| 1403 | </xsl:choo se> | |
| 1404 | ||
| 1405 | </xsl:temp late> | |
| 1406 | ||
| 1407 | ||
| 1408 | <!--Determ ine if sup ported com ponent(s) --> | |
| 1409 | ||
| 1410 | <xsl:templ ate | |
| 1411 | name="comp onentFound " | |
| 1412 | > | |
| 1413 | ||
| 1414 | <xsl:param | |
| 1415 | name="comp Section" | |
| 1416 | /> | |
| 1417 | ||
| 1418 | <xsl:choos e> | |
| 1419 | ||
| 1420 | <xsl:when | |
| 1421 | test="$com pSection/n 1:code[@co de=$loincA llergyCode ]" | |
| 1422 | > | |
| 1423 | ||
| 1424 | <xsl:value -of | |
| 1425 | select="$c ompSection /n1:code/@ code" | |
| 1426 | /> | |
| 1427 | ||
| 1428 | </xsl:when > | |
| 1429 | ||
| 1430 | <xsl:when | |
| 1431 | test="$com pSection/n 1:code[@co de=$loincE ncounterCo de]" | |
| 1432 | > | |
| 1433 | ||
| 1434 | <xsl:value -of | |
| 1435 | select="$c ompSection /n1:code/@ code" | |
| 1436 | /> | |
| 1437 | ||
| 1438 | </xsl:when > | |
| 1439 | ||
| 1440 | <xsl:when | |
| 1441 | test="$com pSection/n 1:code[@co de=$loincI mmunizatio nsCode]" | |
| 1442 | > | |
| 1443 | ||
| 1444 | <xsl:value -of | |
| 1445 | select="$c ompSection /n1:code/@ code" | |
| 1446 | /> | |
| 1447 | ||
| 1448 | </xsl:when > | |
| 1449 | ||
| 1450 | <xsl:when | |
| 1451 | test="$com pSection/n 1:code[@co de=$loincM edCode]" | |
| 1452 | > | |
| 1453 | ||
| 1454 | <xsl:value -of | |
| 1455 | select="$c ompSection /n1:code/@ code" | |
| 1456 | /> | |
| 1457 | ||
| 1458 | </xsl:when > | |
| 1459 | ||
| 1460 | <xsl:when | |
| 1461 | test="$com pSection/n 1:code[@co de=$loincP aymentSour cesCode]" | |
| 1462 | > | |
| 1463 | ||
| 1464 | <xsl:value -of | |
| 1465 | select="$c ompSection /n1:code/@ code" | |
| 1466 | /> | |
| 1467 | ||
| 1468 | </xsl:when > | |
| 1469 | ||
| 1470 | <xsl:when | |
| 1471 | test="$com pSection/n 1:code[@co de=$loincP roblemCode ]" | |
| 1472 | > | |
| 1473 | ||
| 1474 | <xsl:value -of | |
| 1475 | select="$c ompSection /n1:code/@ code" | |
| 1476 | /> | |
| 1477 | ||
| 1478 | </xsl:when > | |
| 1479 | ||
| 1480 | <xsl:when | |
| 1481 | test="$com pSection/n 1:code[@co de=$loincP roceduresC ode]" | |
| 1482 | > | |
| 1483 | ||
| 1484 | <xsl:value -of | |
| 1485 | select="$c ompSection /n1:code/@ code" | |
| 1486 | /> | |
| 1487 | ||
| 1488 | </xsl:when > | |
| 1489 | ||
| 1490 | <xsl:when | |
| 1491 | test="$com pSection/n 1:code[@co de=$loincR esultsCode ]" | |
| 1492 | > | |
| 1493 | ||
| 1494 | <xsl:value -of | |
| 1495 | select="$c ompSection /n1:code/@ code" | |
| 1496 | /> | |
| 1497 | ||
| 1498 | </xsl:when > | |
| 1499 | ||
| 1500 | <xsl:when | |
| 1501 | test="$com pSection/n 1:code[@co de=$loincV italsCode] " | |
| 1502 | > | |
| 1503 | ||
| 1504 | <xsl:value -of | |
| 1505 | select="$c ompSection /n1:code/@ code" | |
| 1506 | /> | |
| 1507 | ||
| 1508 | </xsl:when > | |
| 1509 | ||
| 1510 | <xsl:when | |
| 1511 | test="$com pSection/n 1:code[@co de=$loincA dvDirectiv esCode]" | |
| 1512 | > | |
| 1513 | ||
| 1514 | <xsl:value -of | |
| 1515 | select="$c ompSection /n1:code/@ code" | |
| 1516 | /> | |
| 1517 | ||
| 1518 | </xsl:when > | |
| 1519 | ||
| 1520 | <xsl:when | |
| 1521 | test="$com pSection/n 1:code[@co de=$loincP lanOfCareC ode]" | |
| 1522 | > | |
| 1523 | ||
| 1524 | <xsl:value -of | |
| 1525 | select="$c ompSection /n1:code/@ code" | |
| 1526 | /> | |
| 1527 | ||
| 1528 | </xsl:when > | |
| 1529 | ||
| 1530 | <xsl:other wise/> | |
| 1531 | ||
| 1532 | </xsl:choo se> | |
| 1533 | ||
| 1534 | </xsl:temp late> | |
| 1535 | ||
| 1536 | ||
| 1537 | <xsl:templ ate | |
| 1538 | name="na" | |
| 1539 | > | |
| 1540 | ||
| 1541 | <xsl:text> | |
| 1542 | - Not Avai lable - | |
| 1543 | </xsl:text > | |
| 1544 | ||
| 1545 | </xsl:temp late> | |
| 1546 | ||
| 1547 | ||
| 1548 | <xsl:templ ate | |
| 1549 | name="repl aceSquiggl esWithLine feeds" | |
| 1550 | > | |
| 1551 | ||
| 1552 | <xsl:param | |
| 1553 | name="text " | |
| 1554 | /> | |
| 1555 | ||
| 1556 | <xsl:if | |
| 1557 | test="$tex t" | |
| 1558 | > | |
| 1559 | ||
| 1560 | <xsl:choos e> | |
| 1561 | ||
| 1562 | <xsl:when | |
| 1563 | test="cont ains($text ,'~')" | |
| 1564 | > | |
| 1565 | ||
| 1566 | <xsl:value -of | |
| 1567 | select="su bstring-be fore($text ,'~')" | |
| 1568 | /> | |
| 1569 | ||
| 1570 | <xsl:text> | |
| 1571 | | |
| 1572 | </xsl:text > | |
| 1573 | ||
| 1574 | <xsl:call- template | |
| 1575 | name="repl aceSquiggl esWithLine feeds" | |
| 1576 | > | |
| 1577 | ||
| 1578 | <xsl:with- param | |
| 1579 | name="text " | |
| 1580 | select="su bstring-af ter($text, '~')" | |
| 1581 | /> | |
| 1582 | ||
| 1583 | </xsl:call -template> | |
| 1584 | ||
| 1585 | </xsl:when > | |
| 1586 | ||
| 1587 | <xsl:other wise> | |
| 1588 | ||
| 1589 | <xsl:value -of | |
| 1590 | select="$t ext" | |
| 1591 | /> | |
| 1592 | ||
| 1593 | </xsl:othe rwise> | |
| 1594 | ||
| 1595 | </xsl:choo se> | |
| 1596 | ||
| 1597 | </xsl:if> | |
| 1598 | ||
| 1599 | </xsl:temp late> | |
| 1600 | ||
| 1601 | ||
| 1602 | <xsl:templ ate | |
| 1603 | name="disp layAllergy Verificati onDate" | |
| 1604 | > | |
| 1605 | ||
| 1606 | <xsl:param | |
| 1607 | name="obse rvation" | |
| 1608 | /> | |
| 1609 | ||
| 1610 | <xsl:varia ble | |
| 1611 | name="alle rgyVerifDa te" | |
| 1612 | > | |
| 1613 | ||
| 1614 | <xsl:call- template | |
| 1615 | name="getA llergyVeri ficationDa te" | |
| 1616 | > | |
| 1617 | ||
| 1618 | <xsl:with- param | |
| 1619 | name="obse rvation" | |
| 1620 | select="$o bservation " | |
| 1621 | /> | |
| 1622 | ||
| 1623 | </xsl:call -template> | |
| 1624 | ||
| 1625 | </xsl:vari able> | |
| 1626 | ||
| 1627 | <xsl:choos e> | |
| 1628 | ||
| 1629 | <xsl:when | |
| 1630 | test="stri ng-length( $allergyVe rifDate)>0 " | |
| 1631 | > | |
| 1632 | ||
| 1633 | <xsl:varia ble | |
| 1634 | name="form attedVerif Date" | |
| 1635 | > | |
| 1636 | ||
| 1637 | <xsl:call- template | |
| 1638 | name="form atDateShor t" | |
| 1639 | > | |
| 1640 | ||
| 1641 | <xsl:with- param | |
| 1642 | name="date String" | |
| 1643 | select="$a llergyVeri fDate" | |
| 1644 | /> | |
| 1645 | ||
| 1646 | </xsl:call -template> | |
| 1647 | ||
| 1648 | </xsl:vari able> | |
| 1649 | ||
| 1650 | <xsl:value -of | |
| 1651 | select="$f ormattedVe rifDate" | |
| 1652 | /> | |
| 1653 | ||
| 1654 | </xsl:when > | |
| 1655 | ||
| 1656 | <xsl:other wise> | |
| 1657 | ||
| 1658 | <xsl:call- template | |
| 1659 | name="na" | |
| 1660 | /> | |
| 1661 | ||
| 1662 | </xsl:othe rwise> | |
| 1663 | ||
| 1664 | </xsl:choo se> | |
| 1665 | ||
| 1666 | </xsl:temp late> | |
| 1667 | ||
| 1668 | </xsl:styl esheet> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.