PSOHLDS1 ;BIR/LC,PWC-Build HL7 Segments for Automated Interface ; 7/25/08 1:28pm
Source file <PSOHLDS1.m>
Package | Total | Call Graph |
---|---|---|
Registration | 5 | 6^VADPT BLDPID^VAFCQRY MAKEIT^VAFHLU $$EN^VAFHLZTA $$SITE^VASITE |
Outpatient Pharmacy | 4 | ($$CHKRX,$$CHKTEMP)^PSOBAI (NTE,NTE8,RXD,RXE,RXR)^PSOHLDS2 (IAM,NTEPMI,ORC)^PSOHLDS4 $$ZZ^PSOSUTL |
VA Fileman | 4 | NOW^%DTC ^DIC $$GET1^DIQ EN^DIQ1 |
Health Level Seven | 1 | ($$HLDATE,$$HLNAME)^HLFNC |
National Drug File | 1 | (,$$DFSU,$$PROD2)^PSNAPIS |
Scheduling | 1 | (SEGPRSE,SEQPRSE)^SCMSVUT5 |
Name | Comments | DBIA/ICR reference |
---|---|---|
PV1(PSI) | ;patient visit segment
|
|
PID(PSI) | ;patient ID segment
|
|
START | ;
|
|
PV2(PSI) | ;patient visit segment (additional information)
|
|
MW(PS55,MW,MP) | ;Return Mail/Window and MP expanded text ;PSO*232
|
|
GETDATA | ; this is the place to set all data needed for several segments
|
Name | Field # of Occurrence |
---|---|
NOW^%DTC | GETDATA+40 |
^DIC | GETDATA+15, GETDATA+17, GETDATA+19, GETDATA+26, GETDATA+32 |
$$GET1^DIQ | GETDATA+14, GETDATA+42, PID+17 |
EN^DIQ1 | GETDATA+45 |
$$HLDATE^HLFNC | GETDATA+12, GETDATA+13, GETDATA+21, GETDATA+22, GETDATA+23, GETDATA+24, GETDATA+40 |
$$HLNAME^HLFNC | GETDATA+16, GETDATA+18, GETDATA+20, GETDATA+27, GETDATA+33 |
^PSNAPIS | GETDATA+52 |
$$DFSU^PSNAPIS | GETDATA+52 |
$$PROD2^PSNAPIS | GETDATA+51, GETDATA+52 |
$$CHKRX^PSOBAI | PID+16 |
$$CHKTEMP^PSOBAI | PID+15, PID+18 |
NTE^PSOHLDS2 | START+3 |
NTE8^PSOHLDS2 | START+4 |
RXD^PSOHLDS2 | START+3 |
RXE^PSOHLDS2 | START+3 |
RXR^PSOHLDS2 | START+4 |
IAM^PSOHLDS4 | START+2 |
NTEPMI^PSOHLDS4 | START+4 |
ORC^PSOHLDS4 | START+2 |
$$ZZ^PSOSUTL | GETDATA+47 |
SEGPRSE^SCMSVUT5 | PID+9, PID+19 |
SEQPRSE^SCMSVUT5 | PID+11, PID+21 |
6^VADPT | GETDATA+34 |
BLDPID^VAFCQRY | PID+4 |
MAKEIT^VAFHLU | PID+32 |
$$EN^VAFHLZTA | PID+13 |
$$SITE^VASITE | GETDATA+44 |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^VA(200 - [#200] | Classic Fileman Calls, GET1^DIQ |
^PSDRUG - [#50] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | GETDATA+39 |
^PS(50.607 - [#50.607] | GETDATA+55 |
^PS(53 - [#53] | PV2+4 |
^PS(55 - [#55] | GETDATA+35, GETDATA+39, GETDATA+41, GETDATA+43 |
^PS(59 - [#59] | GETDATA+28 |
^PSDRUG - [#50] | GETDATA+47, GETDATA+48 |
^PSNDF( | GETDATA+53, GETDATA+54, GETDATA+55 |
^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+25, GETDATA+30, GETDATA+31, GETDATA+37, GETDATA+43, GETDATA+56, GETDATA+57, PV2+4, MW+2 |
^SC - [#44] | GETDATA+30 |
^TMP("PSO" | PID+37*, PID+38*, PV1+4*, PV2+5* |
Name | Line Occurrences |
---|---|
GETDATA | START+1 |
MW | GETDATA+36 |
PID | START+2 |
PV1 | START+2 |
PV2 | START+2 |
Name | Field # of Occurrence |
---|---|
^("MP" | MW+2 |
^("ND" | GETDATA+48 |
^("STA" | GETDATA+37 |
^(0 | GETDATA+3, GETDATA+5, GETDATA+6, GETDATA+7, GETDATA+9, GETDATA+10, GETDATA+11, GETDATA+28, GETDATA+30, GETDATA+35 , GETDATA+47 |
^(1 | GETDATA+7 |
^(2 | GETDATA+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | GETDATA+40 |
ADDSEQ | PID+11!, PID+31, PID+41! |
ADDSEQ( | PID+24*, PID+25*, PID+26*, PID+27*, PID+28* |
ADDSEQ("" | PID+23 |
ADDSEQ(1 | PID+17* |
BADA | PID+16~*, PID+17* |
>> CAP | GETDATA+35* |
>> CLN | GETDATA+30* |
>> CLN1 | GETDATA+30* |
>> CNT | PID+36*, PID+38* |
>> COPAY | GETDATA+37*, GETDATA+38*, PV2+4 |
CSINER | START+6!, GETDATA+31*, GETDATA+32 |
CSINER1 | START+6!, GETDATA+33* |
>> CSUB | GETDATA+42* |
>> CSUB1 | GETDATA+42* |
DA | GETDATA+44*, GETDATA+46! |
DASPLY | START+7!, GETDATA+3*, GETDATA+5*, GETDATA+9* |
>> DATE | GETDATA+40* |
>> DEA | GETDATA+47* |
DEAID | START+7!, GETDATA+14* |
>> DFN | GETDATA+35, GETDATA+39, GETDATA+41, PID+1, PID+4, PID+13, PID+15, PID+17, PID+18, PV1+1 , PV2+2 |
DIC | GETDATA+15!*, GETDATA+16!, GETDATA+17!*, GETDATA+18!, GETDATA+19!*, GETDATA+20!, GETDATA+26!*, GETDATA+27!, GETDATA+32!*, GETDATA+33! , GETDATA+44!, GETDATA+45*, GETDATA+46! |
DIC(0 | GETDATA+15*, GETDATA+17*, GETDATA+19*, GETDATA+26*, GETDATA+32* |
DIQ | GETDATA+44!, GETDATA+45*, GETDATA+46! |
DIQ(0 | GETDATA+45* |
DISPDT | START+8!, GETDATA+2*, GETDATA+5*, GETDATA+9*, GETDATA+23* |
DR | GETDATA+44!, GETDATA+45*, GETDATA+46! |
DRUG | START+9!, GETDATA+47* |
EBY | START+6!, GETDATA+3*, GETDATA+7*, GETDATA+10*, GETDATA+17 |
EBY1 | START+6!, GETDATA+18* |
EFDT | START+6!, GETDATA+12* |
>> ERR | PID+4 |
EXDT | START+6!, GETDATA+2*, GETDATA+5*, GETDATA+9*, GETDATA+24* |
FDT | START+6!, GETDATA+2*, GETDATA+5*, GETDATA+9*, GETDATA+22*, GETDATA+40 |
>> FIN | GETDATA+25*, GETDATA+26 |
>> FIN1 | GETDATA+27* |
>> FP | GETDATA+1, GETDATA+4, GETDATA+8 |
>> FPN | GETDATA+1, GETDATA+4, GETDATA+5, GETDATA+6, GETDATA+7, GETDATA+8, GETDATA+9, GETDATA+10, GETDATA+11 |
>> FS | PV1+3, PV2+4 |
>> HL1 | PID+4 |
>> HL1("ECH" | PID+2, PID+11, PID+21 |
>> HL1("FS" | PID+2, PID+9, PID+19 |
>> HL1("Q" | PID+2 |
>> HL1("VER" | PID+2 |
>> HLECH | PID+2* |
>> HLFS | PID+2* |
>> HLQ | PID+2* |
>> HLVER | PID+2* |
>> I | PID+36*, PID+37, PID+38 |
>> IDGN | GETDATA+42, GETDATA+47, GETDATA+48 |
>> IRXN | GETDATA+2, GETDATA+3, GETDATA+5, GETDATA+6, GETDATA+7, GETDATA+9, GETDATA+10, GETDATA+11, GETDATA+12, GETDATA+13 , GETDATA+21, GETDATA+25, GETDATA+30, GETDATA+31, GETDATA+37, GETDATA+43, GETDATA+47, GETDATA+56, GETDATA+57, PID+16 , PV2+4, MW+2 |
>> ISDT | GETDATA+13* |
MP | GETDATA+36, MW~, MW+2*, MW+5* |
MW | START+7!, GETDATA+3*, GETDATA+5*, GETDATA+9*, GETDATA+36, MW~, MW+1, MW+3*, MW+4, MW+7* |
NFLD | START+7!, GETDATA+56*, GETDATA+57 |
>> NOW | GETDATA+40* |
>> NRFL | GETDATA+57* |
>> NURSE | GETDATA+39* |
OLAN | START+7!, GETDATA+41* |
OTHLAN | START+7! |
>> OTLAN | GETDATA+41* |
>> PAS | PID+1, PID+40* |
>> PAS1 | PV1+1, PV1+5* |
>> PAS2 | PV2+2, PV2+6* |
PRIORDT | START+7!, GETDATA+21* |
PRODUCT | START+8!, GETDATA+54*, GETDATA+55 |
PRSEPID | PID+9!, PID+32, PID+41! |
PRSEPID(11 | PID+11, PID+31!* |
PRSEZTA | PID+19!, PID+41! |
PRSEZTA(3 | PID+27 |
PRSEZTA(4 | PID+28 |
PRSEZTA(5 | PID+21 |
PRSEZTA(6 | PID+26 |
PS55 | MW~, MW+6*, MW+7 |
PSI | START+2, START+3, START+4, PID~, PID+37, PID+38, PID+39*, PV1~, PV1+4, PV1+5* , PV2~, PV2+5, PV2+6* |
PSND1 | START+8!, GETDATA+48*, GETDATA+50, GETDATA+51, GETDATA+52, GETDATA+53, GETDATA+54, GETDATA+55 |
PSND2 | START+8!, GETDATA+48* |
>> PSND3 | GETDATA+48*, GETDATA+50, GETDATA+51, GETDATA+52, GETDATA+53, GETDATA+54 |
>> PSODBQ | GETDATA+37 |
>> PSOHZIP | GETDATA+29* |
PSOINST | GETDATA+45!, GETDATA+46* |
PSOINST(4 | GETDATA+46! |
PSONDC | START+8!, GETDATA+2*, GETDATA+7*, GETDATA+11* |
PSOPROD | START+8!, GETDATA+49!, GETDATA+51* |
>> PSOSITE | GETDATA+28 |
PSOXN | START+8!, GETDATA+49!, GETDATA+52*, GETDATA+55* |
PSOXN2 | START+8!, GETDATA+49!, GETDATA+52*, GETDATA+53* |
PSPID | PID+3!, PID+4, PID+6*, PID+34!, PID+41! |
PSPID( | PID+7*!, PID+35*, PID+36, PID+37, PID+38 |
PSPID(1 | PID+6!, PID+34* |
PSPID1 | PID+3!, PID+32!, PID+34, PID+41! |
PSPID1( | PID+35 |
>> PSZIP | GETDATA+29* |
PV1 | PV1+2~, PV1+3*, PV1+4 |
PV2 | PV2+3~*, PV2+4*, PV2+5 |
PVDR | START+6!, GETDATA+3*, GETDATA+7*, GETDATA+9*, GETDATA+10*, GETDATA+14, GETDATA+19 |
PVDR1 | START+6!, GETDATA+20* |
QTY | START+7!, GETDATA+3*, GETDATA+5*, GETDATA+9* |
RFRM | START+7!, GETDATA+57* |
>> SCTALK | GETDATA+43* |
SITADD | START+6! |
SITE | START+6!, GETDATA+28*, GETDATA+29 |
SITPHN | START+6! |
SPOT | PID+23*, PID+24, PID+25, PID+26, PID+27, PID+28, PID+41! |
TMPADD | PID+21!, PID+41! |
TMPADD(1 | PID+24 |
UNIT | START+8!, GETDATA+52*, GETDATA+55* |
>> UU | GETDATA+56* |
VANAME | START+8!, GETDATA+51* |
VPHARM | START+7!, GETDATA+16* |
VPHARMID | START+7!, GETDATA+2*, GETDATA+6*, GETDATA+10*, GETDATA+15 |
WARN | START+7!, GETDATA+47* |
X | GETDATA+15!*, GETDATA+16!, GETDATA+17!*, GETDATA+18!, GETDATA+19!*, GETDATA+20!, GETDATA+26!*, GETDATA+27!, GETDATA+32!*, GETDATA+33! , GETDATA+35*, GETDATA+36, PID+7*, PID+35* |
X2 | PID+13!* |
Y | GETDATA+15!, GETDATA+16!, GETDATA+17!, GETDATA+18!, GETDATA+19!, GETDATA+20!, GETDATA+26!, GETDATA+27!, GETDATA+32!, GETDATA+33! , PID+7*, PID+35* |
Name | Field # of Occurrence |
---|---|
$T(^PSNAPIS | GETDATA+52 |