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

Package: Clinical Procedures

Global: ^MDC(704.117


Information

FileMan FileNo FileMan Filename Package
704.117 OBS Clinical Procedures

Description

Directly Accessed By Routines, Total: 6

Package Total Routines
Clinical Procedures 3 MDCLIO1    ^MDC(704.117    MDCPURG    
Enterprise Health Management Platform 1 HMPDMDC    
Virtual Patient Record 1 VPRDMDC    

Accessed By FileMan Db Calls, Total: 4

Package Total Routines
Clinical Procedures 2 MDCLIO1    MDCPROTD    
Enterprise Health Management Platform 1 HMPDMDC    
Virtual Patient Record 1 VPRDMDC    

Pointed To By FileMan Files, Total: 4

Package Total FileMan Files
Clinical Procedures 4 OBS_SET_OBS_PAIR(#704.1161)[.02]    OBS(#704.117)[.02]    OBS_QUALIFIER(#704.118)[.01]    OBS_AUDIT(#704.119)[.03.08]    

Pointer To FileMan Files, Total: 6

Package Total FileMan Files
Clinical Procedures 2 TERM(#704.101)[.07]    OBS(#704.117)[.02]    
Kernel 1 NEW PERSON(#200)[.06.26]    
MailMan 1 DOMAIN(#4.2)[.03]    
Registration 1 PATIENT(#2)[.08]    
Scheduling 1 HOSPITAL LOCATION(#44)[.04]    

Fields, Total: 21

Field # Name Loc Type Details
.01 OBS_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 observation.
  • DESCRIPTION:  
    This is a Globally Unique IDentifier (GUID) for this entry. This is maintained nationally so it is the same throughout the enterprise. A sample OBS ID could be "{69DBD11E-9A8C-4ECE-AFA4-73947218807D}".
  • FIELD INDEX:  PK (#957) REGULAR IR LOOKUP & SORTING
    Unique for: Key A (#110), File #704.117
    Short Descr: Uniqueness Index for Key 'A' of File #704.117
    Description: This provides a quick reference to unique entries.
    Set Logic: S ^MDC(704.117,"PK",$E(X,1,38),DA)=""
    Kill Logic: K ^MDC(704.117,"PK",$E(X,1,38),DA)
    Whole Kill: K ^MDC(704.117,"PK")
    X(1): OBS_ID (704.117,.01) (Subscr 1) (Len 38)
.02 PARENT_ID 0;2 POINTER TO OBS FILE (#704.117) OBS(#704.117)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the parent observation of this observation.
  • DESCRIPTION:  
    This identifies the parent observation in the case of a complex observation.
  • RECORD INDEXES:  AP (#953)
.03 FACILITY_ID 0;3 POINTER TO DOMAIN FILE (#4.2)
************************REQUIRED FIELD************************
DOMAIN(#4.2)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the facility/domain related to this observation.
  • DESCRIPTION:  
    This identifies the domain (file #4.2) relevant to this observation (#.01).
.04 HOSPITAL_LOCATION_ID 0;4 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the hospital location related to this observation.
  • DESCRIPTION:  
    This identifies the hospital location (file #44) relevant to this observation (#.01).
.05 OBSERVED_DATE_TIME 0;5 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with the date/time this observation occurred.
  • DESCRIPTION:  
    This is the date/time this observation (#.01) took place.
  • FIELD INDEX:  ADT (#952) REGULAR IR SORTING ONLY
    Short Descr: Whole file by Date/Time Observed
    Set Logic: S ^MDC(704.117,"ADT",$E(X,1,20),DA)=""
    Kill Logic: K ^MDC(704.117,"ADT",$E(X,1,20),DA)
    Whole Kill: K ^MDC(704.117,"ADT")
    X(1): OBSERVED_DATE_TIME (704.117,.05) (Subscr 1) (Len 20) (forwards)
  • RECORD INDEXES:  AS (#955), AUV (#956), PT (#958)
.06 OBSERVED_BY_ID 0;6 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the observer.
  • DESCRIPTION:  
    This identifies the person (file #200) that made this observation.
.07 TERM_ID 0;7 POINTER TO TERM FILE (#704.101)
************************REQUIRED FIELD************************
TERM(#704.101)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the type of this observation.
  • DESCRIPTION:  
    This identifies the type of observation. This "type" is an entry in the TERM File (#704.101). A sample TERM ID here could reference the term "SYSTOLIC PRESSURE".
.08 PATIENT_ID 0;8 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the PATIENT that correlates to this observation.
  • DESCRIPTION:  
    This identifies the PATIENT (file #2) for whom this observation (#.01) was taken.
  • RECORD INDEXES:  AS (#955), PT (#958)
.09 STATUS 0;9 SET
************************REQUIRED FIELD************************
  • '0' FOR Unverified;
  • '1' FOR Verified;
  • '2' FOR Archived;
  • '3' FOR Purged;
  • '4' FOR Corrected;
  • '5' FOR Removed;

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with the status of this observation.
  • DESCRIPTION:  
    This field indicates the current status of this observation (#.01).
  • FIELD INDEX:  ASTATUS (#1328) MUMPS ACTION
    Short Descr: Used to trigger MD OBSERVATION UPDATE protocol
    Description: This index invokes the MD OBSERVATION UPDATE protocol when the status of OBS data is changed to or from verified. No actual cross-reference nodes are set or killed.
    Set Logic: D:((X1="1")!(X2="1")) PROT^MDCPROTD Q
    Kill Logic: Q
    Whole Kill: Q
    X(1): STATUS (704.117,.09)
  • RECORD INDEXES:  APXRM (#954), AS (#955), AUV (#956)
.1 SVALUE .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 field represents the value of the observation (#.01). A sample SVALUE could be "122/55".
.21 SOURCE .2;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This field is the source of the SVALUE (#.1). A sample SOURCE could be "instrument" or "CP Flowsheets".
.22 SOURCE_COMMENTS .2;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is any comment type information generated by the source about this observation (#.01). A sample SOURCE COMMENTS could be "Routine MDZCLIO Tag BUILD".
.23 SOURCE_DATA_ITEM_ID .2;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This field contains source (#.21) generated information for later tagging. A sample SOURCE DATA ITEM ID could be "CPFLOWSHEETS.EXE:C13A6427".
.24 SOURCE_VERSION .2;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is the version of the source (#.21) that generated this observation (#.01). A sample SOURCE VERSION could be " 1.0".
.25 ENTERED_DATE_TIME .2;5 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Enter the data and time this observation was entered.
  • DESCRIPTION:  
    This is the date and time this entry was placed into this observation file.
.26 ENTERED_BY_ID .2;6 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with an identifier for the person that submitted the observation to this file.
  • DESCRIPTION:  
    This identifies the person (file #200) who entered the data for this observation (#.01).
.27 CHILD_ORDER .2;7 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Type a Number between 1 and 999, 0 Decimal Digits
  • DESCRIPTION:  
    This is the order that this observation is placed into its parent observation (#.02).
  • RECORD INDEXES:  AP (#953)
.28 RANGE .2;8 SET
  • '0' FOR Unknown;
  • '1' FOR Normal;
  • '2' FOR Out Of Bounds Low;
  • '3' FOR Out Of Bounds High;
  • '4' FOR Low;
  • '5' FOR High;

  • LAST EDITED:  APR 23, 2009
  • HELP-PROMPT:  Answer with the condition of this observation value.
  • DESCRIPTION:  
    This indicates the condition of the observation value (#.1).
.4 COMMENT .4;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 additional clinical COMMENT. A sample COMMENT could be "test O2 saturation".
.911 AUDIT_EXISTS COMPUTED

  • MUMPS CODE:  S X=($D(^MDC(704.119,"ALOG",D0))>0) S X=$J(X,0,0)
  • ALGORITHM:  S X=($D(^MDC(704.119,"ALOG",D0))>0) (ALWAYS 0 DECIMAL DIGITS)
  • LAST EDITED:  APR 23, 2009
  • DESCRIPTION:  
    This indicates whether or not any record exist in the audit log for this observation.
.912 CORRECTION_FOR_ID COMPUTED

  • MUMPS CODE:  S X=$P($G(^MDC(704.117,+$O(^MDC(704.119,"APREV",D0,0)),0)),U)
  • ALGORITHM:  S X=$P($G(^MDC(704.117,+$O(^MDC(704.119,"APREV",D0,0)),0)),U)
  • LAST EDITED:  APR 23, 2009
  • DESCRIPTION:  
    This identifies the record this observation was entered to correct.

ICR, Total: 1

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #5810
  • Virtual Patient Record
  • Enterprise Health Management Platform
  • OBS ID (.01).
    Access: Direct Global Read & w/Fileman

    PARENT ID (.02).
    Access: Direct Global Read & w/Fileman

    FACILITY ID (.03).
    Access: Direct Global Read & w/Fileman

    HOSPITAL LOCATION ID (.04).
    Access: Direct Global Read & w/Fileman

    OBSERVED DATE TIME (.05).
    Access: Direct Global Read & w/Fileman

    OBSERVED BY ID (.06).
    Access: Direct Global Read & w/Fileman

    TERM ID (.07).
    Access: Direct Global Read & w/Fileman

    PATIENT ID (.08).
    Access: Direct Global Read & w/Fileman

    STATUS (.09).
    Access: Direct Global Read & w/Fileman

    SVALUE (.1).
    Access: Direct Global Read & w/Fileman

    SOURCE (.21).
    Access: Direct Global Read & w/Fileman

    SOURCE COMMENTS (.22).
    Access: Direct Global Read & w/Fileman

    SOURCE DATA ITEM ID (.23).
    Access: Direct Global Read & w/Fileman

    SOURCE VERSION (.24).
    Access: Direct Global Read & w/Fileman

    ENTERED DATE TIME (.25).
    Access: Direct Global Read & w/Fileman

    ENTERED BY ID (.26).
    Access: Direct Global Read & w/Fileman

    CHILD ORDER (.27).
    Access: Direct Global Read & w/Fileman

    RANGE (.28).
    Access: Direct Global Read & w/Fileman

    COMMENT (.4).
    Access: Direct Global Read & w/Fileman

    Allows access to nationally released indices on thesefields as well.

    External References

    Name Field # of Occurrence
    ^%DT .05+1, .25+1
    PXRMONE^MDCLIO1 IXAPXRMSL+1
    PROT^MDCPROTD IXASTATUSSL+1

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^MDC(704.117 - [#704.117] IXADTSL+1*, IXADTKL+1!, IXADTKEIC+1!, IXAPSL+1*, IXAPKL+1!, IXAPKEIC+1!, IXASSL+1*, IXASKL+1!, IXASKEIC+1!, IXAUVSL+1*
    , IXAUVKL+1!, IXAUVKEIC+1!, IXPKSL+1*, IXPKKL+1!, IXPKKEIC+1!, IXPTSL+1*, IXPTKL+1!, IXPTKEIC+1!, .912+1
    ^MDC(704.119 - [#704.119] .911+1, .912+1

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> %DT .05+1*, .25+1*
    >> D0 .911+1, .912+1
    >> DA IXADTSL+1, IXADTKL+1, IXAPSL+1, IXAPKL+1, IXAPXRMSL+1, IXASSL+1, IXASKL+1, IXAUVSL+1, IXAUVKL+1, IXPKSL+1
    , IXPKKL+1, IXPTSL+1, IXPTKL+1
    U .912+1
    X IXADTSL+1, IXADTKL+1, IXAUVSCC+1*, IXAUVKCC+1*, IXPKSL+1, IXPKKL+1, .01+1!, .05+1*!, .1+1!, .21+1!
    , .22+1!, .23+1!, .24+1!, .25+1*!, .27+1!, .4+1!, .911+1*, .912+1*
    X(1 IXAPSL+1, IXAPKL+1, IXASSL+1, IXASKL+1, IXAUVSL+1, IXAUVSCC+1, IXAUVKL+1, IXPTSL+1, IXPTKL+1
    X(2 IXAPSL+1, IXAPKL+1, IXASSL+1, IXASKL+1, IXAUVSL+1, IXAUVKL+1, IXPTSL+1, IXPTKL+1
    X(3 IXASSL+1, IXASKL+1
    >> X1 IXASTATUSSL+1
    >> X2 IXASTATUSSL+1
    >> Y .05+1, .25+1
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Local Variables  | All