Changeset 371
- Timestamp:
- Feb 20, 2009, 10:55:40 AM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/GPLACTOR.m
r285 r371 96 96 S @AMAP@("ACTORSSNTEXT")="" 97 97 S @AMAP@("ACTORSSNSOURCEID")="" 98 S ZX=$$SSN^CCRDPT(AIEN)99 I ZX'="" D ; IF THERE IS A SSN IN THE RECORD100 . S @AMAP@("ACTORSSN")= ZX101 . S @AMAP@("ACTORSSNTEXT")=" SSN"98 I $G(^MSCDPTID)]"" S MRN=$$^MSCDPTID(DFN) ;TEST FOR MRN ON OPENVISTA ;GPL 99 I $D(MRN) D ; IF MRN IS PRESENT 100 . S @AMAP@("ACTORSSN")=MRN 101 . S @AMAP@("ACTORSSNTEXT")="MRN" 102 102 . S @AMAP@("ACTORSSNSOURCEID")=AOID 103 E D ; NO MRN, USE SSN 104 . S ZX=$$SSN^CCRDPT(AIEN) 105 . I ZX'="" D ; IF THERE IS A SSN IN THE RECORD 106 . . S @AMAP@("ACTORSSN")=ZX 107 . . S @AMAP@("ACTORSSNTEXT")="SSN" 108 . . S @AMAP@("ACTORSSNSOURCEID")=AOID 103 109 S @AMAP@("ACTORADDRESSTYPE")=$$ADDRTYPE^CCRDPT(AIEN) 104 110 S @AMAP@("ACTORADDRESSLINE1")=$$ADDR1^CCRDPT(AIEN) -
ccr/trunk/p/GPLCCR.m
r360 r371 40 40 S OARY=$NA(^TMP("GPLCCR",$J,DFN,"CCR",1)) 41 41 S ONAM=UFN 42 I UFN="" S ONAM="PAT_"_DFN_"_CCR_V1_0_1 5.xml"42 I UFN="" S ONAM="PAT_"_DFN_"_CCR_V1_0_16.xml" 43 43 S ODIRGLB=$NA(^TMP("GPLCCR","ODIR")) 44 44 I '$D(@ODIRGLB) D ; IF NOT ODIR HAS BEEN SET
Note:
See TracChangeset
for help on using the changeset viewer.