Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ORQOREP

Package: Order Entry Results Reporting

Routine: ORQOREP


Information

ORQOREP ;ISP/JMH,RFR - REPORT FOR QUICK ORDERS ;09/05/2014 14:41

Source Information

Source file <ORQOREP.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Order Entry Results Reporting 5 FQOIRDLG^ORINQIV  $$UPPER^ORU  ($$HEADER,DEVICE,WRAP)^ORUTL  OISLCT^ORWDPS2  $$EXTVAL^ORWDX2  
Pharmacy Data Management 3 $$EXMT^PSSDSAPI  DOSE^PSSOPKI1  DOSE^PSSORUTL  
Kernel 2 ($$CJ,$$LJ,$$REPEAT)^XLFSTR  $$ACTIVE^XUSER  
VA FileMan 2 $$GET1^DIQ  ^DIR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Order Entry Results Reporting 2 OR QO CASE REPORT  OR QO FREETEXT REPORT  

Entry Points

Name Comments DBIA/ICR reference
ALLDOSES(OROI,ORTYPE,ORPT,OROUT,ORDISP) ;return all doses for an orderable item
CASE ;
DIFFQ ;TASKMAN ENTRY POINT
ADD(ARRAY,SUBSCRIPT,VALUE) ;ADD A LINE TO THE OUTPUT ARRAY
CASEQ ;TASKMAN ENTRY POINT
DIFF ;

External References

Name Field # of Occurrence
$$GET1^DIQ DIFFQ+39
^DIR DIFF+5, DIFF+12
FQOIRDLG^ORINQIV DIFFQ+3
$$UPPER^ORU CASEQ+39
$$HEADER^ORUTL DIFFQ+93, DIFFQ+100, DIFFQ+105, DIFFQ+107, CASEQ+40, CASEQ+52
DEVICE^ORUTL DIFF+16, CASE+9
WRAP^ORUTL ADD+7
OISLCT^ORWDPS2 ALLDOSES+3
$$EXTVAL^ORWDX2 CASEQ+26
$$EXMT^PSSDSAPI DIFFQ+71
DOSE^PSSOPKI1 DIFFQ+61, CASEQ+31, CASEQ+32
DOSE^PSSORUTL CASEQ+31
$$CJ^XLFSTR DIFFQ+109, CASEQ+54
$$LJ^XLFSTR DIFFQ+76, DIFFQ+77, DIFFQ+81, DIFFQ+83, DIFFQ+84, DIFFQ+85, DIFFQ+86, DIFFQ+87
$$REPEAT^XLFSTR DIFFQ+88
$$ACTIVE^XUSER DIFFQ+36

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report identifies Medication Quick orders that have a free text dosage",!
  • Line Location: DIFF+1
Function Call: WRITE
  • Prompt: "that does not match exactly one of the Local Dosages from Pharmacy.",!
  • Line Location: DIFF+2
Function Call: WRITE
  • Prompt: OUT(OUT),!
  • Line Location: DIFFQ+95
Function Call: WRITE
  • Prompt: !
  • Line Location: DIFFQ+96
Function Call: WRITE
  • Prompt: !
  • Line Location: DIFFQ+104
Function Call: WRITE
  • Prompt: !!,"This report identifies quick orders that have potentially had the DRUG name",!
  • Line Location: CASE+1
Function Call: WRITE
  • Prompt: "edited such that when the quick order is loaded in CPRS the dosage that is",!
  • Line Location: CASE+2
Function Call: WRITE
  • Prompt: "saved with the quick order does not match any of the dosages available for",!
  • Line Location: CASE+3
Function Call: WRITE
  • Prompt: "selection in the list. This causes the dosage checks not to be able to be",!
  • Line Location: CASE+4
Function Call: WRITE
  • Prompt: "performed correctly. The edit to the drug that this specifically looks for",!
  • Line Location: CASE+5
Function Call: WRITE
  • Prompt: "is a case change to the DRUG name. If the name is changed so that it",!
  • Line Location: CASE+6
Function Call: WRITE
  • Prompt: "contains different characters that are not just case changes, this report",!
  • Line Location: CASE+7
Function Call: WRITE
  • Prompt: "will not identify them.",!
  • Line Location: CASE+8
Function Call: WRITE
  • Prompt: !
  • Line Location: CASEQ+49
