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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ORWPCE3

Package: Order Entry Results Reporting

Routine: ORWPCE3


Information

ORWPCE3 ; SLC/KCM/REV/JM/TC - Get a PCE encounter for a TIU document ;02/07/14 13:02

Source Information

Source file <ORWPCE3.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
DRG Grouper 2 ($$CODECS,$$CSI,$$SAB)^ICDEX  ($$ICDDATA,ICDDESC)^ICDXCODE  
CPT HCPCS Codes 1 $$CODEC^ICPTCOD  
Kernel 1 ($$SENTENCE,$$UP)^XLFSTR  
Order Entry Results Reporting 1 (NOTEVSTR,SCSEL)^ORWPCE  
PCE Patient Care Encounter 1 ($$GETENC,ENCEVENT)^PXAPI  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Order Entry Results Reporting 3 ORAMX1  ORWPCE GET DX TEXT  ORWPCE PCE4NOTE  
Enterprise Health Management Platform 1 HMPDJ02  

Entry Points

Name Comments DBIA/ICR reference
PCE4NOTE(LST,IEN,DFN,VSITSTR) ; Return encounter for an associated note
; LST(1)=HDR^AllowEdit^CPTRequired^VStr^Author^hasCPT
; LST(n)=TYP+^CODE^CAT^NARR^QUAL1^QUAL2 (QUAL1=Primary!Qty, QUAL2=Prv)
GETDXTXT(ORY,NARR,CODE) ; RPC to resolve Dx Text for PCE view
SETNARR(NARR,CODE) ; Set narrative string
ICDDESC(ORCODE,ORDT) ; Get description for ICD9 Code
ICDDESQ

External References

Name Field # of Occurrence
$$CODECS^ICDEX SETNARR+7
$$CSI^ICDEX PCE4NOTE+56
$$SAB^ICDEX PCE4NOTE+56
$$ICDDATA^ICDXCODE PCE4NOTE+58
ICDDESC^ICDXCODE ICDDESC+2
$$CODEC^ICPTCOD PCE4NOTE+73
NOTEVSTR^ORWPCE PCE4NOTE+13
SCSEL^ORWPCE PCE4NOTE+34
$$GETENC^PXAPI PCE4NOTE+7
ENCEVENT^PXAPI PCE4NOTE+24
$$SENTENCE^XLFSTR ICDDESC+4
$$UP^XLFSTR SETNARR+10, SETNARR+14

Used in RPC

