Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details
Print Page as PDF
Sub-Field: 63.00013

Package: Lab Service

LAB DATA(#63)-->63.00013

Sub-Field: 63.00013


Information

Parent File Name Number Package
LAB DATA(#63) EXTERNAL PACKAGE REFERENCE 63.00013 Lab Service

Details

Field # Name Loc Type Details
.01 LAB DATA REFERENCE 0;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
  • LAST EDITED:  APR 02, 2009
  • HELP-PROMPT:  Answer must be 1-60 characters in length
  • DESCRIPTION:  Contains the global reference in a format similar to a FileMan DA array. It resolves to the section of this file which contains the results that are related to this reference.
    It constructed based on the entry's LRDFN, LRSS and LRIDT where LRDFN = internal enter number in file #63 LRSS = related subscript LRIDT = inverse date/time of specimen
    Autopsy results being one of a kind are created using a value LRSS="AU" LRIDT=0 to maintain the structure of the entries and related index.
    The structure of the reference is LRDFN,LRSS,LRIDT,1...N related global nodes in the LR global.
    When reference is to a specific field which shares other fields on the same node then the format used to distinguish separate fields is node;piece position on node.
    Example microbiology results within MI subscript - 173,MI,6959788.895648,3,1,0
    Example microbiology results with MI subscript, 6th piece of 1 node - 356,MI,6919497.888687,1;6
  • FIELD INDEX:  AC (#1050) REGULAR IR SORTING ONLY
    Short Descr: Index to identify entries related to a specific specimen.
    Description: This index is used to identify those entries which are related to a specific specimen/accession in file #63. It constructed based on the entry's LRDFN, LRSS and LRIDT where LRDFN = internal enter number in file #63
    LRSS = related subscript LRIDT = inverse date/time of specimen
    Autopsy results being one of a kind are created using a value LRSS="AU" and LRIDT=0 to maintain the structure of the entries and related index.
    Set Logic: S ^LR(DA(1),"EPR","AC",X(1),X(2),DA)=""
    Kill Logic: K ^LR(DA(1),"EPR","AC",X(1),X(2),DA)
    Whole Kill: K ^LR(DA(1),"EPR","AC")
    X(1): LAB DATA REFERENCE (63.00013,.01) (Subscr 1) (forwards)
    Transform (Storage): S X=$P(X,",",2)
    X(2): Computed Code: S X=$P(^LR(DA(1),"EPR",DA,0),",",3)
    (Subscr 2)
  • FIELD INDEX:  B (#1052) REGULAR IR LOOKUP & SORTING
    Short Descr: Regular 'B' cross-reference
    Description: Regular "B" cross-reference on #.01 field. Setup as a new style cross-reference to edit subscript length.
    Set Logic: S ^LR(DA(1),"EPR","B",$E(X,1,60),DA)=""
    Kill Logic: K ^LR(DA(1),"EPR","B",$E(X,1,60),DA)
    Whole Kill: K ^LR(DA(1),"EPR","B")
    X(1): LAB DATA REFERENCE (63.00013,.01) (Subscr 1) (Len 60) (forwards)
  • RECORD INDEXES:  AD (#1051)
.02 TYPE OF REFERENCE 0;2 SET
  • '1' FOR SURGICAL CASE;
  • '2' FOR IMAGING RECORD;
  • '3' FOR PLACER ORDER NUMBER;
  • '4' FOR FILLER ORDER NUMBER;

  • LAST EDITED:  APR 12, 2010
  • HELP-PROMPT:  Enter the type of reference.
  • DESCRIPTION:  Stores various references to external data that is related to this laboratory specimen/order/result.
    This field indicates the type/source of the package reference being stored in the REFERENCE field (#1).
    Examples can be:
    1 - Imaging when there are associated images or other binary documents.
    2 - Surgery when there is a related surgical case and a linkage needs to
    be recorded between the surgical operative report and the laboratory
    surgical pathology, cytology, or other laboratory report.
    3 - Placer order number when the order was received from an external
    system and a reference/linkage needs to be maintained with the system.
    4 - Filler order number when the order was fulfilled by an external
    system and a reference/linkage needs to be maintained to this system.
  • RECORD INDEXES:  AD (#1051)
.03 FILE REFERENCE 0;3 VARIABLE POINTER INSTITUTION(#4)  

  • LAST EDITED:  APR 12, 2010
  • HELP-PROMPT:  Enter the related file entry to this reference if any.
  • DESCRIPTION:  If the type of external reference stored is one which the laboratory package can establish a pointed-to file relationship then the pointer to that file can be stored here. Examples are pointing to the IMAGING file
    (#2005) or INSTITUTION file (#4). It can be used in conjunction with type #3/4 when storing an order number and in addition to the order number the institution related to the external order number can also be specified.
1 REFERENCE 1;E1,245 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
  • LAST EDITED:  APR 12, 2010
  • HELP-PROMPT:  Answer must be 1-245 characters in length
  • DESCRIPTION:  Stores the actual reference related to the external system. Format is based on the type and handled via software.
    If type=imaging then the reference provided by the Imaging package will be recorded.
    If type=surgery then the Surgical Case # or reference to the Surgery Package.
    If type=placer order then the order identifier received from the placer of the order.
    If type=filler order then the filler identifier received from the filler of the order.
  • TECHNICAL DESCR:  
    Data in this field is stored by position, not piece, and therefore uses extract storage. This allows FileMan to support a reference which contains embedded caret characters and store in it's actual form.
Info |  Details