Last change
on this file since 1578 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
344 bytes
|
Rev | Line | |
---|
[613] | 1 | ORRCLPT ; SLC/JER - Pt functions for CM ; 25 Jul 2003 9:31 AM
|
---|
| 2 | ;;1.0;CARE MANAGEMENT;;Jul 15, 2003
|
---|
| 3 | NAME(DFN) ; Pt Name
|
---|
| 4 | Q $P($G(^DPT(DFN,0)),U)
|
---|
| 5 | SSNL4(DFN) ; SSN Last4
|
---|
| 6 | N ORRCY
|
---|
| 7 | S ORRCY=$$SSN^DPTLK1(DFN)
|
---|
| 8 | Q $S(+ORRCY:$E(ORRCY,6,10),1:ORRCY)
|
---|
| 9 | SEX(DFN) ; Pt SEX
|
---|
| 10 | Q $P($G(^DPT(DFN,0)),U,2)
|
---|
| 11 | AGE(DFN) ; Pt AGE
|
---|
| 12 | Q $$AGE^ORWPT(DFN,$$DOB^DPTLK1(DFN,2))
|
---|
Note:
See
TracBrowser
for help on using the repository browser.