RPC Name Call Tags
ORWPCE PCE4NOTE PCE4NOTE
ORWPCE GET DX TEXT GETDXTXT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTNPOV - [#9999999.27] PCE4NOTE+61, PCE4NOTE+76, PCE4NOTE+78, PCE4NOTE+181, PCE4NOTE+182, SETNARR+2
^AUTTEDT - [#9999999.09] PCE4NOTE+130
^AUTTEXAM - [#9999999.15] PCE4NOTE+162
^AUTTHF - [#9999999.64] PCE4NOTE+146
^AUTTIMM - [#9999999.14] PCE4NOTE+98
^AUTTSK - [#9999999.28] PCE4NOTE+114
^SC - [#44] PCE4NOTE+30
^TIU(8925 - [#8925] PCE4NOTE+10
^TMP("ORWPCE" PCE4NOTE+21
^TMP("PXKENC" PCE4NOTE+23!, PCE4NOTE+25, PCE4NOTE+26, PCE4NOTE+27, PCE4NOTE+46, PCE4NOTE+47, PCE4NOTE+53, PCE4NOTE+55, PCE4NOTE+71, PCE4NOTE+72
, PCE4NOTE+82, PCE4NOTE+83, PCE4NOTE+95, PCE4NOTE+96, PCE4NOTE+111, PCE4NOTE+112, PCE4NOTE+127, PCE4NOTE+128, PCE4NOTE+143, PCE4NOTE+144
, PCE4NOTE+159, PCE4NOTE+160, PCE4NOTE+175, PCE4NOTE+176
^VA(200 - [#200] PCE4NOTE+49

Label References

Name Line Occurrences
$$ICDDESC SETNARR+9, SETNARR+13
$$SETNARR PCE4NOTE+59, GETDXTXT+1
ICDDESQ ICDDESC+3

Naked Globals

Name Field # of Occurrence
^(12 PCE4NOTE+10, PCE4NOTE+72, PCE4NOTE+96, PCE4NOTE+112, PCE4NOTE+128, PCE4NOTE+144, PCE4NOTE+160, PCE4NOTE+176
^(802 PCE4NOTE+55, PCE4NOTE+72, PCE4NOTE+176
^(811 PCE4NOTE+55, PCE4NOTE+72, PCE4NOTE+96, PCE4NOTE+112, PCE4NOTE+128, PCE4NOTE+144, PCE4NOTE+160, PCE4NOTE+176

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CAT PCE4NOTE+3~, PCE4NOTE+60*, PCE4NOTE+61*, PCE4NOTE+65, PCE4NOTE+75*, PCE4NOTE+76*, PCE4NOTE+87, PCE4NOTE+100*, PCE4NOTE+103, PCE4NOTE+116*
, PCE4NOTE+119, PCE4NOTE+132*, PCE4NOTE+135, PCE4NOTE+148*, PCE4NOTE+151, PCE4NOTE+164*, PCE4NOTE+167, PCE4NOTE+179*, PCE4NOTE+181*, PCE4NOTE+185
CODE PCE4NOTE+3~, PCE4NOTE+49*, PCE4NOTE+52, PCE4NOTE+56*, PCE4NOTE+57, PCE4NOTE+58*, PCE4NOTE+59, PCE4NOTE+65, PCE4NOTE+73*, PCE4NOTE+74*
, PCE4NOTE+87, PCE4NOTE+97*, PCE4NOTE+98, PCE4NOTE+103, PCE4NOTE+113*, PCE4NOTE+114, PCE4NOTE+119, PCE4NOTE+129*, PCE4NOTE+130, PCE4NOTE+135
, PCE4NOTE+145*, PCE4NOTE+146, PCE4NOTE+151, PCE4NOTE+161*, PCE4NOTE+162, PCE4NOTE+167, PCE4NOTE+177*, PCE4NOTE+185, GETDXTXT~, GETDXTXT+1
, SETNARR~, SETNARR+7, SETNARR+8, SETNARR+9, SETNARR+13, SETNARR+14, SETNARR+15
DFN PCE4NOTE~, PCE4NOTE+7
DT PCE4NOTE+56, PCE4NOTE+58, SETNARR+7, ICDDESC+1
I SETNARR+1~, SETNARR+8*, SETNARR+9
ICDC SETNARR+9~*, SETNARR+10, SETNARR+11
ICDCSYS PCE4NOTE+54~, PCE4NOTE+56*, PCE4NOTE+58
ICDD SETNARR+9~*, SETNARR+10, SETNARR+13~*, SETNARR+14, ICDDESC+1~, ICDDESC+2, ICDDESC+3
ICDD(1 ICDDESC+4
ICDLBL SETNARR+1~, SETNARR+7*, SETNARR+10, SETNARR+11, SETNARR+14, SETNARR+15
ICOM PCE4NOTE+4~, PCE4NOTE+16*, PCE4NOTE+67*, PCE4NOTE+68, PCE4NOTE+70, PCE4NOTE+89*, PCE4NOTE+90, PCE4NOTE+92, PCE4NOTE+105*, PCE4NOTE+106
, PCE4NOTE+108, PCE4NOTE+121*, PCE4NOTE+122, PCE4NOTE+124, PCE4NOTE+137*, PCE4NOTE+138, PCE4NOTE+140, PCE4NOTE+153*, PCE4NOTE+154, PCE4NOTE+156
, PCE4NOTE+169*, PCE4NOTE+170, PCE4NOTE+172, PCE4NOTE+187*, PCE4NOTE+188, PCE4NOTE+190
ICPT PCE4NOTE+4~, PCE4NOTE+71*, PCE4NOTE+72, PCE4NOTE+82, PCE4NOTE+83
IEN PCE4NOTE~, PCE4NOTE+5, PCE4NOTE+10, PCE4NOTE+13
IHF PCE4NOTE+4~, PCE4NOTE+143*, PCE4NOTE+144
IIMM PCE4NOTE+4~, PCE4NOTE+95*, PCE4NOTE+96
ILST PCE4NOTE+3~, PCE4NOTE+15*, PCE4NOTE+28*, PCE4NOTE+29*, PCE4NOTE+30*, PCE4NOTE+31*, PCE4NOTE+35*, PCE4NOTE+36*, PCE4NOTE+37*, PCE4NOTE+38*
, PCE4NOTE+39*, PCE4NOTE+41*, PCE4NOTE+43*, PCE4NOTE+51*, PCE4NOTE+52, PCE4NOTE+64*, PCE4NOTE+65, PCE4NOTE+68, PCE4NOTE+69*, PCE4NOTE+70
, PCE4NOTE+86*, PCE4NOTE+87, PCE4NOTE+90, PCE4NOTE+91*, PCE4NOTE+92, PCE4NOTE+102*, PCE4NOTE+103, PCE4NOTE+106, PCE4NOTE+107*, PCE4NOTE+108
, PCE4NOTE+118*, PCE4NOTE+119, PCE4NOTE+122, PCE4NOTE+123*, PCE4NOTE+124, PCE4NOTE+134*, PCE4NOTE+135, PCE4NOTE+138, PCE4NOTE+139*, PCE4NOTE+140
, PCE4NOTE+150*, PCE4NOTE+151, PCE4NOTE+154, PCE4NOTE+155*, PCE4NOTE+156, PCE4NOTE+166*, PCE4NOTE+167, PCE4NOTE+170, PCE4NOTE+171*, PCE4NOTE+172
, PCE4NOTE+184*, PCE4NOTE+185, PCE4NOTE+188, PCE4NOTE+189*, PCE4NOTE+190
IPED PCE4NOTE+4~, PCE4NOTE+127*, PCE4NOTE+128
IPOV PCE4NOTE+4~, PCE4NOTE+53*, PCE4NOTE+55
IPRV PCE4NOTE+4~, PCE4NOTE+46*, PCE4NOTE+47
ISK PCE4NOTE+4~, PCE4NOTE+111*, PCE4NOTE+112
ITRT PCE4NOTE+4~, PCE4NOTE+175*, PCE4NOTE+176
IXAM PCE4NOTE+4~, PCE4NOTE+159*, PCE4NOTE+160
LOC PCE4NOTE+3~, PCE4NOTE+27*, PCE4NOTE+30, PCE4NOTE+34
LST PCE4NOTE~, PCE4NOTE+21*
LST( PCE4NOTE+28*, PCE4NOTE+29*, PCE4NOTE+30*, PCE4NOTE+31*, PCE4NOTE+35*, PCE4NOTE+36*, PCE4NOTE+37*, PCE4NOTE+38*, PCE4NOTE+39*, PCE4NOTE+41*
, PCE4NOTE+43*, PCE4NOTE+52*, PCE4NOTE+65*, PCE4NOTE+68*, PCE4NOTE+70*, PCE4NOTE+87*, PCE4NOTE+90*, PCE4NOTE+92*, PCE4NOTE+103*, PCE4NOTE+106*
, PCE4NOTE+108*, PCE4NOTE+119*, PCE4NOTE+122*, PCE4NOTE+124*, PCE4NOTE+135*, PCE4NOTE+138*, PCE4NOTE+140*, PCE4NOTE+151*, PCE4NOTE+154*, PCE4NOTE+156*
, PCE4NOTE+167*, PCE4NOTE+170*, PCE4NOTE+172*, PCE4NOTE+185*, PCE4NOTE+188*, PCE4NOTE+190*
LST(1 PCE4NOTE+17*, PCE4NOTE+19*, PCE4NOTE+22, PCE4NOTE+26*
MCNT PCE4NOTE+4~, PCE4NOTE+81*, PCE4NOTE+84*, PCE4NOTE+85
MIDX PCE4NOTE+4~, PCE4NOTE+81*, PCE4NOTE+82*, PCE4NOTE+83
MIEN PCE4NOTE+4~, PCE4NOTE+83*, PCE4NOTE+84
MODS PCE4NOTE+4~, PCE4NOTE+81*, PCE4NOTE+84*, PCE4NOTE+85*, PCE4NOTE+87
NARR PCE4NOTE+3~, PCE4NOTE+49*, PCE4NOTE+52, PCE4NOTE+56*, PCE4NOTE+59*, PCE4NOTE+65, PCE4NOTE+77*, PCE4NOTE+78*, PCE4NOTE+87, PCE4NOTE+98*
, PCE4NOTE+103, PCE4NOTE+114*, PCE4NOTE+119, PCE4NOTE+130*, PCE4NOTE+135, PCE4NOTE+146*, PCE4NOTE+151, PCE4NOTE+162*, PCE4NOTE+167, PCE4NOTE+180*
, PCE4NOTE+182*, PCE4NOTE+185, GETDXTXT~, GETDXTXT+1, SETNARR~, SETNARR+2*, SETNARR+5*, SETNARR+6*, SETNARR+10*, SETNARR+11*
, SETNARR+14*, SETNARR+15*, SETNARR+16
ORCODE ICDDESC~, ICDDESC+2
ORDT ICDDESC~, ICDDESC+1*, ICDDESC+2
ORY GETDXTXT~, GETDXTXT+1*, ICDDESC+1~*, ICDDESC+4*, ICDDESQ
PRIM PCE4NOTE+3~, PCE4NOTE+50*, PCE4NOTE+52, PCE4NOTE+62*, PCE4NOTE+65
PRIMCODE SETNARR+1~, SETNARR+7*
PRV PCE4NOTE+3~, PCE4NOTE+63*, PCE4NOTE+65, PCE4NOTE+80*, PCE4NOTE+87, PCE4NOTE+101*, PCE4NOTE+103, PCE4NOTE+117*, PCE4NOTE+119, PCE4NOTE+133*
, PCE4NOTE+135, PCE4NOTE+149*, PCE4NOTE+151, PCE4NOTE+165*, PCE4NOTE+167, PCE4NOTE+183*, PCE4NOTE+185
QTY PCE4NOTE+3~, PCE4NOTE+79*, PCE4NOTE+87, PCE4NOTE+99*, PCE4NOTE+103, PCE4NOTE+115*, PCE4NOTE+119, PCE4NOTE+131*, PCE4NOTE+135, PCE4NOTE+147*
, PCE4NOTE+151, PCE4NOTE+163*, PCE4NOTE+167, PCE4NOTE+178*, PCE4NOTE+185
U PCE4NOTE+11, PCE4NOTE+12, PCE4NOTE+17, PCE4NOTE+19, PCE4NOTE+22, PCE4NOTE+26, PCE4NOTE+27, PCE4NOTE+28, PCE4NOTE+29, PCE4NOTE+30
, PCE4NOTE+34, PCE4NOTE+35, PCE4NOTE+36, PCE4NOTE+37, PCE4NOTE+38, PCE4NOTE+39, PCE4NOTE+41, PCE4NOTE+43, PCE4NOTE+49, PCE4NOTE+50
, PCE4NOTE+52, PCE4NOTE+56, PCE4NOTE+58, PCE4NOTE+60, PCE4NOTE+61, PCE4NOTE+62, PCE4NOTE+63, PCE4NOTE+65, PCE4NOTE+68, PCE4NOTE+70
, PCE4NOTE+73, PCE4NOTE+75, PCE4NOTE+76, PCE4NOTE+77, PCE4NOTE+78, PCE4NOTE+79, PCE4NOTE+80, PCE4NOTE+87, PCE4NOTE+90, PCE4NOTE+92
, PCE4NOTE+97, PCE4NOTE+98, PCE4NOTE+99, PCE4NOTE+101, PCE4NOTE+103, PCE4NOTE+106, PCE4NOTE+108, PCE4NOTE+113, PCE4NOTE+114, PCE4NOTE+115
, PCE4NOTE+117, PCE4NOTE+119, PCE4NOTE+122, PCE4NOTE+124, PCE4NOTE+129, PCE4NOTE+130, PCE4NOTE+131, PCE4NOTE+133, PCE4NOTE+135, PCE4NOTE+138
, PCE4NOTE+140, PCE4NOTE+145, PCE4NOTE+146, PCE4NOTE+147, PCE4NOTE+149, PCE4NOTE+151, PCE4NOTE+154, PCE4NOTE+156, PCE4NOTE+161, PCE4NOTE+162
, PCE4NOTE+163, PCE4NOTE+165, PCE4NOTE+167, PCE4NOTE+170, PCE4NOTE+172, PCE4NOTE+177, PCE4NOTE+178, PCE4NOTE+179, PCE4NOTE+180, PCE4NOTE+181
, PCE4NOTE+182, PCE4NOTE+183, PCE4NOTE+185, PCE4NOTE+188, PCE4NOTE+190, SETNARR+2, SETNARR+7
VAL PCE4NOTE+33~, PCE4NOTE+34, PCE4NOTE+35, PCE4NOTE+36, PCE4NOTE+37, PCE4NOTE+38, PCE4NOTE+39, PCE4NOTE+40, PCE4NOTE+41, PCE4NOTE+42
, PCE4NOTE+43
VISIT PCE4NOTE+3~, PCE4NOTE+7*, PCE4NOTE+11*, PCE4NOTE+12*, PCE4NOTE+20, PCE4NOTE+24, PCE4NOTE+25, PCE4NOTE+26, PCE4NOTE+27, PCE4NOTE+34
, PCE4NOTE+46, PCE4NOTE+47, PCE4NOTE+53, PCE4NOTE+55, PCE4NOTE+71, PCE4NOTE+72, PCE4NOTE+82, PCE4NOTE+83, PCE4NOTE+95, PCE4NOTE+96
, PCE4NOTE+111, PCE4NOTE+112, PCE4NOTE+127, PCE4NOTE+128, PCE4NOTE+143, PCE4NOTE+144, PCE4NOTE+159, PCE4NOTE+160, PCE4NOTE+175, PCE4NOTE+176
VSITSTR PCE4NOTE~, PCE4NOTE+7, PCE4NOTE+8
VSTR PCE4NOTE+3~, PCE4NOTE+8*, PCE4NOTE+13, PCE4NOTE+14, PCE4NOTE+17, PCE4NOTE+21
VTYP PCE4NOTE+3~, PCE4NOTE+14*, PCE4NOTE+17, PCE4NOTE+22
X0 PCE4NOTE+3~, PCE4NOTE+6*, PCE4NOTE+10*, PCE4NOTE+12, PCE4NOTE+17, PCE4NOTE+27*, PCE4NOTE+28, PCE4NOTE+29, PCE4NOTE+34, PCE4NOTE+47*
, PCE4NOTE+49, PCE4NOTE+50, PCE4NOTE+55*, PCE4NOTE+56, PCE4NOTE+62, PCE4NOTE+72*, PCE4NOTE+73, PCE4NOTE+77, PCE4NOTE+79, PCE4NOTE+96*
, PCE4NOTE+97, PCE4NOTE+99, PCE4NOTE+103, PCE4NOTE+112*, PCE4NOTE+113, PCE4NOTE+115, PCE4NOTE+119, PCE4NOTE+128*, PCE4NOTE+129, PCE4NOTE+131
, PCE4NOTE+144*, PCE4NOTE+145, PCE4NOTE+147, PCE4NOTE+160*, PCE4NOTE+161, PCE4NOTE+163, PCE4NOTE+167, PCE4NOTE+176*, PCE4NOTE+177, PCE4NOTE+178
, PCE4NOTE+180
X12 PCE4NOTE+3~, PCE4NOTE+6*, PCE4NOTE+10*, PCE4NOTE+11, PCE4NOTE+17, PCE4NOTE+63, PCE4NOTE+72*, PCE4NOTE+80, PCE4NOTE+96*, PCE4NOTE+101
, PCE4NOTE+112*, PCE4NOTE+117, PCE4NOTE+119, PCE4NOTE+128*, PCE4NOTE+133, PCE4NOTE+144*, PCE4NOTE+149, PCE4NOTE+160*, PCE4NOTE+165, PCE4NOTE+176*
, PCE4NOTE+183
X802 PCE4NOTE+3~, PCE4NOTE+55*, PCE4NOTE+60, PCE4NOTE+72*, PCE4NOTE+75, PCE4NOTE+176*, PCE4NOTE+179
X811 PCE4NOTE+3~, PCE4NOTE+55*, PCE4NOTE+66, PCE4NOTE+70, PCE4NOTE+72*, PCE4NOTE+88, PCE4NOTE+92, PCE4NOTE+96*, PCE4NOTE+104, PCE4NOTE+108
, PCE4NOTE+112*, PCE4NOTE+120, PCE4NOTE+124, PCE4NOTE+128*, PCE4NOTE+136, PCE4NOTE+140, PCE4NOTE+144*, PCE4NOTE+152, PCE4NOTE+156, PCE4NOTE+160*
, PCE4NOTE+168, PCE4NOTE+172, PCE4NOTE+176*, PCE4NOTE+186, PCE4NOTE+190
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All