Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PSNPPSNP

PSNPPSNP.m

Go to the documentation of this file.
PSNPPSNP ;HP/MJE-PPSN Parse PPS-N Update file ; 05 Mar 2014  1:20 PM
 ;;4.0;NATIONAL DRUG FILE;**513**; 30 Oct 98;Build 53
 ;
 Q
PARSE ;
 N PSNA,PSNB
 F II=0:0 S II=$O(^TMP("PSN PPSN READ",$J,II)) Q:'II  D
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.416) D
 ..S Z11=Z11+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z11)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.6) D
 ..S Z12=Z12+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z12)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.605) D
 ..S Z13=Z13+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z13)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.606) D
 ..S Z14=Z14+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z14)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.607) D
 ..S Z15=Z15+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z15)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.608) D
 ..S Z16=Z16+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z16)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.609) D
 ..S Z17=Z17+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z17)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.64) D
 ..S Z18=Z18+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z18)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.67) D
 ..S Z19=Z19+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z19)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.68) D
 ..S Z191=Z191+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z191)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=51.2) D
 ..S Z192=Z192+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z192)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=55.95) D
 ..S Z193=Z193+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z193)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATANT"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=56) D
 ..S Z194=Z194+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z194)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.416) D
 ..S Z21=Z21+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z21)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.6) D
 ..S Z22=Z22+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z22)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.605) D
 ..S Z23=Z23+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z23)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.606) D
 ..S Z24=Z24+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z24)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.607) D
 ..S Z25=Z25+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z25)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.608) D
 ..S Z26=Z26+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z26)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.609) D
 ..S Z27=Z27+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z27)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.64) D
 ..S Z28=Z28+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z28)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.67) D
 ..S Z29=Z29+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z29)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.68) D
 ..S Z291=Z291+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z291)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=51.2) D
 ..S Z292=Z292+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z292)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=55.95) D
 ..S Z293=Z293+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z293)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAN"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=56) D
 ..S Z294=Z294+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z294)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.416) D
 ..S Z31=Z31+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z31)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.6) D
 ..S Z32=Z32+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z32)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.605) D
 ..S Z33=Z33+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z33)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.606) D
 ..S Z34=Z34+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z34)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.607) D
 ..S Z35=Z35+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z35)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.608) D
 ..S Z36=Z36+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z36)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.609) D
 ..S Z37=Z37+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z37)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.64) D
 ..S Z38=Z38+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z38)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.67) D
 ..S Z39=Z39+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z39)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=50.68) D
 ..S Z391=Z391+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z391)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=51.2) D
 ..S Z392=Z392+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z392)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=55.95) D
 ..S Z393=Z393+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z393)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATAO"&($P(^TMP("PSN PPSN READ",$J,II),"^",2)=56) D
 ..S Z394=Z394+1,^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),Z394)=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="PRODUCT" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="GENERIC" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="DATA" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="TEXT" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="POE" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="CMOP" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="NFI" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="CLASS" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="WORD" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="REM" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="POST" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="MESSAGE" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="MESSAGE2" S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2))=^TMP("PSN PPSN READ",$J,II+1)
 .I $P(^TMP("PSN PPSN READ",$J,II),"^")="PMIDATA" D
 ..F I1=1:1:$L(^TMP("PSN PPSN READ",$J,II),"^") D
 ...S PSNHLD1(I1)=$P(^TMP("PSN PPSN READ",$J,II),"^",I1)
 ..I $L(^TMP("PSN PPSN READ",$J,II),"^")=3 S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),$P(^TMP("PSN PPSN READ",$J,II),"^",3))=^TMP("PSN PPSN READ",$J,II+1)
 ..I $L(^TMP("PSN PPSN READ",$J,II),"^")=4 D
 ...S ^TMP("PSN PPSN PARSED",$J,$P(^TMP("PSN PPSN READ",$J,II),"^"),$P(^TMP("PSN PPSN READ",$J,II),"^",2),$P(^TMP("PSN PPSN READ",$J,II),"^",3),$P(^TMP("PSN PPSN READ",$J,II),"^",4))=^TMP("PSN PPSN READ",$J,II+1)
 ..I $L(^TMP("PSN PPSN READ",$J,II),"^")=5 D
 ...S PSNA="",PSNA=$P(^TMP("PSN PPSN READ",$J,II),"^")
 ...S ^TMP("PSN PPSN PARSED",$J,PSNA,$P(^TMP("PSN PPSN READ",$J,II),"^",2),$P(^TMP("PSN PPSN READ",$J,II),"^",3),$P(^TMP("PSN PPSN READ",$J,II),"^",4),$P(^TMP("PSN PPSN READ",$J,II),"^",5))=^TMP("PSN PPSN READ",$J,II+1)
 ..I $L(^TMP("PSN PPSN READ",$J,II),"^")=6 D
 ...S (PSNA,PSNB)="",PSNA=$P(^TMP("PSN PPSN READ",$J,II),"^"),PSNB=$P(^TMP("PSN PPSN READ",$J,II),"^",2),PSNC=$P(^TMP("PSN PPSN READ",$J,II),"^",3)
 ...S ^TMP("PSN PPSN PARSED",$J,PSNA,PSNB,PSNC,$P(^TMP("PSN PPSN READ",$J,II),"^",4),$P(^TMP("PSN PPSN READ",$J,II),"^",5),$P(^TMP("PSN PPSN READ",$J,II),"^",6))=^TMP("PSN PPSN READ",$J,II+1)
 .S II=II+1
 Q