Changeset 1619 for fmts/trunk/p/C0XPT3.m


Ignore:
Timestamp:
Apr 19, 2013, 8:24:22 PM (12 years ago)
Author:
Sam Habiel
Message:

minor debugging related changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmts/trunk/p/C0XPT3.m

    r1616 r1619  
    1 C0XPT3  ;ISI/MLS,VEN/SMH -- MEDS IMPORT ;2013-04-10  6:54 PM
     1C0XPT3  ;ISI/MLS,VEN/SMH -- MEDS IMPORT ;2013-04-19  5:42 PM
    22        ;;1.0;FILEMAN TRIPLE STORE;;Jun 26,2012;Build 29
     3        ; (C) Sam Habiel 2013
     4        ; Proprietary code. Stay out!
    35        ;
    46MEDS(G,DFN) ; Private Proc; Extract Medication Data from a Patient's Graph
     
    9799        I $$ISBRAND^C0CRXNLK(RXN) S RXN=$$BR2GEN^C0CRXNLK(RXN) ; Get Generic Drug for Brand
    98100        N LOCALDRUG S LOCALDRUG=+$$RXN2MEDS^C0CRXNLK(RXN)
    99         I 'LOCALDRUG S LOCALDRUG=$$ADDDRUG(RXN)
     101        ; I 'LOCALDRUG S LOCALDRUG=$$ADDDRUG^C0CRXNAD(RXN)
     102        I LOCALDRUG N DIK,DA S DIK="^PSDRUG(",DA=LOCALDRUG D ^DIK
     103        S LOCALDRUG=$$ADDDRUG^C0CRXNAD(RXN)
    100104        W "(debug) Local Drug IEN: "_LOCALDRUG,!
    101105        N PSODRUG S PSODRUG=LOCALDRUG  ;POINTER TO DRUG FILE (#50) ; TODO: HARDCODED; RXN
Note: See TracChangeset for help on using the changeset viewer.