Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PXCESIT

PXCESIT.m

Go to the documentation of this file.
  1. PXCESIT ;ISL/dee,ISA/KWP - Used to edit a new visit and display (use most) a visit ;04/28/99
  1. ;;1.0;PCE PATIENT CARE ENCOUNTER;**22,74,111**;Aug 12, 1996
  1. ;+ The classifications show in the Display Detail Protocol
  1. Q
  1. ;
  1. ;Line with the line label "FORMAT"
  1. ;;Long name~File Number~Node Subscripts~Allow Duplicate entries (not used on visit)~File global name
  1. ; 1 2 3 4 5
  1. ;
  1. ;Following lines:
  1. ;;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~
  1. ; 1 ~ 2 ~ 3 ~ 4 ~ 5 ~ 6 ~ 7 ~ 8 ~ 9 ~ 10
  1. ;The Display & Edit routines are for special cases.
  1. ;
  1. FORMAT ;;Encounter~9000010~0,21,150,800,811,812~~^AUPNVSIT
  1. ;;0~1~.01~Encounter Date and Time: ~Encounter Date and Time: ~~EVISITDT^PXCEVSIT(1)~~~B
  1. ;;0~5~.05~Patient Name: ~Patient Name: ~~EPAT^PXCEVSIT~~~D
  1. ;;0~22~.22~Hospital Location: ~Hospital Location: ~~EHOSPLOC^PXCEVSIT~^D HELPHLOC^PXCEVSIT~~D
  1. ;;0~8~.08~Clinic Stop: ~Clinic Stop: ~$$DISPLY08^PXCECSTP~EWORKLOD^PXCEVSIT(0)~~~D
  1. ;;0~18~.18~Check Out ~Check Out Date and Time: ~~ECODT^PXCEVSIT~~~D
  1. ;;800~1~80001~Service Connected: ~Service Connected: ~~GET800^PXCEE800~~~D
  1. ;;800~2~80002~Agent Orange Exposure: ~Agent Orange Exposure: ~~SKIP^PXCEVSIT~~~D
  1. ;;800~3~80003~Ionizing Radiation Exposure: ~Ionizing Radiation Exposure: ~~SKIP^PXCEVSIT~~~D
  1. ;;800~4~80004~Persian Gulf Exposure: ~Persian Gulf Exposure: ~~SKIP^PXCEVSIT~~~D
  1. ;;800~5~80005~Military Sexual Trauma: ~Military Sexual Trauma: ~~SKIP^PXCEVSIT~~~D
  1. ;;800~6~80006~Head and/or Neck Cancer: ~Head and/or Neck Cancer: ~~SKIP^PXCEVSIT~~~D
  1. ;;
  1. ;
  1. ;********************************
  1. ;Special cases for display of visit are in PXCEVSIT.
  1. ;
  1. ;********************************
  1. ;Special cases for edit of visit are in PXCEVSIT.
  1. ;
  1. ;********************************
  1. ;Display text for the .01 field which is a Date and Time.
  1. ;(Must have is called by ASK^PXCEVFI2 and DEL^PXCEVFI2.)
  1. DISPLY01(PXCEVSIT) ;
  1. N DIERR,PXCEDILF,PXCEINT,PXCEEXT
  1. N TEXT
  1. S PXCEINT=$P(PXCEVSIT,"^",1)
  1. S PXCEEXT=$$EXTERNAL^DILFD(9000010,.01,"",PXCEINT,"PXCEDILF")
  1. S TEXT=$S('$D(DIERR):PXCEEXT,1:PXCEINT)
  1. S PXCEINT=$P(PXCEVSIT,"^",22)
  1. S PXCEEXT=$$EXTERNAL^DILFD(9000010,.22,"",PXCEINT,"PXCEDILF")
  1. S TEXT=TEXT_" "_$S('$D(DIERR):PXCEEXT,1:PXCEINT)
  1. S PXCEINT=$P(PXCEVSIT,"^",8)
  1. S PXCEEXT=$$EXTERNAL^DILFD(9000010,.08,"",PXCEINT,"PXCEDILF")
  1. S TEXT=TEXT_" "_$S('$D(DIERR):PXCEEXT,1:PXCEINT)
  1. Q TEXT
  1. ;