Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All
Print Page as PDF
Global: ^HMP(800001.5,"PTAPPT",0)

Package: Enterprise Health Management Platform

Global: ^HMP(800001.5,"PTAPPT",0)


Information

FileMan FileNo FileMan Filename Package
800001.5 HMP ACTIVITY Enterprise Health Management Platform

Description

Pointer To FileMan Files, Total: 1

Package Total FileMan Files
Registration 1 PATIENT(#2)[.01]    

Fields, Total: 7

Field # Name Loc Type Details
.01 PATIENT NAME 0;1 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • LAST EDITED:  JUL 31, 2014
  • HELP-PROMPT:  Select a patient from the PATIENT File (#2).
  • DESCRIPTION:  
    The PATIENT File (#2) DFN of an eHMP subscribed patient with appointments.
  • CROSS-REFERENCE:  800001.5^B
    1)= S ^HMP(800001.5,"PTAPPT","B",$E(X,1,30),DA)=""
    2)= K ^HMP(800001.5,"PTAPPT","B",$E(X,1,30),DA)
    PATIENT File (#2) DFN cross-reference of the HMP Activity File.
2 APPOINTMENT DATE 0;2 DATE

  • INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Enter the date.time of the appointment.
  • DESCRIPTION:  
    The date.time of a patient's appointment.
3 APPOINTMENT STATUS 0;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>5!($L(X)<1) X
  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Answer must be 1-5 characters in length.
  • DESCRIPTION:  
    This is the status of a patient's appointment.
4 DATE RECORD CREATED 0;4 DATE

  • INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Enter the date.time the activity record was created.
  • DESCRIPTION:  
    The date.time of creation of the activity record.
5 DATE RECORD RETREIVED 0;5 DATE

  • INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Do not prompt. Field is stuffed by [TBD].
  • DESCRIPTION:  
    This is the date.time that activity data was retrieved from VistA.
  • NOTES:  TRIGGERED by the HMP PROCESS FLAG field of the HMP ACTIVITY File
6 HMP PROCESS FLAG 0;6 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>1)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Type a number between 0 and 1, 0 decimal digits.
  • DESCRIPTION:  
    This is a system HMP Process Flag indicating an activity was processed.
  • CROSS-REFERENCE:  800001.5^HMP^MUMPS
    1)= I +X=0 S ^HMP(800001.5,"PTAPPT","HMP",+DA)=""
    2)= K ^HMP(800001.5,"PTAPPT","HMP",+DA)
    This is a cross-reference of patient activities by process flag.
  • CROSS-REFERENCE:  ^^TRIGGER^800001.5^5
    1)= Q
    2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^HMP(800001.5,"PTAPPT",D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y S X=DIV N %I,%H,% D NOW^%DTC S X=% X ^DD(800001.5,6,1,2,2.4)
    2.4)= S DIH=$G(^HMP(800001.5,"PTAPPT",DIV(0),0)),DIV=X S $P(^(0),U,5)=DIV,DIH=800001.5,DIG=5 D ^DICR
    CREATE VALUE)= NO EFFECT
    DELETE VALUE)= NOW
    FIELD)= DATE RECORD RETREIVED
    This trigger causes an activity file entry to be skipped, deleted, or processed.
7 JSON MESSAGE JSON;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
  • LAST EDITED:  AUG 05, 2014
  • HELP-PROMPT:  Answer must be 1-200 characters in length.
  • DESCRIPTION:  
    This is a JSON message indicating the status of the corresponding patient activity record.

External References

Name Field # of Occurrence
^%DT 2+1, 4+1, 5+1
NOW^%DTC 6(XREF 2K)
^DICR 6(XREF 2n2.4)

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(800001.5 6(XREF 2K)
^HMP(800001.5 .01(XREF 1S), .01(XREF 1K), 6(XREF 1S), 6(XREF 1K), 6(XREF 2K), 6(XREF 2n2.4)

Naked Globals

Name Field # of Occurrence
^(0 6(XREF 2K), 6(XREF 2n2.4)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% 6(XREF 2K)
>> %DT 2+1*, 4+1*, 5+1*
%H 6(XREF 2K)
%I 6(XREF 2K)
>> D0 6(XREF 2K)
>> DA .01(XREF 1S), .01(XREF 1K), 6(XREF 1S), 6(XREF 1K), 6(XREF 2K)
>> DIG 6(XREF 2n2.4)
>> DIH 6(XREF 2n2.4)
>> DIU 6(XREF 2K)
DIV 6(XREF 2K), 6(XREF 2n2.4)
DIV(0 6(XREF 2K), 6(XREF 2n2.4)
U 6(XREF 2K), 6(XREF 2n2.4)
X .01(XREF 1S), .01(XREF 1K), 2+1*!, 3+1!, 4+1*!, 5+1*!, 6+1!, 6(XREF 1S), 6(XREF 2K), 6(XREF 2n2.4)
, 7+1!
Y 2+1, 4+1, 5+1, 6(XREF 2K)
Y(1 6(XREF 2K)
Info |  Desc |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All