Changeset 347 for ccr/trunk/p/CCRMEDS1.m


Ignore:
Timestamp:
Jan 30, 2009, 1:07:28 PM (15 years ago)
Author:
George Lilly
Message:

update to support parameters .. XPATGPLCCR(1,"LABSTART:T^LABLIMIT:T-5000")

File:
1 edited

Legend:

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

    r322 r347  
    3838 ; D PARY^GPLXPATH(MINXML)
    3939 N MEDS,MAP
    40  K ^TMP($J)
     40 K ^TMP($J,"CCDCCR") ; PLEASE DON'T KILL ALL OF ^TMP($J) HERE!!!!
    4141 D RX^PSO52API(DFN,"CCDCCR")
    4242 M MEDS=^TMP($J,"CCDCCR",DFN)
     
    8080 . ;
    8181 . ; We use the VUID to look up the RxNorm in file 176.001; same idea.
    82  . ; Get IEN first using $$FIND1^DIC, then get the RxNorm number by 
     82 . ; Get IEN first using $$FIND1^DIC, then get the RxNorm number by
    8383 . ; $$GET1^DIQ.
    8484 . ;
    85  . ; I get the RxNorm name and version from the RxNorm Sources (file 
     85 . ; I get the RxNorm name and version from the RxNorm Sources (file
    8686 . ; 176.003), by searching for "RXNORM", then get the data.
    8787 . N MEDIEN S MEDIEN=$P(MED(6),U)
     
    8989 . N NDFDATA M NDFDATA=^TMP($J,"NDF",MEDIEN)
    9090 . N NDFIEN S NDFIEN=$P(NDFDATA(20),U)
    91  . N VAPROD S VAPROD=$P(NDFDATA(22),U) 
     91 . N VAPROD S VAPROD=$P(NDFDATA(22),U)
    9292 . ;
    9393 . ; NDFIEN is not necessarily defined; it won't be if the drug
Note: See TracChangeset for help on using the changeset viewer.