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.82

Package: DSS Extracts

Global: ^ECX(727.82


Information

FileMan FileNo FileMan Filename Package
727.82 ADMISSION SETUP EXTRACT DSS Extracts

Description

Directly Accessed By Routines, Total: 4

Package Total Routines
DSS Extracts 4 ECX8201    ^ECX(727.82    ^ECX(729    ECX8202    

Pointer To FileMan Files, Total: 9

Package Total FileMan Files
Registration 5 PATIENT MOVEMENT(#405)[30]    MARITAL STATUS(#11)[26]    RELIGION(#13)[12]    SPECIALTY(#42.4)[28]    PATIENT(#2)[4]    
Scheduling 2 LOCATION TYPE(#40.9)[7]    HOSPITAL LOCATION(#44)[27]    
DRG Grouper 1 DRG(#80.2)[31]    
DSS Extracts 1 DSS EXTRACT LOG(#727)[2]    

Fields, Total: 36

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:  OCT 11, 1996
  • 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
  • CROSS-REFERENCE:  727.82^AINV^MUMPS
    1)= S ^ECX(727.82,"AINV",-X,DA)=""
    2)= K ^ECX(727.82,"AINV",-X,DA)
    3)= DO NOT DELETE.
    This is an inverse entry cross reference. It is used to find the last entry in the file. It is essential for the management of the extract and the purge of extract data.
1 YEAR MONTH 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) 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 string representing the year and the month for which this extract was performed.
  • TECHNICAL DESCR:  
    Format is YYYYMM; Year 2000 compliant per vendor.
  • CROSS-REFERENCE:  727.82^AM
    1)= S ^ECX(727.82,"AM",$E(X,1,30),DA)=""
    2)= K ^ECX(727.82,"AM",$E(X,1,30),DA)
    3)= DO NOT DELETE
    This cross reference is essential for moving data into file 727.802 to be transmitted to the DSS package. DO NOT DELETE OR MODIFY.
2 EXTRACT NUMBER 0;3 POINTER TO DSS EXTRACT LOG FILE (#727) DSS EXTRACT LOG(#727)

  • LAST EDITED:  OCT 11, 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.82^AC
    1)= S ^ECX(727.82,"AC",$E(X,1,30),DA)=""
    2)= K ^ECX(727.82,"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 15, 1996
  • HELP-PROMPT:  Enter the station number where this extract was performed.
  • DESCRIPTION:  
    Identifies the facility for this extract record.
  • TECHNICAL DESCR:  
    An indicator of the division where this event happened. It is derived from the DIVISION field (.015) of the WARD LOCATION file (#42) which points to the MEDICAL CENTER DIVISION file (#40.8).
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:  
    The name of the patient for this extract record.
  • TECHNICAL DESCR:  
    Pointer to the PATIENT file (#2). This data represents the patient DFN. Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405), the PATIENT NO. - DFN data is derived from the PATIENT field (.03).
5 SSN 0;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<9)!'(X?9N!X?9N1"P") X
  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Your answer must be 9 to 10 characters in length.
  • DESCRIPTION:  
    The patient's social security number.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), SSN data is derived from the SOCIAL SECURITY NUMBER field (.09) in the PATIENT file (#2).
6 NAME 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<4) X
  • LAST EDITED:  OCT 11, 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 ADMISSION SETUP EXTRACT file (#727.82), 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 11, 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 Admission Setup 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:  
    This 8-character string represents the date on which the admission occurred.
  • TECHNICAL DESCR:  Data source:
    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.
9 PRIMARY CARE TEAM 0;10 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<1) X
  • LAST EDITED:  OCT 30, 1996
  • HELP-PROMPT:  Enter primary care team assigned to this patient.
  • DESCRIPTION:  
    The primary care team assigned to this patient.
  • TECHNICAL DESCR:  Using the DATE/TIME field (.01) from the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), a call is made to the Scheduling
    API, OUTPTTM^SDUTL3. The API returns the team's internal entry number and name from the TEAM file (#404.51). Only the pointer (IEN) to File 404.51 is transmitted.
