ez7gen 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/bin/ez7gen +6 -0
  3. data/lib/ez7gen.rb +23 -0
  4. data/lib/ez7gen/config/schema/2.4/2.4.HL7.xml +13904 -0
  5. data/lib/ez7gen/config/schema/2.4/VAZ2.4.HL7.xml +3085 -0
  6. data/lib/ez7gen/config/schema/2.4/added/coded-tables.xml +730 -0
  7. data/lib/ez7gen/config/schema/2.4/rules/2.4.HL7.yml +4 -0
  8. data/lib/ez7gen/config/schema/2.4/rules/VAZ2.4.HL7.yml +6 -0
  9. data/lib/ez7gen/config/schema/2.5/2.5.HL7.xml +10008 -0
  10. data/lib/ez7gen/config/schema/2.5/VAZ2.5.HL7.xml +7 -0
  11. data/lib/ez7gen/config/schema/2.5/added/coded-tables.xml +549 -0
  12. data/lib/ez7gen/config/schema/readme.txt +0 -0
  13. data/lib/ez7gen/config/templates/2.4/eiv table update-mfn_m01 20151201.xml +416 -0
  14. data/lib/ez7gen/config/templates/2.4/eiv table update-mfn_y01.xml +416 -0
  15. data/lib/ez7gen/config/templates/2.4/eiv-ec-MFN_X01_reg request 20160126.xml +659 -0
  16. data/lib/ez7gen/config/templates/2.4/examples/ADT_A60.txt +69 -0
  17. data/lib/ez7gen/config/templates/2.4/examples/eiv table update-mfn_m01 20151201.txt +21 -0
  18. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_dss_units-query_qbp_q13-qbp_q13.txt +26 -0
  19. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_ecs_procedures_query_qbp_q13-qbp_q13.txt +26 -0
  20. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_patient eligibility_response-rsp_k11-080714.txt +44 -0
  21. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_diagnosis_query_qbp_q11-qbp_q11.txt +21 -0
  22. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_diagnosis_response_rsp_k11-rsp_k11.txt +42 -0
  23. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_dss_units_response_rtb_k13-rtb_k13.txt +49 -0
  24. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_ecs_filer_request_dft_p03-dft_p03-080714.txt +31 -0
  25. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_ecs_filer_response_ack_p03-ack_p03.txt +21 -0
  26. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_esc_procedures_response_rtb_k13-rtb_k13.txt +40 -0
  27. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_patient_eclass_query_qbp_q11-qbp_q11.txt +21 -0
  28. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_patient_problems_query_qbp_q11-qbp_q11.txt +21 -0
  29. data/lib/ez7gen/config/templates/2.4/examples/mhvsm_standardhl7lib_patinet_problems_response_rsp_k11-rsp_k11.txt +33 -0
  30. data/lib/ez7gen/config/templates/2.4/examples/orur01rvbecv2.txt +31 -0
  31. data/lib/ez7gen/config/templates/2.4/examples/sqwm vitals-oru_ro1.txt +52 -0
  32. data/lib/ez7gen/config/templates/2.4/examples/vista sqwm-adt_a60.txt +40 -0
  33. data/lib/ez7gen/config/templates/2.4/mhvsm_dss_units_query_qbp_q13-qbp_q13.xml +312 -0
  34. data/lib/ez7gen/config/templates/2.4/mhvsm_ecs_procedures_query_qbp_q13-qbp_q13.xml +314 -0
  35. data/lib/ez7gen/config/templates/2.4/mhvsm_patient eligibility_response-rsp_k11-080714.xml +640 -0
  36. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_diagnosis_query_qbp_q11-qbp_q11.xml +284 -0
  37. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_diagnosis_response_rsp_k11-rsp_k11-rsp_k11.xml +563 -0
  38. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_dss_units_response_rtb_k13-rtb_k13-rtb_k13.xml +365 -0
  39. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_ecs_filer_request_dft_p03-dft_p03-080714.xml +2172 -0
  40. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_ecs_filer_response_ack_p03-ack_p03.xml +269 -0
  41. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_ecs_procedures_response_rtb_k13-rtb_k13-rtb_k13.xml +354 -0
  42. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_patient_eclass_query_qbp_q11-qbp_q11.xml +284 -0
  43. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_patient_problems_query_qbp_q11-qbp_q11.xml +282 -0
  44. data/lib/ez7gen/config/templates/2.4/mhvsm_standardhl7lib_patient_problems_response_rsp_k11-rsp_k11-rsp_k11.xml +565 -0
  45. data/lib/ez7gen/config/templates/2.4/orur01rvbecv2.xml +1529 -0
  46. data/lib/ez7gen/config/templates/2.4/sqwm vitals-oru_r01.xml +2975 -0
  47. data/lib/ez7gen/config/templates/2.4/vista sqwm-adt_a60.xml +1360 -0
  48. data/lib/ez7gen/message_factory.rb +142 -0
  49. data/lib/ez7gen/msg_error_handler.rb +33 -0
  50. data/lib/ez7gen/profile_parser.rb +321 -0
  51. data/lib/ez7gen/resources/properties-with-comments.yml +51 -0
  52. data/lib/ez7gen/resources/properties.yml +325 -0
  53. data/lib/ez7gen/service/2.4/dynamic_field_generator.rb +45 -0
  54. data/lib/ez7gen/service/2.4/field_generator.rb +1586 -0
  55. data/lib/ez7gen/service/2.5/field_generator.rb +75 -0
  56. data/lib/ez7gen/service/base_field_generator.rb +451 -0
  57. data/lib/ez7gen/service/segment_generator.rb +218 -0
  58. data/lib/ez7gen/service/segment_picker.rb +147 -0
  59. data/lib/ez7gen/service/template_generator.rb +213 -0
  60. data/lib/ez7gen/service/type_aware_field_generator.rb +1583 -0
  61. data/lib/ez7gen/service/utils.rb +75 -0
  62. data/lib/ez7gen/structure_parser.rb +331 -0
  63. data/lib/ez7gen/version.rb +38 -0
  64. data/test/Additional Tables with values_v1.1.txt +1653 -0
  65. data/test/added_shema_test.rb +143 -0
  66. data/test/app-tmp.rb +225 -0
  67. data/test/at.txt +1 -0
  68. data/test/backburner.zip +0 -0
  69. data/test/codes.txt +262 -0
  70. data/test/codes1.txt +1240 -0
  71. data/test/data_types_exploration_test.rb +213 -0
  72. data/test/dynamic_field_generated_test.rb +292 -0
  73. data/test/message_factory_24_custom_test.rb +648 -0
  74. data/test/message_factory_25_test.rb +50 -0
  75. data/test/message_factory_adm_test.rb +558 -0
  76. data/test/message_factory_gen_test.rb +63 -0
  77. data/test/message_factory_lab_test.rb +107 -0
  78. data/test/message_factory_pharm_test.rb +121 -0
  79. data/test/message_factory_template_24_test.rb +730 -0
  80. data/test/message_factory_test.rb +220 -0
  81. data/test/msg_error_handler_test.rb +59 -0
  82. data/test/profile_parser_test.rb +542 -0
  83. data/test/quick_run.rb +880 -0
  84. data/test/segment_generator_test.rb +656 -0
  85. data/test/segment_picker_test.rb +279 -0
  86. data/test/structrure_parser_test.rb +355 -0
  87. data/test/template_generator_test.rb +164 -0
  88. data/test/type_aware_field_generator_test.rb +582 -0
  89. data/test/utils_test.rb +97 -0
  90. metadata +215 -0
