Changeset 415 for ccr/trunk


Ignore:
Timestamp:
Mar 22, 2009, 3:06:25 PM (16 years ago)
Author:
George Lilly
Message:

Renamed CCRDPT to C0CDPT

Location:
ccr/trunk/p
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/C0CACTOR.m

    r399 r415  
    8989 K @AMAP
    9090 S @AMAP@("ACTOROBJECTID")=AOID ;ACTOR OBJECT ID
    91  S @AMAP@("ACTORGIVENNAME")=$$GIVEN^CCRDPT(AIEN)
    92  S @AMAP@("ACTORMIDDLENAME")=$$MIDDLE^CCRDPT(AIEN)
    93  S @AMAP@("ACTORFAMILYNAME")=$$FAMILY^CCRDPT(AIEN)
    94  S @AMAP@("ACTORDATEOFBIRTH")=$$DOB^CCRDPT(AIEN)
    95  S @AMAP@("ACTORGENDER")=$$GENDER^CCRDPT(AIEN)
     91 S @AMAP@("ACTORGIVENNAME")=$$GIVEN^C0CDPT(AIEN)
     92 S @AMAP@("ACTORMIDDLENAME")=$$MIDDLE^C0CDPT(AIEN)
     93 S @AMAP@("ACTORFAMILYNAME")=$$FAMILY^C0CDPT(AIEN)
     94 S @AMAP@("ACTORDATEOFBIRTH")=$$DOB^C0CDPT(AIEN)
     95 S @AMAP@("ACTORGENDER")=$$GENDER^C0CDPT(AIEN)
    9696 S @AMAP@("ACTORSSN")=""
    9797 S @AMAP@("ACTORSSNTEXT")=""
     
    105105 . S @AMAP@("ACTORSSNSOURCEID")=AOID
    106106 E  D  ; NO MRN, USE SSN
    107  . S ZX=$$SSN^CCRDPT(AIEN)
     107 . S ZX=$$SSN^C0CDPT(AIEN)
    108108 . I ZX'="" D  ; IF THERE IS A SSN IN THE RECORD
    109109 . . S @AMAP@("ACTORSSN")=ZX
    110110 . . S @AMAP@("ACTORSSNTEXT")="SSN"
    111111 . . S @AMAP@("ACTORSSNSOURCEID")=AOID
    112  S @AMAP@("ACTORADDRESSTYPE")=$$ADDRTYPE^CCRDPT(AIEN)
    113  S @AMAP@("ACTORADDRESSLINE1")=$$ADDR1^CCRDPT(AIEN)
    114  S @AMAP@("ACTORADDRESSLINE2")=$$ADDR2^CCRDPT(AIEN)
    115  S @AMAP@("ACTORADDRESSCITY")=$$CITY^CCRDPT(AIEN)
    116  S @AMAP@("ACTORADDRESSSTATE")=$$STATE^CCRDPT(AIEN)
    117  S @AMAP@("ACTORADDRESSZIPCODE")=$$ZIP^CCRDPT(AIEN)
     112 S @AMAP@("ACTORADDRESSTYPE")=$$ADDRTYPE^C0CDPT(AIEN)
     113 S @AMAP@("ACTORADDRESSLINE1")=$$ADDR1^C0CDPT(AIEN)
     114 S @AMAP@("ACTORADDRESSLINE2")=$$ADDR2^C0CDPT(AIEN)
     115 S @AMAP@("ACTORADDRESSCITY")=$$CITY^C0CDPT(AIEN)
     116 S @AMAP@("ACTORADDRESSSTATE")=$$STATE^C0CDPT(AIEN)
     117 S @AMAP@("ACTORADDRESSZIPCODE")=$$ZIP^C0CDPT(AIEN)
    118118 S @AMAP@("ACTORRESTEL")=""
    119119 S @AMAP@("ACTORRESTELTEXT")=""
    120  S ZX=$$RESTEL^CCRDPT(AIEN)
     120 S ZX=$$RESTEL^C0CDPT(AIEN)
    121121 I ZX'="" D  ; IF THERE IS A RESIDENT PHONE IN THE RECORD
    122122 . S @AMAP@("ACTORRESTEL")=ZX
     
    124124 S @AMAP@("ACTORWORKTEL")=""
    125125 S @AMAP@("ACTORWORKTELTEXT")=""
    126  S ZX=$$WORKTEL^CCRDPT(AIEN)
     126 S ZX=$$WORKTEL^C0CDPT(AIEN)
    127127 I ZX'="" D  ; IF THERE IS A RESIDENT PHONE IN THE RECORD
    128128 . S @AMAP@("ACTORWORKTEL")=ZX
     
    130130 S @AMAP@("ACTORCELLTEL")=""
    131131 S @AMAP@("ACTORCELLTELTEXT")=""
    132  S ZX=$$CELLTEL^CCRDPT(AIEN)
     132 S ZX=$$CELLTEL^C0CDPT(AIEN)
    133133 I ZX'="" D  ; IF THERE IS A CELL PHONE IN THE RECORD
    134134 . S @AMAP@("ACTORCELLTEL")=ZX
    135135 . S @AMAP@("ACTORCELLTELTEXT")="Cell Phone"
    136  S @AMAP@("ACTOREMAIL")=$$EMAIL^CCRDPT(AIEN)
     136 S @AMAP@("ACTOREMAIL")=$$EMAIL^C0CDPT(AIEN)
    137137 S @AMAP@("ACTORADDRESSSOURCEID")=AOID
    138138 S @AMAP@("ACTORIEN")=AIEN
  • ccr/trunk/p/C0CDPT.m

    r414 r415  
    1 CCRDPT ;WV/CCRCCD/SMH - Routines to Extract Patient Data for CCDCCR; 6/15/08
     1C0CDPT ;WV/CCRCCD/SMH - Routines to Extract Patient Data for CCDCCR; 6/15/08
    22 ;;0.2;CCRCCD;;Jun 15, 2008;
    33 ;
     
    1414 ; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    1515 ;
    16  ; CCRDPT       CCRCCD/SMH - Routines to Extract Patient Data for
    1716 ; FAMILY       Family Name
    1817 ; GIVEN        Given Name
  • ccr/trunk/p/C0CLABS.m

    r396 r415  
    139139 ; N C0CPTID,C0CSPC,C0CSDT,C0CEDT,C0CR
    140140 ; SET UP FOR LAB API CALL
    141  S C0CPTID=$$SSN^CCRDPT(DFN) ; GET THE SSN FOR THIS PATIENT
     141 S C0CPTID=$$SSN^C0CDPT(DFN) ; GET THE SSN FOR THIS PATIENT
    142142 I C0CPTID="" D  Q  ; NO SSN, COMPLAIN AND QUIT
    143143 . W "LAB LOOKUP FAILED, NO SSN",!
  • ccr/trunk/p/C0CUNIT.m

    r400 r415  
    173173 Q
    174174PAT
    175  D ANALYZE^ARJTXRD("CCRDPT",.OUT) ; Analyze a routine in the directory
     175 D ANALYZE^ARJTXRD("C0CDPT",.OUT) ; Analyze a routine in the directory
    176176 N X,Y
    177177 ; Select Patient
     
    182182 . W "OUT("_I_",0)"_" is "_$P(OUT(I,0)," ")_" "
    183183 . W "valued at "
    184  . W @("$$"_$P(OUT(I,0),"(DFN)")_"^"_"CCRDPT"_"("_$P(Y,"^")_")")
     184 . W @("$$"_$P(OUT(I,0),"(DFN)")_"^"_"C0CDPT"_"("_$P(Y,"^")_")")
    185185 . W !
    186186 Q
Note: See TracChangeset for help on using the changeset viewer.