167 lines
4.9 KiB
Mathematica
167 lines
4.9 KiB
Mathematica
OCXDI039 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
|
|
;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
|
|
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
|
;
|
|
S ;
|
|
;
|
|
D DOT^OCXDIAG
|
|
;
|
|
;
|
|
K REMOTE,LOCAL,OPCODE,REF
|
|
F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
|
|
.S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
|
|
;
|
|
G ^OCXDI03A
|
|
;
|
|
Q
|
|
;
|
|
DATA ;
|
|
;
|
|
;;D^ABNORMAL LAB RESULT (INFO)
|
|
;;R^"860.2:","860.22:2",5,"E"
|
|
;;D^Abnormal lab: |LAB TEST PRINT NAME| |LAB RESULT| |LAB COLLECTION D/T|
|
|
;;EOR^
|
|
;;KEY^860.2:^ORDER REQUIRES ELECTRONIC SIGNATURE
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^ORDER REQUIRES ELECTRONIC SIGNATURE
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^ELECTRONIC SIGNATURE
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^ORDER REQUIRES ELECTRONIC SIGNATURE
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^ELECTRONIC SIGNATURE
|
|
;;R^"860.2:","860.22:1",3,"E"
|
|
;;D^ORDER REQUIRES ELEC SIGNATURE
|
|
;;R^"860.2:","860.22:1",5,"E"
|
|
;;D^Order requires electronic signature.
|
|
;;EOR^
|
|
;;KEY^860.2:^SITE FLAGGED ORDER
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^SITE FLAGGED ORDER
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^NEW SITE FLAGGED ORDER
|
|
;;R^"860.2:","860.21:1",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^NEW SITE FLAGGED ORDER
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^NEW SITE FLAGGED ORDER
|
|
;;R^"860.2:","860.22:1",3,"E"
|
|
;;D^SITE-FLAGGED ORDER
|
|
;;R^"860.2:","860.22:1",5,"E"
|
|
;;D^Site-flagged order placed: |ORDERABLE ITEM NAME| |ORDER ST D/T|
|
|
;;EOR^
|
|
;;KEY^860.2:^SITE FLAGGED RESULT
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^SITE FLAGGED RESULT
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^SITE FLAGGED LAB RESULT
|
|
;;R^"860.2:","860.21:1",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^SITE FLAGGED FINAL LAB RESULT
|
|
;;R^"860.2:","860.21:2",.01,"E"
|
|
;;D^SITE FLAGGED IMAGING RESULT
|
|
;;R^"860.2:","860.21:2",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:2",1,"E"
|
|
;;D^SITE FLAGGED FINAL IMAGING RESULT
|
|
;;R^"860.2:","860.21:3",.01,"E"
|
|
;;D^SITE FLAGGED CONSULT RESULT
|
|
;;R^"860.2:","860.21:3",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:3",1,"E"
|
|
;;D^SITE FLAGGED FINAL CONSULT RESULT
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^SITE FLAGGED LAB RESULT OR SITE FLAGGED IMAGING RESULT OR SITE FLAGGED CONSULT RESULT
|
|
;;R^"860.2:","860.22:1",3,"E"
|
|
;;D^SITE-FLAGGED RESULTS
|
|
;;R^"860.2:","860.22:1",5,"E"
|
|
;;D^Site-flagged result available: |ORDERABLE ITEM NAME| |ORDER ST D/T|
|
|
;;EOR^
|
|
;;KEY^860.2:^BIOCHEM ABNORMALITIES/CONTRAST MEDIA CHECK
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^BIOCHEM ABNORMALITIES/CONTRAST MEDIA CHECK
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^RENAL-CONTR MED COMP
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^RENAL/CONTRAST MEDIA COMPLICATIONS
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^RENAL-CONTR MED COMP
|
|
;;R^"860.2:","860.22:1",2,"E"
|
|
;;D^BIOCHEM ABNORMALITY FOR CONTRAST MEDIA
|
|
;;R^"860.2:","860.22:1",6,"E"
|
|
;;D^Procedure uses non-barium contrast media - abnormal biochem result: |ABNORMAL RENAL BIOCHEM RESULTS|
|
|
;;EOR^
|
|
;;KEY^860.2:^RECENT CHOLECYSTOGRAM ORDER
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^RECENT CHOLECYSTOGRAM ORDER
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^RECENT CHOLECGRM
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^PATIENT HAS RECENT CHOLECYSTOGRAM
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^RECENT CHOLECGRM
|
|
;;R^"860.2:","860.22:1",2,"E"
|
|
;;D^RECENT ORAL CHOLECYSTOGRAM
|
|
;;R^"860.2:","860.22:1",6,"E"
|
|
;;D^Recent Cholecystogram: |RECENT CHOLECYSTOGRAM TEXT| [|RECENT CHOLECYSTOGRAM ORDER STATUS|]
|
|
;;EOR^
|
|
;;KEY^860.2:^RENAL FUNCTIONS OVER AGE 65 CHECK
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^RENAL FUNCTIONS OVER AGE 65 CHECK
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^PHARM PAT OVER 65
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^PHARMACY PATIENT OVER 65
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^PHARM PAT OVER 65
|
|
;;R^"860.2:","860.22:1",2,"E"
|
|
;;D^RENAL FUNCTIONS OVER AGE 65
|
|
;;R^"860.2:","860.22:1",6,"E"
|
|
;;D^Patient >65. Renal Results: |FORMATTED RENAL LAB RESULTS|
|
|
;;EOR^
|
|
;;KEY^860.2:^CONCURRENT LAB ORDERS FOR ANGIOGRAM, CATH - PERIPHERAL
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^CONCURRENT LAB ORDERS FOR ANGIOGRAM, CATH - PERIPHERAL
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^ANGIOGRAM
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^SESSION ORDER FOR ANGIOGRAM
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^ANGIOGRAM
|
|
;;R^"860.2:","860.22:1",2,"E"
|
|
;;D^MISSING LAB TESTS FOR ANGIOGRAM PROCEDURE
|
|
;;R^"860.2:","860.22:1",6,"E"
|
|
;;D^Missing Labs for Angiogram: |MISSING ANGIOGRAM, CATH PERIF LAB TESTS|
|
|
;;EOR^
|
|
;;KEY^860.2:^ALLERGY - CONTRAST MEDIA REACTION
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^ALLERGY - CONTRAST MEDIA REACTION
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^ALLERGY
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^CONTRAST MEDIA ALLERGY
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^ALLERGY
|
|
;;R^"860.2:","860.22:1",2,"E"
|
|
;;D^ALLERGY-CONTRAST MEDIA INTERACTION
|
|
;1;
|
|
;
|