Changeset 697 for ccr/trunk


Ignore:
Timestamp:
Jan 30, 2010, 7:30:58 PM (15 years ago)
Author:
George Lilly
Message:

fixed variable protocol in non-VA meds

File:
1 edited

Legend:

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

    r696 r697  
    231231 . D QUERY^C0CXPATH(MINXML,"//Medications/Medication/PatientInstructions",INTXML1)
    232232 . D REPLACE^C0CXPATH(RESULT,"","//Medications/Medication/PatientInstructions")
    233  . N MDI1
    234  . S MDI1=$NA(@MAP@("I"))
     233 . ;N MDI1 ; removing the "I" which is not in the protocol gpl 1/2010
     234 . ;S MDI1=$NA(@MAP@("I"))
    235235 . ; S @MAP@("MEDPTINSTRUCTIONS","F")="52.41^105"
    236236 . I $D(MED(10,1)) D  ;
    237  . . S @MAP@("I","MEDPTINSTRUCTIONS")=$P(MED(10,1),"  ",1) ; WP Field
    238  . E  S @MAP@("I","MEDPTINSTRUCTIONS")=""
    239  . D MAP^C0CXPATH(INTXML1,MDI1,INTXML2)
     237 . . ;S @MAP@("I","MEDPTINSTRUCTIONS")=$P(MED(10,1),"  ",1) ; WP Field
     238 . . S @MAP@("MEDPTINSTRUCTIONS")=$P(MED(10,1),"  ",1) ; WP Field
     239 . E  S @MAP@("MEDPTINSTRUCTIONS")=""
     240 . ;E  S @MAP@("I","MEDPTINSTRUCTIONS")=""
     241 . ;D MAP^C0CXPATH(INTXML1,MDI1,INTXML2)
     242 . D MAP^C0CXPATH(INTXML1,MAP,INTXML2) ; JUST MAP WORKS.. GPL
    240243 . D INSERT^C0CXPATH(RESULT,INTXML2,"//Medications/Medication")
    241244 . ;
Note: See TracChangeset for help on using the changeset viewer.