Last change
on this file since 1397 was 628, checked in by George Lilly, 15 years ago |
initial load of FOIAVistA 6/30/08 version
|
File size:
456 bytes
|
Line | |
---|
1 | PSSDENT ;BIR/WRT-Put ID number on "ND" node ; 09/01/98 7:08;
|
---|
2 | ;;1.0;PHARMACY DATA MANAGEMENT;**15**;9/30/97
|
---|
3 | D START K IEN,ID,PSSDA,PSSDA1
|
---|
4 | Q
|
---|
5 | START F IEN=0:0 S IEN=$O(^PSDRUG(IEN)) Q:'IEN I $D(^PSDRUG(IEN,"ND")),$P(^PSDRUG(IEN,"ND"),"^",2)]"" D IDENT
|
---|
6 | Q
|
---|
7 | IDENT S PSSDA=$P(^PSDRUG(IEN,"ND"),"^"),PSSDA1=$P(^PSDRUG(IEN,"ND"),"^",3),DA=PSSDA,K=PSSDA1,X=$$PROD2^PSNAPIS(DA,K) I X]"" S ID=$P(X,"^",2),$P(^PSDRUG(IEN,"ND"),"^",10)=ID,^PSDRUG("AQ1",ID,IEN)=""
|
---|
8 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.