198 lines
5.0 KiB
Mathematica
198 lines
5.0 KiB
Mathematica
OCXDI02R ;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 ^OCXDI02S
|
|
;
|
|
Q
|
|
;
|
|
DATA ;
|
|
;
|
|
;;D^GENERIC HL7 MESSAGE ARRAY
|
|
;;R^"860.4:","860.41:1",.02,"E"
|
|
;;D^HL7 PHARMACY PRESCRIPTION ORDER SEGMENT
|
|
;;R^"860.4:","860.41:1",1,"E"
|
|
;;D^PATIENT.HL7_RX_OI_TEXT
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT WARD ROOM-BED
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT WARD ROOM-BED
|
|
;;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.WARD_ROOM-BED
|
|
;;EOR^
|
|
;;KEY^860.4:^INPATIENT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^INPATIENT
|
|
;;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^INPATIENT
|
|
;;EOR^
|
|
;;KEY^860.4:^SENDING APPLICATION
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^SENDING APPLICATION
|
|
;;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 MESSAGE HEADER
|
|
;;R^"860.4:","860.41:1",1,"E"
|
|
;;D^PATIENT.HL7_SEND_APP
|
|
;;EOR^
|
|
;;KEY^860.4:^RECIEVING APPLICATION
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^RECIEVING APPLICATION
|
|
;;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 MESSAGE HEADER
|
|
;;R^"860.4:","860.41:1",1,"E"
|
|
;;D^PATIENT.HL7_RECV_APP
|
|
;;EOR^
|
|
;;KEY^860.4:^EXTERNAL APPLICATION
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^EXTERNAL APPLICATION
|
|
;;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.HL7_EXT_APP
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT FAC. TREAT. SPEC. CURRENT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT FAC. TREAT. SPEC. CURRENT
|
|
;;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.FAC_TREAT_SPEC_CURR
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT FAC. TREAT. SPEC. PREVIOUS
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT FAC. TREAT. SPEC. 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.FAC_TREAT_SPEC_PREV
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT MOVEMENT WARD CURRENT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT MOVEMENT WARD CURRENT
|
|
;;R^"860.4:",101,"E"
|
|
;;D^FREE TEXT
|
|
;;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_WARD_CURR
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT MOVEMENT SERVICE CURRENT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT MOVEMENT SERVICE CURRENT
|
|
;;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.MOVE_SERV_CURR
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT MOVEMENT WARD IEN CURRENT
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT MOVEMENT WARD IEN CURRENT
|
|
;;R^"860.4:",1,"E"
|
|
;;D^PMWIENC
|
|
;;R^"860.4:",101,"E"
|
|
;;D^NUMERIC
|
|
;;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.MOV_WARD_IEN_CURR
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT MOVEMENT WARD IEN PREVIOUS
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT MOVEMENT WARD IEN PREVIOUS
|
|
;;R^"860.4:",1,"E"
|
|
;;D^PMWIENP
|
|
;;R^"860.4:",101,"E"
|
|
;;D^NUMERIC
|
|
;;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.MOV_WARD_IEN_PREV
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT MOVEMENT SERVICE PREVIOUS
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT MOVEMENT SERVICE PREVIOUS
|
|
;;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.MOVE_SERV_PREV
|
|
;;EOR^
|
|
;;KEY^860.4:^PATIENT MOVEMENT WARD PREVIOUS
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^PATIENT MOVEMENT WARD PREVIOUS
|
|
;;R^"860.4:",101,"E"
|
|
;;D^FREE TEXT
|
|
;;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_WARD_PREV
|
|
;;EOR^
|
|
;;KEY^860.4:^ORDERABLE ITEM NAME
|
|
;;R^"860.4:",.01,"E"
|
|
;;D^ORDERABLE ITEM NAME
|
|
;;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.ORD_ITEM_NAME
|
|
;;EOR^
|
|
;;KEY^860.4:^NEW PATIENT MOVEMENT
|
|
;;R^"860.4:",.01,"E"
|
|
;1;
|
|
;
|