Changeset 21 for ccr/trunk/p
- Timestamp:
- Jun 25, 2008, 12:15:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/CCRDPT.m
r14 r21 160 160 ; PREREQ: PT Defined 161 161 ; State is stored as a pointer 162 N STATENUM =$P(PT(.11)"^",5)162 N STATENUM S STATENUM=$P(PT(.11),"^",5) 163 163 ; 164 164 ; State File Global is below … … 168 168 Q $P(^DIC(5,STATENUM,0),"^",1) 169 169 ; 170 ZIP() ; Get Zip code for Home Address 170 ZIP() ; Get Zip code for Home Address; PUBLIC; Extrinsic 171 171 ; PREREQ: PT Defined 172 172 Q $P(PT(.11),"^",6) 173 173 ; 174 COUNTY() ; Get County for our Address 174 COUNTY() ; Get County for our Address; PUBLIC; Extrinsic 175 175 ; PREREQ: PT Defined 176 176 Q $P(PT(.11),"^",7) 177 177 ; 178 COUNTRY() ; Get Country for our Address; PUBLIC; Extrinsic 179 ; Unfortunately, I can't find where that is stored, so the inevitable... 180 Q "USA" 181 ; 182 RESTEL() ; Residential Telephone; PUBLIC; Extrinsic 183 ; PREREQ: PT Defined 184 Q $P(PT(.13),"^",1) 185 ; 186 WORKTEL() ; Work Telephone; PUBLIC; Extrinsic 187 ; PREREQ: PT Defined 188 Q $P(PT(.13),"^",2) 189 ; 190 EMAIL() ; Email Adddress; PUBLIC; Extrinsic 191 ; PREREQ: PT Defined 192 Q $P(PT(.13),"^",3) 193 ; 194 CELLTEL() ; Cell Phone; PUBLIC; Extrinsic 195 ; PREREQ: PT Defined 196 Q $P(PT(.13),"^",4) 197 ; 198 NOK1FAM() ; Next of Kin 1 (NOK1) Family Name; PUBLIC; Extrinsic 199 ; PREREQ: PT Defined 200 N NAME S NAME=$P(PT(.21),"^",1) 201 D NAMECOMP^XLFNAME(.NAME) 202 Q NAME("FAMILY") 203 ; 204 NOK1GIV() ; NOK1 Given Name; PUBLIC; Extrinsic 205 ; PREREQ: PT Defined 206 N NAME S NAME=$P(PT(.21),"^",1) 207 D NAMECOMP^XLFNAME(.NAME) 208 Q NAME("GIVEN") 209 ; 210 NOK1MID() ; NOK1 Middle Name; PUBLIC; Extrinsic 211 ; PREREQ: PT Defined 212 N NAME S NAME=$P(PT(.21),"^",1) 213 D NAMECOMP^XLFNAME(.NAME) 214 Q NAME("MIDDLE") 215 ; 216 NOK1SUF() ; NOK1 Suffi Name; PUBLIC; Extrinsic 217 ; PREREQ: PT Defined 218 N NAME S NAME=$P(PT(.21),"^",1) 219 D NAMECOMP^XLFNAME(.NAME) 220 Q NAME("SUFFIX") 221 ; 222 NOK1DISP() ; NOK1 Display Name; PUBLIC; Extrinsic 223 ; PREREQ: PT Defined 224 N NAME S NAME=$P(PT(.21),"^",1) 225 Q $$NAMEFMT^XLFNAME(.NAME,"G","MXc") 226 ; "G" is Given Name First; "MXc" is Mixed Case, With Suffx Preceded by Comma 227 NOK2FAM() ; NOK2 Family Name; PUBLIC; Extrinsic 228 ; PREREQ: PT Defined 229 N NAME S NAME=$P(PT(.211),"^",1) 230 D NAMECOMP^XLFNAME(.NAME) 231 Q NAME("FAMILY") 232 ; 233 NOK2GIV() ; NOK2 Given Name; PUBLIC; Extrinsic 234 ; PREREQ: PT Defined 235 N NAME S NAME=$P(PT(.211),"^",1) 236 D NAMECOMP^XLFNAME(.NAME) 237 Q NAME("GIVEN") 238 ; 239 NOK2MID() ; NOK2 Middle Name; PUBLIC; Extrinsic 240 ; PREREQ: PT Defined 241 N NAME S NAME=$P(PT(.211),"^",1) 242 D NAMECOMP^XLFNAME(.NAME) 243 Q NAME("MIDDLE") 244 ; 245 NOK2SUF() ; NOK2 Suffi Name; PUBLIC; Extrinsic 246 ; PREREQ: PT Defined 247 N NAME S NAME=$P(PT(.211),"^",1) 248 D NAMECOMP^XLFNAME(.NAME) 249 Q NAME("SUFFIX") 250 ; 251 NOK2DISP() ; NOK2 Display Name; PUBLIC; Extrinsic 252 ; PREREQ: PT Defined 253 N NAME S NAME=$P(PT(.211),"^",1) 254 Q $$NAMEFMT^XLFNAME(.NAME,"G","MXc") 255 ; "G" is Given Name First; "MXc" is Mixed Case, With Suffx Preceded by Comma 256
Note:
See TracChangeset
for help on using the changeset viewer.