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

OCXDI02O.m

Go to the documentation of this file.
  1. OCXDI02O ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
  1. ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
  1. ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
  1. ;
  1. S ;
  1. ;
  1. D DOT^OCXDIAG
  1. ;
  1. ;
  1. K REMOTE,LOCAL,OPCODE,REF
  1. F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
  1. .S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
  1. ;
  1. G ^OCXDI02P
  1. ;
  1. Q
  1. ;
  1. DATA ;
  1. ;
  1. ;;D^ORDER FLAGGED FOR RESULTS
  1. ;;R^"860.4:",101,"E"
  1. ;;D^BOOLEAN
  1. ;;R^"860.4:","860.41:4",.01,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:4",.02,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:4",1,"E"
  1. ;;D^ORDER FLAGGED FOR RESULTS
  1. ;;EOR^
  1. ;;KEY^860.4:^OBSERVATION VALUE
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^OBSERVATION VALUE
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:1",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.4:","860.41:1",.02,"E"
  1. ;;D^HL7 OBSERVATION/RESULT SEGMENT
  1. ;;R^"860.4:","860.41:1",1,"E"
  1. ;;D^PATIENT.HL7_OBSERVATION_VALUE
  1. ;;EOR^
  1. ;;KEY^860.4:^ORDER NUMBER
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^ORDER NUMBER
  1. ;;R^"860.4:",101,"E"
  1. ;;D^NUMERIC
  1. ;;R^"860.4:","860.41:1",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.4:","860.41:1",.02,"E"
  1. ;;D^HL7 COMMON ORDER SEGMENT
  1. ;;R^"860.4:","860.41:1",1,"E"
  1. ;;D^PATIENT.HL7 ORDER NUMBER
  1. ;;R^"860.4:","860.41:2",.01,"E"
  1. ;;D^CPRS ORDER PROTOCOL
  1. ;;R^"860.4:","860.41:2",.02,"E"
  1. ;;D^OERR ORDER EVENT FLAG PROTOCOL
  1. ;;R^"860.4:","860.41:2",1,"E"
  1. ;;D^PATIENT.OERR ORDER NUMBER
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_ORDER NUMBER
  1. ;;EOR^
  1. ;;KEY^860.4:^ORDERABLE ITEM
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^ORDERABLE ITEM
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:1",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.4:","860.41:1",.02,"E"
  1. ;;D^HL7 OBSERVATION/RESULT SEGMENT
  1. ;;R^"860.4:","860.41:1",1,"E"
  1. ;;D^PATIENT.ORDERABLE ITEM
  1. ;;EOR^
  1. ;;KEY^860.4:^PATIENT IEN
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^PATIENT IEN
  1. ;;R^"860.4:",101,"E"
  1. ;;D^NUMERIC
  1. ;;R^"860.4:","860.41:1",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.4:","860.41:1",.02,"E"
  1. ;;D^HL7 PATIENT ID SEGMENT
  1. ;;R^"860.4:","860.41:1",1,"E"
  1. ;;D^PATIENT.HL7_PATIENT_ID
  1. ;;R^"860.4:","860.41:4",.01,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:4",.02,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:4",1,"E"
  1. ;;D^PATIENT.IEN
  1. ;;EOR^
  1. ;;KEY^860.4:^PATIENT DATE OF BIRTH
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^PATIENT DATE OF BIRTH
  1. ;;R^"860.4:",101,"E"
  1. ;;D^DATE/TIME
  1. ;;R^"860.4:","860.41:4",.01,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:4",.02,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:4",1,"E"
  1. ;;D^PATIENT.DATE OF BIRTH
  1. ;;EOR^
  1. ;;KEY^860.4:^ORDER MODE
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^ORDER MODE
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_ORD_MODE
  1. ;;EOR^
  1. ;;KEY^860.4:^OI NATIONAL ID
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^OI NATIONAL ID
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_NAT_ID
  1. ;;EOR^
  1. ;;KEY^860.4:^OI NATIONAL ID TEXT
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^OI NATIONAL ID TEXT
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_NAT_TEXT
  1. ;;EOR^
  1. ;;KEY^860.4:^OI NATIONAL CODING SYSTEM
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^OI NATIONAL CODING SYSTEM
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_NAT_COD_SYS
  1. ;;EOR^
  1. ;;KEY^860.4:^OI LOCAL ID
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^OI LOCAL ID
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_LOCAL ID
  1. ;;EOR^
  1. ;;KEY^860.4:^OI LOCAL TEXT
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^OI LOCAL TEXT
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_LOCAL_TEXT
  1. ;;EOR^
  1. ;;KEY^860.4:^OI LOCAL CODING SYSTEM
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^OI LOCAL CODING SYSTEM
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_LOC_COD_SYS
  1. ;;EOR^
  1. ;;KEY^860.4:^ORDER EFFECTIVE DATE
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^ORDER EFFECTIVE DATE
  1. ;;R^"860.4:","860.41:5",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:5",1,"E"
  1. ;;D^PATIENT.OPS_ORD_EFF_DATE
  1. ;;EOR^
  1. ;;KEY^860.4:^DIET ORDERABLE ITEM
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^DIET ORDERABLE ITEM
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:1",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;1;
  1. ;