Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: OCXDI033

OCXDI033.m

Go to the documentation of this file.
OCXDI033 ;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 ^OCXDI034
 ;
 Q
 ;
DATA ;
 ;
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^CONTAINS
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^LITHIUM
 ;;R^"860.3:","860.31:2",.01,"E"
 ;;D^2
 ;;R^"860.3:","860.31:2",1,"E"
 ;;D^CONTROL CODE
 ;;R^"860.3:","860.31:2",2,"E"
 ;;D^EQUALS ELEMENT IN SET
 ;;R^"860.3:","860.31:2",3,"E"
 ;;D^NW,SN
 ;;EOR^
 ;;KEY^860.3:^PATIENT WITH LITHIUM MEDS
 ;;R^"860.3:",.01,"E"
 ;;D^PATIENT WITH LITHIUM MEDS
 ;;R^"860.3:",.02,"E"
 ;;D^TIMED ORDER CHECK
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^PATIENT CURRENTLY ON LITHIUM FLAG
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^LOGICAL TRUE
 ;;EOR^
 ;;KEY^860.3:^PATIENT WITHOUT LITHIUM MEDS
 ;;R^"860.3:",.01,"E"
 ;;D^PATIENT WITHOUT LITHIUM MEDS
 ;;R^"860.3:",.02,"E"
 ;;D^TIMED ORDER CHECK
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^PATIENT CURRENTLY ON LITHIUM FLAG
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^LOGICAL FALSE
 ;;EOR^
 ;;KEY^860.3:^PATIENT WITH GLUCOPHAGE MED
 ;;R^"860.3:",.01,"E"
 ;;D^PATIENT WITH GLUCOPHAGE MED
 ;;R^"860.3:",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^LOGICAL TRUE
 ;;EOR^
 ;;KEY^860.3:^PATIENT HAS DIABETES ON PROBLEM LIST
 ;;R^"860.3:",.01,"E"
 ;;D^PATIENT HAS DIABETES ON PROBLEM LIST
 ;;R^"860.3:",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^PATIENT HAS DIABETES
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^LOGICAL TRUE
 ;;EOR^
 ;;KEY^860.3:^PATIENT NEEDS LITHIUM LEVEL PERFORMED
 ;;R^"860.3:",.01,"E"
 ;;D^PATIENT NEEDS LITHIUM LEVEL PERFORMED
 ;;R^"860.3:",.02,"E"
 ;;D^TIMED ORDER CHECK
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^DATE OF LAST LITHIUM LAB TEST
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^DATE BEFORE
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^T-120
 ;;EOR^
 ;;KEY^860.3:^PATIENT NEEDS LITHIUM LAB LEVEL ORDERED
 ;;R^"860.3:",.01,"E"
 ;;D^PATIENT NEEDS LITHIUM LAB LEVEL ORDERED
 ;;R^"860.3:",.02,"E"
 ;;D^TIMED ORDER CHECK
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^DATE OF LAST LITHIUM LAB ORDER
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^DATE BEFORE
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^T-120
 ;;EOR^
 ;;KEY^860.3:^POLYPHARMACY
 ;;R^"860.3:",.01,"E"
 ;;D^POLYPHARMACY
 ;;R^"860.3:",.02,"E"
 ;;D^CPRS ORDER PRESCAN
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^ORDER MODE
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^EQ FREE TEXT
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^DISPLAY
 ;;R^"860.3:","860.31:2",.01,"E"
 ;;D^2
 ;;R^"860.3:","860.31:2",1,"E"
 ;;D^FILLER
 ;;R^"860.3:","860.31:2",2,"E"
 ;;D^STARTS WITH
 ;;R^"860.3:","860.31:2",3,"E"
 ;;D^PS
 ;;R^"860.3:","860.31:3",.01,"E"
 ;;D^3
 ;;R^"860.3:","860.31:3",1,"E"
 ;;D^POLYPHARMACY
 ;;R^"860.3:","860.31:3",2,"E"
 ;;D^LOGICAL TRUE
 ;;EOR^
 ;;KEY^860.3:^CREATININE CLEARANCE DATE/TIME
 ;;R^"860.3:",.01,"E"
 ;;D^CREATININE CLEARANCE DATE/TIME
 ;;R^"860.3:",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^CREATININE CLEARANCE (ESTIM) DATE
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^DATE AFTER
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^0
 ;;EOR^
 ;;KEY^860.3:^RENAL RESULTS
 ;;R^"860.3:",.01,"E"
 ;;D^RENAL RESULTS
 ;;R^"860.3:",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^FORMATTED RENAL LAB RESULTS
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^NOT EQUAL TO
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^<Results Not Found>
 ;;EOR^
 ;;KEY^860.3:^CANCELLED BY NON-ORDERER
 ;;R^"860.3:",.01,"E"
 ;;D^CANCELLED BY NON-ORDERER
 ;;R^"860.3:",.02,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;EOR^
 ;;KEY^860.3:^ORDER ENTERED BY
 ;;R^"860.3:",.01,"E"
 ;;D^ORDER ENTERED BY
 ;;R^"860.3:",.02,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^ENTERED BY
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^FREE TEXT LENGTH GREATER THAN
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^0
 ;;EOR^
 ;;KEY^860.3:^CANCELED BY NON-ORIG ORDERING PROVIDER
 ;;R^"860.3:",.01,"E"
 ;;D^CANCELED BY NON-ORIG ORDERING PROVIDER
 ;;R^"860.3:",.02,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^ENTERED BY
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^NOT EQUAL TO
 ;;R^"860.3:","860.31:1",4,"E"
 ;;D^ORDERED BY
 ;;EOR^
 ;;KEY^860.3:^HL7 FINAL IMAGING RESULT
 ;;R^"860.3:",.01,"E"
 ;;D^HL7 FINAL IMAGING RESULT
 ;;R^"860.3:",.02,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^REQUEST STATUS (OBR)
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^EQ FREE TEXT
 ;;R^"860.3:","860.31:1",3,"E"
 ;1;
 ;