Changeset 369 for ccr/trunk/p
- Timestamp:
- Feb 15, 2009, 6:06:34 PM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CRXNRD.m
r320 r369 50 50 . IF $$STATUS^%ZISH QUIT 51 51 . U $P W I U IO 52 . IF LINE'["NDC| VANDF" U $P W ?20,"No NDC Here :-)",! U IO QUIT52 . IF LINE'["NDC|RXNORM" U $P W ?20,"No NDC Here :-)",! U IO QUIT 53 53 . ; Otherwise, we are good to go 54 . U $P W ?20,"Found VUID/NDC Set",! U IO55 . N RXCUI, VUID,NDC ; Fileman fields below54 . U $P W ?20,"Found RXNORM/NDC Set",! U IO 55 . N RXCUI,NDC ; Fileman fields below 56 56 . S RXCUI=$P(LINE,"|",1) ; .01 57 . S VUID=$P(LINE,"|",6) ; 158 57 . S NDC=$P(LINE,"|",11) ; 2 59 58 . ; Using classic call to update. … … 64 63 . I Y<1 U $P W !,"THERE IS TROUBLE IN RIVER CITY",! BREAK 65 64 . S DIE=DIC,DA=$P(Y,"^") 66 . S DR=" 1////^S X=VUID;2////^S X=NDC"65 . S DR="2////^S X=NDC" 67 66 . D ^DIE 68 67 D CLOSE^%ZISH("FILE") 69 68 U $P ; reset back to principle device 70 71 69 QUIT
Note:
See TracChangeset
for help on using the changeset viewer.