Changeset 1619 for fmts/trunk/p/C0XPT3.m
- Timestamp:
- Apr 19, 2013, 8:24:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmts/trunk/p/C0XPT3.m
r1616 r1619 1 C0XPT3 ;ISI/MLS,VEN/SMH -- MEDS IMPORT ;2013-04-1 0 6:54PM1 C0XPT3 ;ISI/MLS,VEN/SMH -- MEDS IMPORT ;2013-04-19 5:42 PM 2 2 ;;1.0;FILEMAN TRIPLE STORE;;Jun 26,2012;Build 29 3 ; (C) Sam Habiel 2013 4 ; Proprietary code. Stay out! 3 5 ; 4 6 MEDS(G,DFN) ; Private Proc; Extract Medication Data from a Patient's Graph … … 97 99 I $$ISBRAND^C0CRXNLK(RXN) S RXN=$$BR2GEN^C0CRXNLK(RXN) ; Get Generic Drug for Brand 98 100 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) 100 104 W "(debug) Local Drug IEN: "_LOCALDRUG,! 101 105 N PSODRUG S PSODRUG=LOCALDRUG ;POINTER TO DRUG FILE (#50) ; TODO: HARDCODED; RXN
Note:
See TracChangeset
for help on using the changeset viewer.