210 lines
5.1 KiB
Mathematica
210 lines
5.1 KiB
Mathematica
OCXDI02Q ;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 ^OCXDI02R
|
|
;
|
|
Q
|
|
;
|
|
DATA ;
|
|
;
|
|
;;D^DATABASE LOOKUP
|
|
;;R^"860.4:","860.41:4",1,"E"
|
|
;;D^PATIENT.CONTR_MED_CODE
|
|
;;EOR^
|
|
;;KEY^860.4:^MISSING ANGIOGRAM, CATH PERIF LAB TESTS
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^MISSING ANGIOGRAM, CATH PERIF LAB TESTS
|
|
;;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.MACPLT
|
|
;;EOR^
|
|
;;KEY^860.4:^RECENT BARIUM STUDY FLAG
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^RECENT BARIUM STUDY 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.REC_BA_FLAG
|
|
;;EOR^
|
|
;;KEY^860.4:^RECENT BARIUM STUDY TEXT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^RECENT BARIUM STUDY TEXT
|
|
;;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.REC_BAR_TEXT
|
|
;;EOR^
|
|
;;KEY^860.4:^CLOZAPINE LABS W/IN 6 DAYS FLAG
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^CLOZAPINE LABS W/IN 6 DAYS FLAG
|
|
;;R^"860.4:",1,"E"
|
|
;;D^CLOZ LABS 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.CLOZ_LABS_W/IN_6_DAYS
|
|
;;EOR^
|
|
;;KEY^860.4:^RECENT WBC RESULT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^RECENT WBC RESULT
|
|
;;R^"860.4:",1,"E"
|
|
;;D^RECENT WBC
|
|
;;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.RECENT WBC RESULT
|
|
;;EOR^
|
|
;;KEY^860.4:^ORDERABLE ITEM IEN
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^ORDERABLE ITEM IEN
|
|
;;R^"860.4:",101,"E"
|
|
;;D^NUMERIC
|
|
;;R^"860.4:","860.41:5",.01,"E"
|
|
;;D^CPRS ORDER PRESCAN
|
|
;;R^"860.4:","860.41:5",.02,"E"
|
|
;;D^ORDER ENTRY ORDER PRESCAN
|
|
;;R^"860.4:","860.41:5",1,"E"
|
|
;;D^PATIENT.ORDER_ITEM_IEN
|
|
;;EOR^
|
|
;;KEY^860.4:^VA DRUG CLASS
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^VA DRUG CLASS
|
|
;;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.DRUG_CLASS
|
|
;;EOR^
|
|
;;KEY^860.4:^RECENT PT AND PTT LAB TEXT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^RECENT PT AND PTT LAB TEXT
|
|
;;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.PTT_PT_TEXT
|
|
;;EOR^
|
|
;;KEY^860.4:^CREATININE CLEARANCE (ESTIM) VALUE
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^CREATININE CLEARANCE (ESTIM) VALUE
|
|
;;R^"860.4:",1,"E"
|
|
;;D^CRCLV
|
|
;;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.CRCL_TEXT
|
|
;;EOR^
|
|
;;KEY^860.4:^CREATININE CLEARANCE (ESTIM) DATE
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^CREATININE CLEARANCE (ESTIM) DATE
|
|
;;R^"860.4:",1,"E"
|
|
;;D^CRCLD
|
|
;;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.CRCL_DATE
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT TOO BIG FOR SCANNER FLAG
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT TOO BIG FOR SCANNER 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.SCNR_OVRSZ_FLAG
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT TOO BIG FOR SCANNER TEXT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT TOO BIG FOR SCANNER TEXT
|
|
;;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_SCNR_OVRSZ_TEXT
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT TOO BIG FOR SCANNER DEVICE
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT TOO BIG FOR SCANNER DEVICE
|
|
;;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.SCNR_OVRSZ_DEV
|
|
;;EOR^
|
|
;;KEY^860.4:^LAB TEST NATIONAL CODE
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^LAB TEST NATIONAL CODE
|
|
;;R^"860.4:",1,"E"
|
|
;;D^LTNC
|
|
;;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 OBSERVATION/RESULT SEGMENT
|
|
;;R^"860.4:","860.41:1",1,"E"
|
|
;;D^PATIENT.LAB_TST_NAT_CODE
|
|
;;EOR^
|
|
;;KEY^860.4:^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
|
;;R^"860.4:",101,"E"
|
|
;;D^FREE TEXT
|
|
;;R^"860.4:","860.41:1",.01,"E"
|
|
;1;
|
|
;
|