Changeset 415
- Timestamp:
- Mar 22, 2009, 3:06:25 PM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CACTOR.m
r399 r415 89 89 K @AMAP 90 90 S @AMAP@("ACTOROBJECTID")=AOID ;ACTOR OBJECT ID 91 S @AMAP@("ACTORGIVENNAME")=$$GIVEN^C CRDPT(AIEN)92 S @AMAP@("ACTORMIDDLENAME")=$$MIDDLE^C CRDPT(AIEN)93 S @AMAP@("ACTORFAMILYNAME")=$$FAMILY^C CRDPT(AIEN)94 S @AMAP@("ACTORDATEOFBIRTH")=$$DOB^C CRDPT(AIEN)95 S @AMAP@("ACTORGENDER")=$$GENDER^C CRDPT(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) 96 96 S @AMAP@("ACTORSSN")="" 97 97 S @AMAP@("ACTORSSNTEXT")="" … … 105 105 . S @AMAP@("ACTORSSNSOURCEID")=AOID 106 106 E D ; NO MRN, USE SSN 107 . S ZX=$$SSN^C CRDPT(AIEN)107 . S ZX=$$SSN^C0CDPT(AIEN) 108 108 . I ZX'="" D ; IF THERE IS A SSN IN THE RECORD 109 109 . . S @AMAP@("ACTORSSN")=ZX 110 110 . . S @AMAP@("ACTORSSNTEXT")="SSN" 111 111 . . S @AMAP@("ACTORSSNSOURCEID")=AOID 112 S @AMAP@("ACTORADDRESSTYPE")=$$ADDRTYPE^C CRDPT(AIEN)113 S @AMAP@("ACTORADDRESSLINE1")=$$ADDR1^C CRDPT(AIEN)114 S @AMAP@("ACTORADDRESSLINE2")=$$ADDR2^C CRDPT(AIEN)115 S @AMAP@("ACTORADDRESSCITY")=$$CITY^C CRDPT(AIEN)116 S @AMAP@("ACTORADDRESSSTATE")=$$STATE^C CRDPT(AIEN)117 S @AMAP@("ACTORADDRESSZIPCODE")=$$ZIP^C CRDPT(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) 118 118 S @AMAP@("ACTORRESTEL")="" 119 119 S @AMAP@("ACTORRESTELTEXT")="" 120 S ZX=$$RESTEL^C CRDPT(AIEN)120 S ZX=$$RESTEL^C0CDPT(AIEN) 121 121 I ZX'="" D ; IF THERE IS A RESIDENT PHONE IN THE RECORD 122 122 . S @AMAP@("ACTORRESTEL")=ZX … … 124 124 S @AMAP@("ACTORWORKTEL")="" 125 125 S @AMAP@("ACTORWORKTELTEXT")="" 126 S ZX=$$WORKTEL^C CRDPT(AIEN)126 S ZX=$$WORKTEL^C0CDPT(AIEN) 127 127 I ZX'="" D ; IF THERE IS A RESIDENT PHONE IN THE RECORD 128 128 . S @AMAP@("ACTORWORKTEL")=ZX … … 130 130 S @AMAP@("ACTORCELLTEL")="" 131 131 S @AMAP@("ACTORCELLTELTEXT")="" 132 S ZX=$$CELLTEL^C CRDPT(AIEN)132 S ZX=$$CELLTEL^C0CDPT(AIEN) 133 133 I ZX'="" D ; IF THERE IS A CELL PHONE IN THE RECORD 134 134 . S @AMAP@("ACTORCELLTEL")=ZX 135 135 . S @AMAP@("ACTORCELLTELTEXT")="Cell Phone" 136 S @AMAP@("ACTOREMAIL")=$$EMAIL^C CRDPT(AIEN)136 S @AMAP@("ACTOREMAIL")=$$EMAIL^C0CDPT(AIEN) 137 137 S @AMAP@("ACTORADDRESSSOURCEID")=AOID 138 138 S @AMAP@("ACTORIEN")=AIEN -
ccr/trunk/p/C0CDPT.m
r414 r415 1 C CRDPT ;WV/CCRCCD/SMH - Routines to Extract Patient Data for CCDCCR; 6/15/081 C0CDPT ;WV/CCRCCD/SMH - Routines to Extract Patient Data for CCDCCR; 6/15/08 2 2 ;;0.2;CCRCCD;;Jun 15, 2008; 3 3 ; … … 14 14 ; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 15 15 ; 16 ; CCRDPT CCRCCD/SMH - Routines to Extract Patient Data for17 16 ; FAMILY Family Name 18 17 ; GIVEN Given Name -
ccr/trunk/p/C0CLABS.m
r396 r415 139 139 ; N C0CPTID,C0CSPC,C0CSDT,C0CEDT,C0CR 140 140 ; SET UP FOR LAB API CALL 141 S C0CPTID=$$SSN^C CRDPT(DFN) ; GET THE SSN FOR THIS PATIENT141 S C0CPTID=$$SSN^C0CDPT(DFN) ; GET THE SSN FOR THIS PATIENT 142 142 I C0CPTID="" D Q ; NO SSN, COMPLAIN AND QUIT 143 143 . W "LAB LOOKUP FAILED, NO SSN",! -
ccr/trunk/p/C0CUNIT.m
r400 r415 173 173 Q 174 174 PAT 175 D ANALYZE^ARJTXRD("C CRDPT",.OUT) ; Analyze a routine in the directory175 D ANALYZE^ARJTXRD("C0CDPT",.OUT) ; Analyze a routine in the directory 176 176 N X,Y 177 177 ; Select Patient … … 182 182 . W "OUT("_I_",0)"_" is "_$P(OUT(I,0)," ")_" " 183 183 . W "valued at " 184 . W @("$$"_$P(OUT(I,0),"(DFN)")_"^"_"C CRDPT"_"("_$P(Y,"^")_")")184 . W @("$$"_$P(OUT(I,0),"(DFN)")_"^"_"C0CDPT"_"("_$P(Y,"^")_")") 185 185 . W ! 186 186 Q
Note:
See TracChangeset
for help on using the changeset viewer.