Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^MDC(704.005

Package: Clinical Procedures

Global: ^MDC(704.005


Information

FileMan FileNo FileMan Filename Package
704.005 CP_MOVEMENT_AUDIT Clinical Procedures

Description

Directly Accessed By Routines, Total: 4

Package Total Routines
Clinical Procedures 4 MDCADT    MDCPHL7C    MDCPVDEF    ^MDC(704.005    

Accessed By FileMan Db Calls, Total: 4

Package Total Routines
Clinical Procedures 4 MDCPHL7C    MDCPMESQ    MDCPVDEF    MDCUTL    

Pointer To FileMan Files, Total: 5

Package Total FileMan Files
Registration 4 MEDICAL CENTER DIVISION(#40.8)[.03]    ROOM-BED(#405.4)[.05]    WARD LOCATION(#42)[.04]    PATIENT(#2)[.01]    
Clinical Procedures 1 CP_PROTOCOL_LOCATION(#704.006)[.21]    

Fields, Total: 11

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

  • LAST EDITED:  NOV 01, 2011
  • HELP-PROMPT:  Answer with a PATIENT identifier.
  • DESCRIPTION:  
    This field is the identifier of the patient involved in the patient movement event.
  • CROSS-REFERENCE:  704.005^B
    1)= S ^MDC(704.005,"B",$E(X,1,30),DA)=""
    2)= K ^MDC(704.005,"B",$E(X,1,30),DA)
    This will make it easy to find and sort the PATIENT(s) involved per patient movement data within this file.
  • RECORD INDEXES:  APIMS (#910), LAST (#911), LSTMSG (#923)
.02 DATE_TIME_OF_EVENT 0;2 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  NOV 01, 2011
  • HELP-PROMPT:  (No range limit on date)
  • DESCRIPTION:  
    This field stores the date/time of the patient movement event.
  • RECORD INDEXES:  LAST (#911), LSTMSG (#923)
.03 DIVISION 0;3 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8) MEDICAL CENTER DIVISION(#40.8)

  • LAST EDITED:  MAR 27, 2009
  • HELP-PROMPT:  Answer with a MEDICAL CENTER DIVISION identifier.
  • DESCRIPTION:  
    This field identifies the DIVISION per the patient movement event.
.04 WARD 0;4 POINTER TO WARD LOCATION FILE (#42) WARD LOCATION(#42)

  • LAST EDITED:  MAR 27, 2009
  • HELP-PROMPT:  Answer with a WARD LOCATION identifier.
  • DESCRIPTION:  
    This field identifies the WARD per the patient movement event.
  • RECORD INDEXES:  APIMS (#910)
.05 BED 0;5 POINTER TO ROOM-BED FILE (#405.4) ROOM-BED(#405.4)

  • LAST EDITED:  MAR 27, 2009
  • HELP-PROMPT:  Answer with a ROOM-BED identifier.
  • DESCRIPTION:  
    This field identifies the room-BED per the patient movement event.
.06 MESSAGE_TYPE 0;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
  • LAST EDITED:  MAR 27, 2009
  • HELP-PROMPT:  Answer must be 3 characters in length
  • DESCRIPTION:  
    This indicates the HL7 MESSAGE TYPE. The value here can be 'ADT' to indicate an admission/discharge/transfer type message.
  • RECORD INDEXES:  LAST (#911)
.07 EVENT_TYPE 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
  • LAST EDITED:  NOV 01, 2011
  • HELP-PROMPT:  Answer must be 3 characters in length
  • DESCRIPTION:  
    This indicates the HL7 message EVENT TYPE. The value here can be 'A01' to indicate an Admit/visit notification EVENT TYPE.
  • RECORD INDEXES:  LAST (#911), LSTMSG (#923)
.08 PIMS_EVENT_ID 0;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
  • LAST EDITED:  MAR 30, 2009
  • HELP-PROMPT:  Answer must be 1-20 characters in length.
  • DESCRIPTION:  This is a copy of the internal entry number (ien) of the PATIENT MOVEMENT file (#405) entry which correlates to this CP_MOVEMENT_AUDIT file entry.
    If a movement is deleted, the corresponding entry from the patient movement file is deleted as well. This prevents this field from being an actual pointer. This IEN is used only for troubleshooting purposes.
  • RECORD INDEXES:  APIMS (#910)
.09 ACCEPTED_BY_QUEUE 0;9 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  SEP 23, 2011
  • HELP-PROMPT:  Has the message been placed in the HL7 outbound queue?
  • DESCRIPTION:  
    This indicates whether the HL7 message has been queued.
.1 QUEUE_ERROR_MSG .1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
  • LAST EDITED:  OCT 05, 2011
  • HELP-PROMPT:  Answer must be 1-250 characters in length.
  • DESCRIPTION:  
    This field stores the error message, if an error message is returned by the message queueing process.
.21 A08_TARGET 1.1;1 POINTER TO CP_PROTOCOL_LOCATION FILE (#704.006) CP_PROTOCOL_LOCATION(#704.006)

  • LAST EDITED:  MAR 05, 2012
  • HELP-PROMPT:  Select the protocol to use for processing if the EVENT_TYPE (#.07) field = A08
  • DESCRIPTION:  This field contains a reference to the CP_PROTOCOL_LOCATION to use if the EVENT_TYPE (#.07) for this movement is "A08". The information will later be used by the dynamic addressing function of HL7 to ensure that the
    outbound ADT message is sent to the correct location.

External References

Name Field # of Occurrence
^%DT .02+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MDC(704.005 - [#704.005] IXAPIMSSL+1*, IXAPIMSKL+1!, IXAPIMSKEIC+1!, IXLASTSL+1*, IXLASTKL+1!, IXLASTKEIC+1!, IXLSTMSGSL+1*, IXLSTMSGKL+1!, IXLSTMSGKEIC+1!, .01(XREF 1S)
.01(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .02+1*
>> DA IXAPIMSSL+1, IXAPIMSKL+1, IXLASTSL+1, IXLASTKL+1, IXLSTMSGSL+1, IXLSTMSGKL+1, .01(XREF 1S), .01(XREF 1K)
X IXLSTMSGSCC+1*, .01(XREF 1S), .01(XREF 1K), .02+1*!, .06+1!, .07+1!, .08+1!, .1+1!
X(1 IXAPIMSSL+1, IXAPIMSKL+1, IXLASTSL+1, IXLASTKL+1, IXLSTMSGSL+1, IXLSTMSGKL+1
X(2 IXAPIMSSL+1, IXAPIMSKL+1, IXLASTSL+1, IXLASTKL+1, IXLSTMSGSL+1, IXLSTMSGKL+1
X(3 IXAPIMSSL+1, IXAPIMSKL+1, IXLASTSL+1, IXLASTKL+1, IXLSTMSGSL+1, IXLSTMSGKL+1
X(4 IXLASTSL+1, IXLASTKL+1
>> X2(3 IXLSTMSGSCC+1
>> Y .02+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All