Changeset 281 for ccr/trunk/p/CCRMEDS2.m
- Timestamp:
- Nov 17, 2008, 2:48:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/CCRMEDS2.m
r227 r281 85 85 . S @MAP@("MEDBRANDNAMETEXT")="" 86 86 . D DOSE^PSS50(MEDIEN,,,,,"DOSE") 87 . N DOSEDATA M DOSEDATA=^TMP($J,"DOSE",MEDIEN) 88 . S @MAP@("MEDSTRENGTHVALUE")=DOSEDATA(901) 89 . S @MAP@("MEDSTRENGTHUNIT")=$P(DOSEDATA(902),U,2) 87 . I $D(^TMP($J,"DOSE",MEDIEN)) D ; GPL ; CALL SUCCESSFUL 88 . . N DOSEDATA M DOSEDATA=^TMP($J,"DOSE",MEDIEN) 89 . . S @MAP@("MEDSTRENGTHVALUE")=DOSEDATA(901) 90 . . S @MAP@("MEDSTRENGTHUNIT")=$P(DOSEDATA(902),U,2) 91 . E D ; GPL CALL UNSUCCESSUFL 92 . . S @MAP@("MEDSTRENGTHVALUE")="" ; NO DOSE INFORMATION AVAILABLE 93 . . S @MAP@("MEDSTRENGTHUNIT")="" ; 90 94 . ; Units, concentration, etc, come from another call 91 95 . ; $$CPRS^PSNAPIS which returns dosage-form^va class^strengh^unit
Note:
See TracChangeset
for help on using the changeset viewer.