BJPC2TB ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON JUN 23, 2008 ;
;;2.0;IHS PCC SUITE;;MAY 14, 2009
;;ATX ADR NOTIFICATION
;
; This routine loads Taxonomy ATX ADR NOTIFICATION
;
START ;
K:'$G(ATXPGMC) ^TMP("ATX",$J)
S ATXPGMC=$G(ATXPGMC)+1
F ATXI=1:1 S X=$P($T(TMP+ATXI),";;",2,99) Q:X="" S X="^TMP(""ATX"",$J,"_X,ATXI=ATXI+1,Y=$P($T(TMP+ATXI),";;",2,99) S @X=Y
D OTHER
I $O(^TMP("ATX",$J,3.6,0)) D BULL^ATXSTX2
I $O(^TMP("ATX",$J,9002226,0)) D TAX^ATXSTX2
D KILL^ATXSTX2
Q
;
TMP ;;TAXONOMY (WITH BULLETIN)
;;3.6,98,.01)
;;ATX ADR NOTIFICATION
;;3.6,98,2)
;;PATIENT SEEN FOR AN ENTRY WITHIN A TAXONOMY
;;3.63,98,1,0)
;;9^3.61A^11^11^3030115^^^^
;;3.63,98,1,1,0)
;;Patient Name: |2| Chart No.: |99|
;;3.63,98,1,2,0)
;;Visit Date: |3|
;;3.63,98,1,3,0)
;;Location: |15|
;;3.63,98,1,4,0)
;;ICD9 Code: |1|
;;3.63,98,1,5,0)
;;ICD9 Description: |8|
;;3.63,98,1,6,0)
;;Provider Stated: |4|
;;3.63,98,1,7,0)
;;Taxonomy: |20|
;;3.63,98,1,8,0)
;;
;;3.63,98,1,9,0)
;;This may be an adverse drug reaction which requires you investigation.
;;3.63,98,1,10,0)
;;Please review the client's medical record at your earliest convenience.
;;3.63,98,1,11,0)
;;for further information on this visit.
;;21,"960.0 ")
;;1
;;21,"995.0 ")
;;2
;;21,"V14.0 ")
;;3
;;9002226,176,.01)
;;ATX ADR NOTIFICATION
;;9002226,176,.02)
;;Adverse Drug Reaction Taxonomy
;;9002226,176,.04)
;;n
;;9002226,176,.06)
;;@
;;9002226,176,.08)
;;1
;;9002226,176,.09)
;;3020206.11283
;;9002226,176,.11)
;;B
;;9002226,176,.12)
;;31
;;9002226,176,.13)
;;1
;;9002226,176,.14)
;;BA
;;9002226,176,.15)
;;80
;;9002226,176,.16)
;;1
;;9002226,176,.17)
;;@
;;9002226,176,3101)
;;@
;;9002226.02101,"176,960.0 ",.01)
;;960.0
;;9002226.02101,"176,960.0 ",.02)
;;979.9
;;9002226.02101,"176,995.0 ",.01)
;;995.0
;;9002226.02101,"176,995.0 ",.02)
;;995.4
;;9002226.02101,"176,V14.0 ",.01)
;;V14.0
;;9002226.02101,"176,V14.0 ",.02)
;;V14.9
;
OTHER ; OTHER ROUTINES
Q
BJPC2TB ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON JUN 23, 2008 ;
+1 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
+2 ;;ATX ADR NOTIFICATION
+3 ;
+4 ; This routine loads Taxonomy ATX ADR NOTIFICATION
+5 ;
START ;
+1 IF '$GET(ATXPGMC)
KILL ^TMP("ATX",$JOB)
+2 SET ATXPGMC=$GET(ATXPGMC)+1
+3 FOR ATXI=1:1
SET X=$PIECE($TEXT(TMP+ATXI),";;",2,99)
IF X=""
QUIT
SET X="^TMP(""ATX"",$J,"_X
SET ATXI=ATXI+1
SET Y=$PIECE($TEXT(TMP+ATXI),";;",2,99)
SET @X=Y
+4 DO OTHER
+5 IF $ORDER(^TMP("ATX",$JOB,3.6,0))
DO BULL^ATXSTX2
+6 IF $ORDER(^TMP("ATX",$JOB,9002226,0))
DO TAX^ATXSTX2
+7 DO KILL^ATXSTX2
+8 QUIT
+9 ;
TMP ;;TAXONOMY (WITH BULLETIN)
+1 ;;3.6,98,.01)
+2 ;;ATX ADR NOTIFICATION
+3 ;;3.6,98,2)
+4 ;;PATIENT SEEN FOR AN ENTRY WITHIN A TAXONOMY
+5 ;;3.63,98,1,0)
+6 ;;9^3.61A^11^11^3030115^^^^
+7 ;;3.63,98,1,1,0)
+8 ;;Patient Name: |2| Chart No.: |99|
+9 ;;3.63,98,1,2,0)
+10 ;;Visit Date: |3|
+11 ;;3.63,98,1,3,0)
+12 ;;Location: |15|
+13 ;;3.63,98,1,4,0)
+14 ;;ICD9 Code: |1|
+15 ;;3.63,98,1,5,0)
+16 ;;ICD9 Description: |8|
+17 ;;3.63,98,1,6,0)
+18 ;;Provider Stated: |4|
+19 ;;3.63,98,1,7,0)
+20 ;;Taxonomy: |20|
+21 ;;3.63,98,1,8,0)
+22 ;;
+23 ;;3.63,98,1,9,0)
+24 ;;This may be an adverse drug reaction which requires you investigation.
+25 ;;3.63,98,1,10,0)
+26 ;;Please review the client's medical record at your earliest convenience.
+27 ;;3.63,98,1,11,0)
+28 ;;for further information on this visit.
+29 ;;21,"960.0 ")
+30 ;;1
+31 ;;21,"995.0 ")
+32 ;;2
+33 ;;21,"V14.0 ")
+34 ;;3
+35 ;;9002226,176,.01)
+36 ;;ATX ADR NOTIFICATION
+37 ;;9002226,176,.02)
+38 ;;Adverse Drug Reaction Taxonomy
+39 ;;9002226,176,.04)
+40 ;;n
+41 ;;9002226,176,.06)
+42 ;;@
+43 ;;9002226,176,.08)
+44 ;;1
+45 ;;9002226,176,.09)
+46 ;;3020206.11283
+47 ;;9002226,176,.11)
+48 ;;B
+49 ;;9002226,176,.12)
+50 ;;31
+51 ;;9002226,176,.13)
+52 ;;1
+53 ;;9002226,176,.14)
+54 ;;BA
+55 ;;9002226,176,.15)
+56 ;;80
+57 ;;9002226,176,.16)
+58 ;;1
+59 ;;9002226,176,.17)
+60 ;;@
+61 ;;9002226,176,3101)
+62 ;;@
+63 ;;9002226.02101,"176,960.0 ",.01)
+64 ;;960.0
+65 ;;9002226.02101,"176,960.0 ",.02)
+66 ;;979.9
+67 ;;9002226.02101,"176,995.0 ",.01)
+68 ;;995.0
+69 ;;9002226.02101,"176,995.0 ",.02)
+70 ;;995.4
+71 ;;9002226.02101,"176,V14.0 ",.01)
+72 ;;V14.0
+73 ;;9002226.02101,"176,V14.0 ",.02)
+74 ;;V14.9
+75 ;
OTHER ; OTHER ROUTINES
+1 QUIT