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 |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^MDC(704.121

Package: Clinical Procedures

Global: ^MDC(704.121


Information

FileMan FileNo FileMan Filename Package
704.121 CP_KARDEX_ACTION Clinical Procedures

Description

Directly Accessed By Routines, Total: 1

Package Total Routines
Clinical Procedures 1 ^MDC(704.121    

Pointed To By FileMan Files, Total: 2

Package Total FileMan Files
Clinical Procedures 2 CP_KARDEX_EVENTS(#704.1211)[.02]    CP_KARDEX_AUDIT(#704.1212)[.01]    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
Clinical Procedures 2 CP_SCHEDULE(#704.008)[.03]    TERM(#704.101)[.02]    
Registration 1 PATIENT(#2)[.04]    

Fields, Total: 13

Field # Name Loc Type Details
.01 ID 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>38!($L(X)<38)!'(X?1"{"8UN1"-"4UN1"-"4UN1"-"4UN1"-"12UN1"}") X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with the system generated GUID for this action.
  • DESCRIPTION:  
    This value is the Global Unique IDentifier (GUID) for this entry. This value is maintained nationally and is the same throughout the enterprise. A sample ID could be "{2E0C516D-3858-4A1F-A2F3-BF0AB9E3A7FC}".
  • FIELD INDEX:  PK (#964) REGULAR IR LOOKUP & SORTING
    Unique for: Key A (#113), File #704.121
    Short Descr: Uniqueness Index for Key 'A' of File #704.121
    Description: This will provide a quick index of unique file entries.
    Set Logic: S ^MDC(704.121,"PK",$E(X,1,38),DA)=""
    Kill Logic: K ^MDC(704.121,"PK",$E(X,1,38),DA)
    Whole Kill: K ^MDC(704.121,"PK")
    X(1): ID (704.121,.01) (Subscr 1) (Len 38)
.02 TASK_ID 0;2 POINTER TO TERM FILE (#704.101)
************************REQUIRED FIELD************************
TERM(#704.101)

  • INPUT TRANSFORM:  S DIC("S")="I $$SCREEN^MDTERM(+Y,9)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for a task.
  • DESCRIPTION:  
    This identifies a task in the TERM File (#704.101).
  • SCREEN:  S DIC("S")="I $$SCREEN^MDTERM(+Y,9)"
  • EXPLANATION:  Allow only active terms of type TASK
.03 SCHEDULE_ID 0;3 POINTER TO CP_SCHEDULE FILE (#704.008)
************************REQUIRED FIELD************************
CP_SCHEDULE(#704.008)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with a schedule identifier for this task.
  • DESCRIPTION:  
    This identifies the schedule (#704.008) to use with the task (#.02).
  • SCREEN:  S DIC("S")="I $$SCREEN^MDTERM(+Y,10)"
  • EXPLANATION:  Only active schedules allowed.
.04 PATIENT_ID 0;4 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the PATIENT related to this task.
  • DESCRIPTION:  
    This field identifies the patient (file #2) assigned to this task.
  • RECORD INDEXES:  ASTATUS (#963), PTSTATUS (#965), PTSTOP (#966)
.05 START_DATE_TIME 0;5 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Enter the start date/time for this task.
  • DESCRIPTION:  
    This is the date/time the execution of this task is permitted.
  • RECORD INDEXES:  PTSTOP (#966)
.06 STOP_DATE_TIME 0;6 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Enter the stop date/time for this task.
  • DESCRIPTION:  
    This is the date/time the execution of this task is no longer permitted.
  • RECORD INDEXES:  PTSTOP (#966)
.07 SCHEDULE_TYPE 0;7 SET
************************REQUIRED FIELD************************
  • '0' FOR Continuous;
  • '1' FOR PRN;
  • '2' FOR One-Time;
  • '3' FOR Stat;
  • '4' FOR Now;

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Select the type of schedule for this task.
  • DESCRIPTION:  
    This field indicates the type of schedule used for this task.
.08 PRN_TYPE 0;8 SET
************************REQUIRED FIELD************************
  • '0' FOR No PRN;
  • '1' FOR PRN-And;
  • '2' FOR PRN-AndNTE;
  • '3' FOR PRN-Or;

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Select the PRN option for this task.
  • DESCRIPTION:  
    This field indicates the Pro Re Nata (PRN) option for task.
.09 STATUS 0;9 SET
************************REQUIRED FIELD************************
  • '0' FOR Active;
  • '1' FOR Expired;
  • '2' FOR Discontinued;
  • '3' FOR Held;

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Select the status of this task.
  • DESCRIPTION:  
    This field indicates the status of the task.
  • RECORD INDEXES:  ASTATUS (#963), PTSTATUS (#965)
.1 SPECIAL_INSTRUCTIONS .1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer must be 1-250 characters in length.
  • DESCRIPTION:  
    This is free-text for instructions for this particular task. A sample SPECIAL INSTRUCTIONS could be "Turn patient 90 degrees".
.21 PRN_NTE_AMOUNT .2;1 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Type a Number between 0 and 999, 0 Decimal Digits.
  • DESCRIPTION:  
    This field the maximum number of times this task should executed. This field is used in the case of tasks with a PRN option.
.22 FIRST_SCHEDULED_TIME .2;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<4)!'(X?4N) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Enter, in the military time representation, the first time this task should be done.
  • DESCRIPTION:  This is the military time of the first time that this item should be executed once the start date/time has been reached. A sample FIRST SCHEDULED TIME could be "1330" to represent "01:30 PM" as the first time this task
    should be executed.
.3 CUSTOM_SCHEDULED_TIMES .3;E1,250 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer must be 1-250 characters in length.
  • DESCRIPTION:  
    This field is a custom schedule. If the user wished to modify the schedule for this task (#.02), the schedule here in a military times. A sample CUSTOM SCHEDULED TIMES could be "0400,0800,1200,1600,2000".

External References

Name Field # of Occurrence
^%DT .05+1, .06+1
^DIC .02+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MDC(704.121 - [#704.121] IXASTATUSSL+1*, IXASTATUSKL+1!, IXASTATUSKEIC+1!, IXPKSL+1*, IXPKKL+1!, IXPKKEIC+1!, IXPTSTATUSSL+1*, IXPTSTATUSKL+1!, IXPTSTATUSKEIC+1!, IXPTSTOPSL+1*
, IXPTSTOPKL+1!, IXPTSTOPKEIC+1!

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .05+1*, .06+1*
>> DA IXASTATUSSL+1, IXASTATUSKL+1, IXPKSL+1, IXPKKL+1, IXPTSTATUSSL+1, IXPTSTATUSKL+1, IXPTSTOPSL+1, IXPTSTOPKL+1
DIC .02+1!*
DIC("S" .02+1*, .02SCR+1*, .03SCR+1*
>> DIE .02+1
X IXPKSL+1, IXPKKL+1, .01+1!, .02+1*!, .05+1*!, .06+1*!, .1+1!, .21+1!, .22+1!, .3+1!
X(1 IXASTATUSSL+1, IXASTATUSKL+1, IXPTSTATUSSL+1, IXPTSTATUSKL+1, IXPTSTOPSL+1, IXPTSTOPKL+1
X(2 IXASTATUSSL+1, IXASTATUSKL+1, IXPTSTATUSSL+1, IXPTSTATUSKL+1, IXPTSTOPSL+1, IXPTSTOPKL+1
X(3 IXPTSTOPSL+1, IXPTSTOPKL+1
>> Y .02+1, .05+1, .06+1
Info |  Desc |  Directly Accessed By Routines |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All