Produced by Araxis Merge on 10/4/2017 8:04:33 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 | rdk.zip\rdk\product\production\rdk\src\fhir\common\utils | constants.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\fhir\common\utils | constants.js | Tue Oct 3 17:15:02 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 772 |
| 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 | var applic ation = {} ; | |
| 4 | Object.def inePropert y(applicat ion, 'APP_ NAME', { | |
| 5 | get: f unction() { | |
| 6 | re turn 'eHMP '; | |
| 7 | } | |
| 8 | }); | |
| 9 | Object.def inePropert y(applicat ion, 'APP_ URI', { | |
| 10 | get: f unction() { | |
| 11 | re turn 'http s://ehmp.v istacore.u s'; | |
| 12 | } | |
| 13 | }); | |
| 14 | ||
| 15 | var fhir = {}; | |
| 16 | Object.def inePropert y(fhir, 'R EG_EXP_DAT E_TIME', { | |
| 17 | get: f unction() { | |
| 18 | re turn new R egExp('-?( [1-9][0-9] {3,}|0[0-9 ]{3})-(0[1 -9]|1[0-2] )-(0[1-9]| [12][0-9]| 3[01])T(([ 01][0-9]|2 [0-3]):[0- 5][0-9]:[0 -5][0-9](\ \.[0-9]+)? |(24:00:00 (\\.0+)?)) (Z|(\\+|-) ((0[0-9]|1 [0-3]):[0- 5][0-9]|14 :00))?'); | |
| 19 | } | |
| 20 | }); | |
| 21 | Object.def inePropert y(fhir, 'R EG_EXP_DAT E', { | |
| 22 | get: f unction() { | |
| 23 | re turn new R egExp('-?( [1-9][0-9] {3,}|0[0-9 ]{3})-(0[1 -9]|1[0-2] )-(0[1-9]| [12][0-9]| 3[01])(Z|( \\+|-)((0[ 0-9]|1[0-3 ]):[0-5][0 -9]|14:00) )?'); | |
| 24 | } | |
| 25 | }); | |
| 26 | Object.def inePropert y(fhir, 'F ORMAT_DATE ', { | |
| 27 | get: f unction() { | |
| 28 | re turn 'yyyy -MM-dd'; | |
| 29 | } | |
| 30 | }); | |
| 31 | Object.def inePropert y(fhir, 'F ORMAT_DATE _TIME', { | |
| 32 | get: f unction() { | |
| 33 | re turn 'yyyy -MM-dd"T"H H:mm:ss'; | |
| 34 | } | |
| 35 | }); | |
| 36 | Object.def inePropert y(fhir, 'U ID_IDENTIF IER_SYSTEM ', { | |
| 37 | get: f unction() { | |
| 38 | re turn 'http ://vistaco re.us/fhir /id/uid'; | |
| 39 | } | |
| 40 | }); | |
| 41 | Object.def inePropert y(fhir, 'F ACILITIES_ IDENTIFIER _SYSTEM', { | |
| 42 | get: f unction() { | |
| 43 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 44 | } | |
| 45 | }); | |
| 46 | /** | |
| 47 | * vHA Sys tem | |
| 48 | * | |
| 49 | * Referen ce: http:/ /oid-info. com/get/2. 16.840.1.1 13883.6.23 3 | |
| 50 | */ | |
| 51 | Object.def inePropert y(fhir, 'V HA_SYSTEM' , { | |
| 52 | get: f unction() { | |
| 53 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 54 | } | |
| 55 | }); | |
| 56 | ||
| 57 | var hl7v2 = {}; | |
| 58 | Object.def inePropert y(hl7v2, ' REG_EXP_DA TE_FORMAT' , { | |
| 59 | get: f unction() { | |
| 60 | re turn new R egExp('^([ 1-9][0-9]{ 7})$'); | |
| 61 | } | |
| 62 | }); | |
| 63 | Object.def inePropert y(hl7v2, ' REG_EXP_DA TE_TIME_FO RMAT_NO_SE CONDS_INTE RNAL', { | |
| 64 | get: f unction() { | |
| 65 | re turn new R egExp('([1 -9][0-9]{1 1})'); | |
| 66 | } | |
| 67 | }); | |
| 68 | Object.def inePropert y(hl7v2, ' REG_EXP_DA TE_TIME_FO RMAT_NO_SE CONDS', { | |
| 69 | get: f unction() { | |
| 70 | re turn new R egExp('^' + hl7v2.RE G_EXP_DATE _TIME_FORM AT_NO_SECO NDS_INTERN AL.source + '$'); | |
| 71 | } | |
| 72 | }); | |
| 73 | Object.def inePropert y(hl7v2, ' REG_EXP_DA TE_TIME_FO RMAT_WITH_ SECONDS_IN TERNAL', { | |
| 74 | get: f unction() { | |
| 75 | re turn new R egExp('([1 -9][0-9]{1 3})'); | |
| 76 | } | |
| 77 | }); | |
| 78 | Object.def inePropert y(hl7v2, ' REG_EXP_DA TE_TIME_FO RMAT_WITH_ SECONDS', { | |
| 79 | get: f unction() { | |
| 80 | re turn new R egExp('^' + hl7v2.RE G_EXP_DATE _TIME_FORM AT_WITH_SE CONDS_INTE RNAL.sourc e + '$'); | |
| 81 | } | |
| 82 | }); | |
| 83 | Object.def inePropert y(hl7v2, ' REG_EXP_DA TE_TIME_FO RMAT_COMBI NED', { | |
| 84 | get: f unction() { | |
| 85 | re turn new R egExp('^' + hl7v2.RE G_EXP_DATE _TIME_FORM AT_NO_SECO NDS_INTERN AL.source + '|' + hl 7v2.REG_EX P_DATE_TIM E_FORMAT_W ITH_SECOND S_INTERNAL .source + '$'); | |
| 86 | } | |
| 87 | }); | |
| 88 | ||
| 89 | var labRes ults = {}; | |
| 90 | Object.def inePropert y(labResul ts, 'LAB_R ESULTS_UID _IDENTIFIE R_SYSTEM', { | |
| 91 | get: f unction() { | |
| 92 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 93 | } | |
| 94 | }); | |
| 95 | Object.def inePropert y(labResul ts, 'VUID_ SYSTEM', { | |
| 96 | get: f unction() { | |
| 97 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 98 | } | |
| 99 | }); | |
| 100 | ||
| 101 | Object.def inePropert y(labResul ts, 'COMPL ETE_STATUS _CODE', { | |
| 102 | get: f unction() { | |
| 103 | re turn 'urn: va:lab-sta tus:comple ted'; | |
| 104 | } | |
| 105 | }); | |
| 106 | Object.def inePropert y(labResul ts, 'COMME NTS_REGEX_ STRING', { | |
| 107 | get: f unction() { | |
| 108 | re turn '^(.* )Ordering Provider: (.+) Repor t Released Date/Time : (.*)\r\n Performin g Lab: (.* )\r\n *(.* )\r\n *'; | |
| 109 | } | |
| 110 | }); | |
| 111 | Object.def inePropert y(labResul ts, 'ADDRE SS_REGEX_S TRING', { | |
| 112 | get: f unction() { | |
| 113 | re turn '^ *( .+) (.+), (.{2}) ([0 -9\\-]{5,} )$'; | |
| 114 | } | |
| 115 | }); | |
| 116 | Object.def inePropert y(labResul ts, 'PATHO LOGY_REPOR T_NAME', { | |
| 117 | get: f unction() { | |
| 118 | re turn 'LR A NATOMIC PA THOLOGY RE PORT'; | |
| 119 | } | |
| 120 | }); | |
| 121 | var allerg yintoleran ce = {}; | |
| 122 | Object.def inePropert y(allergyi ntolerance , 'ALLERGY INTOLERANC E_EXTENSIO N_URL_PREF IX', { | |
| 123 | get: f unction() { | |
| 124 | re turn 'http ://vistaco re.us/fhir /extension s/algyInt# '; | |
| 125 | } | |
| 126 | }); | |
| 127 | Object.def inePropert y(labResul ts, 'LAB_E XTENSION_U RL_PREFIX' , { | |
| 128 | get: f unction() { | |
| 129 | re turn 'http ://vistaco re.us/fhir /extension s/lab#'; | |
| 130 | } | |
| 131 | }); | |
| 132 | Object.def inePropert y(labResul ts, 'PATIE NT_PREFIX' , { | |
| 133 | get: f unction() { | |
| 134 | re turn 'Pati ent/'; | |
| 135 | } | |
| 136 | }); | |
| 137 | Object.def inePropert y(labResul ts, 'COMPO SITION_PRE FIX', { | |
| 138 | get: f unction() { | |
| 139 | re turn 'Comp osition/'; | |
| 140 | } | |
| 141 | }); | |
| 142 | Object.def inePropert y(labResul ts, 'UNKNO WN_NAME', { | |
| 143 | get: f unction() { | |
| 144 | re turn 'Unkn own Name'; | |
| 145 | } | |
| 146 | }); | |
| 147 | Object.def inePropert y(labResul ts, 'GRAMS TAIN_CODE' , { | |
| 148 | get: f unction() { | |
| 149 | re turn '664- 3'; | |
| 150 | } | |
| 151 | }); | |
| 152 | Object.def inePropert y(labResul ts, 'GRAMS TAIN_DISPL AY', { | |
| 153 | get: f unction() { | |
| 154 | re turn 'Micr oscopic ob servation [Identifie r] in Unsp ecified sp ecimen by Gram stain '; | |
| 155 | } | |
| 156 | }); | |
| 157 | Object.def inePropert y(labResul ts, 'GRAMS TAIN_SYSTE M', { | |
| 158 | get: f unction() { | |
| 159 | re turn 'http ://loinc.o rg'; | |
| 160 | } | |
| 161 | }); | |
| 162 | Object.def inePropert y(labResul ts, 'ORGAN ISM_CODE', { | |
| 163 | get: f unction() { | |
| 164 | re turn '2523 90002'; | |
| 165 | } | |
| 166 | }); | |
| 167 | Object.def inePropert y(labResul ts, 'ORGAN ISM_DISPLA Y', { | |
| 168 | get: f unction() { | |
| 169 | re turn 'Cult ure and Su sceptibili ty'; | |
| 170 | } | |
| 171 | }); | |
| 172 | Object.def inePropert y(labResul ts, 'ORGAN ISM_SYSTEM ', { | |
| 173 | get: f unction() { | |
| 174 | re turn 'http ://snomed. org/sct'; | |
| 175 | } | |
| 176 | }); | |
| 177 | Object.def inePropert y(labResul ts, 'SERVI CE_CATEGOR Y_SYSTEM', { | |
| 178 | get: f unction() { | |
| 179 | re turn 'http ://hl7.org /fhir/v2/0 074'; | |
| 180 | } | |
| 181 | }); | |
| 182 | Object.def inePropert y(labResul ts, 'INTER PRETATION_ VPR_PREFIX ', { | |
| 183 | get: f unction() { | |
| 184 | re turn 'urn: hl7:observ ation-inte rpretation :'; | |
| 185 | } | |
| 186 | }); | |
| 187 | Object.def inePropert y(labResul ts, 'INTER PRETATION_ SYSTEM', { | |
| 188 | get: f unction() { | |
| 189 | re turn 'http ://hl7.org /fhir/vs/o bservation -interpret ation'; | |
| 190 | } | |
| 191 | }); | |
| 192 | ||
| 193 | var orders = {}; | |
| 194 | Object.def inePropert y(orders, 'ORDER_EXT ENSION_URL _PREFIX', { | |
| 195 | get: f unction() { | |
| 196 | re turn 'http ://vistaco re.us/fhir /extension s/order#'; | |
| 197 | } | |
| 198 | }); | |
| 199 | Object.def inePropert y(orders, 'ORDER_PRE FIX', { | |
| 200 | get: f unction() { | |
| 201 | re turn 'Orde r/'; | |
| 202 | } | |
| 203 | }); | |
| 204 | Object.def inePropert y(orders, 'DIAGNOSTI C_REPORT_P REFIX', { | |
| 205 | get: f unction() { | |
| 206 | re turn 'Diag nosticRepo rt/'; | |
| 207 | } | |
| 208 | }); | |
| 209 | Object.def inePropert y(orders, 'MEDICATIO N_ADMINIST RATION_PRE FIX', { | |
| 210 | get: f unction() { | |
| 211 | re turn 'Medi cationAdmi nistration /'; | |
| 212 | } | |
| 213 | }); | |
| 214 | Object.def inePropert y(orders, 'PATIENT_P REFIX', { | |
| 215 | get: f unction() { | |
| 216 | re turn 'Pati ent/'; | |
| 217 | } | |
| 218 | }); | |
| 219 | ||
| 220 | var condit ions = {}; | |
| 221 | Object.def inePropert y(conditio ns, 'CONDI TION_PREFI X', { | |
| 222 | get: f unction() { | |
| 223 | re turn 'Cond ition/'; | |
| 224 | } | |
| 225 | }); | |
| 226 | ||
| 227 | //-------- ---------- ---------- | |
| 228 | // MEDICAL DISPENSE CONSTANTS | |
| 229 | //-------- ---------- ---------- | |
| 230 | var medDis pense = {} ; | |
| 231 | ||
| 232 | Object.def inePropert y(medDispe nse, 'MED_ DISPENSE_U ID_IDENTIF IER_SYSTEM ', { | |
| 233 | get: f unction() { | |
| 234 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 235 | } | |
| 236 | }); | |
| 237 | Object.def inePropert y(medDispe nse, 'MED_ DISPENSE_E XTENSION_U RL_PREFIX' , { | |
| 238 | get: f unction() { | |
| 239 | re turn 'http ://vistaco re.us/fhir /extension s/med#'; | |
| 240 | } | |
| 241 | }); | |
| 242 | ||
| 243 | //-------- ---------- ---------- | |
| 244 | // COMPOSI TION CONST ANTS | |
| 245 | //-------- ---------- ---------- | |
| 246 | var compos ition = {} ; | |
| 247 | ||
| 248 | Object.def inePropert y(composit ion, 'COMP OSITION_UI D_IDENTIFI ER_SYSTEM' , { | |
| 249 | get: f unction() { | |
| 250 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 251 | } | |
| 252 | }); | |
| 253 | Object.def inePropert y(composit ion, 'COMP OSITION_EX TENSION_UR L_PREFIX', { | |
| 254 | get: f unction() { | |
| 255 | re turn 'http ://vistaco re.us/fhir /extension s/composit ion#'; | |
| 256 | } | |
| 257 | }); | |
| 258 | ||
| 259 | //-------- ---------- ---------- | |
| 260 | // REFERRA L REQUEST CONSTANTS | |
| 261 | //-------- ---------- ---------- | |
| 262 | var referr alRequest = {}; | |
| 263 | ||
| 264 | Object.def inePropert y(referral Request, ' REFERRAL_R EQUEST_UID _IDENTIFIE R_SYSTEM', { | |
| 265 | get: f unction() { | |
| 266 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 267 | } | |
| 268 | }); | |
| 269 | Object.def inePropert y(referral Request, ' REFERRAL_R EQUEST_EXT ENSION_URL _PREFIX', { | |
| 270 | get: f unction() { | |
| 271 | re turn 'http ://vistaco re.us/fhir /extension s/referral request#'; | |
| 272 | } | |
| 273 | }); | |
| 274 | ||
| 275 | //-------- ---------- ---------- --------- | |
| 276 | // MEDICAT ION PRESCR IPTION CON STANTS | |
| 277 | //-------- ---------- ---------- --------- | |
| 278 | var medPre scription = {}; | |
| 279 | ||
| 280 | Object.def inePropert y(medPresc ription, ' MED_PRESCR IPTION_UID _IDENTIFIE R_SYSTEM', { | |
| 281 | get: f unction() { | |
| 282 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 283 | } | |
| 284 | }); | |
| 285 | Object.def inePropert y(medPresc ription, ' MED_PRESCR IPTION_EXT ENSION_URL _PREFIX', { | |
| 286 | get: f unction() { | |
| 287 | re turn 'http ://vistaco re.us/fhir /extension s/med#'; | |
| 288 | } | |
| 289 | }); | |
| 290 | Object.def inePropert y(medPresc ription, ' PATIENT_PR EFIX', { | |
| 291 | get: f unction() { | |
| 292 | re turn 'Pati ent/'; | |
| 293 | } | |
| 294 | }); | |
| 295 | Object.def inePropert y(medPresc ription, ' PRESCRIBER _PREFIX', { | |
| 296 | get: f unction() { | |
| 297 | re turn 'Prov ider/'; | |
| 298 | } | |
| 299 | }); | |
| 300 | Object.def inePropert y(medPresc ription, ' INGREDIENT _IDENTIFIE R_SYSTEM', { | |
| 301 | get: f unction() { | |
| 302 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 303 | } | |
| 304 | }); | |
| 305 | ||
| 306 | //-------- ---------- ---------- --------- | |
| 307 | // MEDICAT ION ADMINI STRATION C ONSTANTS | |
| 308 | //-------- ---------- ---------- --------- | |
| 309 | var medAdm inistratio n = {}; | |
| 310 | ||
| 311 | Object.def inePropert y(medAdmin istration, 'MED_ADMI NISTRATION _UID_IDENT IFIER_SYST EM', { | |
| 312 | get: f unction() { | |
| 313 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 314 | } | |
| 315 | }); | |
| 316 | Object.def inePropert y(medAdmin istration, 'MED_ADMI NISTRATION _EXTENSION _URL_PREFI X', { | |
| 317 | get: f unction() { | |
| 318 | re turn 'http ://vistaco re.us/fhir /extension s/med#'; | |
| 319 | } | |
| 320 | }); | |
| 321 | Object.def inePropert y(medAdmin istration, 'PATIENT_ PREFIX', { | |
| 322 | get: f unction() { | |
| 323 | re turn 'Pati ent/'; | |
| 324 | } | |
| 325 | }); | |
| 326 | Object.def inePropert y(medAdmin istration, 'ADMINIST RATOR_PREF IX', { | |
| 327 | get: f unction() { | |
| 328 | re turn 'Prov ider/'; | |
| 329 | } | |
| 330 | }); | |
| 331 | ||
| 332 | //-------- ---------- ---------- --------- | |
| 333 | //IMMUNIZA TION CONST ANTS | |
| 334 | //-------- ---------- ---------- --------- | |
| 335 | var immuni zation = { }; | |
| 336 | ||
| 337 | Object.def inePropert y(immuniza tion, 'PAT IENT_PREFI X', { | |
| 338 | get: f unction() { | |
| 339 | re turn 'Pati ent/'; | |
| 340 | } | |
| 341 | }); | |
| 342 | ||
| 343 | Object.def inePropert y(immuniza tion, 'IMM UNIZATION_ EXTENSION_ URL_PREFIX ', { | |
| 344 | get: f unction() { | |
| 345 | re turn 'http ://vistaco re.us/fhir /extension s/immuniza tion#'; | |
| 346 | } | |
| 347 | }); | |
| 348 | //-------- ---------- ---------- | |
| 349 | // PROCEDU RE REQUEST CONSTANTS | |
| 350 | //-------- ---------- ---------- | |
| 351 | var proced ure = {}; | |
| 352 | ||
| 353 | Object.def inePropert y(procedur e, 'PROCED URE_UID_ID ENTIFIER_S YSTEM', { | |
| 354 | get: f unction() { | |
| 355 | re turn 'urn: oid:2.16.8 40.1.11388 3.6.233'; | |
| 356 | } | |
| 357 | }); | |
| 358 | Object.def inePropert y(procedur e, 'EDUCAT ION_TYPECO DE_SYSTEM' , { | |
| 359 | get: f unction() { | |
| 360 | return 'ht tp://ehmp. DNS /terminolo gy/1.0'; | |
| 361 | } | |
| 362 | }); | |
| 363 | Object.def inePropert y(procedur e, 'NONEDU CATION_TYP ECODE_SYST EM', { | |
| 364 | get: f unction() { | |
| 365 | re turn 'gov. va.fileman 697-2:9E7A '; | |
| 366 | } | |
| 367 | }); | |
| 368 | Object.def inePropert y(procedur e, 'PROCED URE_OUTCOM E_SYSTEM', { | |
| 369 | get: f unction() { | |
| 370 | re turn '2.16 .840.1.113 883.4.642. 2.1889'; | |
| 371 | } | |
| 372 | }); | |
| 373 | ||
| 374 | module.exp orts.immun ization = immunizati on; | |
| 375 | module.exp orts.medAd ministrati on = medAd ministrati on; | |
| 376 | module.exp orts.medPr escription = medPres cription; | |
| 377 | module.exp orts.medDi spense = m edDispense ; | |
| 378 | module.exp orts.fhir = fhir; | |
| 379 | module.exp orts.hl7v2 = hl7v2; | |
| 380 | module.exp orts.aller gyintolera ncefhir = allergyint olerance; | |
| 381 | module.exp orts.labRe sultsFhir = labResul ts; | |
| 382 | module.exp orts.appli cation = a pplication ; | |
| 383 | module.exp orts.order sFhir = or ders; | |
| 384 | module.exp orts.condi tionsFhir = conditio ns; | |
| 385 | module.exp orts.compo sition = c omposition ; | |
| 386 | module.exp orts.refer ralRequest = referra lRequest; | |
| 387 | module.exp orts.proce dure = pro cedure; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.