source: WorldVistAEHR/trunk/r/PCE_PATIENT_CARE_ENCOUNTER-AUTN-EFDP-PX-VSIT--PXRM/PXCESIT.m@ 1211

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

initial load of WorldVistAEHR

File size: 2.7 KB
Line 
1PXCESIT ;ISL/dee,ISA/KWP - Used to edit a new visit and display (use most) a visit ;3/17/04 12:10pm
2 ;;1.0;PCE PATIENT CARE ENCOUNTER;**22,74,111,130,124**;Aug 12, 1996
3 ;+ The classifications show in the Display Detail Protocol
4 Q
5 ;
6 ;Line with the line label "FORMAT"
7 ;;Long name~File Number~Node Subscripts~Allow Duplicate entries (not used on visit)~File global name
8 ; 1 2 3 4 5
9 ;
10 ;Following lines:
11 ;;Node~Piece~,Field Number~Edit Label~Display Label~Display Routine~Edit Routine~Help Text for DIR("?")~Set of PXCEKEYS that can Edit~D if Detail Display Only~
12 ; 1 ~ 2 ~ 3 ~ 4 ~ 5 ~ 6 ~ 7 ~ 8 ~ 9 ~ 10
13 ;The Display & Edit routines are for special cases.
14 ;
15FORMAT ;;Encounter~9000010~0,21,150,800,811,812~~^AUPNVSIT
16 ;;0~1~.01~Encounter Date and Time: ~Encounter Date and Time: ~~EVISITDT^PXCEVSIT(1)~~~B
17 ;;0~5~.05~Patient Name: ~Patient Name: ~~EPAT^PXCEVSIT~~~D
18 ;;0~22~.22~Hospital Location: ~Hospital Location: ~~EHOSPLOC^PXCEVSIT~^D HELPHLOC^PXCEVSIT~~D
19 ;;0~8~.08~Clinic Stop: ~Clinic Stop: ~$$DISPLY08^PXCECSTP~EWORKLOD^PXCEVSIT(0)~~~D
20 ;;0~18~.18~Check Out ~Check Out Date and Time: ~~ECODT^PXCEVSIT~~~D
21 ;;800~1~80001~Service Connected: ~Service Connected: ~~SKIP^PXCEVSIT~~~D
22 ;;800~7~80007~Combat Veteran: ~Combat Veteran: ~~SKIP^PXCEVSIT~~~D
23 ;;800~2~80002~Agent Orange Exposure: ~Agent Orange Exposure: ~~SKIP^PXCEVSIT~~~D
24 ;;800~3~80003~Ionizing Radiation Exposure: ~Ionizing Radiation Exposure: ~~SKIP^PXCEVSIT~~~D
25 ;;800~4~80004~Environmental Contaminants: ~Environmental Contaminants: ~~SKIP^PXCEVSIT~~~D
26 ;;800~5~80005~Military Sexual Trauma: ~Military Sexual Trauma: ~~SKIP^PXCEVSIT~~~D
27 ;;800~6~80006~Head and/or Neck Cancer: ~Head and/or Neck Cancer: ~~SKIP^PXCEVSIT~~~D
28 ;;
29 ;
30 ;********************************
31 ;Special cases for display of visit are in PXCEVSIT.
32 ;
33 ;********************************
34 ;Special cases for edit of visit are in PXCEVSIT.
35 ;
36 ;********************************
37 ;Display text for the .01 field which is a Date and Time.
38 ;(Must have is called by ASK^PXCEVFI2 and DEL^PXCEVFI2.)
39DISPLY01(PXCEVSIT) ;
40 N DIERR,PXCEDILF,PXCEINT,PXCEEXT
41 N TEXT
42 S PXCEINT=$P(PXCEVSIT,"^",1)
43 S PXCEEXT=$$EXTERNAL^DILFD(9000010,.01,"",PXCEINT,"PXCEDILF")
44 S TEXT=$S('$D(DIERR):PXCEEXT,1:PXCEINT)
45 S PXCEINT=$P(PXCEVSIT,"^",22)
46 S PXCEEXT=$$EXTERNAL^DILFD(9000010,.22,"",PXCEINT,"PXCEDILF")
47 S TEXT=TEXT_" "_$S('$D(DIERR):PXCEEXT,1:PXCEINT)
48 S PXCEINT=$P(PXCEVSIT,"^",8)
49 S PXCEEXT=$$EXTERNAL^DILFD(9000010,.08,"",PXCEINT,"PXCEDILF")
50 S TEXT=TEXT_" "_$S('$D(DIERR):PXCEEXT,1:PXCEINT)
51 Q TEXT
52 ;
Note: See TracBrowser for help on using the repository browser.