Changeset 681
- Timestamp:
- Jan 25, 2010, 5:20:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CCPT.m
r677 r681 60 60 .. S LST(ILST)="POV"_U_CODE_U_CAT_U_NARR_U_PRIM_U_PRV 61 61 .. S VISIT(IEN,"POV",ILST)=CODE_U_CAT_U_NARR_U_PRIM_U_PRV 62 .. I X811]"" D63 ... S ICOM=ICOM+164 ... S $P(LST(ILST),U,10)=ICOM65 ... S ILST=ILST+166 ... S LST(ILST)="COM"_U_ICOM_U_X81167 62 . S ICPT=0 F S ICPT=$O(^TMP("PXKENC",$J,VISIT,"CPT",ICPT)) Q:'ICPT D 68 63 .. S X0=^TMP("PXKENC",$J,VISIT,"CPT",ICPT,0),X802=$G(^(802)),X12=$G(^(12)),X811=$G(^(811)) … … 89 84 GETNOTE(IEN) ;GET THE TEXT THAT GOES WITH VISIT 90 85 ;EXTRACT NOTE TEXT FROM ^TIU(8925,IEN,"TEXT" 91 ;Q:'$D(VISIT(IEN,"CPT"))86 Q:'$D(VISIT(IEN,"CPT")) 92 87 S TXTCNT=0 93 88 F S TXTCNT=TXTCNT+1 Q:'$D(^TIU(8925,IEN,"TEXT",TXTCNT,0)) D 94 89 . S VISIT(IEN,"TEXT",TXTCNT)=^TIU(8925,IEN,"TEXT",TXTCNT,0) 95 90 Q 96
Note:
See TracChangeset
for help on using the changeset viewer.