APSPES3 ;IHS/MSC/PLS - SureScripts HL7 interface - con't;10-Sep-2013 09:40;PLS
Source file <APSPES3.m>
Package | Total | Call Graph |
---|---|---|
Health Level Seven | 4 | ($$HLDATE,$$HLNAME)^HLFNC ($$ADDSEG,SET)^HLOAPI ($$ACK,$$SENDACK)^HLOAPI2 $$GET^HLOPRS |
IHS Changes To Pharmacy | 4 | ($$FSEGIEN,$$SPI,AL1,DG1,ORCNW,PID,PREPARY,RXC,RXO,RXR)^APSPES1 ($$GETVAL,$$OPRV,$$PHMINFO,$$RXIEN,PARSE)^APSPES2 (BADORP,NOTIF)^APSPES4 UPTLOG^APSPFNC2 |
VA Fileman | 2 | (FILE,UPDATE)^DIE $$GET1^DIQ |
IHS Changes To ADT | 1 | $$HRCNF^BDGF2 |
Kernel | 1 | $$NOW^XLFDT |
Order Entry Results Reporting | 1 | $$VALUE^ORCSAVE2 |
Outpatient Pharmacy | 1 | CAN^PSOCAN |
Package | Total | Caller Graph |
---|---|---|
IHS Changes To Pharmacy | 3 | APSPELRX APSPES2 APSPES4 |
Name | Comments | DBIA/ICR reference |
---|---|---|
DENY(ORID,RXIEN,OCC,MSGTXT,STA) | ;
|
|
DENY1 | ||
ORDCTL(MSGIEN) | ; EP
|
|
UPTRRACT(IEN,MSG) | ;EP-
|
|
DENYRPC(DATA,RR,MSGTXT) | ;EP-
|
|
ISRENEW(DATA,ORIEN) | ;EP
|
|
SETACK | ;Get original message to include in ack
|
|
ACCEPT(RXIEN,ORID,MSGTXT) | ;
|
|
DCORIG(RET,ORIEN) | ; EP
|
|
SET(ARY,V,F,C,S,R) | ;EP
|
|
ARSPRRE | ; EP - callback for RRE/O26 event
|
Name | Field # of Occurrence |
---|---|
$$FSEGIEN^APSPES1 | DENY1+45, SETACK+34, ARSPRRE+5, ARSPRRE+13, ORDCTL+3 |
$$SPI^APSPES1 | ACCEPT+44 |
AL1^APSPES1 | ACCEPT+65 |
DG1^APSPES1 | ACCEPT+65 |
ORCNW^APSPES1 | ACCEPT+33 |
PID^APSPES1 | ACCEPT+29 |
PREPARY^APSPES1 | SETACK+2, SETACK+7, SETACK+22, SETACK+25, SETACK+27, SETACK+29, SETACK+36, ACCEPT+58, ACCEPT+63 |
RXC^APSPES1 | ACCEPT+65 |
RXO^APSPES1 | ACCEPT+55 |
RXR^APSPES1 | ACCEPT+62 |
$$GETVAL^APSPES2 | ACCEPT+26, ACCEPT+27 |
$$OPRV^APSPES2 | ARSPRRE+17 |
$$PHMINFO^APSPES2 | DENY1+55, ACCEPT+85 |
$$RXIEN^APSPES2 | ARSPRRE+16 |
PARSE^APSPES2 | DENY1+27, DENY1+44, ACCEPT+21, ARSPRRE+4, ORDCTL+2 |
BADORP^APSPES4 | ARSPRRE+7, ARSPRRE+22 |
NOTIF^APSPES4 | ARSPRRE+29 |
UPTLOG^APSPFNC2 | DENY1+56, ACCEPT+86, ARSPRRE+28, ARSPRRE+34 |
$$HRCNF^BDGF2 | SETACK+4 |
FILE^DIE | DENY1+40, ACCEPT+77 |
UPDATE^DIE | UPTRRACT+7 |
$$GET1^DIQ | DENY1+4, DENY1+5, DENY1+6, DENY1+9, DENY1+35, DENY1+36, SETACK+13, SETACK+14, SETACK+15, SETACK+18 , ACCEPT+4, ACCEPT+5, ACCEPT+12, ACCEPT+31, ACCEPT+34, ACCEPT+38, ACCEPT+41, ACCEPT+45, ACCEPT+85, DCORIG+5 , DCORIG+7, DCORIG+9, DCORIG+11, ISRENEW+2 |
$$HLDATE^HLFNC | SETACK+9, ACCEPT+59 |
$$HLNAME^HLFNC | SETACK+18, ACCEPT+41, ACCEPT+45 |
$$ADDSEG^HLOAPI | SETACK+5, SETACK+21, SETACK+24, SETACK+26, SETACK+28, SETACK+31, SETACK+37, ACCEPT+54, ACCEPT+57, ACCEPT+61 , ACCEPT+64 |
SET^HLOAPI | SET+1 |
$$ACK^HLOAPI2 | DENY1+30, ACCEPT+24 |
$$SENDACK^HLOAPI2 | DENY1+32, ACCEPT+72 |
$$GET^HLOPRS | DENY1+48, ARSPRRE+9, ARSPRRE+10, ARSPRRE+11, ARSPRRE+15, ORDCTL+6 |
$$VALUE^ORCSAVE2 | DENY+2, DENY1+21, ACCEPT+10 |
CAN^PSOCAN | DCORIG+15 |
$$NOW^XLFDT | DENY1+37, SETACK+9, ACCEPT+59, ACCEPT+76, UPTRRACT+4 |
RPC Name | Call Tags |
---|---|
APSPES3 DENYRPC | DENYRPC |
APSPES3 DCORIG | DCORIG |
APSPES3 ISRENEW | ISRENEW |
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | GET1^DIQ |
^VA(200 - [#200] | GET1^DIQ |
^DIC(4 - [#4] | GET1^DIQ |
^PSRX - [#52] | GET1^DIQ |
^APSPRREQ - [#9009033.91] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PSRX - [#52] | ACCEPT+6, ACCEPT+8 |
Name | Line Occurrences |
---|---|
$$ORDCTL | ARSPRRE+24 |
DENY1 | DENYRPC+3 |
SET | SETACK+4, SETACK+6, SETACK+8, SETACK+9, SETACK+10, SETACK+11, SETACK+12, SETACK+13, SETACK+17, SETACK+20 , SETACK+23, SETACK+30, ACCEPT+35, ACCEPT+40, ACCEPT+43, ACCEPT+44, ACCEPT+47, ACCEPT+56, ACCEPT+59, ACCEPT+60 |
SETACK | DENY1+31 |
UPTRRACT | DENY1+32, DENY1+33, ACCEPT+72, ACCEPT+73, ACCEPT+78 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AACK | ARSPRRE+1~, ARSPRRE+10*, ARSPRRE+12, ARSPRRE+21 |
ACK | DENY1+1~, DENY1+30, DENY1+32, SETACK+5, SETACK+21, SETACK+24, SETACK+26, SETACK+28, SETACK+31, SETACK+37 |
ACT | DENY1~, DENY1+4*, DENY1+8, SETACK+1~, SETACK+15*, SETACK+16, SETACK+17, SETACK+18, ACCEPT+2~, ACCEPT+31* , ACCEPT+32 |
ACTUSR | DENY1+1~, DENY1+5*, DENY1+39 |
ARY | DENY1~, SETACK+2, SETACK+4, SETACK+5, SETACK+6, SETACK+7, SETACK+8, SETACK+9, SETACK+10, SETACK+11 , SETACK+12, SETACK+13, SETACK+17, SETACK+20, SETACK+21, SETACK+22, SETACK+23, SETACK+24, SETACK+25, SETACK+26 , SETACK+27, SETACK+28, SETACK+29, SETACK+30, SETACK+31, SETACK+36, SETACK+37, ACCEPT+1~, ACCEPT+35, ACCEPT+40 , ACCEPT+43, ACCEPT+44, ACCEPT+47, ACCEPT+54, ACCEPT+56, ACCEPT+57, ACCEPT+58, ACCEPT+59, ACCEPT+60, ACCEPT+61 , ACCEPT+63, ACCEPT+64, SET~, SET+1, ARSPRRE+1~, ARSPRRE+28, ARSPRRE+34 |
ARY("COM" | ARSPRRE+27*, ARSPRRE+32* |
ARY("REASON" | ARSPRRE+18* |
ARY("RX REF" | ARSPRRE+19* |
ARY("TYPE" | DENY1+54*, ARSPRRE+26*, ARSPRRE+31* |
ARY("USER" | ARSPRRE+20* |
C | SET~, SET+1 |
CTL | ORDCTL+1~, ORDCTL+6*, ORDCTL+7 |
DA | DCORIG+2~, DCORIG+12*, DCORIG+14 |
DATA | DENY1~, DENY1+27, DENY1+44, DENY1+45, SETACK+2, SETACK+7, SETACK+22, SETACK+25, SETACK+27, SETACK+29 , SETACK+34, SETACK+36, ACCEPT+1~, ACCEPT+21, ACCEPT+58, ACCEPT+63, DENYRPC~, DENYRPC+1*, ARSPRRE+1~, ARSPRRE+4 , ARSPRRE+5, ARSPRRE+13, ORDCTL+2, ORDCTL+3, ISRENEW~, ISRENEW+2* |
DATA( | DENY1+47, ARSPRRE+8, ARSPRRE+14, ORDCTL+5 |
DATA("HDR" | DENY1+28, ACCEPT+22, ACCEPT+23 |
DFN | DENY1+1~, DENY1+6*, SETACK+4, ACCEPT+1~, ACCEPT+5*, ACCEPT+29 |
DISP | ACCEPT+2~, ACCEPT+9*, ACCEPT+56, ACCEPT+60 |
DNYC | DENY1+1~, DENY1+18*, DENY1+19*, DENY1+23*, DENY1+25*, DENY1+38, SETACK+10 |
DNYR | DENY1+1~, DENY1+21*, DENY1+22, DENY1+23, DENY1+24 |
DUZ | DENY1+39, UPTRRACT+6 |
DUZ(2 | SETACK+4, SETACK+13 |
ERR | DENY1+1~, DENY1+30, DENY1+32, DENY1+33, DENY1+34!, ACCEPT+2~, ACCEPT+24, ACCEPT+72, ACCEPT+73, ACCEPT+74! , ACCEPT+78, UPTRRACT+1~ |
ERR(1 | ACCEPT+78 |
ERRTXT | ARSPRRE+2~, ARSPRRE+15*, ARSPRRE+27, ARSPRRE+29 |
F | SET~, SET+1 |
FDA | DENY1+34!, ACCEPT+74!, UPTRRACT+1~ |
FDA( | DENY1+35*, DENY1+36*, DENY1+37*, DENY1+38*, DENY1+39*, ACCEPT+75*, ACCEPT+76*, UPTRRACT+4*, UPTRRACT+5*, UPTRRACT+6* |
FLG | DENY1+1~, SETACK+33*, SETACK+35*, ACCEPT+2~ |
FN | UPTRRACT+1~, UPTRRACT+3*, UPTRRACT+4, UPTRRACT+5, UPTRRACT+6 |
HLECH | DENY1~, DENY1+29*, SETACK+18, SETACK+19, ACCEPT+3~, ACCEPT+23*, ACCEPT+41, ACCEPT+42, ACCEPT+45, ACCEPT+46 |
HLFS | DENY1~, DENY1+28*, ACCEPT+3~, ACCEPT+22* |
HLMSGIEN | DENY1~, DENY1+9*, DENY1+11, DENY1+27, DENY1+44, ACCEPT+1~, ACCEPT+12*, ACCEPT+14, ACCEPT+21, ACCEPT+26 , ACCEPT+27, ARSPRRE+4 |
HLMSTATE | DENY1~, DENY1+27, DENY1+30, DENY1+44, ACCEPT+1~, ACCEPT+21, ACCEPT+24, ARSPRRE+1~, ARSPRRE+4, ORDCTL+2 |
HLMSTATE("HDR" | DENY1+29 |
HLST | ACCEPT+2~, ACCEPT+24, ACCEPT+54, ACCEPT+57, ACCEPT+61, ACCEPT+64, ACCEPT+72 |
I | DENY1+1~, SETACK+33*, ACCEPT+2~ |
IEN | UPTRRACT~, UPTRRACT+2 |
IENS | UPTRRACT+1~, UPTRRACT+2*, UPTRRACT+4, UPTRRACT+5, UPTRRACT+6 |
INST | SETACK+1~ |
LOG | DENY1+1~, DENY1+51~, DENY1+56, ACCEPT+81~, ACCEPT+86 |
LOG("COM" | DENY1+55*, ACCEPT+85* |
LOG("REASON" | DENY1+52*, ACCEPT+82* |
LOG("RX REF" | DENY1+53*, ACCEPT+83* |
LOG("TYPE" | ACCEPT+84* |
LP | DENY1+1~, SETACK+1~, SETACK+19*, SETACK+20, SETACK+32*, SETACK+34*, SETACK+35, SETACK+36, ACCEPT+2~, ACCEPT+37~ , ACCEPT+42*, ACCEPT+43, ACCEPT+46*, ACCEPT+47 |
MRN | SETACK+1~ |
MSA | ARSPRRE+1~ |
MSG | UPTRRACT~, UPTRRACT+5, ARSPRRE+1~, DCORIG+2~, DCORIG+13* |
MSGIEN | ARSPRRE+2~, ARSPRRE+3*, ARSPRRE+9*, ARSPRRE+16, ARSPRRE+17, ARSPRRE+24, ORDCTL~, ORDCTL+2 |
MSGTXT | DENY~, DENY1+17, DENY1+18*, DENY1+24*, DENY1+26*, DENY1+38, SETACK+11, ACCEPT~, ACCEPT+20*, DENYRPC~ |
NM | SETACK+1~, SETACK+18*, SETACK+19, ACCEPT+37~, ACCEPT+41*, ACCEPT+42, ACCEPT+45*, ACCEPT+46 |
OCC | DENY~, DENY1+8*, SETACK+6, SETACK+8, ACCEPT+2~, ACCEPT+32*, ACCEPT+33, ACCEPT+36 |
OPRV | ARSPRRE+1~, ARSPRRE+17*, ARSPRRE+20 |
ORDCTL | ARSPRRE+2~, ARSPRRE+24*, ARSPRRE+29 |
ORGIEN | DCORIG+2~, DCORIG+5*, DCORIG+6, DCORIG+7, DCORIG+9 |
ORGPKGID | DCORIG+2~, DCORIG+9*, DCORIG+10, DCORIG+11, DCORIG+12 |
ORID | DENY~, DENY+2, DENY1+2*, DENY1+21, ACCEPT~, ACCEPT+10 |
ORIEN | DCORIG~, DCORIG+4*, DCORIG+5, ISRENEW~, ISRENEW+2 |
ORXNUM | DCORIG+2~, DCORIG+11*, DCORIG+14 |
PARMS | DENY1+1~, DENY1+30, ACCEPT+2~, ACCEPT+24 |
PARMS("ACCEPT | ACK TYPE" , DENY1+16*, ACCEPT+19* |
PARMS("ACK CO | DE" , DENY1+12*, ACCEPT+15* |
PARMS("EVENT" | DENY1+14*, ACCEPT+17* |
PARMS("MESSAG | E TYPE" , DENY1+13*, ACCEPT+16* |
PARMS("VERSION" | DENY1+15*, ACCEPT+18* |
PRN | ACCEPT+2~, ACCEPT+26* |
PROV | ACCEPT+1~, ACCEPT+7*, ACCEPT+39, ACCEPT+40, ACCEPT+41 |
PRV | SETACK+1~, SETACK+14*, SETACK+16 |
PSCAN | DCORIG+2~ |
PSCAN( | DCORIG+14* |
R | SET~, SET+1 |
REA | DCORIG+2~, DCORIG+12* |
REF | ACCEPT+2~, ACCEPT+27* |
REFILLS | ACCEPT+2~, ACCEPT+4*, ACCEPT+9 |
RET | DENY1+51~, DENY1+56, ACCEPT+81~, ACCEPT+86, ARSPRRE+1~, ARSPRRE+28, ARSPRRE+34, DCORIG~, DCORIG+3* |
RR | DENY+1~, DENY+2*, DENY+3, DENY1+4, DENY1+5, DENY1+6, DENY1+9, DENY1+32, DENY1+33, DENY1+35 , DENY1+36, DENY1+37, DENY1+38, DENY1+39, SETACK+14, SETACK+15, ACCEPT+1~, ACCEPT+10*, ACCEPT+11, ACCEPT+12 , ACCEPT+31, ACCEPT+34, ACCEPT+38, ACCEPT+72, ACCEPT+73, ACCEPT+75, ACCEPT+76, ACCEPT+78, ACCEPT+85, DENYRPC~ , DENYRPC+2 |
RRPRV | ACCEPT+3~, ACCEPT+38*, ACCEPT+39, ACCEPT+44, ACCEPT+45 |
RX0 | ACCEPT+3~, ACCEPT+6*, ACCEPT+7 |
RX2 | ACCEPT+3~, ACCEPT+8* |
RXIEN | DENY~, DENY1+3*, DENY1+42, DENY1+48*, DENY1+50, DENY1+55, DENY1+56, ACCEPT~, ACCEPT+4, ACCEPT+5 , ACCEPT+6, ACCEPT+8, ACCEPT+80, ACCEPT+85, ACCEPT+86, ARSPRRE+1~, ARSPRRE+16*, ARSPRRE+25, ARSPRRE+28, ARSPRRE+29 , ARSPRRE+30, ARSPRRE+34 |
S | SET~, SET+1 |
SEG | DENY1~, SETACK+5*, SETACK+21*, SETACK+24*, SETACK+26*, SETACK+28*, SETACK+31*, SETACK+37*, ACCEPT+1~, ACCEPT+54* , ACCEPT+57*, ACCEPT+61*, ACCEPT+64* |
SEGERR | ARSPRRE+2~, ARSPRRE+14*, ARSPRRE+15 |
SEGIEN | DENY1+43~, DENY1+45*, DENY1+46, DENY1+47, ACCEPT+1~, ARSPRRE+2~, ARSPRRE+5*, ARSPRRE+6, ARSPRRE+8, ARSPRRE+13* , ARSPRRE+14, ORDCTL+3*, ORDCTL+4, ORDCTL+5 |
SEGMSA | ARSPRRE+2~, ARSPRRE+8*, ARSPRRE+9, ARSPRRE+10, ARSPRRE+11 |
SEGORC | DENY1+43~, DENY1+47*, DENY1+48, ORDCTL+1~, ORDCTL+5*, ORDCTL+6 |
SEGRXO | ACCEPT+1~ |
SSNUM | ACCEPT+3~, ACCEPT+34*, ACCEPT+35 |
STA | DENY~, DENY1+36 |
>> STAT | DCORIG+7*, DCORIG+8 |
TXT | ARSPRRE+2~, ARSPRRE+11*, ARSPRRE+32 |
U | ACCEPT+7 |
V | SET~, SET+1 |
VAL | SETACK+1~, SETACK+19*, SETACK+20, ACCEPT+37~, ACCEPT+42*, ACCEPT+43, ACCEPT+46*, ACCEPT+47 |
WHO | ARSPRRE+1~ |