Last change
on this file since 1154 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
579 bytes
|
Line | |
---|
1 | PXRHS13 ;ISL/SBW - PCE Patient Location of Home extract ;6/7/96
|
---|
2 | ;;1.0;PCE PATIENT CARE ENCOUNTER;;Aug 12, 1996
|
---|
3 | LOC(DFN) ; Control branching
|
---|
4 | ;INPUT : DFN - Pointer to PATIENT file (#2)
|
---|
5 | ;OUTPUT :
|
---|
6 | ; Data from PATIENT/IHS FILE (9000001) file
|
---|
7 | ; ^TMP("PXLOC",$J,LINE#) = LOCATION OF HOME [E;1201]
|
---|
8 | ;
|
---|
9 | Q:$G(DFN)']""!'$O(^AUPNPAT(DFN,12,0))
|
---|
10 | N DIC,DIQ,DR,DA,REC,CNT
|
---|
11 | K ^TMP("PXLOC",$J)
|
---|
12 | S DIC=9000001,DA=DFN,DIQ="REC("
|
---|
13 | S DR=1201
|
---|
14 | D EN^DIQ1
|
---|
15 | Q:'$D(REC)
|
---|
16 | S CNT=0
|
---|
17 | F S CNT=$O(REC(9000001,DFN,1201,CNT)) Q:CNT'>0 D
|
---|
18 | . S ^TMP("PXLOC",$J,CNT)=$G(REC(9000001,DFN,1201,CNT))
|
---|
19 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.