Routine Call
  • DIR
  • Line Location:
    • DIFF+5
    • DIFF+12

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT(0 DIFFQ+5, CASEQ+2
^ORD(100.98 - [#100.98] DIFFQ+58, CASEQ+29
^ORD(101.41 - [#101.41] DIFFQ+25, DIFFQ+28, DIFFQ+32, DIFFQ+42, DIFFQ+44, DIFFQ+46, DIFFQ+50, DIFFQ+52, DIFFQ+54, DIFFQ+57
, DIFFQ+75, DIFFQ+76, DIFFQ+77, CASEQ+3, CASEQ+4, CASEQ+6, CASEQ+8, CASEQ+10, CASEQ+14, CASEQ+16
, CASEQ+18, CASEQ+20, CASEQ+22, CASEQ+24, CASEQ+28, CASEQ+42
^ORD(101.43 - [#101.43] DIFFQ+48, DIFFQ+49, DIFFQ+85, CASEQ+12, CASEQ+13, CASEQ+45
^ORD(101.44 - [#101.44] DIFFQ+28, DIFFQ+34, DIFFQ+35
^TMP($J DIFFQ+2!, DIFFQ+5, DIFFQ+28, DIFFQ+110!

Label References

Name Line Occurrences
ADD DIFFQ+76, DIFFQ+77, DIFFQ+81, DIFFQ+83, DIFFQ+84, DIFFQ+85, DIFFQ+86, DIFFQ+87, DIFFQ+88, DIFFQ+89
, DIFFQ+90, DIFFQ+91
ALLDOSES DIFFQ+60

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY ADD~, ADD+4, ADD+8, ADD+10
>> CBUFFER DIFFQ+100, DIFFQ+104, DIFFQ+105, DIFFQ+107, CASEQ+40, CASEQ+52
COLUMN ADD+5~, ADD+6*, ADD+7
CONT DIFFQ+27~, DIFFQ+28*, DIFFQ+29
COUNT DIFFQ+97~, DIFFQ+99*, DIFFQ+100, DIFFQ+102, DIFFQ+103
DATA DIFFQ+4~, DIFFQ+5*, DIFFQ+76, DIFFQ+77, DIFFQ+81, DIFFQ+83, DIFFQ+84, DIFFQ+85, DIFFQ+86, DIFFQ+87
, DIFFQ+88, DIFFQ+89, DIFFQ+90, DIFFQ+91, DIFFQ+99, DIFFQ+100, DIFFQ+102, DIFFQ+103, DIFFQ+110
DIR DIFF+3~, DIFF+10!
DIR("A" DIFF+5*, DIFF+12*
DIR("B" DIFF+5*, DIFF+12*
DIR(0 DIFF+4*, DIFF+11*
DIROUT DIFF+3~, DIFF+10!
DIRUT DIFF+3~, DIFF+10!
DOSAGE DIFFQ+4~, DIFFQ+9*, DIFFQ+14*, DIFFQ+62, DIFFQ+63, DIFFQ+64, DIFFQ+67, DIFFQ+72
DTOUT DIFF+3~, DIFF+10!
DUOUT DIFF+3~, DIFF+10!
EXIT DIFFQ+4~, DIFFQ+31*, DIFFQ+33*, DIFFQ+37*, DIFFQ+40, DIFFQ+65*, DIFFQ+66, DIFFQ+67*, DIFFQ+68
HEADER DIFFQ+79~*, DIFFQ+81, DIFFQ+82*
HOLDING ADD+5~, ADD+9*, ADD+10
HOLDING( ADD+9, ADD+10
I ALLDOSES+4~*, ALLDOSES+5, ALLDOSES+6*, ALLDOSES+7, ALLDOSES+8, ALLDOSES+9*, ALLDOSES+10
IOM DIFFQ+109, CASEQ+54
IOSL DIFFQ+100, DIFFQ+104, DIFFQ+105, DIFFQ+107, CASEQ+40, CASEQ+49, CASEQ+52
LINE DIFFQ+97~, DIFFQ+102*, DIFFQ+103
LNUM ADD+5~, ADD+8*, ADD+10, ADD+11*
OQVIEN DIFFQ+33~*, DIFFQ+34*, DIFFQ+35
ORCNT DIFFQ+4~, DIFFQ+5*, DIFFQ+92*, DIFFQ+109, CASEQ+1~, CASEQ+2*, CASEQ+50*, CASEQ+54
ORDG DIFFQ+41~, DIFFQ+57*, DIFFQ+58*, DIFFQ+59, DIFFQ+83, CASEQ+5~, CASEQ+28*, CASEQ+29*, CASEQ+30, CASEQ+43
ORDI DIFFQ+90~*
ORDISP DIFFQ+60~, DIFFQ+87, ALLDOSES~, ALLDOSES+2*, ALLDOSES+10*
ORDLI DIFFQ+65~*, DIFFQ+66*
ORDOSE DIFFQ+41~, DIFFQ+61~, CASEQ+5~, CASEQ+31, CASEQ+32
ORDOSE( DIFFQ+66, CASEQ+34, CASEQ+35
ORDOSE("DD" DIFFQ+71, CASEQ+36
ORDOSE(1 DIFFQ+62, DIFFQ+63
ORDOSE2 DIFFQ+60~
ORDOSE2( DIFFQ+69, DIFFQ+90
ORDOSEI CASEQ+33~*, CASEQ+34*, CASEQ+35
ORDR DIFFQ+41~, CASEQ+5~, CASEQ+24*, CASEQ+25, CASEQ+26, CASEQ+36, CASEQ+46
ORDRDLG DIFFQ+41~, CASEQ+5~, CASEQ+20*, CASEQ+21, CASEQ+22, CASEQ+26
ORDREXT DIFFQ+41~, CASEQ+5~, CASEQ+26*, CASEQ+38, CASEQ+39, CASEQ+47
ORDRIEN DIFFQ+41~, CASEQ+5~, CASEQ+22*, CASEQ+23, CASEQ+24
OREI DIFFQ+70~, DIFFQ+71*
OREXMPT DIFFQ+70~, DIFFQ+71*, DIFFQ+72*, DIFFQ+73
ORFLAG DIFFQ+41~, CASEQ+5~, CASEQ+37*
ORFOUND CASEQ+33~*, CASEQ+35*
ORI DIFFQ+4~, DIFFQ+25*, DIFFQ+28, DIFFQ+32, DIFFQ+34, DIFFQ+44, DIFFQ+46, DIFFQ+52, DIFFQ+54, DIFFQ+57
, DIFFQ+75, DIFFQ+76, DIFFQ+77, CASEQ+1~, CASEQ+3*, CASEQ+4, CASEQ+8, CASEQ+10, CASEQ+16, CASEQ+18
, CASEQ+22, CASEQ+24, CASEQ+28, CASEQ+42
ORINS DIFFQ+41~, DIFFQ+54*, DIFFQ+55, DIFFQ+69, DIFFQ+86, DIFFQ+88, CASEQ+5~, CASEQ+18*, CASEQ+19, CASEQ+35
, CASEQ+36, CASEQ+38, CASEQ+39, CASEQ+48
ORINSDLG DIFFQ+41~, DIFFQ+50*, DIFFQ+51, DIFFQ+52, CASEQ+5~, CASEQ+14*, CASEQ+15, CASEQ+16
ORINSIEN DIFFQ+41~, DIFFQ+52*, DIFFQ+53, DIFFQ+54, CASEQ+5~, CASEQ+16*, CASEQ+17, CASEQ+18
OROI DIFFQ+41~, DIFFQ+46*, DIFFQ+47, DIFFQ+48, DIFFQ+49, DIFFQ+60, DIFFQ+84, DIFFQ+85, ALLDOSES~, ALLDOSES+3
, CASEQ+5~, CASEQ+10*, CASEQ+11, CASEQ+12, CASEQ+13, CASEQ+44, CASEQ+45
OROIDLG DIFFQ+41~, DIFFQ+42*, DIFFQ+43, DIFFQ+44, CASEQ+5~, CASEQ+6*, CASEQ+7, CASEQ+8
OROIIEN DIFFQ+41~, DIFFQ+44*, DIFFQ+45, DIFFQ+46, CASEQ+5~, CASEQ+8*, CASEQ+9, CASEQ+10
OROUT ALLDOSES~
OROUT( ALLDOSES+7*
ORPSOI DIFFQ+41~, DIFFQ+49*, DIFFQ+61, CASEQ+5~, CASEQ+13*, CASEQ+31, CASEQ+32
ORPT DIFFQ+4~, DIFFQ+5*, DIFFQ+60, ALLDOSES~, ALLDOSES+3, CASEQ+1~, CASEQ+2*, CASEQ+31, CASEQ+32
ORPTYPE DIFFQ+41~, DIFFQ+59*, DIFFQ+60, DIFFQ+61, CASEQ+5~, CASEQ+30*, CASEQ+31, CASEQ+32
ORTYPE ALLDOSES~, ALLDOSES+3
ORY DIFF+14*, DIFFQ+8, DIFFQ+13, DIFFQ+17, DIFFQ+21, ALLDOSES+1~, ALLDOSES+3
ORY( ALLDOSES+4, ALLDOSES+5, ALLDOSES+6, ALLDOSES+7, ALLDOSES+8, ALLDOSES+9, ALLDOSES+10
OUT DIFFQ+4~, DIFFQ+7*, DIFFQ+10*, DIFFQ+11*, DIFFQ+12, DIFFQ+15*, DIFFQ+16, DIFFQ+18*, DIFFQ+19*, DIFFQ+20*
, DIFFQ+22*, DIFFQ+23*, DIFFQ+24, DIFFQ+95*
OUT( DIFFQ+10*, DIFFQ+11*, DIFFQ+12*, DIFFQ+15*, DIFFQ+16*, DIFFQ+18*, DIFFQ+19*, DIFFQ+20*, DIFFQ+22*, DIFFQ+23*
, DIFFQ+24*, DIFFQ+95
OUT(1 DIFFQ+6*
OUT(2 DIFFQ+7*
PGNUM DIFFQ+4~, DIFFQ+93, DIFFQ+100, DIFFQ+105, DIFFQ+107, CASEQ+1~, CASEQ+40, CASEQ+52
SAVE DIFF+3~, DIFF+16
SAVE("ORY" DIFF+15*
SAVE("TYPE" DIFF+15*
STOP DIFFQ+4~, DIFFQ+93*, DIFFQ+94, DIFFQ+98, DIFFQ+99, DIFFQ+100*, DIFFQ+101, DIFFQ+102, DIFFQ+105*, DIFFQ+106
, DIFFQ+107*, DIFFQ+108, CASEQ+1~, CASEQ+3, CASEQ+40*, CASEQ+41, CASEQ+51, CASEQ+52*, CASEQ+53
SUBSCRIPT DIFFQ+74~, DIFFQ+75*, DIFFQ+76, DIFFQ+77, DIFFQ+81, DIFFQ+83, DIFFQ+84, DIFFQ+85, DIFFQ+86, DIFFQ+87
, DIFFQ+88, DIFFQ+89, DIFFQ+90, DIFFQ+91, DIFFQ+98*, DIFFQ+99, DIFFQ+100, DIFFQ+102, DIFFQ+103, ADD~
, ADD+4, ADD+8, ADD+10
TYPE DIFF+3~, DIFF+7*, DIFF+8*, DIFF+9*, DIFFQ+26
U DIFF+4, DIFF+11, DIFF+13, DIFFQ+32, DIFFQ+35, DIFFQ+48, DIFFQ+49, DIFFQ+57, DIFFQ+58, DIFFQ+75
, DIFFQ+76, DIFFQ+77, DIFFQ+85, DIFFQ+87, ALLDOSES+7, CASEQ+4, CASEQ+12, CASEQ+13, CASEQ+28, CASEQ+29
, CASEQ+35, CASEQ+36, CASEQ+42, CASEQ+45
USER DIFFQ+27~, DIFFQ+35*, DIFFQ+36, DIFFQ+37, DIFFQ+38, DIFFQ+39, DIFFQ+78, DIFFQ+80*, DIFFQ+81
USER( DIFFQ+36*, DIFFQ+37, DIFFQ+38!, DIFFQ+39*, DIFFQ+80, DIFFQ+81
VALUE ADD~, ADD+4, ADD+6, ADD+7
X DIFF+3~, DIFF+10!
Y DIFF+3~, DIFF+6, DIFF+8, DIFF+9, DIFF+10!, DIFF+13, DIFF+14
>> ZTQUEUED DIFFQ+111, CASEQ+55
>> ZTREQ DIFFQ+111*, CASEQ+55*

Marked Items

Name Field # of Occurrence
$T(DOSE^PSSOPKI1 CASEQ+31, CASEQ+32
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All