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

OCXDI02S.m

Go to the documentation of this file.
OCXDI02S ;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 ^OCXDI02T
 ;
 Q
 ;
DATA ;
 ;
 ;;D^NEW PATIENT MOVEMENT
 ;;R^"860.4:",101,"E"
 ;;D^BOOLEAN
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.NEW_MOVEMENT
 ;;EOR^
 ;;KEY^860.4:^GLUCOPHAGE MEDS
 ;;R^"860.4:",.01,"E"
 ;;D^GLUCOPHAGE MEDS
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^LOCAL GLUCOPHAGE MEDS
 ;;EOR^
 ;;KEY^860.4:^PATIENT CURRENTLY ON LITHIUM FLAG
 ;;R^"860.4:",.01,"E"
 ;;D^PATIENT CURRENTLY ON LITHIUM FLAG
 ;;R^"860.4:",101,"E"
 ;;D^BOOLEAN
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.TAKING_LITHIUM
 ;;EOR^
 ;;KEY^860.4:^DATE OF LAST LITHIUM LAB TEST
 ;;R^"860.4:",.01,"E"
 ;;D^DATE OF LAST LITHIUM LAB TEST
 ;;R^"860.4:",101,"E"
 ;;D^DATE/TIME
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.DATE_LAST_LITHIUM_TEST
 ;;EOR^
 ;;KEY^860.4:^LITHIUM LAB TEST NID
 ;;R^"860.4:",.01,"E"
 ;;D^LITHIUM LAB TEST NID
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^LITHIUM LAB TEST NID
 ;;EOR^
 ;;KEY^860.4:^PATIENT CURRENTLY ON GLUCOPHAGE
 ;;R^"860.4:",.01,"E"
 ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
 ;;R^"860.4:",101,"E"
 ;;D^BOOLEAN
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.TAKING_GLUCOPHAGE
 ;;EOR^
 ;;KEY^860.4:^PATIENT HAS DIABETES
 ;;R^"860.4:",.01,"E"
 ;;D^PATIENT HAS DIABETES
 ;;R^"860.4:",101,"E"
 ;;D^BOOLEAN
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.HAS_DIABETES
 ;;EOR^
 ;;KEY^860.4:^ORDER TEXT (51 CHARS)
 ;;R^"860.4:",.01,"E"
 ;;D^ORDER TEXT (51 CHARS)
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.ORDER TEXT (51 CHARS)
 ;;EOR^
 ;;KEY^860.4:^DATE OF LAST LITHIUM LAB ORDER
 ;;R^"860.4:",.01,"E"
 ;;D^DATE OF LAST LITHIUM LAB ORDER
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.DATE_LAST_LITH_ORDER
 ;;EOR^
 ;;KEY^860.4:^LITHIUM LAB TEST OI IEN
 ;;R^"860.4:",.01,"E"
 ;;D^LITHIUM LAB TEST OI IEN
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^LITHIUM LAB TEST OI IEN
 ;;EOR^
 ;;KEY^860.4:^PATIENT MOVEMENT DATE PREVIOUS
 ;;R^"860.4:",.01,"E"
 ;;D^PATIENT MOVEMENT DATE PREVIOUS
 ;;R^"860.4:","860.41:3",.01,"E"
 ;;D^DGPM PATIENT MOVEMENT PROTOCOL
 ;;R^"860.4:","860.41:3",.02,"E"
 ;;D^DGPM MOVEMENT EVENTS PROTOCOL
 ;;R^"860.4:","860.41:3",1,"E"
 ;;D^PATIENT.MOVE_DATE_PREV
 ;;EOR^
 ;;KEY^860.4:^NUMBER OF MEDS
 ;;R^"860.4:",.01,"E"
 ;;D^NUMBER OF MEDS
 ;;R^"860.4:",101,"E"
 ;;D^NUMERIC
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^NUMMEDS
 ;;EOR^
 ;;KEY^860.4:^RECENT SERUM CREATININE RESULT
 ;;R^"860.4:",.01,"E"
 ;;D^RECENT SERUM CREATININE RESULT
 ;;R^"860.4:",101,"E"
 ;;D^NUMERIC
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^PATIENT.REC_CREATININE_RESULT
 ;;EOR^
 ;;KEY^860.4:^ENTERED BY
 ;;R^"860.4:",.01,"E"
 ;;D^ENTERED BY
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:1",.01,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;R^"860.4:","860.41:1",.02,"E"
 ;;D^HL7 COMMON ORDER SEGMENT
 ;;R^"860.4:","860.41:1",1,"E"
 ;;D^HL7_ENTERED BY
 ;;EOR^
 ;;KEY^860.4:^ORDERED BY
 ;;R^"860.4:",.01,"E"
 ;;D^ORDERED BY
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:4",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:4",1,"E"
 ;;D^ORDER.ORDERED BY
 ;;EOR^
 ;;KEY^860.4:^LAB TEST ID
 ;;R^"860.4:",.01,"E"
 ;;D^LAB TEST ID
 ;;R^"860.4:",101,"E"
 ;;D^NUMERIC
 ;;R^"860.4:","860.41:1",.01,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;R^"860.4:","860.41:1",.02,"E"
 ;;D^HL7 OBSERVATION/RESULT SEGMENT
 ;;R^"860.4:","860.41:1",1,"E"
 ;;D^PATIENT.HL7_LAB_LOCAL_ID
 ;;EOR^
 ;;KEY^860.4:^LAB TEST PRINT NAME
 ;;R^"860.4:",.01,"E"
 ;;D^LAB TEST PRINT NAME
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:4",.01,"E"
 ;1;
 ;