10 SEX 0;11 SET
  • 'M' FOR MALE;
  • 'F' FOR FEMALE;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the patient's sex.
  • DESCRIPTION:  
    Data is M if this patient is a male, or F if female.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), this data is derived from the SEX field (.02) in the PATIENT file (#2).
11 DATE OF BIRTH 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:  
    The patient's date of birth between December 31,1870 and today's date represented by an 8-character numeric string.
  • TECHNICAL DESCR:  Data source:
    PATIENT MOVEMENT file (#405); PATIENT field (#.03)
    then to PATIENT file (#2); DATE OF BIRTH field (#.03)
    If Date of Birth cannot be determined, then January 1, 1942, is used as default. The data element is always exactly 8 numberic characters in length. Format is YYYYMMDD. Year 2000 compliant per vendor.
12 RELIGION 0;13 POINTER TO RELIGION FILE (#13) RELIGION(#13)

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the patient's religious preference.
  • DESCRIPTION:  
    The current religious preference of this patient.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), RELIGION data is derived from the RELIGIOUS PREFERENCE field (.08) in the PATIENT file (#2). It is a
    pointer to the RELIGION file (#13).
13 EMPLOYMENT STATUS 0;14 SET
  • '1' FOR EMPLOYED FULL TIME;
  • '2' FOR EMPLOYED PART TIME;
  • '3' FOR NOT EMPLOYED;
  • '4' FOR SELF EMPLOYED;
  • '5' FOR RETIRED;
  • '6' FOR ACTIVE DUTY MILITARY;
  • '9' FOR UNKNOWN;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Select the appropriate employment status.
  • DESCRIPTION:  
    The patient's current employment status.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION EXTRACT file (#727.802), EMPLOYMENT STATUS data is derived from the EMPLOYMENT STATUS field (.31115) in the PATIENT file (#2).
14 HEALTH INSURANCE 0;15 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Select the appropriate health insurance status.
  • DESCRIPTION:  
    Data is Y if the patient is covered by a health insurance policy, N if the patient isn't covered by any policy, or U if unknown.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION EXTRACT file (#727.802), a call is made to the Integrated Billing API, INSURED^IBCNS1. The API returns 1 if the patient is insured
    or 0 if the patient is not insured.
15 STATE 0;16 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>2!($L(X)<2) X
  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the VA STATE CODE for this patient.
  • DESCRIPTION:  
    The state in which the patient resides.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), STATE data is derived from the STATE field (.115) in the PATIENT file (#2) which points to the STATE
    file (#5). For the STATE file entry, data transmitted is the two character VA STATE CODE, field (2).
16 COUNTY 0;17 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the VA COUNTY CODE for this patient.
  • DESCRIPTION:  
    County in which patient resides.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), COUNTY data is derived from the COUNTY field (.117) in the PATIENT file (#2). The data transmitted is
    the three character VA COUNTY CODE, field (2) within the COUNTY field (3) multiple of the STATE file (#5).
17 ZIP CODE 0;18 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>5!($L(X)<5) X
  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Your answer must be 5 characters in length.
  • DESCRIPTION:  
    Zip code for the city in which the patient resides.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), ZIP CODE data is derived from the ZIP CODE field (.116) in the PATIENT file (#2).
18 ELIGIBILITY 0;19 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1)!'(X?1U) X
  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Your answer must be 1 character in length.
  • DESCRIPTION:  
    Appropriate eligibility code based on veteran or non-veteran status.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), ELIGIBILITY data is derived from the PRIMARY ELIGIBILITY CODE field (.361) in the PATIENT file (#2).
    PRIMARY ELIGIBILITY CODE is a pointer to the ELIGIBILITY CODE file (#8). The data is derived from the MAS ELIGIBILITY CODE field (8) in the ELIGIBILITY CODE file (#8) which in turn is a pointer to the MAS ELIGIBILITY CODE
    file (#8.1). The MAS eligibility code pointer value is converted to an alpha character representative of it's number, i.e., 1 converts to A, 2 converts to B, etc.
19 VETERAN 0;20 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Select the appropriate veteran status for this patient.
  • DESCRIPTION:  
    Data is Y if this patient is a veteran, N if not.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), VETERAN data is derived from the VETERAN (Y/N)? field (1901) in the PATIENT file (#2).
20 VIETNAM 0;21 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Select the appropriate Vietnam service status for this patient.
  • DESCRIPTION:  
    Data is Y if this patient served in Vietnam, N if not, or U if unknown.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), VIETNAM data is derived from the VIETNAM SERVICE INDICATED? field (.32101) in the PATIENT file (#2).
21 AGENT ORANGE 0;22 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Select the appropriate agent orange status for this patient.
  • DESCRIPTION:  
    Data is Y if this patient was exposed to agent orange, N if not, or U if unknown.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), AGENT ORANGE data is derived from the AGENT ORANGE EXPOS. INDICATED? field (.32102) in the PATIENT
    file (#2).
22 RADIATION 0;23 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Select the appropriate radiation status for this patient.
  • DESCRIPTION:  
    Data is Y if this patient claims exposure to ionizing radiation, N if not, or U if unknown.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), RADIATION data is derived from the RADIATION EXPOSURE INDICATED? field (.32103) in the PATIENT file
    (#2).
23 POW 0;24 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Select the appropriate POW status for this patient.
  • DESCRIPTION:  
    Data is Y if this patient was confined as a prisoner of war, N if not, or U if unknown.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), POW data is derived from the POW STATUS INDICATED? field (.525) in the PATIENT file (#2).
24 PERIOD OF SERVICE 0;25 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the period of service code from the PERIOD OF SERVICE file (#21).
  • DESCRIPTION:  
    The period of service which best classifies this patient based on eligibility code.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), PERIOD OF SERVICE data is derived from the PERIOD OF SERVICE field (.323) in the PATIENT file (#2).
    This field is a pointer to the PERIOD OF SERVICE file (#21). Using the period of service pointer, the data is derived from the CODE field (.03) in the PERIOD OF SERVICE file (#21). This code is a single alpha numeric
    character.
25 MEANS TEST 0;26 SET
  • 'A' FOR CATEGORY A;
  • 'B' FOR CATEGORY B;
  • 'C' FOR CATEGORY C;
  • 'P' FOR PENDING ADJUDICATION;
  • 'R' FOR REQUIRES MEANS TEST;
  • 'N' FOR MEANS TEST NOT REQUIRED;
  • 'E' FOR EXEMPT;
  • 'I' FOR INCOMPLETE;
  • 'L' FOR NO LONGER APPLICABLE;
  • 'M' FOR NON-EXEMPT;

  • LAST EDITED:  OCT 24, 1996
  • HELP-PROMPT:  Select the appropriate means test category.
  • DESCRIPTION:  
    The current means test category for this patient.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), MEANS TEST data is derived from the CURRENT MEANS TEST STATUS field (.14) in the PATIENT file (#2).
    This field is a pointer to the MEANS TEST STATUS file (#408.32). Using the means test pointer, the data is derived from the CODE field (.02) in the MEANS TEST STATUS file (#408.32).
26 MARITAL STATUS 0;27 POINTER TO MARITAL STATUS FILE (#11) MARITAL STATUS(#11)

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the marital status for this patient.
  • DESCRIPTION:  
    Current marital status for this patient.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), MARITAL STATUS data is derived from the MARITAL STATUS field (.05) in the PATIENT file (#2). MARITAL
    STATUS is a pointer to the MARITAL STATUS file (#11).
27 WARD 0;28 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the current ward location for this patient.
  • DESCRIPTION:  
    Current ward for this patient.
  • TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), WARD data is derived from the
    WARD LOCATION field (.06) in the PATIENT MOVEMENT file (#405). This ward data is a pointer to the WARD LOCATION file (#42). Using the ward pointer, the data is derived from the HOSPITAL LOCATION FILE POINTER field (44) in
    the WARD LOCATION file (#42) which is a pointer to the HOSPITAL LOCATION file (#44).
28 TREATING SPECIALTY 0;29 POINTER TO SPECIALTY FILE (#42.4) SPECIALTY(#42.4)

  • LAST EDITED:  SEP 18, 1996
  • HELP-PROMPT:  Enter the name of the treating specialty associated with this extract record.
  • DESCRIPTION:  
    The name of the treating specialty associated with this extract record.
  • TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), TREATING SPECIALTY data is
    derived from the FACILITY TREATING SPECIALTY field (.09) in the PATIENT MOVEMENT file (#405). This facility treating specialty data is a pointer to the FACILITY TREATING SPECIALTY file (#45.7). Using the SPECIALTY field
    (1) in the FACILITY TREATING SPECIALTY file (#45.7), the pointer to the SPECIALTY file (#42.4) is obtained.
29 ATTENDING PHYSICIAN 0;30 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
  • LAST EDITED:  OCT 15, 1996
  • HELP-PROMPT:  Enter attending physician for this patient.
  • DESCRIPTION:  
    The attending physician assigned to this patient with this movement.
  • TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), ATTENDING PHYSICIAN data is
    derived from the ATTENDING PHYSICIAN field (.19) in the PATIENT MOVEMENT file (#405). This attending physician data is a pointer to the NEW PERSON file (#200). This data is stored as "2"_pointer value.
30 EPISODE NUMBER 0;31 POINTER TO PATIENT MOVEMENT FILE (#405) PATIENT MOVEMENT(#405)

  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Enter the current movement number for this patient.
  • DESCRIPTION:  
    Current movement number for this patient.
  • TECHNICAL DESCR:  Pointer to the PATIENT MOVEMENT file (#405). Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file
    (#727.82), EPISODE NUMBER is the movement number (IEN) associated with the PATIENT field (.03) in the PATIENT MOVEMENT file (#405).
31 DRG 0;32 POINTER TO DRG FILE (#80.2) DRG(#80.2)

  • LAST EDITED:  AUG 03, 1991
  • HELP-PROMPT:  Enter the appropriate DRG for this patient.
  • DESCRIPTION:  
    Current DRG for this patient with this movement.
  • TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), DRG data is derived from the PTF
    ENTRY field (.16) in PATIENT MOVEMENT file (#405). This PTF entry data is a pointer to the PTF file (#45). Uses the TRANSFER DRG field (20) within the 501 field (50) multiple in the PTF file (#45) to obtain the pointer
    value to the DRG file (#80.2).
32 DIAGNOSIS 0;33 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
  • LAST EDITED:  OCT 11, 1996
  • HELP-PROMPT:  Your answer must be 1 to 7 characters in length.
  • DESCRIPTION:  
    ICD diagnosis for this patient.
  • TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), DIAGNOSIS data is derived from
    the PTF ENTRY field (.16) in the PATIENT MOVEMENT file (#405). This PTF entry data is a pointer to the PTF file (#45). Uses the ICD 1 field (5) within the 501 field (50) multiple in the PTF file (#45) to obtain the pointer
    value to the ICD DIAGNOSIS file (#80). This ICD diagnosis pointer value is used to pull the DIAGNOSIS data from the CODE NUMBER field (.01) in the ICD DIAGNOSIS file (#80).
33 TIME 0;34 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6)!'(X?6N) 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 which represents the time of day at which the admission occurred.
  • TECHNICAL DESCR:  Data source:
    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.
34 PRIMARY CARE PROVIDER 0;35 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
  • LAST EDITED:  OCT 15, 1996
  • HELP-PROMPT:  Enter primary care provider assigned to this patient.
  • DESCRIPTION:  
    The primary care provider assigned to this patient.
  • TECHNICAL DESCR:  Using the DATE/TIME field (.01) from the PATIENT MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), a call is made to the Scheduling
    API, OUTPTPR^SDUTL3. The API returns the provider's internal entry number and name from the NEW PERSON file (#200). Only the pointer (IEN) to File 200 is transmitted.
35 RACE 0;36 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  OCT 25, 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).

External References

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

Global Variables Directly Accessed

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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