- Timestamp:
- Jan 30, 2010, 7:30:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CMED3.m
r696 r697 231 231 . D QUERY^C0CXPATH(MINXML,"//Medications/Medication/PatientInstructions",INTXML1) 232 232 . D REPLACE^C0CXPATH(RESULT,"","//Medications/Medication/PatientInstructions") 233 . N MDI1234 . 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")) 235 235 . ; S @MAP@("MEDPTINSTRUCTIONS","F")="52.41^105" 236 236 . 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 240 243 . D INSERT^C0CXPATH(RESULT,INTXML2,"//Medications/Medication") 241 244 . ;
Note:
See TracChangeset
for help on using the changeset viewer.