Changeset 347 for ccr/trunk/p/CCRMEDS1.m
- Timestamp:
- Jan 30, 2009, 1:07:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/CCRMEDS1.m
r322 r347 38 38 ; D PARY^GPLXPATH(MINXML) 39 39 N MEDS,MAP 40 K ^TMP($J )40 K ^TMP($J,"CCDCCR") ; PLEASE DON'T KILL ALL OF ^TMP($J) HERE!!!! 41 41 D RX^PSO52API(DFN,"CCDCCR") 42 42 M MEDS=^TMP($J,"CCDCCR",DFN) … … 80 80 . ; 81 81 . ; 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 83 83 . ; $$GET1^DIQ. 84 84 . ; 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 86 86 . ; 176.003), by searching for "RXNORM", then get the data. 87 87 . N MEDIEN S MEDIEN=$P(MED(6),U) … … 89 89 . N NDFDATA M NDFDATA=^TMP($J,"NDF",MEDIEN) 90 90 . 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) 92 92 . ; 93 93 . ; NDFIEN is not necessarily defined; it won't be if the drug
Note:
See TracChangeset
for help on using the changeset viewer.