- IBINI08G ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQR(357.6) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
- Q Q
- ;;^UTILITY(U,$J,357.6,47,1,0)
- ;;=^^1^1^2930603^^
- ;;^UTILITY(U,$J,357.6,47,1,1,0)
- ;;=Gets the name of the division that the clinic belongs to.
- ;;^UTILITY(U,$J,357.6,47,2)
- ;;=DIVISION NAME^30
- ;;^UTILITY(U,$J,357.6,47,3)
- ;;=DIVISION PIMS FACILITY
- ;;^UTILITY(U,$J,357.6,47,7,0)
- ;;=^357.67^1^1
- ;;^UTILITY(U,$J,357.6,47,7,1,0)
- ;;=IBCLINIC
- ;;^UTILITY(U,$J,357.6,48,0)
- ;;=SD INSTITUTION NAME^INST^IBDFN1^SCHEDULING^1^2^1^0^1^^^1^^
- ;;^UTILITY(U,$J,357.6,48,1,0)
- ;;=^^1^1^2930603^^
- ;;^UTILITY(U,$J,357.6,48,1,1,0)
- ;;=Obtains the name of the institution of the clinic of the appointment.
- ;;^UTILITY(U,$J,357.6,48,2)
- ;;=INSTITUTION NAME^30
- ;;^UTILITY(U,$J,357.6,48,3)
- ;;=FACILITY INSTITUTION PIMS MAS SCHEDULING
- ;;^UTILITY(U,$J,357.6,48,7,0)
- ;;=^357.67^1^1
- ;;^UTILITY(U,$J,357.6,48,7,1,0)
- ;;=IBCLINIC
- ;;^UTILITY(U,$J,357.6,49,0)
- ;;=DPT PATIENT SHORT ADDRESS^ADDRESS^IBDFN6^PATIENT FILE^1^2^1^1^1^0^^1
- ;;^UTILITY(U,$J,357.6,49,1,0)
- ;;=^^2^2^2931014^^^
- ;;^UTILITY(U,$J,357.6,49,1,1,0)
- ;;=The patient's address shortened to fit on a single line. It consists of the
- ;;^UTILITY(U,$J,357.6,49,1,2,0)
- ;;=first address line followed by the city, state, and ZIP.
- ;;^UTILITY(U,$J,357.6,49,2)
- ;;=SHORT ADDRESS - SINGLE LINE^65
- ;;^UTILITY(U,$J,357.6,49,3)
- ;;=PATIENT SHORT ADDRESS
- ;;^UTILITY(U,$J,357.6,49,6,0)
- ;;=^357.66^^0
- ;;^UTILITY(U,$J,357.6,49,7,0)
- ;;=^357.67^1^1
- ;;^UTILITY(U,$J,357.6,49,7,1,0)
- ;;=DFN
- ;;^UTILITY(U,$J,357.6,50,0)
- ;;=DPT SC HIDDEN LABELS^ELIG^IBDFN^PATIENT FILE^1^2^2^0^1^0^^1^^
- ;;^UTILITY(U,$J,357.6,50,1,0)
- ;;=^^9^9^2931015^^
- ;;^UTILITY(U,$J,357.6,50,1,1,0)
- ;;=This interface gives the ability to place labels that refer to SC conditions
- ;;^UTILITY(U,$J,357.6,50,1,2,0)
- ;;=on the form that won't actually be displayed if the patient is not a
- ;;^UTILITY(U,$J,357.6,50,1,3,0)
- ;;=service connected veteran. It consists of a list of possible labels that will
- ;;^UTILITY(U,$J,357.6,50,1,4,0)
- ;;=only print if the veteran is SLabels returned:
- ;;^UTILITY(U,$J,357.6,50,1,5,0)
- ;;= %
- ;;^UTILITY(U,$J,357.6,50,1,6,0)
- ;;= % - SERVICE CONNECTED
- ;;^UTILITY(U,$J,357.6,50,1,7,0)
- ;;= S/C
- ;;^UTILITY(U,$J,357.6,50,1,8,0)
- ;;= SERVICE CONNECTED
- ;;^UTILITY(U,$J,357.6,50,1,9,0)
- ;;= SC CONDITIONS:
- ;;^UTILITY(U,$J,357.6,50,2)
- ;;= % ^1^% - SERVICE CONNECTED^21^SERVICE CONNECTED^17^SC CONDITIONS:^13^S/C^3
- ;;^UTILITY(U,$J,357.6,50,3)
- ;;=SERVICE CONNECTED HIDDEN LABELS DPT PIMS S/C
- ;;^UTILITY(U,$J,357.6,50,7,0)
- ;;=^357.67^1^1
- ;;^UTILITY(U,$J,357.6,50,7,1,0)
- ;;=DFN
- ;;^UTILITY(U,$J,357.6,51,0)
- ;;=DPT SC TREATMENT QUESTIONS^ELIG^IBDFN^PATIENT FILE^1^2^2^0^1^^^1
- ;;^UTILITY(U,$J,357.6,51,1,0)
- ;;=^^8^8^2931018^^^^
- ;;^UTILITY(U,$J,357.6,51,1,1,0)
- ;;=Prints questions concerning whether treatment was related to service.
- ;;^UTILITY(U,$J,357.6,51,1,2,0)
- ;;=Each question is printed only if it applies to the patient. Questions are:
- ;;^UTILITY(U,$J,357.6,51,1,3,0)
- ;;=
- ;;^UTILITY(U,$J,357.6,51,1,4,0)
- ;;=Was treatment for a SC condition? __ YES __ NO
- ;;^UTILITY(U,$J,357.6,51,1,5,0)
- ;;=Was treatment related to exposure to Agent Orange? __ YES __ NO
- ;;^UTILITY(U,$J,357.6,51,1,6,0)
- ;;=Was treatment related to exposure to Ionization Radiation? __ YES __ NO
- ;;^UTILITY(U,$J,357.6,51,1,7,0)
- ;;=Was treatment related to exposure to Environmental Contaminants? __ YES __ NO
- ;;^UTILITY(U,$J,357.6,51,1,8,0)
- ;;=Was treatment related to: AO __ IR __ EC __
- ;;^UTILITY(U,$J,357.6,51,2)
- ;;=RELATED TO SC CONDITION?^46^RELATED TO AO?^63^RELATED TO IR?^71^RELATED TO EC?^77^RELATED TO AO,IR, OR EC?^43
- IBINI08G ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQR(357.6)
- QUIT
- FOR I=1:2
- SET X=$TEXT(Q+I)
- IF X=""
- QUIT
- SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
- SET X=$EXTRACT(X,4,999)
- IF $ASCII(Y)=126
- SET I=I+1
- SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
- IF $ASCII(Y)=61
- SET Y=$EXTRACT(Y,2,999)
- XECUTE NO
- IF '$TEST
- SET @X=Y
- Q QUIT
- +1 ;;^UTILITY(U,$J,357.6,47,1,0)
- +2 ;;=^^1^1^2930603^^
- +3 ;;^UTILITY(U,$J,357.6,47,1,1,0)
- +4 ;;=Gets the name of the division that the clinic belongs to.
- +5 ;;^UTILITY(U,$J,357.6,47,2)
- +6 ;;=DIVISION NAME^30
- +7 ;;^UTILITY(U,$J,357.6,47,3)
- +8 ;;=DIVISION PIMS FACILITY
- +9 ;;^UTILITY(U,$J,357.6,47,7,0)
- +10 ;;=^357.67^1^1
- +11 ;;^UTILITY(U,$J,357.6,47,7,1,0)
- +12 ;;=IBCLINIC
- +13 ;;^UTILITY(U,$J,357.6,48,0)
- +14 ;;=SD INSTITUTION NAME^INST^IBDFN1^SCHEDULING^1^2^1^0^1^^^1^^
- +15 ;;^UTILITY(U,$J,357.6,48,1,0)
- +16 ;;=^^1^1^2930603^^
- +17 ;;^UTILITY(U,$J,357.6,48,1,1,0)
- +18 ;;=Obtains the name of the institution of the clinic of the appointment.
- +19 ;;^UTILITY(U,$J,357.6,48,2)
- +20 ;;=INSTITUTION NAME^30
- +21 ;;^UTILITY(U,$J,357.6,48,3)
- +22 ;;=FACILITY INSTITUTION PIMS MAS SCHEDULING
- +23 ;;^UTILITY(U,$J,357.6,48,7,0)
- +24 ;;=^357.67^1^1
- +25 ;;^UTILITY(U,$J,357.6,48,7,1,0)
- +26 ;;=IBCLINIC
- +27 ;;^UTILITY(U,$J,357.6,49,0)
- +28 ;;=DPT PATIENT SHORT ADDRESS^ADDRESS^IBDFN6^PATIENT FILE^1^2^1^1^1^0^^1
- +29 ;;^UTILITY(U,$J,357.6,49,1,0)
- +30 ;;=^^2^2^2931014^^^
- +31 ;;^UTILITY(U,$J,357.6,49,1,1,0)
- +32 ;;=The patient's address shortened to fit on a single line. It consists of the
- +33 ;;^UTILITY(U,$J,357.6,49,1,2,0)
- +34 ;;=first address line followed by the city, state, and ZIP.
- +35 ;;^UTILITY(U,$J,357.6,49,2)
- +36 ;;=SHORT ADDRESS - SINGLE LINE^65
- +37 ;;^UTILITY(U,$J,357.6,49,3)
- +38 ;;=PATIENT SHORT ADDRESS
- +39 ;;^UTILITY(U,$J,357.6,49,6,0)
- +40 ;;=^357.66^^0
- +41 ;;^UTILITY(U,$J,357.6,49,7,0)
- +42 ;;=^357.67^1^1
- +43 ;;^UTILITY(U,$J,357.6,49,7,1,0)
- +44 ;;=DFN
- +45 ;;^UTILITY(U,$J,357.6,50,0)
- +46 ;;=DPT SC HIDDEN LABELS^ELIG^IBDFN^PATIENT FILE^1^2^2^0^1^0^^1^^
- +47 ;;^UTILITY(U,$J,357.6,50,1,0)
- +48 ;;=^^9^9^2931015^^
- +49 ;;^UTILITY(U,$J,357.6,50,1,1,0)
- +50 ;;=This interface gives the ability to place labels that refer to SC conditions
- +51 ;;^UTILITY(U,$J,357.6,50,1,2,0)
- +52 ;;=on the form that won't actually be displayed if the patient is not a
- +53 ;;^UTILITY(U,$J,357.6,50,1,3,0)
- +54 ;;=service connected veteran. It consists of a list of possible labels that will
- +55 ;;^UTILITY(U,$J,357.6,50,1,4,0)
- +56 ;;=only print if the veteran is SLabels returned:
- +57 ;;^UTILITY(U,$J,357.6,50,1,5,0)
- +58 ;;= %
- +59 ;;^UTILITY(U,$J,357.6,50,1,6,0)
- +60 ;;= % - SERVICE CONNECTED
- +61 ;;^UTILITY(U,$J,357.6,50,1,7,0)
- +62 ;;= S/C
- +63 ;;^UTILITY(U,$J,357.6,50,1,8,0)
- +64 ;;= SERVICE CONNECTED
- +65 ;;^UTILITY(U,$J,357.6,50,1,9,0)
- +66 ;;= SC CONDITIONS:
- +67 ;;^UTILITY(U,$J,357.6,50,2)
- +68 ;;= % ^1^% - SERVICE CONNECTED^21^SERVICE CONNECTED^17^SC CONDITIONS:^13^S/C^3
- +69 ;;^UTILITY(U,$J,357.6,50,3)
- +70 ;;=SERVICE CONNECTED HIDDEN LABELS DPT PIMS S/C
- +71 ;;^UTILITY(U,$J,357.6,50,7,0)
- +72 ;;=^357.67^1^1
- +73 ;;^UTILITY(U,$J,357.6,50,7,1,0)
- +74 ;;=DFN
- +75 ;;^UTILITY(U,$J,357.6,51,0)
- +76 ;;=DPT SC TREATMENT QUESTIONS^ELIG^IBDFN^PATIENT FILE^1^2^2^0^1^^^1
- +77 ;;^UTILITY(U,$J,357.6,51,1,0)
- +78 ;;=^^8^8^2931018^^^^
- +79 ;;^UTILITY(U,$J,357.6,51,1,1,0)
- +80 ;;=Prints questions concerning whether treatment was related to service.
- +81 ;;^UTILITY(U,$J,357.6,51,1,2,0)
- +82 ;;=Each question is printed only if it applies to the patient. Questions are:
- +83 ;;^UTILITY(U,$J,357.6,51,1,3,0)
- +84 ;;=
- +85 ;;^UTILITY(U,$J,357.6,51,1,4,0)
- +86 ;;=Was treatment for a SC condition? __ YES __ NO
- +87 ;;^UTILITY(U,$J,357.6,51,1,5,0)
- +88 ;;=Was treatment related to exposure to Agent Orange? __ YES __ NO
- +89 ;;^UTILITY(U,$J,357.6,51,1,6,0)
- +90 ;;=Was treatment related to exposure to Ionization Radiation? __ YES __ NO
- +91 ;;^UTILITY(U,$J,357.6,51,1,7,0)
- +92 ;;=Was treatment related to exposure to Environmental Contaminants? __ YES __ NO
- +93 ;;^UTILITY(U,$J,357.6,51,1,8,0)
- +94 ;;=Was treatment related to: AO __ IR __ EC __
- +95 ;;^UTILITY(U,$J,357.6,51,2)
- +96 ;;=RELATED TO SC CONDITION?^46^RELATED TO AO?^63^RELATED TO IR?^71^RELATED TO EC?^77^RELATED TO AO,IR, OR EC?^43