PXCEPED ;ISL/dee - Used to edit and display V PATIENT ED ;3/19/97
;;1.0;PCE PATIENT CARE ENCOUNTER;**27**;Aug 12, 1996
;; ;
Q
;
;Line with the line label "FORMAT"
;;Long name~File Number~Node Subscripts~Allow Duplicate entries (1=yes, 0=no)~File global name
; 1 2 3 4 5
;
;Followning lines:
;;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 ~ 2 ~ 3 ~ 4 ~ 5 ~ 6 ~ 7 ~ 8 ~ 9 ~ 10
;The Display & Edit routines are for special caces.
; (The .01 field cannot have a special edit.)
;
FORMAT ;;Patient Education~9000010.16~0,12,811,812~1~^AUPNVPED
;;0~1~.01~Education Topic: ~Education Topic: ~~~~~B
;;0~6~.06~Level of Understanding: ~Level of Understanding: ~~~~~D
;;12~4~1204~Encounter Provider: ~Encounter Provider: ~~EPROV12^PXCEPRV~~~D
;;811~1~81101~Comments: ~Comments: ~~~~~D
;;
;
;The interface for AICS to get list on form for help.
INTRFACE ;;PX SELECT EDUCATION TOPICS
;
;********************************
;Special cases for display.
;
;********************************
;Special cases for edit.
;
;********************************
;Display text for the .01 field which is a pointer to Education Topics
;(Must have is called by ASK^PXCEVFI2 and DEL^PXCEVFI2.)
DISPLY01(PXCEPED) ;
N DIERR,PXCEDILF,PXCEEXT,PXCEINT
S PXCEINT=$P(PXCEPED,"^",1)
S PXCEEXT=$$EXTERNAL^DILFD(9000010.16,.01,"",PXCEINT,"PXCEDILF")
Q $S('$D(DIERR):PXCEEXT,1:PXCEINT)
;
PXCEPED ;ISL/dee - Used to edit and display V PATIENT ED ;3/19/97
+1 ;;1.0;PCE PATIENT CARE ENCOUNTER;**27**;Aug 12, 1996
+2 ;; ;
+3 QUIT
+4 ;
+5 ;Line with the line label "FORMAT"
+6 ;;Long name~File Number~Node Subscripts~Allow Duplicate entries (1=yes, 0=no)~File global name
+7 ; 1 2 3 4 5
+8 ;
+9 ;Followning lines:
+10 ;;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~
+11 ; 1 ~ 2 ~ 3 ~ 4 ~ 5 ~ 6 ~ 7 ~ 8 ~ 9 ~ 10
+12 ;The Display & Edit routines are for special caces.
+13 ; (The .01 field cannot have a special edit.)
+14 ;
FORMAT ;;Patient Education~9000010.16~0,12,811,812~1~^AUPNVPED
+1 ;;0~1~.01~Education Topic: ~Education Topic: ~~~~~B
+2 ;;0~6~.06~Level of Understanding: ~Level of Understanding: ~~~~~D
+3 ;;12~4~1204~Encounter Provider: ~Encounter Provider: ~~EPROV12^PXCEPRV~~~D
+4 ;;811~1~81101~Comments: ~Comments: ~~~~~D
+5 ;;
+6 ;
+7 ;The interface for AICS to get list on form for help.
INTRFACE ;;PX SELECT EDUCATION TOPICS
+1 ;
+2 ;********************************
+3 ;Special cases for display.
+4 ;
+5 ;********************************
+6 ;Special cases for edit.
+7 ;
+8 ;********************************
+9 ;Display text for the .01 field which is a pointer to Education Topics
+10 ;(Must have is called by ASK^PXCEVFI2 and DEL^PXCEVFI2.)
DISPLY01(PXCEPED) ;
+1 NEW DIERR,PXCEDILF,PXCEEXT,PXCEINT
+2 SET PXCEINT=$PIECE(PXCEPED,"^",1)
+3 SET PXCEEXT=$$EXTERNAL^DILFD(9000010.16,.01,"",PXCEINT,"PXCEDILF")
+4 QUIT $SELECT('$DATA(DIERR):PXCEEXT,1:PXCEINT)
+5 ;