Changeset 666 for ccr/trunk/p/C0CALERT.m


Ignore:
Timestamp:
Jan 10, 2010, 1:13:34 PM (15 years ago)
Author:
George Lilly
Message:

updates to ALERT AND RNF for eRx

File:
1 edited

Legend:

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

    r601 r666  
    2222 Q
    2323 ;
    24 EXTRACT(ALTXML,DFN,ALTOUTXML) ; EXTRACT ALERTS INTO PROVIDED XML TEMPLATE
    25  ;
     24EXTRACT(ALTXML,DFN,ALTOUTXML,CALLBK) ; EXTRACT ALERTS INTO XML TEMPLATE
     25 ; CALLBACK IF PROVIDED IS CALLED FOR EACH ALLERGY BEFORE MAPPING
    2626 ; ALTXML AND ALTOUTXML ARE PASSED BY NAME SO GLOBALS CAN BE USED
    2727 ;
     
    4646 . S @ALTVMAP@("ALERTOBJECTID")="ALERT"_ALTCNT
    4747 . N A1 S A1=@ALTG@(ALTTMP) ; ALL THE PIECES
     48 . I $D(CALLBK) D @CALLBK ;CALLBACK FOR EPRESCRIBING
    4849 . N A2 S A2=$$GET1^DIQ(120.8,ALTTMP,"MECHANISM","I") ; MECHANISM
    4950 . N A3 S A3=$P(A1,U,5) ; ADVERSE FLAG
Note: See TracChangeset for help on using the changeset viewer.