source: FOIAVistA/trunk/r/PCE_PATIENT_CARE_ENCOUNTER-AUTN-EFDP-PX-VSIT--PXRM/VSITPUT.m@ 1683

Last change on this file since 1683 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 986 bytes
Line 
1VSITPUT ;ISD/RJP - Verify/Set Fields and File Visit Record ;7/29/96
2 ;;1.0;PCE PATIENT CARE ENCOUNTER;**76**;Aug 12, 1996
3 ; Patch PX*1*76 changes the 2nd line of all VSIT* routines to reflect
4 ; the incorporation of the module into PCE. For historical reference,
5 ; the old (VISIT TRACKING) 2nd line is included below to reference VSIT
6 ; patches.
7 ;
8 ;;2.0;VISIT TRACKING;;Aug 12, 1996;
9 ;
10 ; - verify/set visit record fields
11 ; - called by ^VSIT
12 ;
13 N FLD,FLDINDX,VSITREC
14 S FLDINDX=""
15 F S FLDINDX=$O(^TMP("VSITDD",$J,FLDINDX)) Q:FLDINDX="" D
16 . S FLD=^TMP("VSITDD",$J,FLDINDX)
17 . S:$P(VSIT(FLDINDX),"^")]"" $P(VSITREC($P(FLD,";",3)),"^",$P(FLD,";",4))=$P(VSIT(FLDINDX),"^")
18 ;
19 Q:'$D(VSITREC(0))
20 ;
21 D ^VSITPUT1
22 ;
23QUIT ; - exit
24 Q
25ERR(ERR) ; - send error bulletin
26 ; sent at QUIT^VSIT
27 ; mail group = vsit create error
28 ;
29 D VAR^VSITBUL(ERR)
30 Q
31 ;
32WRN(ERR) ; - send warning bulletin
33 ; sent at QUIT^VSIT
34 ; mail group = vsit create error
35 D VAR^VSITBUL(ERR)
36 Q
Note: See TracBrowser for help on using the repository browser.