PSORELD1 ;BIR/PWC-HL7 V.2.4 EXTERNAL INTERFACE RELEASE DATE/TIME CONT. ;03/22/04
Source file <PSORELD1.m>
Package | Total | Call Graph |
---|---|---|
Registration | 5 | 6^VADPT BLDPID^VAFCQRY MAKEIT^VAFHLU $$EN^VAFHLZTA $$SITE^VASITE |
VA Fileman | 4 | NOW^%DTC ^DIC $$GET1^DIQ EN^DIQ1 |
Health Level Seven | 1 | ($$HLDATE,$$HLNAME)^HLFNC |
National Drug File | 1 | (,$$DFSU,$$PROD2)^PSNAPIS |
Outpatient Pharmacy | 1 | $$ZZ^PSOSUTL |
Scheduling | 1 | (SEGPRSE,SEQPRSE)^SCMSVUT5 |
Name | Comments | DBIA/ICR reference |
---|---|---|
PV1(PSI) | ;patient visit segment
|
|
PID(PSI) | ;patient ID segment
|
|
RXD(PSI) | ;pharmacy dispense segment
|
|
RXE(PSI) | ;Pharmacy/treatment Encoded Order segment
|
|
INIT | ||
PV2(PSI) | ;patient visit segment (additional information)
|
|
GETDATA | ; this is the place to set all data needed for several segments
|
|
ORC(PSI) | ;common order segment
|
Name | Field # of Occurrence |
---|---|
NOW^%DTC | GETDATA+42 |
^DIC | GETDATA+15, GETDATA+17, GETDATA+19, GETDATA+27, GETDATA+33 |
$$GET1^DIQ | GETDATA+14, GETDATA+43, GETDATA+44 |
EN^DIQ1 | GETDATA+47 |
$$HLDATE^HLFNC | GETDATA+12, GETDATA+13, GETDATA+21, GETDATA+22, GETDATA+23, GETDATA+24, GETDATA+42 |
$$HLNAME^HLFNC | GETDATA+16, GETDATA+18, GETDATA+20, GETDATA+25, GETDATA+28, GETDATA+34 |
^PSNAPIS | GETDATA+54 |
$$DFSU^PSNAPIS | GETDATA+54 |
$$PROD2^PSNAPIS | GETDATA+53, GETDATA+54 |
$$ZZ^PSOSUTL | GETDATA+49 |
SEGPRSE^SCMSVUT5 | PID+9, PID+16 |
SEQPRSE^SCMSVUT5 | PID+11, PID+18 |
6^VADPT | GETDATA+35 |
BLDPID^VAFCQRY | PID+4 |
MAKEIT^VAFHLU | PID+29 |
$$EN^VAFHLZTA | PID+13 |
$$SITE^VASITE | GETDATA+46 |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | Classic Fileman Calls, GET1^DIQ |
^PSDRUG - [#50] | GET1^DIQ |
^PS(55 - [#55] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(5 - [#5] | ORC+15 |
^DPT - [#2] | GETDATA+41 |
^PS(50.606 - [#50.606] | RXE+8, RXE+9 |
^PS(50.607 - [#50.607] | GETDATA+57 |
^PS(50.7 - [#50.7] | RXE+8, RXE+9 |
^PS(53 - [#53] | PV2+3 |
^PS(55 - [#55] | GETDATA+37, GETDATA+41, GETDATA+45 |
^PS(59 - [#59] | GETDATA+29 |
^PSDRUG - [#50] | GETDATA+49, GETDATA+50, RXE+4, RXE+9 |
^PSNDF( | GETDATA+55, GETDATA+56, GETDATA+57 |
^PSRX - [#52] | GETDATA+2, GETDATA+3, GETDATA+5, GETDATA+6, GETDATA+7, GETDATA+9, GETDATA+10, GETDATA+11, GETDATA+12, GETDATA+13 , GETDATA+21, GETDATA+26, GETDATA+31, GETDATA+32, GETDATA+36, GETDATA+39, GETDATA+45, GETDATA+58, GETDATA+59, PV2+3 , RXE+8, RXE+10, RXE+14, RXD+6 |
^SC - [#44] | GETDATA+31 |
^TMP("PSO" | PID+34*, PID+35*, PV1+3*, PV2+4*, ORC+17*, RXE+15* |
Name | Line Occurrences |
---|---|
GETDATA | INIT |
ORC | INIT+1 |
PID | INIT+1 |
PV1 | INIT+1 |
PV2 | INIT+1 |
RXD | INIT+1 |
RXE | INIT+1 |
Name | Field # of Occurrence |
---|---|
^("MP" | GETDATA+36 |
^("ND" | GETDATA+50, RXE+4 |
^("STA" | GETDATA+39 |
^(0 | GETDATA+3, GETDATA+5, GETDATA+6, GETDATA+7, GETDATA+9, GETDATA+10, GETDATA+11, GETDATA+29, GETDATA+31, GETDATA+37 , GETDATA+49, ORC+15 |
^(1 | GETDATA+7 |
^(2 | GETDATA+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | GETDATA+42 |
ADDSEQ | PID+11!, PID+27, PID+38! |
ADDSEQ( | PID+21*, PID+22*, PID+23*, PID+24*, PID+25* |
ADDSEQ("" | PID+20 |
BINGO | INIT+3!, RXD+7 |
>> CAP | GETDATA+37* |
>> CLN | GETDATA+31*, ORC+11 |
>> CLN1 | GETDATA+31*, ORC+11 |
>> CNT | PID+33*, PID+35* |
COPAY | INIT+3!, GETDATA+39*, GETDATA+40*, PV2+3 |
>> CS | ORC+4, ORC+6, ORC+7, ORC+11, ORC+12, ORC+13, ORC+15, RXE+4, RXE+7, RXE+11 , RXD+4 |
>> CSINER | GETDATA+32*, GETDATA+33, ORC+12 |
>> CSINER1 | GETDATA+34*, ORC+12 |
>> CSUB | GETDATA+44* |
>> CSUB1 | GETDATA+44* |
DA | GETDATA+46*, GETDATA+48! |
>> DASPLY | GETDATA+3*, GETDATA+5*, GETDATA+9* |
>> DATE | GETDATA+42* |
>> DEA | GETDATA+49* |
>> DEAID | GETDATA+14* |
>> DFN | GETDATA+37, GETDATA+41, PID+1, PID+4, PID+13, ORC+1, RXE+1, RXD+1 |
DIC | GETDATA+15!*, GETDATA+16!, GETDATA+17!*, GETDATA+18!, GETDATA+19!*, GETDATA+20!, GETDATA+27!*, GETDATA+28!, GETDATA+33!*, GETDATA+34! , GETDATA+46!, GETDATA+47*, GETDATA+48! |
DIC(0 | GETDATA+15*, GETDATA+17*, GETDATA+19*, GETDATA+27*, GETDATA+33* |
DIQ | GETDATA+46!, GETDATA+47*, GETDATA+48! |
DIQ(0 | GETDATA+47* |
DISPDT | INIT+3!, GETDATA+2*, GETDATA+5*, GETDATA+9*, GETDATA+23*, RXD+5 |
DR | GETDATA+46!, GETDATA+47*, GETDATA+48! |
>> DRUG | GETDATA+49* |
>> EBY | GETDATA+3*, GETDATA+7*, GETDATA+10*, GETDATA+17, ORC+6 |
>> EBY1 | GETDATA+18*, GETDATA+25*, ORC+6 |
>> EFDT | GETDATA+12*, ORC+9 |
ERR | INIT+3!, PID+4 |
>> EXDT | GETDATA+2*, GETDATA+5*, GETDATA+9*, GETDATA+24* |
>> FDT | GETDATA+2*, GETDATA+5*, GETDATA+9*, GETDATA+22*, GETDATA+42 |
>> FIN | GETDATA+26*, GETDATA+27 |
>> FIN1 | GETDATA+28* |
>> FP | GETDATA+1, GETDATA+4, GETDATA+8 |
>> FPN | GETDATA+1, GETDATA+4, GETDATA+5, GETDATA+6, GETDATA+7, GETDATA+9, GETDATA+10, GETDATA+11 |
>> FS | PV1+2, PV2+3 |
>> HL1 | PID+4 |
>> HL1("ECH" | PID+2, PID+11, PID+18 |
>> HL1("FS" | PID+2, PID+9, PID+16 |
>> HL1("Q" | PID+2 |
>> HL1("VER" | PID+2 |
>> HLECH | GETDATA+25, PID+2* |
>> HLFS | PID+2*, PID+15 |
>> HLQ | PID+2* |
>> HLVER | PID+2* |
>> I | PID+33*, PID+34, PID+35 |
>> IDGN | GETDATA+43, GETDATA+44, GETDATA+49, GETDATA+50, RXE+4, RXE+9 |
>> IRXN | GETDATA+2, GETDATA+3, GETDATA+5, GETDATA+6, GETDATA+7, GETDATA+9, GETDATA+10, GETDATA+11, GETDATA+12, GETDATA+13 , GETDATA+21, GETDATA+26, GETDATA+31, GETDATA+32, GETDATA+36, GETDATA+39, GETDATA+45, GETDATA+49, GETDATA+58, GETDATA+59 , PV2+3, ORC+4, ORC+10, RXE+8, RXE+10, RXE+14, RXD+6 |
>> ISDT | GETDATA+13*, ORC+5 |
>> MP | GETDATA+36*, GETDATA+38*, RXE+12 |
>> MW | GETDATA+3*, GETDATA+5*, GETDATA+9*, GETDATA+36, GETDATA+38* |
NFDL | INIT+3! |
NFLD | INIT+3!, GETDATA+58*, GETDATA+59, RXD+3 |
>> NOW | GETDATA+42* |
NRFL | INIT+3!, GETDATA+59* |
>> NURSE | GETDATA+41* |
>> OLAN | GETDATA+43* |
ORC | ORC+2~*, ORC+3*, ORC+4*, ORC+5*, ORC+6*, ORC+7*, ORC+8*, ORC+9*, ORC+10*, ORC+11* , ORC+12*, ORC+13*, ORC+15*, ORC+16*, ORC+17 |
>> OTLAN | GETDATA+43* |
>> PAS | PID+1, PID+37* |
>> PODOSE | RXE+8*, RXE+9*, RXE+11 |
PODOSENM | INIT+3!, RXE+8*, RXE+9*, RXE+11 |
POIPTR | INIT+3!, RXE+8*, RXE+9 |
>> PRIORDT | GETDATA+21* |
PRODUCT | INIT+3!, GETDATA+56*, GETDATA+57 |
PRSEPID | PID+9!, PID+29, PID+38! |
PRSEPID(11 | PID+11, PID+27!* |
PRSEZTA | PID+16!, PID+38! |
PRSEZTA(3 | PID+24 |
PRSEZTA(4 | PID+25 |
PRSEZTA(5 | PID+18 |
PRSEZTA(6 | PID+23 |
PSDOSE | INIT+3! |
PSI | INIT+1, PID~, PID+34, PID+35, PID+36*, PV1~, PV1+3, PV1+4*, PV2~, PV2+4 , PV2+5*, ORC~, ORC+17*, RXE~, RXE+15*, RXD~ |
PSND1 | INIT+3!, GETDATA+50*, GETDATA+52, GETDATA+53, GETDATA+54, GETDATA+55, GETDATA+56, GETDATA+57, RXE+4 |
PSND2 | INIT+3!, GETDATA+50*, RXE+4 |
PSND3 | INIT+3!, GETDATA+50*, GETDATA+52, GETDATA+53, GETDATA+54, GETDATA+55, GETDATA+56, RXE+4 |
>> PSODBQ | GETDATA+39 |
PSOHZIP | INIT+3!, GETDATA+30*, ORC+14*, ORC+15 |
PSOINST | GETDATA+47!, GETDATA+48* |
PSOINST(4 | GETDATA+48! |
>> PSOLAP | ORC+8 |
PSONDC | INIT+3!, GETDATA+2*, GETDATA+7*, GETDATA+11*, RXD+7 |
PSOPROD | INIT+3!, GETDATA+51!, GETDATA+53* |
>> PSOSITE | GETDATA+29 |
PSOXN | INIT+3!, GETDATA+51!, GETDATA+54*, GETDATA+57*, RXE+6*, RXE+7 |
PSOXN2 | INIT+3!, GETDATA+51!, GETDATA+54*, GETDATA+55*, RXE+4 |
PSPID | PID+3!, PID+4, PID+6*, PID+31!, PID+38! |
PSPID( | PID+7*!, PID+32*, PID+33, PID+34, PID+35 |
PSPID(1 | PID+6!, PID+31* |
PSPID1 | PID+3!, PID+29!, PID+31, PID+38! |
PSPID1( | PID+32 |
PSZIP | INIT+3!, GETDATA+30*, ORC+14* |
PV1 | PV1+1~, PV1+2*, PV1+3, PV2+2* |
PV2 | PV2+2~, PV2+3*, PV2+4 |
>> PVDR | GETDATA+3*, GETDATA+7*, GETDATA+9*, GETDATA+10*, GETDATA+14, GETDATA+19, ORC+7 |
>> PVDR1 | GETDATA+20*, GETDATA+25*, ORC+7 |
>> QTY | GETDATA+3*, GETDATA+5*, GETDATA+9* |
RELDT | INIT+3!, RXD+7 |
>> RFRM | GETDATA+59* |
>> RS | RXD+7 |
RXD | RXD+2~*, RXD+3*, RXD+4*, RXD+5*, RXD+6*, RXD+7* |
RXE | RXE+2~*, RXE+3*, RXE+4*, RXE+5*, RXE+7*, RXE+11*, RXE+12*, RXE+13*, RXE+14*, RXE+15 |
>> RXFL( | ORC+10 |
>> RXPR( | ORC+10 |
>> RXRP( | ORC+10 |
>> SCTALK | GETDATA+45* |
SITADD | INIT+3! |
SITE | INIT+3!, GETDATA+29*, GETDATA+30, ORC+13, ORC+14, ORC+15, ORC+16 |
SITPHN | INIT+3! |
SPOT | PID+20*, PID+21, PID+22, PID+23, PID+24, PID+25, PID+38! |
TMPADD | PID+18!, PID+38! |
TMPADD(1 | PID+21 |
TRADENM | INIT+3!, RXE+10*, RXE+13 |
UNIT | INIT+3!, GETDATA+54*, GETDATA+57*, RXE+7 |
UU | INIT+3!, GETDATA+58* |
VANAME | INIT+3!, GETDATA+53*, RXD+4 |
>> VPHARM | GETDATA+16* |
>> VPHARMID | GETDATA+2*, GETDATA+6*, GETDATA+10*, GETDATA+15 |
>> WARN | GETDATA+49* |
X | INIT+3!, GETDATA+15!*, GETDATA+16!, GETDATA+17!*, GETDATA+18!, GETDATA+19!*, GETDATA+20!, GETDATA+27!*, GETDATA+28!, GETDATA+33!* , GETDATA+34!, GETDATA+37*, GETDATA+38, PID+7*, PID+32* |
X2 | PID+13!*, PID+15 |
Y | INIT+3!, GETDATA+15!, GETDATA+16!, GETDATA+17!, GETDATA+18!, GETDATA+19!, GETDATA+20!, GETDATA+27!, GETDATA+28!, GETDATA+33! , GETDATA+34!, PID+7*, PID+32* |
Name | Field # of Occurrence |
---|---|
$T(^PSNAPIS | GETDATA+54 |