- Timestamp:
- Jan 22, 2010, 8:55:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CCPT.m
r673 r675 30 30 Q 31 31 VISIT ;GET VISIT INFO FOR A GIVEN NOTE. BUILD INTO RETURN ARRAY .VISIT 32 S ILST=1 32 S ILST=1,X0="",X12="",VISIT="",LST="",X811="" 33 33 S IEN="" F S IEN=$O(NOTE(IEN)) Q:IEN="" D 34 34 . S X0=^TIU(8925,IEN,0),X12=$G(^(12)) … … 89 89 GETNOTE(IEN) ;GET THE TEXT THAT GOES WITH VISIT 90 90 ;EXTRACT NOTE TEXT FROM ^TIU(8925,IEN,"TEXT" 91 ;Q:'$D(VISIT(IEN,"CPT"))91 Q:'$D(VISIT(IEN,"CPT")) 92 92 S TXTCNT=0 93 93 F S TXTCNT=TXTCNT+1 Q:'$D(^TIU(8925,IEN,"TEXT",TXTCNT,0)) D
Note:
See TracChangeset
for help on using the changeset viewer.