BEHORXF1 ;MSC/IND/PLS - XML Support for Pharmacy Rx Gen service ;22-Aug-2013 10:07;DU
Source file <BEHORXF1.m>
Package | Total | Call Graph |
---|---|---|
IHS Changes To Pharmacy | 4 | ($$ISSCH,$$LOC)^APSPFNC2 $$ERXOI^APSPFNC6 $$WRDFMT^APSPFNC7 $$NDCVAL^APSPFUNC |
IHS Electronic Health Record | 3 | ($$RXNORM,BLDPT,BLDPTADD,DATA,PROV)^BEHORXF2 ($$GETDAW,$$GETIND,$$GETPSIFN,$$GETRXNRM,$$PSTATE)^BEHORXFN ($$XMTDATE,INST2,PHARM2,RECEIPT)^BEHORXRT |
VA Fileman | 2 | UPDATE^DIE $$GET1^DIQ |
Kernel | 1 | ($$FMTE,$$NOW)^XLFDT |
M XML Parser | 1 | $$SYMENC^MXMLUTL |
Order Entry Results Reporting | 1 | $$VALUE^ORCSAVE2 |
Outpatient Pharmacy | 1 | OEL^PSOORRL |
Toolkit | 1 | ($$GET,EN)^XPAR |
Package | Total | Caller Graph |
---|---|---|
IHS Electronic Health Record | 3 | BEHORXF2 BEHORXFN BEHORXRT |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETNDRSN(PROCESS) | ;EP-
|
|
ORDRSXML(DATA,ORDARY,DFN) | ;EP-
|
|
ISA(TYPE,ID) | ;EP-
|
|
RXINSTR() | ;EP-
|
|
BATCHXML(DATA,ORDARY,DFN) | ;EP-
|
|
RXSXML(ORDARY) | ;EP-Build Prescription xml
|
|
RECSXML(ORDARY) | ;EP-Build Receipt XML
|
|
MEDSXML(DATA,ORDARY,DFN) | ;EP-
|
|
SFMTXML(DATA,NAME,VAL,ENT) | ;EP-
|
|
RXXML(RX,ORDID,ADDHDR) | ;EP-
|
|
ADD(VAL) | ;EP-
|
|
ORDCOM(ORD) | ;EP-
|
|
XMLHDR | ;
|
|
ORDINSTR(POF) | ;EP-
|
|
ADDID(ID) | ;EP-
|
|
ACTLOC(LOC,DAT) | ;PEP - Is active location?
|
|
MEDXML(DATA,ORDERID,DFN,XTRA) | ;EP-
|
|
TAG(TAG,TYPE,VAL) | ;EP -
|
|
VALQUE(DATA,ORLST) | ;EP-
|
|
HOSPLOC(DATA,FROM,DIR,MAX,TYPE,START,END) | ;EP
|
|
ORDXML(ORD) | ;EP-
|
|
ORDSXML(ORDARY) | ;EP-Build Order XML
|
|
TMPGBL() | ||
POFIEN(ORD) | ;EP-
|
|
UPTLOG(DATA,ORIFN,ACTION,ARY) | ;EP-
|
Name | Field # of Occurrence |
---|---|
$$ISSCH^APSPFNC2 | RXXML+51 |
$$LOC^APSPFNC2 | RXXML+10 |
$$ERXOI^APSPFNC6 | VALQUE+25, VALQUE+29 |
$$WRDFMT^APSPFNC7 | RXXML+40, ORDXML+34 |
$$NDCVAL^APSPFUNC | RXXML+11 |
$$RXNORM^BEHORXF2 | ORDXML+40 |
BLDPT^BEHORXF2 | RECSXML+7, RXXML+16, ORDXML+4 |
BLDPTADD^BEHORXF2 | RECSXML+8, RXXML+17, ORDXML+5 |
DATA^BEHORXF2 | RECSXML+9, RXXML+18, ORDXML+6 |
PROV^BEHORXF2 | RXXML+39, ORDXML+33 |
$$GETDAW^BEHORXFN | RXXML+20 |
$$GETIND^BEHORXFN | RXXML+23, RXXML+24, ORDXML+12, ORDXML+13 |
$$GETPSIFN^BEHORXFN | MEDXML+6, MEDSXML+8, RXSXML+5, RECSXML+12 |
$$GETRXNRM^BEHORXFN | RXXML+46 |
$$PSTATE^BEHORXFN | ISA+8, ISA+14, RXXML+57, RXXML+58 |
$$XMTDATE^BEHORXRT | RXXML+63 |
INST2^BEHORXRT | RXXML+68, ORDXML+45 |
PHARM2^BEHORXRT | RXXML+70, ORDXML+47 |
RECEIPT^BEHORXRT | RECSXML+14 |
UPDATE^DIE | UPTLOG+13 |
$$GET1^DIQ | VALQUE+15, VALQUE+16, VALQUE+17, VALQUE+22, RECSXML+3, ISA+6, ISA+8, ISA+11, RXXML+4, RXXML+5 , RXXML+10, RXXML+13, RXXML+15, RXXML+19, RXXML+25, RXXML+26, RXXML+27, RXXML+36, RXXML+53, RXXML+59 , RXXML+61, RXXML+62, RXXML+64, RXXML+66, RXXML+67, RXXML+69, ORDXML+3, ORDXML+11, ORDXML+14, ORDXML+15 , ORDXML+18, ORDXML+19, ORDXML+23, ORDXML+25, ORDXML+32, ORDXML+34, ORDXML+35, ORDXML+39, ORDXML+44 |
$$SYMENC^MXMLUTL | TAG+2 |
$$VALUE^ORCSAVE2 | VALQUE+23, ISA+7, RXXML+12, RXXML+36, ORDXML+7, ORDXML+8, ORDXML+9, ORDXML+10, ORDXML+11, ORDXML+17 , ORDXML+19, ORDXML+35, ORDXML+46 |
OEL^PSOORRL | RXXML+3 |
$$FMTE^XLFDT | RXXML+30, ORDXML+25 |
$$NOW^XLFDT | UPTLOG+7 |
$$GET^XPAR | VALQUE+25, VALQUE+29, BATCHXML+8, RXXML+50 |
EN^XPAR | SFMTXML+3 |
RPC Name | Call Tags |
---|---|
BEHORXF1 SFMTXML | SFMTXML |
BEHORXF1 VALQUE | VALQUE |
BEHORXF1 BATCHXML | BATCHXML |
BEHORXF1 MEDSXML | MEDSXML |
BEHORXF1 MEDXML | MEDXML |
BEHORXF1 ORDRSXML | ORDRSXML |
BEHORXF1 HOSPLOC | HOSPLOC |
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | GET1^DIQ |
^ORD(101.43 - [#101.43] | GET1^DIQ |
^DPT - [#2] | GET1^DIQ |
^SC - [#44] | GET1^DIQ |
^PSDRUG - [#50] | GET1^DIQ |
^PSRX - [#52] | GET1^DIQ |
^PS(52.41 - [#52.41] | GET1^DIQ |
^PS(59 - [#59] | GET1^DIQ |
^APSPCTRL - [#9009033] | GET1^DIQ |
^APSPRREQ - [#9009033.91] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | VALQUE+18, VALQUE+20, ORDCOM+3, ORDCOM+5, ORDCOM+6, POFIEN+2 |
^PS(52.41 - [#52.41] | ORDINSTR+3, ORDINSTR+4, POFIEN+5 |
^PSRX - [#52] | VALQUE+25, VALQUE+26 |
^SC - [#44] | HOSPLOC+8, HOSPLOC+10, ACTLOC+3, ACTLOC+5 |
^SC("B" | HOSPLOC+5, HOSPLOC+6 |
^TMP("BEHORXF1" | TMPGBL+1 |
^TMP("PS" | RXXML+2!, RXXML+6, RXXML+7, RXINSTR+7, RXINSTR+8 |
Name | Line Occurrences |
---|---|
$$ACTLOC | HOSPLOC+7 |
$$GETNDRSN | RXXML+58 |
$$ISA | RXSXML+6, ORDSXML+5, RECSXML+13 |
$$ORDCOM | RXXML+29, ORDXML+20 |
$$ORDINSTR | ORDXML+24 |
$$POFIEN | ORDXML+21 |
$$RXINSTR | RXXML+28 |
$$TAG | MEDXML+5, MEDXML+11, MEDSXML+5, MEDSXML+11, BATCHXML+5, BATCHXML+9, RXSXML+2, RXSXML+8, ORDSXML+2, ORDSXML+7 , RECSXML+5, RECSXML+6, RECSXML+15, RXXML+14, RXXML+15, RXXML+19, RXXML+20, RXXML+21, RXXML+22, RXXML+23 , RXXML+24, RXXML+25, RXXML+26, RXXML+27, RXXML+28, RXXML+29, RXXML+30, RXXML+34, RXXML+36, RXXML+37 , RXXML+38, RXXML+43, RXXML+44, RXXML+46, RXXML+47, RXXML+54, RXXML+57, RXXML+58, RXXML+62, RXXML+63 , RXXML+71, ORDXML+2, ORDXML+3, ORDXML+7, ORDXML+8, ORDXML+9, ORDXML+10, ORDXML+11, ORDXML+12, ORDXML+13 , ORDXML+14, ORDXML+15, ORDXML+18, ORDXML+19, ORDXML+20, ORDXML+23, ORDXML+24, ORDXML+25, ORDXML+29, ORDXML+38 , ORDXML+39, ORDXML+40, ORDXML+48 |
$$TMPGBL | VALQUE+10, ORDRSXML+3, MEDXML+3, MEDSXML+3, BATCHXML+3 |
ADD | MEDXML+5, MEDXML+9, MEDXML+11, MEDSXML+5, MEDSXML+11, BATCHXML+5, BATCHXML+9, RXSXML+2, RXSXML+8, ORDSXML+2 , ORDSXML+7, RECSXML+5, RECSXML+6, RECSXML+15, RXXML+14, RXXML+15, RXXML+19, RXXML+20, RXXML+21, RXXML+22 , RXXML+23, RXXML+24, RXXML+25, RXXML+26, RXXML+27, RXXML+28, RXXML+29, RXXML+30, RXXML+34, RXXML+36 , RXXML+37, RXXML+38, RXXML+43, RXXML+44, RXXML+46, RXXML+47, RXXML+54, RXXML+57, RXXML+58, RXXML+62 , RXXML+63, RXXML+71, ORDXML+2, ORDXML+3, ORDXML+7, ORDXML+8, ORDXML+9, ORDXML+10, ORDXML+11, ORDXML+12 , ORDXML+13, ORDXML+14, ORDXML+15, ORDXML+18, ORDXML+19, ORDXML+20, ORDXML+23, ORDXML+24, ORDXML+25, ORDXML+29 , ORDXML+38, ORDXML+39, ORDXML+40, ORDXML+48, XMLHDR+1 |
ADDID | VALQUE+27, VALQUE+30 |
ORDSXML | ORDRSXML+5, BATCHXML+7 |
ORDXML | ORDSXML+6 |
RECSXML | BATCHXML+8 |
RXSXML | BATCHXML+6 |
RXXML | MEDXML+10, MEDSXML+10, RXSXML+7 |
XMLHDR | ORDRSXML+4, MEDXML+4, MEDSXML+4, BATCHXML+4 |
Name | Field # of Occurrence |
---|---|
^("RXN" | RXXML+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACTION | UPTLOG~, UPTLOG+6, UPTLOG+10 |
ADD | VALQUE+11~, VALQUE+14* |
ADDHDR | RXXML~, RXXML+14, RXXML+71 |
APT | HOSPLOC+1~ |
ARY | UPTLOG~ |
ARY("COM" | UPTLOG+6*, UPTLOG+12 |
ARY("DEV" | UPTLOG+6, UPTLOG+11 |
ARY("USER" | UPTLOG+3 |
ATF | VALQUE+11~, VALQUE+26*, VALQUE+27 |
CNT | VALQUE+11~, VALQUE+12*, ADDID+1*, ADDID+2, ORDRSXML+1~, ORDRSXML+2*, MEDXML+1~, MEDXML+2*, MEDSXML+1~, MEDSXML+2* , BATCHXML+1~, BATCHXML+2*, ADD+1*, ADD+2, HOSPLOC+1~, HOSPLOC+2*, HOSPLOC+5, HOSPLOC+10* |
D0 | ACTLOC+1~ |
DAT | ACTLOC~, ACTLOC+2*, ACTLOC+7 |
DATA | SFMTXML~, SFMTXML+3, UPTLOG~, UPTLOG+4*, UPTLOG+14*, UPTLOG+15*, VALQUE~, VALQUE+10*, ADDID+2, ORDRSXML~ , ORDRSXML+3*, MEDXML~, MEDXML+3*, MEDSXML~, MEDSXML+3*, BATCHXML~, BATCHXML+3*, ADD+2, HOSPLOC~ |
DATA( | HOSPLOC+10* |
DEA | ORDXML+1~ |
DFN | ORDRSXML~, MEDXML~, MEDSXML~, BATCHXML~, RECSXML+3, RECSXML+7, RECSXML+8, RECSXML+9, RXXML+3, RXXML+15 , RXXML+16, RXXML+17, RXXML+18, ORDXML+3, ORDXML+4, ORDXML+5, ORDXML+6 |
DIR | HOSPLOC~, HOSPLOC+2*, HOSPLOC+5, HOSPLOC+6 |
DISPU | RXXML+1~, RXXML+5*, RXXML+43, ORDXML+1~, ORDXML+35*, ORDXML+38 |
DLG | VALQUE+11~, VALQUE+16*, VALQUE+19 |
DRG | RXXML+1~, RXXML+59*, RXXML+61 |
DRUG | RXXML+1~, RXXML+4*, RXXML+5, RXXML+51, ORDXML+1~, ORDXML+17*, ORDXML+18 |
DT | ACTLOC+2 |
DUZ | UPTLOG+3 |
END | HOSPLOC~, HOSPLOC+3*, HOSPLOC+4* |
ENT | SFMTXML~, SFMTXML+3 |
ERR | UPTLOG+1~, UPTLOG+14 |
FDA | UPTLOG+1~ |
FDA( | UPTLOG+7*, UPTLOG+8*, UPTLOG+9*, UPTLOG+10*, UPTLOG+11*, UPTLOG+12* |
FN | UPTLOG+1~, UPTLOG+5*, UPTLOG+7, UPTLOG+8, UPTLOG+9, UPTLOG+10, UPTLOG+11, UPTLOG+12 |
FROM | HOSPLOC~, HOSPLOC+2*, HOSPLOC+5*, HOSPLOC+6 |
GBL | TMPGBL~, TMPGBL+1*, TMPGBL+2, TMPGBL+3 |
I | RXINSTR+1~, RXINSTR+6*, RXINSTR+7*, RXINSTR+8, RXINSTR+11* |
ID | VALQUE+11~, VALQUE+14*, VALQUE+15, VALQUE+16, VALQUE+17, VALQUE+18, VALQUE+20, VALQUE+22, VALQUE+23, VALQUE+27 , VALQUE+30, ADDID~, ADDID+2, MEDSXML+1~, MEDSXML+7*, MEDSXML+8, MEDSXML+10, RXSXML+1~, RXSXML+4*, RXSXML+5 , RXSXML+7, ORDSXML+1~, ORDSXML+4*, ORDSXML+5, ORDSXML+6, RECSXML+1~, RECSXML+11*, RECSXML+14, ISA~, ISA+6 , ISA+8, ISA+11, ISA+14, ORDCOM+1~, ORDCOM+3*, ORDCOM+4, ORDCOM+5, ORDCOM+6 |
IEN | HOSPLOC+1~, HOSPLOC+5*, HOSPLOC+6*, HOSPLOC+7, HOSPLOC+8, HOSPLOC+10 |
IENS | UPTLOG+1~, UPTLOG+2*, UPTLOG+7, UPTLOG+8, UPTLOG+9, UPTLOG+10, UPTLOG+11, UPTLOG+12 |
INI | RXXML+1~, RXXML+64*, RXXML+65, RXXML+67*, RXXML+68, ORDXML+1~, ORDXML+44*, ORDXML+45 |
INST | RXINSTR+1~ |
INST( | RXINSTR+8*, RXINSTR+11 |
LNAME | RXXML+1~, RXXML+60*, RXXML+61*, RXXML+62 |
LOC | ACTLOC~, ACTLOC+3, ACTLOC+5 |
LP | VALQUE+11~, VALQUE+13*, VALQUE+14, ORDRSXML+1~, MEDXML+1~, MEDXML+8*, MEDXML+9, MEDSXML+1~, MEDSXML+6*, MEDSXML+7 , BATCHXML+1~, RXSXML+3*, RXSXML+4, ORDSXML+3*, ORDSXML+4, RECSXML+10*, RECSXML+11, RECSXML+12, ORDINSTR+1~, ORDINSTR+3* , ORDINSTR+4, ORDCOM+1~, ORDCOM+5*, ORDCOM+6 |
MAX | HOSPLOC~, HOSPLOC+2*, HOSPLOC+5 |
NAME | SFMTXML~, SFMTXML+1, SFMTXML+3 |
NOA | VALQUE+11~ |
OI | VALQUE+11~, VALQUE+23*, VALQUE+25, VALQUE+29 |
ORD | ORDXML~, ORDXML+7, ORDXML+8, ORDXML+9, ORDXML+10, ORDXML+11, ORDXML+12, ORDXML+13, ORDXML+14, ORDXML+15 , ORDXML+17, ORDXML+19, ORDXML+20, ORDXML+21, ORDXML+29, ORDXML+33, ORDXML+35, ORDXML+44, ORDXML+46, ORDCOM~ , ORDCOM+3, ORDCOM+5, ORDCOM+6, POFIEN~, POFIEN+2 |
ORDARY | ORDRSXML~, ORDRSXML+5, MEDSXML~, BATCHXML~, BATCHXML+6, BATCHXML+7, BATCHXML+8, RXSXML~, ORDSXML~, RECSXML~ |
ORDARY( | MEDSXML+6, MEDSXML+7, RXSXML+3, RXSXML+4, ORDSXML+3, ORDSXML+4, RECSXML+10, RECSXML+11, RECSXML+12 |
ORDERID | MEDXML~, MEDXML+6, MEDXML+10 |
ORDID | ISA+1~, ISA+6*, ISA+7, RXXML~, RXXML+10, RXXML+12, RXXML+20, RXXML+23, RXXML+24, RXXML+25 , RXXML+26, RXXML+29, RXXML+34, RXXML+36, RXXML+39, RXXML+46 |
ORIFN | UPTLOG~, UPTLOG+8 |
ORLST | VALQUE~ |
ORLST( | VALQUE+13, VALQUE+14 |
PHMI | RXXML+1~, RXXML+69*, RXXML+70, ORDXML+46*, ORDXML+47 |
PKG | VALQUE+11~, VALQUE+15*, VALQUE+19 |
PKGID | POFIEN+1~, POFIEN+2*, POFIEN+3, POFIEN+4*, POFIEN+5, POFIEN+6 |
PKUP | ISA+1~, ISA+7*, ISA+8 |
PNM | RECSXML+2~, RECSXML+3*, RECSXML+4*, RECSXML+6 |
POF | ORDXML+1~, ORDXML+21*, ORDXML+22, ORDXML+23, ORDXML+24, ORDXML+25, ORDXML+32, ORDXML+34, ORDXML+39, ORDXML+40 , ORDINSTR~, ORDINSTR+3, ORDINSTR+4 |
PROCESS | GETNDRSN~, GETNDRSN+1 |
PRVIEN | RXXML+1~, RXXML+8*, RXXML+39, ORDXML+1~, ORDXML+32*, ORDXML+33 |
PSIFN | VALQUE+11~, VALQUE+20*, VALQUE+21, VALQUE+25, VALQUE+26, MEDXML+1~, MEDXML+6*, MEDXML+10, MEDSXML+8*, MEDSXML+9 , MEDSXML+10, BATCHXML+1~, RXSXML+5*, RXSXML+6, RXSXML+7, RECSXML+12*, RECSXML+13, RECSXML+14 |
QTY | RXXML+1~, RXXML+40*, RXXML+43, ORDXML+1~, ORDXML+34*, ORDXML+38 |
QTYW | RXXML+1~, RXXML+40*, RXXML+43, ORDXML+1~, ORDXML+34*, ORDXML+38 |
RET | ISA+1~, ISA+2*, ISA+8*, ISA+11*, ISA+14*, ISA+15, RXINSTR+1~, RXINSTR+2*, RXINSTR+11*, RXINSTR+12 , ORDINSTR+1~, ORDINSTR+2*, ORDINSTR+5*, ORDINSTR+6, ORDCOM+1~, ORDCOM+2*, ORDCOM+7*, ORDCOM+8 |
RRIEN | RXXML+1~, RXXML+12*, RXXML+13, RXXML+53 |
RSCH | RXXML+49~, RXXML+50*, RXXML+51 |
RX | RXXML~, RXXML+3, RXXML+4, RXXML+9, RXXML+11, RXXML+16, RXXML+19, RXXML+27, RXXML+46, RXXML+57 , RXXML+58, RXXML+59, RXXML+62, RXXML+63, RXXML+64, RXXML+66, RXXML+69 |
RXDIV | RXXML+1~, RXXML+66*, RXXML+67 |
RXINFO | RXXML+1~, RXXML+6*, RXXML+7*, RXXML+8, RXXML+9*, RXXML+10*, RXXML+11*, RXXML+21, RXXML+22, RXXML+30 , RXXML+37, RXXML+38, RXXML+40, RXXML+44 |
SIG | ORDINSTR+1~, ORDINSTR+4*, ORDINSTR+5 |
SSNUM | RXXML+1~, RXXML+13*, RXXML+47, RXXML+48 |
START | HOSPLOC~, HOSPLOC+3*, HOSPLOC+4 |
STS | VALQUE+11~, VALQUE+22*, VALQUE+24, VALQUE+28 |
TAG | TAG~, TAG+3, TAG+4, TAG+5, TAG+6 |
TO | VALQUE+11~, VALQUE+17*, VALQUE+19 |
TYPE | VALQUE+11~, VALQUE+18*, VALQUE+19, ISA~, ISA+3, ISA+9, ISA+12, TAG~, TAG+1*, TAG+3 , TAG+4, TAG+5, HOSPLOC~, HOSPLOC+2*, HOSPLOC+8 |
U | VALQUE+18, VALQUE+25, VALQUE+26, RXXML+6, RXXML+7, RXXML+8, RXXML+9, RXXML+10, RXXML+11, RXXML+21 , RXXML+22, RXXML+30, RXXML+37, RXXML+38, RXXML+40, RXXML+44, HOSPLOC+8, HOSPLOC+10, ACTLOC+7 |
USR | UPTLOG+1~, UPTLOG+3*, UPTLOG+9 |
VAL | SFMTXML~, SFMTXML+1*, SFMTXML+2, SFMTXML+3, ORDCOM+1~, ORDCOM+6*, ORDCOM+7, ADD~, ADD+2, TAG~ , TAG+2*, TAG+5 |
VAL(1 | SFMTXML+2* |
WHO | VALQUE+11~ |
X | ACTLOC+1~, ACTLOC+3*, ACTLOC+4, ACTLOC+5*, ACTLOC+6, ACTLOC+7 |
XTRA | MEDXML~, MEDXML+7 |
XTRA( | MEDXML+8, MEDXML+9 |
Y | RXINSTR+1~, RXINSTR+2*, RXINSTR+8*, RXINSTR+11 |
Z | RXXML+49~, RXXML+51*, RXXML+52 |
ZZZ | RXXML+49~, RXXML+53*, RXXML+54 |