241 lines
5.2 KiB
Mathematica
241 lines
5.2 KiB
Mathematica
OCXDI01U ;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 ^OCXDI01V
|
|
;
|
|
Q
|
|
;
|
|
DATA ;
|
|
;
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^CREATININE FLAG
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CREATININE FLAG
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^WBC 13 DAYS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^WBC 13 DAYS
|
|
;;EOR^
|
|
;;KEY^863.4:^WBC W/IN 13 DAYS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^WBC W/IN 13 DAYS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^RECENT WBC RESULT
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^RECENT WBC RESULT
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^BARIUM ORDER STATUS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^BARIUM ORDER STATUS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^CHOLECYSTOGRAM ORDER STATUS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CHOLECYSTOGRAM ORDER STATUS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^POLYPHARMACY
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^POLYPHARMACY
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^GLUCOPHAGE CREATININE
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^GLUCOPHAGE CREATININE
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^GLUCO-CREATININE FLAG
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^GLUCO-CREATININE FLAG
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^GLUCO-CREATININE TEXT
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^GLUCO-CREATININE TEXT
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^GLUCO-CREATININE RESULT
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^GLUCO-CREATININE RESULT
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^NUMERIC
|
|
;;EOR^
|
|
;;KEY^863.4:^GLUCO_CREATININE DAYS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^GLUCO_CREATININE DAYS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^NUMERIC
|
|
;;EOR^
|
|
;;KEY^863.4:^WBC W/IN 6 DAYS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^WBC W/IN 6 DAYS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^ANC W/IN 6 DAYS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^ANC W/IN 6 DAYS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^RECENT ANC
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^RECENT ANC
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^CLOZAPINE LABS W/IN 6 DAYS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CLOZAPINE LABS W/IN 6 DAYS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^CLOZAPINE LAB RESULTS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CLOZAPINE LAB RESULTS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^DISPENSE DRUG
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^DISPENSE DRUG
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^CLOZAPINE MED
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CLOZAPINE MED
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^QUERY MODE
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^QUERY MODE
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^QUERY DATA
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^QUERY DATA
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^FREE TEXT
|
|
;;EOR^
|
|
;;KEY^863.4:^WBC W/IN 7 DAYS
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^WBC W/IN 7 DAYS
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^CLOZAPINE ANC W/IN 7 FLAG
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CLOZAPINE ANC W/IN 7 FLAG
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^CLOZAPINE ANC W/IN 7 RESULT
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CLOZAPINE ANC W/IN 7 RESULT
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^NUMERIC
|
|
;;EOR^
|
|
;;KEY^863.4:^CLOZAPINE WBC W/IN 7 FLAG
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CLOZAPINE WBC W/IN 7 FLAG
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^BOOLEAN
|
|
;;EOR^
|
|
;;KEY^863.4:^CLOZAPINE WBC W/IN 7 RESULT
|
|
;;R^"863.4:",.01,"E"
|
|
;;D^CLOZAPINE WBC W/IN 7 RESULT
|
|
;;R^"863.4:","863.41:1",.01,"E"
|
|
;;D^DATA TYPE
|
|
;;R^"863.4:","863.41:1",1,"E"
|
|
;;D^NUMERIC
|
|
;;EOR^
|
|
;;EOF^OCXS(863.4)^1
|
|
;;SOF^863.2 OCX MDD SUBJECT
|
|
;;KEY^863.2:^PATIENT
|
|
;;R^"863.2:",.01,"E"
|
|
;;D^PATIENT
|
|
;;R^"863.2:","863.21:1",.01,"E"
|
|
;;D^FILE
|
|
;;R^"863.2:","863.21:1",1,"E"
|
|
;;D^2
|
|
;;EOR^
|
|
;;KEY^863.2:^VISIT
|
|
;1;
|
|
;
|