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

Package: DSS Extracts

Global: ^ECX(727.823


Information

FileMan FileNo FileMan Filename Package
727.823 PAI EXTRACT DSS Extracts

Description

Directly Accessed By Routines, Total: 5

Package Total Routines
DSS Extracts 5 ECX8231    ECXAPAS    ^ECX(727.823    ECX8232    ^ECX(729    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
DSS Extracts 1 DSS EXTRACT LOG(#727)[2]    
Registration 1 PATIENT(#2)[4]    
Scheduling 1 LOCATION TYPE(#40.9)[7]    

Fields, Total: 18

Field # Name Loc Type Details
.01 SEQUENCE NUMBER 0;1 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X S:$D(X) DINUM=X
  • LAST EDITED:  AUG 12, 1998
  • HELP-PROMPT:  Enter a number between 1 and 999999999, 0 decimal digits.
  • DESCRIPTION:  
    The record number for this extract entry.
  • TECHNICAL DESCR:  
    The internal entry number (IEN) for this record. This entry is DINUMed.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
1 YEAR MONTH 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6)!'(X?6N) X
  • OUTPUT TRANSFORM:  S Y=$$ECXYMX^ECXUTL(Y)
  • LAST EDITED:  SEP 24, 1997
  • HELP-PROMPT:  Answer must be 6 characters in length.
  • DESCRIPTION:  
    A six character numeric string representing the year and the month for which this extract was performed.
  • TECHNICAL DESCR:  
    Format is YYYYMM; Year 2000 compliant per vendor.
2 EXTRACT NUMBER 0;3 POINTER TO DSS EXTRACT LOG FILE (#727) DSS EXTRACT LOG(#727)

  • LAST EDITED:  OCT 08, 1996
  • HELP-PROMPT:  Enter the extract number for this extract.
  • DESCRIPTION:  
    The corresponding entry in the DSS EXTRACT LOG file (#727) for this extract.
  • TECHNICAL DESCR:  
    A pointer to the DSS EXTRACT LOG file (#727). The primary purpose is to pick up the header for the mail message.
  • CROSS-REFERENCE:  727.823^AC
    1)= S ^ECX(727.823,"AC",$E(X,1,30),DA)=""
    2)= K ^ECX(727.823,"AC",$E(X,1,30),DA)
    3)= DO NOT DELETE.
    This cross reference is essential for managing and purging data in this file.
3 FACILITY 0;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
  • LAST EDITED:  OCT 14, 1996
  • HELP-PROMPT:  Enter the station number where this extract was performed.
  • DESCRIPTION:  
    Identifies the facility for this extract record.
  • TECHNICAL DESCR:  
    For the PAI extract, the FACILITY field is null.
4 PATIENT NO. - DFN 0;5 POINTER TO PATIENT FILE (#2) PATIENT(#2)

  • LAST EDITED:  OCT 15, 1996
  • HELP-PROMPT:  Enter the name of the patient for this extract record.
  • DESCRIPTION:  
    An identifying number for the patient at the local site.
  • TECHNICAL DESCR:  
    Derived from the NAME field (.01) in the PAF file (#45.9). NAME is a pointer to the PATIENT file (#2). This data represents the patient DFN.
5 SSN 0;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<9)!'(X?9N!X?9N1"P") X
  • LAST EDITED:  OCT 08, 1996
  • HELP-PROMPT:  Your answer must be 9 to 10 characters in length.
  • DESCRIPTION:  The patient's social security number.
    Any patient with an SSN beginning with "00000" is considered a "test patient" and will not be included in the extract.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the PAI EXTRACT file (#727.823), SSN data is derived from the SOCIAL SECURITY NUMBER field (.09) in the PATIENT file (#2).
    "Test" patient status is determined in PAT^ECXUTL3. Any patient with an SSN beginning with "00000" will not be included in the extract.
6 NAME 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<4) X
  • LAST EDITED:  OCT 08, 1996
  • HELP-PROMPT:  Your answer must be 4 characters in length.
  • DESCRIPTION:  
    The first four characters of the patient's last name.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the PAI EXTRACT file (#727.823), NAME data is derived from the NAME field (.01) in the PATIENT file (#2). The first four characters of the first
    "," piece are used, padded with trailing spaces if necessary.
7 IN OUT PATIENT INDICATOR 0;8 POINTER TO LOCATION TYPE FILE (#40.9) LOCATION TYPE(#40.9)

  • LAST EDITED:  OCT 08, 1996
  • HELP-PROMPT:  Enter the appropriate inpatient or outpatient indicator.
  • DESCRIPTION:  
    Indicates whether the patient was an inpatient or an outpatient for this extract entry.
  • TECHNICAL DESCR:  
    For the PAI extract this field is set to 3, indicating inpatient status in the LOCATION TYPE file (#40.9).
8 DAY 0;9 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
  • OUTPUT TRANSFORM:  S Y=$$ECXDATEX^ECXUTL(Y)
  • LAST EDITED:  SEP 24, 1997
  • HELP-PROMPT:  Answer must be 8 characters in length.
  • DESCRIPTION:  
    A 6-character numeric string that represents tha date on which the patient classification occurred.
  • TECHNICAL DESCR:  Data source:
    PAF file (#45.9); ASSESSMENT DATE field (#2)
    This field is always exactly 8 numeric characters in length. The format is YYYYMMDD; for example, 19970923. If the date cannot be determined, then a default is used. The default date value is the value of the YEAR MONTH
    field (#1) concatenated with "01" for the day (DD) portion. Year 2000 compliant per vendor.
9 ADMISSION DATE 0;10 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
  • OUTPUT TRANSFORM:  S Y=$$ECXDATEX^ECXUTL(Y)
  • LAST EDITED:  SEP 24, 1997
  • HELP-PROMPT:  Answer must be 8 characters in length.
  • DESCRIPTION:  
    This 8-character string represents the date on which the patient Admission took place.
  • TECHNICAL DESCR:  DATE. Data source:
    PAF file (#45.9); DATE OF ADMISSION/TRANSFER IN field (#7)
    then to PATIENT MOVEMENT file (#405); DATE/TIME field (#.01)
    This field is always exactly 8 numeric characters in length. The format is YYYYMMDD; for example, 19970923. If the date cannot be determined, then a default is used. The default date value is the value of the YEAR MONTH
    field (#1) concatenated with "01" for the day (DD) portion. Year 2000 compliant per vendor.
10 ADMISSION TIME 0;11 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6) X
  • OUTPUT TRANSFORM:  S Y=$$ECXTIMEX^ECXUTL(Y,0)
  • LAST EDITED:  SEP 24, 1997
  • HELP-PROMPT:  Answer must be 6 characters in length.
  • DESCRIPTION:  
    A 6-character numeric string that represents the time of day at which the patient Admission occurred.
  • TECHNICAL DESCR:  Derived by using the DATE OF ADMISSION/TRANSFER IN field (7) in the PAF file (#45.9) to find the corresponding admission in the PATIENT MOVEMENT file (#405). The TIME portion of the DATE/TIME field (.01) for that admission
    in the PATIENT MOVEMENT file (#405) is the ADMISSION TIME, padded with trailing zeroes to six digits. Data source:
    PAF file (#45.9); DATE OF ADMISSION/TRANSFER IN field (#7)
    then to PATIENT MOVEMENT file (#405); DATE/TIME field (#.01)
    This field is always exactly 6 numeric characters in length; if time cannot be determined, then "000300" is used as default.
11 TRANSFER/ADMISSION DATE 0;12 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
  • OUTPUT TRANSFORM:  S Y=$$ECXDATEX^ECXUTL(Y)
  • LAST EDITED:  SEP 24, 1997
  • HELP-PROMPT:  Answer must be 8 characters in length.
  • DESCRIPTION:  
    An 8-character numeric string that represents the date on which the patient was admitted or transferred to the long-term ward.
  • TECHNICAL DESCR:  Data source:
    PAF file (#45.9); DATE OF ADMISSION/TRANSFER in field (#7)
    This field is always exactly 8 numeric characters in length. The format is YYYYMMDD; for example, 19970923. If the date cannot be determined, then a default is used. The default date value is the value of the YEAR MONTH
    field (#1) concatenated with "01" for the day (DD) portion. Year 2000 compliant per vendor.
12 TRANSFER/ADMISSION TIME 0;13 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6) X
  • OUTPUT TRANSFORM:  S Y=$$ECXTIMEX^ECXUTL(Y,0)
  • LAST EDITED:  SEP 24, 1997
  • HELP-PROMPT:  Answer must be 6 characters in length.
  • DESCRIPTION:  
    A 6-character numeric string that represents the time of day at which the patient's admission or transfer to the long-term ward occurred.
  • TECHNICAL DESCR:  Data source:
    PAF file (#45.9); DATE OF ADMISSION/TRANSFER in field (#7)
    This field is always exactly 6 numeric characters in length; if time cannot be determined, then "000300" is used as default.
13 RACE 0;14 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  OCT 15, 1996
  • HELP-PROMPT:  Enter race ABBREVIATION for this patient.
  • DESCRIPTION:  
    Race ABBREVIATION for this patient.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4), RACE data is shown as the ABBREVIATION field (2) of the RACE file (#10) entry pointed to by the RACE field (.06) in the PATIENT file (#2).
14 MASTER PATIENT INDEX 1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  MAY 04, 1999
  • HELP-PROMPT:  Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    A national VA system identifier which uniquely identifies a patient.
  • TECHNICAL DESCR:  
    The source is not known at this time, but will likely become available in an FY2000 enhancement to the Vista system.
15 DSS DEPT. 1;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<4) X
  • LAST EDITED:  MAY 06, 1999
  • HELP-PROMPT:  Answer must be 4-10 characters in length.
  • DESCRIPTION:  
    The DSS Department Code for the patient care product.
  • TECHNICAL DESCR:  
    A free text field of 4-10 characters; data not yet available. Field is set to null.
16 DOM,PRRTP AND SAARTP INDICATOR 1;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  OCT 10, 2000
  • HELP-PROMPT:  Answer must be 1 character in length. DOM, PRRTP and SARTP Indicator indicates the patient status at the time of hospital service.
  • DESCRIPTION:  DOM, PRRTP and SAARTP Indicator indicates if the patient is admitted to either a DOM, PRRTP or SAARTP at the time hospital service is provided. Domiciliary (DOM) Psychiatric Residential Rehabilitation Treatment Program
    (PRRTP) Substance Abuse Residential Rehabiltation Treatment Program (SARRTP)
17 EXTENDED OP INDICATOR 1;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<1) X
  • LAST EDITED:  JUN 14, 2000
  • HELP-PROMPT:  Answer must be 1-4 characters in length. This field has yet to be defined by BTSO.
  • DESCRIPTION:  
    Indicates that a patient is an Extended Outpatient.

External References

Name Field # of Occurrence
$$ECXDATEX^ECXUTL 8OT+1, 9OT+1, 11OT+1
$$ECXTIMEX^ECXUTL 10OT+1, 12OT+1
$$ECXYMX^ECXUTL 1OT+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ECX(727.823 - [#727.823] 2(XREF 1S), 2(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DA 2(XREF 1S), 2(XREF 1K)
>> DINUM .01+1*
X .01+1!, 1+1!, 2(XREF 1S), 2(XREF 1K), 3+1!, 5+1!, 6+1!, 8+1!, 9+1!, 10+1!
, 11+1!, 12+1!, 13+1!, 14+1!, 15+1!, 16+1!, 17+1!
>> Y 1OT+1*, 8OT+1*, 9OT+1*, 10OT+1*, 11OT+1*, 12OT+1*
>> Y(0 1OT+1*, 8OT+1*, 9OT+1*, 10OT+1*, 11OT+1*, 12OT+1*
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All