data/test/codes1.txt ADDED
@@ -0,0 +1,1240 @@
1
+ Table 10
2
+ Physician ID
3
+ Code
4
+ Description
5
+ PH1
6
+ Surgical
7
+ PH2
8
+ Medical
9
+ PH3
10
+ Home Nursing Service
11
+ PH4
12
+ Psychiatric Contract
13
+ PH5
14
+ Psychiatric
15
+
16
+
17
+ Table 18
18
+ Patient Type
19
+ Code
20
+ Description
21
+ 00
22
+ Surgical
23
+ 10
24
+ Medical
25
+ 60
26
+ Home Nursing Service
27
+ 85
28
+ Psychiatric Contract
29
+ 86
30
+ Psychiatric
31
+ 95
32
+ Neurological Contract
33
+ 96
34
+ Neurological
35
+
36
+
37
+ Table 19
38
+ Anesthesia code
39
+ Code
40
+ Description
41
+ 1
42
+ Anesthesia 1
43
+ 2
44
+ Anesthesia 2
45
+ 3
46
+ Anesthesia 3
47
+ 4
48
+ Anesthesia 4
49
+ 5
50
+ Anesthesia 5
51
+
52
+
53
+ Table 21
54
+ Bad debt agency code
55
+ Code
56
+ Description
57
+ 1
58
+ Bad debt agency 1
59
+ 2
60
+ Bad debt agency 2
61
+ 3
62
+ Bad debt agency 3
63
+ 4
64
+ Bad debt agency 4
65
+ 5
66
+ Bad debt agency 5
67
+
68
+
69
+ Table 22
70
+ Billing Status
71
+ Code
72
+ Description
73
+ 1
74
+ Billing Status 1
75
+ 2
76
+ Billing Status 2
77
+ 3
78
+ Billing Status 3
79
+ 4
80
+ Billing Status 4
81
+ 5
82
+ Billing Status 5
83
+
84
+
85
+ Table 24
86
+ Fee Schedule
87
+ Code
88
+ Description
89
+ A
90
+ Fee schedule A
91
+ B
92
+ Fee schedule B
93
+ C
94
+ Fee schedule C
95
+ D
96
+ Fee schedule D
97
+
98
+
99
+ Table 32
100
+ Charge/price indicator
101
+ Code
102
+ Description
103
+ 11
104
+ Charge 1
105
+ 21
106
+ Charge 2
107
+ 31
108
+ Charge 3
109
+ 41
110
+ Charge 4
111
+ 51
112
+ Charge 5
113
+
114
+
115
+ Table 42
116
+ Company plan code
117
+ Code
118
+ Description
119
+ 12
120
+ Plan 1
121
+ 22
122
+ Plan 2
123
+ 32
124
+ Plan 3
125
+ 42
126
+ Plan 4
127
+ 52
128
+ Plan 5
129
+
130
+
131
+ Table 45
132
+ Courtesy Code
133
+ Code
134
+ Description
135
+ 14
136
+ Courtesy 1
137
+ 24
138
+ Courtesy 2
139
+ 34
140
+ Courtesy 3
141
+ 44
142
+ Courtesy 4
143
+ 54
144
+ Courtesy 5
145
+
146
+
147
+ Table 46
148
+ Credit rating
149
+ Code
150
+ Description
151
+ B
152
+ Bad
153
+ F
154
+ Fair
155
+ G
156
+ Good
157
+ E
158
+ Excellent
159
+
160
+
161
+ Table 49
162
+ Department Code
163
+ Code
164
+ Description
165
+ A
166
+ Department A
167
+ B
168
+ Department B
169
+ C
170
+ Department C
171
+ D
172
+ Department D
173
+
174
+
175
+ Table 50
176
+ Accident Code
177
+ Code
178
+ Description
179
+ V89.2XXA
180
+ Person injured in unspecified motor-vehicle accident, traffic, initial encounter
181
+ Y92.9
182
+ Unspecified place or not applicable
183
+ W74.XXXA
184
+ Unspecified cause of accidental drowning and submersion, initial encounter
185
+ W20.8XXA
186
+ Other cause of strike by thrown, projected or falling object, initial encounter
187
+
188
+
189
+ Table 51
190
+ Diagnosis Code
191
+ Code
192
+ Description
193
+ E23.0
194
+ Panhypopituitarism
195
+ E23.6
196
+ Other disorders of pituitary gland
197
+ E23.2
198
+ Diabetes insipidus
199
+ E23.3
200
+ Hypothalamic dysfunction, not elsewhere classified
201
+ E23.1
202
+ Drug-induced hypopituitarism
203
+ E32.8
204
+ Other diseases of thymus
205
+ E23.7
206
+ Disorder of pituitary gland, unspecified
207
+ E32.1
208
+ Abscess of thymus
209
+ E32.9
210
+ Disease of thymus, unspecified
211
+
212
+
213
+ Table 55
214
+ Diagnosis Related Group
215
+ Code
216
+ Description
217
+ 001
218
+ LIVER TRANSPLANT
219
+ 003
220
+ BONE MARROW TRANSPLANT
221
+ 113
222
+ INFECTIONS OF UPPER RESPIRATORY TRACT
223
+ 160
224
+ MAJOR CARDIOTHORACIC REPAIR OF HEART ANOMALY
225
+ 199
226
+ HYPERTENSION
227
+ 203
228
+ CHEST PAIN
229
+ 247
230
+ INTESTINAL OBSTRUCTION
231
+ 283
232
+ OTHER DISORDERS OF THE LIVER
233
+ 346
234
+ CONNECTIVE TISSUE DISORDERS
235
+ 381
236
+ MAJOR SKIN DISORDERS
237
+ 424
238
+ OTHER ENDOCRINE DISORDERS
239
+
240
+
241
+ Table 56
242
+ DRG grouper review code
243
+ Code
244
+ Description
245
+ 10
246
+ Review 1
247
+ 20
248
+ Review 2
249
+ 30
250
+ Review 3
251
+ 40
252
+ Review 4
253
+ 50
254
+ Review 5
255
+
256
+
257
+ Table 59
258
+ Consent Code
259
+ Code
260
+ Description
261
+ 01
262
+ Informed consent
263
+ 02
264
+ Waiver of the consent requirement
265
+ 03
266
+ Health care proxy
267
+
268
+
269
+ Table 64
270
+ Financial Class
271
+ Code
272
+ Description
273
+ FC1
274
+ Financial Class 1
275
+ FC2
276
+ Financial Class 2
277
+ FC3
278
+ Financial Class 3
279
+ FC4
280
+ Financial Class 4
281
+ FC5
282
+ Financial Class 5
283
+
284
+
285
+ Table 68
286
+ Guarantor Type
287
+ Code
288
+ Description
289
+ G1
290
+ Guarantor Type 1
291
+ G2
292
+ Guarantor Type 2
293
+ G3
294
+ Guarantor Type 3
295
+ G4
296
+ Guarantor Type 4
297
+ G5
298
+ Guarantor Type 5
299
+
300
+
301
+ Table 72
302
+ Insurance Plan ID
303
+ Code
304
+ Description
305
+ 1234 5678A
306
+ Insurance Plan A
307
+ 2345 6789B
308
+ Insurance Plan B
309
+ 3456 7890C
310
+ Insurance Plan C
311
+ 4567 8901D
312
+ Insurance Plan D
313
+
314
+
315
+ Table 73
316
+ Interest rate code
317
+ Code
318
+ Description
319
+ 31
320
+ Interest rate code 1
321
+ 32
322
+ Interest rate code 2
323
+ 33
324
+ Interest rate code 3
325
+ 34
326
+ Interest rate code 4
327
+ 35
328
+ Interest rate code 5
329
+
330
+
331
+ Table 84
332
+ Performed by
333
+ Code
334
+ Description
335
+ A
336
+ Group A
337
+ B
338
+ Group B
339
+ C
340
+ Group C
341
+ D
342
+ Group D
343
+ E
344
+ Group E
345
+
346
+
347
+ Table 86
348
+ Plan ID
349
+ Code
350
+ Description
351
+ 234
352
+ Plan 1
353
+ 345
354
+ Plan 2
355
+ 456
356
+ Plan 3
357
+ 567
358
+ Plan 4
359
+ 678
360
+ Plan 5
361
+
362
+
363
+ Table 87
364
+ Pre-admit test indicator
365
+ Code
366
+ Description
367
+ Y
368
+ Yes
369
+ N
370
+ No
371
+
372
+
373
+ Table 88
374
+ Procedure Code
375
+ Code
376
+ Description
377
+ 00W000Z
378
+ Revision of Drainage Device in Brain, Open Approach
379
+ 02110Z3
380
+ Bypass Coronary Artery, Two Sites from Coronary Artery, Open Approach
381
+ 05500ZZ
382
+ Destruction of Azygos Vein, Open Approach
383
+ 4A0004Z
384
+ Measurement of Central Nervous Electrical Activity, Open Approach
385
+ 4A0204Z
386
+ Measurement of Cardiac Electrical Activity, Open Approach
387
+ 4A060BZ
388
+ Measurement of Lymphatic Pressure, Open Approach
389
+ 5A02110
390
+ Assistance with Cardiac Output using Balloon Pump, Intermittent
391
+ 6A150ZZ
392
+ Decompression, Circulatory, Single
393
+ 6A750Z4
394
+ Ultrasound Therapy of Head and Neck Vessels, Single
395
+ 6A800ZZ
396
+ Ultraviolet Light Therapy of Skin, Single
397
+
398
+
399
+ Table 99
400
+ VIP indicator
401
+ Code
402
+ Description
403
+ Y
404
+ VIP
405
+ N
406
+ Non VIP
407
+
408
+
409
+ Table 110
410
+ Transfer to bad debt indicator
411
+ Code
412
+ Description
413
+ Y
414
+ Yes, transfer to bad debt
415
+ N
416
+ No, do not transfer to bad debt
417
+
418
+
419
+ Table 111
420
+ Delete account code
421
+ Code
422
+ Description
423
+ 1
424
+ Code 1
425
+ 2
426
+ Code 2
427
+ 3
428
+ Code 3
429
+ 4
430
+ Code 4
431
+ 5
432
+ Code 5
433
+
434
+
435
+ Table 114
436
+ Diet type
437
+ Code
438
+ Description
439
+ 100
440
+ Tube feeding
441
+ 110
442
+ Clear liquid diet
443
+ 120
444
+ Full liquid diet
445
+ 200
446
+ Diabetic or calorie controlled diet
447
+ 300
448
+ No Added Salt diet
449
+ 400
450
+ High fiber diet
451
+
452
+
453
+ Table 115
454
+ Servicing facility
455
+ Code
456
+ Description
457
+ 27
458
+ LOUISVILLE-RO
459
+ 58
460
+ MANILA-RO
461
+ 12
462
+ TOGUS VAMROC
463
+ 45
464
+ WHITE RIVER JCT VAMROC
465
+ 36
466
+ MONTANA HCS
467
+ 37
468
+ FARGO VAMROC
469
+ 38
470
+ SIOUX FALLS VAMROC
471
+ 52
472
+ WICHITA-RO
473
+
474
+
475
+ Table 117
476
+ Account status
477
+ Code
478
+ Description
479
+ 12
480
+ Account status 1
481
+ 23
482
+ Account status 2
483
+ 34
484
+ Account status 3
485
+ 45
486
+ Account status 4
487
+ 56
488
+ Account status 5
489
+
490
+
491
+ Table 129
492
+ Accommodation code
493
+ Code
494
+ Description
495
+ 1
496
+ ALLERGY
497
+ 10
498
+ NEUROLOGY
499
+ 2
500
+ CARDIOLOGY
501
+ 20
502
+ REHABILITATION MEDICINE
503
+ 24
504
+ MEDICAL OBSERVATION
505
+ 25
506
+ PSYCH RESID REHAB TRMT PROG
507
+ 40
508
+ INTERMEDIATE MEDICINE
509
+ 50
510
+ GENERAL SURGERY
511
+
512
+
513
+ Table 132
514
+ Transaction code
515
+ Code
516
+ Description
517
+ 1
518
+ Payment
519
+ 2
520
+ Credit
521
+ 3
522
+ Adjustment
523
+
524
+
525
+ Table 139
526
+ Employer information data
527
+ Code
528
+ Description
529
+ 1
530
+ Employer 1
531
+ 3
532
+ Employer 2
533
+ 5
534
+ Employer 3
535
+ 7
536
+ Employer 4
537
+ 9
538
+ Employer 5
539
+
540
+
541
+ Table 143
542
+ Non-covered insurance code
543
+ Code
544
+ Description
545
+ 99201
546
+ Code 1
547
+ 99202
548
+ Code 2
549
+ 99203
550
+ Code 3
551
+ 99204
552
+ Code 4
553
+ 99205
554
+ Code 5
555
+
556
+
557
+ Table 151
558
+ Second opinion status
559
+ Code
560
+ Description
561
+ P
562
+ Second opinion requested by patient
563
+ M
564
+ Second opinion requested by doctor
565
+ S
566
+ Second opinion consultation scheduled
567
+
568
+
569
+ Table 152
570
+ Second opinion documentation received
571
+ Code
572
+ Description
573
+ Y
574
+ Documentation received
575
+ N
576
+ Documentation not received
577
+
578
+
579
+ Table 171
580
+ Citizenship
581
+ Code
582
+ Description
583
+ USA
584
+ United States
585
+
586
+
587
+ Table 172
588
+ Veteran military status
589
+ Code
590
+ Description
591
+ Y
592
+ Veteran
593
+ N
594
+ Non Veteran
595
+
596
+
597
+ Table 188
598
+ Operator ID
599
+ Code
600
+ Description
601
+ OP1
602
+ Operator A
603
+ OP2
604
+ Operator B
605
+ OP3
606
+ Operator C
607
+ OP4
608
+ Operator D
609
+ OP5
610
+ Operator E
611
+
612
+
613
+ Table 212
614
+ Nationality
615
+ Code
616
+ Description
617
+ DEU
618
+ Germany
619
+ ESP
620
+ Spain
621
+ FRA
622
+ France
623
+ GBR
624
+ United Kingdom
625
+ ITA
626
+ Italy
627
+ USA
628
+ United States
629
+
630
+
631
+ Table 218
632
+ Patient charge adjustment
633
+ Code
634
+ Description
635
+ 1
636
+ Deductible Amount
637
+ 2
638
+ Coinsurance Amount
639
+ 3
640
+ Co-payment Amount
641
+ 9
642
+ Diagnosis inconsistent with patient's age
643
+ 10
644
+ Diagnosis inconsistent with patient's gender
645
+ 11
646
+ Diagnosis inconsistent with procedure
647
+
648
+
649
+ Table 219
650
+ Recurring service
651
+ Code
652
+ Description
653
+ 1
654
+ Service 1
655
+ 2
656
+ Service 2
657
+ 3
658
+ Service 3
659
+ 4
660
+ Service 4
661
+ 5
662
+ Service 5
663
+
664
+
665
+ Table 222
666
+ Contact reason
667
+ Code
668
+ Description
669
+ 10
670
+ Contact reason 1
671
+ 20
672
+ Contact reason 2
673
+ 30
674
+ Contact reason 3
675
+ 40
676
+ Contact reason 4
677
+ 50
678
+ Contact reason 5
679
+
680
+
681
+ Table 233
682
+ Non-concur code/description
683
+ Code
684
+ Description
685
+ 725
686
+ Not medically necessary
687
+ 726
688
+ Experimental
689
+ 728
690
+ Out of network
691
+ 727
692
+ Policy cancelled for lack of payment
693
+ 721
694
+ Health care setting
695
+
696
+
697
+ Table 264
698
+ Location Department
699
+ Code
700
+ Description
701
+ LD1
702
+ Location Dep 1
703
+ LD2
704
+ Location Dep 2
705
+ LD3
706
+ Location Dep 3
707
+ LD4
708
+ Location Dep 4
709
+ LD5
710
+ Location Dep 5
711
+
712
+
713
+ Table 285
714
+ Insurance Company ID Codes
715
+ Code
716
+ Description
717
+ 1111
718
+ Insurance Company 1
719
+ 2222
720
+ Insurance Company 2
721
+ 3333
722
+ Insurance Company 3
723
+ 4444
724
+ Insurance Company 4
725
+ 5555
726
+ Insurance Company 5
727
+
728
+
729
+ Table 295
730
+ Handicap
731
+ Code
732
+ Description
733
+ Y
734
+ Yes
735
+ N
736
+ No
737
+
738
+
739
+ Table 296
740
+ Primary Language
741
+ Code
742
+ Description
743
+ EN
744
+ English
745
+ FR
746
+ French
747
+ ES
748
+ Spanish
749
+ DE
750
+ German
751
+ IT
752
+ Italian
753
+
754
+
755
+ Table 300
756
+ Namespace ID
757
+ Code
758
+ Description
759
+ 101
760
+ Namespace ID 1
761
+ 202
762
+ Namespace ID 2
763
+ 303
764
+ Namespace ID 3
765
+ 404
766
+ Namespace ID 4
767
+ 505
768
+ Namespace ID 5
769
+ 606
770
+ Namespace ID 6
771
+ 707
772
+ Namespace ID 7
773
+ 808
774
+ Namespace ID 8
775
+ 909
776
+ Namespace ID 9
777
+
778
+
779
+ Table 302
780
+ Point of Care
781
+ Code
782
+ Description
783
+ PC1
784
+ Point of Care 1
785
+ PC2
786
+ Point of Care 2
787
+ PC3
788
+ Point of Care 3
789
+ PC4
790
+ Point of Care 4
791
+ PC5
792
+ Point of Care 5
793
+
794
+
795
+ Table 303
796
+ Room
797
+ Code
798
+ Description
799
+ RA
800
+ Room A
801
+ RB
802
+ Room B
803
+ RC
804
+ Room C
805
+ RD
806
+ Room D
807
+ RE
808
+ Room E
809
+
810
+
811
+ Table 304
812
+ Bed
813
+ Code
814
+ Description
815
+ B1
816
+ Bed 1
817
+ B2
818
+ Bed 2
819
+ B3
820
+ Bed 3
821
+ B4
822
+ Bed 4
823
+ B5
824
+ Bed 5
825
+
826
+
827
+ Table 307
828
+ Building
829
+ Code
830
+ Description
831
+ BLD1
832
+ Building 1
833
+ BLD2
834
+ Building 2
835
+ BLD3
836
+ Building 3
837
+ BLD4
838
+ Building 4
839
+ BLD5
840
+ Building 5
841
+
842
+
843
+ Table 312
844
+ Policy Scope
845
+ Code
846
+ Description
847
+ 11
848
+ Policy Scope 1
849
+ 12
850
+ Policy Scope 2
851
+ 13
852
+ Policy Scope 3
853
+ 14
854
+ Policy Scope 4
855
+ 15
856
+ Policy Scope 5
857
+
858
+
859
+ Table 313
860
+ Policy Source
861
+ Code
862
+ Description
863
+ 21
864
+ Policy Source 1
865
+ 22
866
+ Policy Source 2
867
+ 23
868
+ Policy Source 3
869
+ 24
870
+ Policy Source 4
871
+ 25
872
+ Policy Source 5
873
+
874
+
875
+ Table 319
876
+ Department Cost Center
877
+ Code
878
+ Description
879
+ 1
880
+ Cost Center 1
881
+ 2
882
+ Cost Center 2
883
+ 3
884
+ Cost Center 3
885
+ 4
886
+ Cost Center 4
887
+ 5
888
+ Cost Center 5
889
+
890
+
891
+ Table 320
892
+ Item Natural Account Code
893
+ Code
894
+ Description
895
+ 1010
896
+ Account Code 1
897
+ 2020
898
+ Account Code 2
899
+ 3030
900
+ Account Code 3
901
+ 4040
902
+ Account Code 4
903
+ 5050
904
+ Account Code 5
905
+
906
+
907
+ Table 327
908
+ Job code/class
909
+ Code
910
+ Description
911
+ 13-2011
912
+ Accountant
913
+ 15-1132
914
+ Application Developer
915
+ 23-1011
916
+ Attorney
917
+ 29-1020
918
+ Dentist
919
+ 29-1170
920
+ Nurse Practitioner
921
+ 29-2041
922
+ Paramedic
923
+ 29-1050
924
+ Pharmacist
925
+ 29-1060
926
+ Physician
927
+
928
+
929
+ Table 333
930
+ Driver's license issuing authority
931
+ Code
932
+ Description
933
+ AK
934
+ Alaska
935
+ CO
936
+ Colorado
937
+ FL
938
+ Florida
939
+ KS
940
+ Kansas
941
+ MD
942
+ Maryland
943
+
944
+
945
+ Table 340
946
+ Procedure Code modifier
947
+ Code
948
+ Description
949
+ 57
950
+ Decision for surgery
951
+ 23
952
+ Unusual Anesthesia
953
+ 50
954
+ Bilateral Procedure
955
+ 33
956
+ Preventive Service
957
+ 51
958
+ Multiple Procedures
959
+ 52
960
+ Reduced Services
961
+
962
+
963
+ Table 341
964
+ Guarantor credit rating code
965
+ Code
966
+ Description
967
+ B
968
+ Bad
969
+ F
970
+ Fair
971
+ G
972
+ Good
973
+ E
974
+ Excellent
975
+
976
+
977
+ Table 342
978
+ Military recipient
979
+ Code
980
+ Description
981
+ Y
982
+ Dependent
983
+ N
984
+ Non Dependent
985
+
986
+
987
+ Table 343
988
+ Military handicapped program code
989
+ Code
990
+ Description
991
+ 7118
992
+ Angioneurotic edema
993
+ 7005
994
+ Arteriosclerotic heart disease
995
+ 9433
996
+ Persistent depressive disorder
997
+ 6205
998
+ Endolymphatic hydrops
999
+ 5003
1000
+ Hypertrophic arthritis
1001
+
1002
+
1003
+ Table 345
1004
+ Appeal reason
1005
+ Code
1006
+ Description
1007
+ 51
1008
+ Medically necessary
1009
+ 52
1010
+ Procedure is covered
1011
+ 53
1012
+ Unreasonably long wait for in-network provider
1013
+ 54
1014
+ In-home care
1015
+ 55
1016
+ Nonpayment error
1017
+
1018
+
1019
+ Table 346
1020
+ Certification agency
1021
+ Code
1022
+ Description
1023
+ ADPH
1024
+ Alabama Department of Public Health
1025
+ AZDHS
1026
+ Arizona Department of Health Services
1027
+ CDPH
1028
+ California Department of Public Health
1029
+ AHCA
1030
+ Agency for Health Care Administration
1031
+ DADS
1032
+ TX Dept of Aging & Disability Services
1033
+
1034
+
1035
+ Table 361
1036
+ Sending/receiving application
1037
+ Code
1038
+ Description
1039
+ 101
1040
+ Application A
1041
+ 202
1042
+ Application B
1043
+ 303
1044
+ Application C
1045
+ 404
1046
+ Application D
1047
+
1048
+
1049
+ Table 362
1050
+ Sending/receiving facility
1051
+ Code
1052
+ Description
1053
+ 505
1054
+ Facility A
1055
+ 606
1056
+ Facility B
1057
+ 707
1058
+ Facility C
1059
+ 808
1060
+ Facility D
1061
+ 909
1062
+ Facility E
1063
+
1064
+
1065
+ Table 378
1066
+ Carrier Type
1067
+ Code
1068
+ Description
1069
+ R01
1070
+ One position carrier
1071
+ R02
1072
+ Two position carrier
1073
+ R03
1074
+ Three position carrier
1075
+ R04
1076
+ Four position carrier
1077
+ R05
1078
+ Five position carrier
1079
+
1080
+
1081
+ Table 379
1082
+ Tray Type
1083
+ Code
1084
+ Description
1085
+ T01
1086
+ One position tray
1087
+ T02
1088
+ Two position tray
1089
+ T03
1090
+ Three position tray
1091
+ T04
1092
+ Four position tray
1093
+ T05
1094
+ Five position tray
1095
+
1096
+
1097
+ Table 380
1098
+ Separator Type
1099
+ Code
1100
+ Description
1101
+ NO
1102
+ No Separator
1103
+ GEL
1104
+ Gel Separator
1105
+ M01
1106
+ Manufacturer Specific Separator
1107
+
1108
+
1109
+ Table 381
1110
+ Cap Type
1111
+ Code
1112
+ Description
1113
+ SCR
1114
+ Screw Cap
1115
+ PSH
1116
+ Push Cap
1117
+ FOIL
1118
+ Foil
1119
+
1120
+
1121
+ Table 382
1122
+ Drug Interference
1123
+ Code
1124
+ Description
1125
+ PHCL
1126
+ Pharmacological
1127
+ CHML
1128
+ Chemical
1129
+
1130
+
1131
+ Table 385
1132
+ Manufacturer Identifier
1133
+ Code
1134
+ Description
1135
+ 851
1136
+ Manufacturer A
1137
+ 852
1138
+ Manufacturer B
1139
+ 853
1140
+ Manufacturer C
1141
+ 854
1142
+ Manufacturer D
1143
+ 855
1144
+ Manufacturer E
1145
+
1146
+
1147
+ Table 386
1148
+ Supplier Identifier
1149
+ Code
1150
+ Description
1151
+ 951
1152
+ Supplier A
1153
+ 952
1154
+ Supplier B
1155
+ 953
1156
+ Supplier C
1157
+ 954
1158
+ Supplier D
1159
+ 955
1160
+ Supplier E
1161
+
1162
+
1163
+ Table 449
1164
+ Conformance Statements
1165
+ Code
1166
+ Description
1167
+ 10
1168
+ Conformance statement 1
1169
+ 20
1170
+ Conformance statement 2
1171
+ 30
1172
+ Conformance statement 3
1173
+ 40
1174
+ Conformance statement 4
1175
+ 50
1176
+ Conformance statement 5
1177
+
1178
+
1179
+ Table 461
1180
+ License Number
1181
+ Code
1182
+ Description
1183
+ LN1
1184
+ License 1
1185
+ LN2
1186
+ License 2
1187
+ LN3
1188
+ License 3
1189
+ LN4
1190
+ License 4
1191
+ LN5
1192
+ License 5
1193
+
1194
+
1195
+ Table 462
1196
+ Location Cost Center
1197
+ Code
1198
+ Description
1199
+ LCC1
1200
+ Cost Center 1
1201
+ LCC2
1202
+ Cost Center 2
1203
+ LCC3
1204
+ Cost Center 3
1205
+ LCC4
1206
+ Cost Center 4
1207
+ LCC5
1208
+ Cost Center 5
1209
+
1210
+
1211
+ Table 463
1212
+ Inventory Number
1213
+ Code
1214
+ Description
1215
+ INV1
1216
+ Item 1
1217
+ INV2
1218
+ Item 2
1219
+ INV3
1220
+ Item 3
1221
+ INV4
1222
+ Item 4
1223
+ INV5
1224
+ Item 5
1225
+
1226
+
1227
+ Table 471
1228
+ Query Name
1229
+ Code
1230
+ Description
1231
+ A
1232
+ Query A
1233
+ B
1234
+ Query B
1235
+ C
1236
+ Query C
1237
+ D
1238
+ Query D
1239
+ E
1240
+ Query E