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

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

initial load of FOIAVistA 6/30/08 version

File size: 2.5 KB
Line 
1PXKFIMM ;ISL/JVS - Fields for V IMMUNIZATIONS file ;5/21/96 13:16
2 ;;1.0;PCE PATIENT CARE ENCOUNTER;**22,124**;Aug 12, 1996
3 ;
4 ; Adding or Editing of data in a particular field can be controlled
5 ;by adding a ~ as a delimiter and the letters A and/or E to the
6 ;end of the line of text which represents what could be added
7 ;to the DR string in a DIE call.
8 ; 1. If none or all three(~AE) of these characters are added then
9 ; the data in this field can be either added or edited.
10 ; 2. If only the ~ is added then the data in this field can be
11 ; neither added or edited.
12 ; 3. IF only the ~A is added then the data can only be added to
13 ; the file for this field but not edited.
14 ; 4. If only the ~E is added the the data can only be edited in
15 ; this file for this field. (not a likely possibility)
16 ;
17 ; The word "OPTION" in front of the line of text below tells the
18 ;software to determine,based on the data, the appropriateness
19 ;of using either a "///" or "////" stuff in a DIE call.
20 ;
21 ; The information on line tag 0 $P(,," * ",1) are the piece numbers
22 ;of the fields on the zero node that are required by the data
23 ;dictionary and are checked for to determine if enough data is present
24 ;to proceed without any errors. $P(,," * ",2) are the nodes and
25 ;piece numbers of the fields used to determine duplicates in the
26 ;file (node+piece (eg. 12+4)). $P(,," * ",3) is a flag use to
27 ;determine if duplicates are allowed in this visit file.
28 ;If it is set to 0 then no duplicate checks will occur. If it is
29 ;set to 1 then the file will be checked for duplicates based on
30 ;the information in $P 2.
31 ;
32 ; The following is the file's global name. Each global must have a
33 ;unique name and can not have any subscripts as part of the global root.
34GLOBAL ;;^AUPNVIMM
35 ;
36EN1 ;
37 S PXKER=""
38 S PXKER=$P($T(@PXKNOD+PXKPCE),";;",2)
39 Q
40EN2 ;
41 S PXKFD=""
42 S PXKFD=$P($T(@PXKNOD+PXKPCE),";;",2) D
43 .I PXKFD="" S PXKPCE=PXKPCE+1 D EN2
44 Q
45ADD ;Add an entry to the file
46 ;Q
470 ;;1,2,3 * 0+1,0+3 * 1
48 ;;.01////^S X=$G(
49 ;;.02////^S X=$G(
50 ;;.03////^S X=$G(
51 ;;.04///^S X=$G(
52 ;;
53 ;;.06///^S X=$G(
54 ;;.07///^S X=$G(
55 ;;.08////^S X=$G(
56 ;;.09////^S X=$G(
57 ;;.1////^S X=$G(
58 ;;.11////^S X=$G(
59 ;;.12////^S X=$G(
60 ;;.13////^S X=$G(
61 ;;.14////^S X=$G(
62 ;;.15////^S X=$G(
6311 ;;
64 ;;1101///^S X=$G(
6512 ;;
66 ;;1201///^S X=$G(
67 ;;1202////^S X=$G(
68 ;;
69 ;;1204////^S X=$G(
70 ;;
71 ;;
72801 ;;
73 ;;80101///^S X=1;
74 ;;80102///^S X=$G(PXKAUDIT);
75811 ;;
76 ;;81101///^S X=$G(
77812 ;;
78 ;;81201///^S X=$G(
79 ;;81202////^S X=$G(
80 ;;81203////^S X=$G(
81SPEC ;
82 Q
Note: See TracBrowser for help on using the repository browser.