Changeset 369 for ccr/trunk


Ignore:
Timestamp:
Feb 15, 2009, 6:06:34 PM (16 years ago)
Author:
Sam Habiel
Message:

Added "DCO_Sam_Habiel.txt"

Location:
ccr/trunk/p
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/C0CRXNRD.m

    r320 r369  
    5050 . IF $$STATUS^%ZISH QUIT
    5151 . U $P W I U IO
    52  . IF LINE'["NDC|VANDF" U $P W ?20,"No NDC Here :-)",! U IO QUIT
     52 . IF LINE'["NDC|RXNORM" U $P W ?20,"No NDC Here :-)",! U IO QUIT
    5353 . ; Otherwise, we are good to go
    54  . U $P W ?20,"Found VUID/NDC Set",! U IO
    55  . N RXCUI,VUID,NDC ; Fileman fields below
     54 . U $P W ?20,"Found RXNORM/NDC Set",! U IO
     55 . N RXCUI,NDC ; Fileman fields below
    5656 . S RXCUI=$P(LINE,"|",1)       ; .01
    57  . S VUID=$P(LINE,"|",6)        ; 1
    5857 . S NDC=$P(LINE,"|",11)        ; 2
    5958 . ; Using classic call to update.
     
    6463 . I Y<1 U $P W !,"THERE IS TROUBLE IN RIVER CITY",! BREAK
    6564 . S DIE=DIC,DA=$P(Y,"^")
    66  . S DR="1////^S X=VUID;2////^S X=NDC"
     65 . S DR="2////^S X=NDC"
    6766 . D ^DIE
    6867 D CLOSE^%ZISH("FILE")
    6968 U $P ; reset back to principle device
    70 
    71 
     69 QUIT
Note: See TracChangeset for help on using the changeset viewer.