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

Package: DSS Extracts

Global: ^ECX(727.804


Information

FileMan FileNo FileMan Filename Package
727.804 CLINIC NOSHOW EXTRACT DSS Extracts

Description

Directly Accessed By Routines, Total: 4

Package Total Routines
DSS Extracts 4 ECX8041    ECX8042    ^ECX(727.804    ^ECX(729    

Pointer To FileMan Files, Total: 6

Package Total FileMan Files
Registration 4 PATIENT MOVEMENT(#405)[10]    POW PERIOD(#22)[29]    SPECIALTY(#42.4)[12]    PATIENT(#2)[4]    
DSS Extracts 1 DSS EXTRACT LOG(#727)[2]    
Scheduling 1 HOSPITAL LOCATION(#44)[52]    

Fields, Total: 56

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:  MAY 05, 1999
  • 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 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:  AUG 14, 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.804^AC
    1)= S ^ECX(727.804,"AC",$E(X,1,30),DA)=""
    2)= K ^ECX(727.804,"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:  
    An indicator of the division where this event happened. It is derived from the DIVISION field (3.5) of the HOSPITAL LOCATION file (#44) 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 14, 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:  Pointer to the NAME field (.01) of the PATIENT file (#2). This data represents the patient DFN. PATIENT NO. - DFN data is derived from the PATIENT field (.01) within the APPOINTMENT field (1900) multiple of the HOSPITAL
    LOCATION file (#44).
5 SSN 0;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<9)!'(X?9N!X?9N1"P") X
  • LAST EDITED:  AUG 14, 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 CLINIC NOSHOW EXTRACT file (#727.804), 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:  AUG 14, 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 CLINIC NOSHOW EXTRACT file (#727.804), 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 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  NOV 29, 2001
  • HELP-PROMPT:  Answer must be 1 character in length.
  • DESCRIPTION:  
    Indicates whether the patient was an inpatient or an outpatient for this extract entry.
  • TECHNICAL DESCR:  This field formerly contained the pointer to the LOCATION TYPE file (#40.9) which was either 1=Outpatient or 3=Inpatient. Pointing to this file has become obsolete, and in FY2002 this field has been changed to free text
    and will contain "O"=Outpatient or "I"=Inpatient.
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 clinic appointment was scheduled to occur.
  • TECHNICAL DESCR:  Data source:
    HOSPITAL LOCATION file (#44); APPOINTMENT sub-file (#44.001);
    APPOINTMENT 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 PLACEHOLDER1 0;10 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  SEP 15, 1997
  • HELP-PROMPT:  Answer must be 1 character in length.
  • DESCRIPTION:  
    A placeholder for future use.
10 MOVEMENT FILE # 0;11 POINTER TO PATIENT MOVEMENT FILE (#405) PATIENT MOVEMENT(#405)

  • LAST EDITED:  AUG 14, 1996
  • HELP-PROMPT:  Enter the patient movement number associated with this extract record.
  • DESCRIPTION:  
    Current patient movement record associated with this extract record.
  • TECHNICAL DESCR:  A call to IN5^VADPT (using the patient IEN and the event date) returns a patient movement number (indicating inpatient status). This field is set to the value of VAIP(1), which is a pointer to the PATIENT MOVEMENT file
    (#405).
12 TREATING SPECIALTY 0;12 POINTER TO SPECIALTY FILE (#42.4) SPECIALTY(#42.4)

  • LAST EDITED:  AUG 14, 1996
  • HELP-PROMPT:  Enter the name of the treating specialty associated with this extract record.
  • DESCRIPTION:  
    Enter the name of the treating specialty associated with this extract record.
  • TECHNICAL DESCR:  This field is initialized to a null, indicating an outpatient status. If a call to IN5^VADPT (using the patient IEN and the event date) returns a patient movement number (indicating inpatient status), then the value of
    VAIP(8), which is the pointer to the FACILITY TREATING SPECIALTY file (#45.7), is used to get the SPECIALTY field (1) which points to the SPECIALTY file (#42.4).
13 DATE OF BIRTH 0;13 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.
  • TECHNICAL DESCR:  Data source:
    HOSPITAL LOCATION file (#44); APPOINTMENT sub-file (#44.0001);
    PATIENT sub-file (#44.003); PATIENT field (#.01)
    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.
14 ELIGIBILITY 0;14 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
  • LAST EDITED:  MAY 04, 1999
  • HELP-PROMPT:  Answer must be 1-3 characters 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 CLINIC NOSHOW EXTRACT file (#727.804), 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 pointer value to file #8.1 is converted by ELIG^ECXUTL3 to the corresponding eligibility code used by NPCD. This code is composed of two or three numeric characters.
15 VETERAN 0;15 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;

  • LAST EDITED:  AUG 14, 1996
  • HELP-PROMPT:  Select the appropriate veteran status for this patient.
  • DESCRIPTION:  
    Data is Y if the patient is a veteran, N if not.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the CLINIC NOSHOW EXTRACT file (#727.804), VETERAN data is derived from the VETERAN (Y/N)? field (1901) in the PATIENT file (#2).
16 TIME 0;16 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 data element which represents the time for which the appointment was scheduled.
  • TECHNICAL DESCR:  A six-character string of format HHMMSS which represents the time (military time) of the appointment.
    HOSPITAL LOCATION file (#44); APPOINTMENT sub-file (#44.001);
    APPOINTMENT DATA/TIME field (#.01)
    This field is always exactly 6 numeric characters in length; if time cannot be determined, then "000300" is used as default.
17 PRIMARY CARE TEAM 0;17 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<1) X
  • LAST EDITED:  NOV 06, 1996
  • HELP-PROMPT:  Enter primary care team assigned to this patient.
  • DESCRIPTION:  
    The primary care team assigned to this patient.
  • TECHNICAL DESCR:  Using the APPOINTMENT DATE/TIME field (.01) in the APPOINTMENT field (1900) multiple of the HOSPITAL LOCATION file (#44) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the CLINIC NOSHOW EXTRACT
    file (#727.804), 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.
18 PRIMARY CARE PROVIDER 0;18 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 APPOINTMENT DATE/TIME field (.01) in the APPOINTMENT field (1900) multiple of the HOSPITAL LOCATION file (#44) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the CLINIC NOSHOW EXTRACT
    file (#727.804), 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).
    A "2" is prefixed to the pointer value to indicate that the source file is "200".
19 PROVIDER 0;19 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
  • LAST EDITED:  OCT 15, 1996
  • HELP-PROMPT:  Enter provider for this record.
  • DESCRIPTION:  
    The provider assigned to this patient.
  • TECHNICAL DESCR:  
    This field marked as a placeholder for future use.
20 RACE 0;20 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  OCT 14, 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 of the RACE file (#10) entry pointed to by the RACE field (.06) in the PATIENT file (#2).
21 DSS IDENTIFIER 0;21 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6) X
  • LAST EDITED:  SEP 15, 1997
  • HELP-PROMPT:  Answer must be 6 characters in length.
  • DESCRIPTION:  
    The DSS Identifier consists of the primary and secondary stop codes associated with this clinic. It is exactly 6 numeric characters in length.
  • TECHNICAL DESCR:  Data source:
    CLINICS AND STOP CODES file (#728.44); DSS STOP CODE field (#3)
    and DSS CREDIT STOP CODE field (#4)
    If field #3 is null, then use
    CLINICS AND STOP CODES file (#728.44); STOP CODE field (#1)
    and CREDIT STOP CODE (#2)
    If field #1 is null, then use
    HOSPITAL LOCATION file (#44); STOP CODE NUMBER field (#8)
    and CREDIT STOP CODE field (#2503)
    If field #8 is null, then use default of "000000".
    However, if the ACTION TO SEND field (#5) of file #728.44 for the clinic is set to "1" (i.e., SEND STOP CODE), then ONLY the primary stop code is used. The secondary stop code (i.e., credit stop code) is set to "000".
22 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.
23 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 clinic product.
  • TECHNICAL DESCR:  
    A free text field of 4-10 characters; data not yet available. Field is set to null.
24 PC PROVIDER NPI 1;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  MAY 06, 1999
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  
    The Primary Care Provider's National Provider Identifier code.
  • TECHNICAL DESCR:  When National Provider Identifier (NPI) codes become available, this field will hold the Primary Care Provider NPI.
    Field will be set to null until data becomes available.
25 PROVIDER NPI 1;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  MAY 06, 1999
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  
    The Provider's National Provider Identifier code.
  • TECHNICAL DESCR:  When National Provider Identifier (NPI) codes become available, this field will hold the Provider NPI.
    Field will be set to null until data becomes available.
26 PC PROVIDER PERSON CLASS 1;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
  • LAST EDITED:  OCT 26, 1998
  • HELP-PROMPT:  Answer must be 7 characters in length.
  • DESCRIPTION:  
    The VA Code of the Person Class of the Primary Care Provider associated with this record.
  • TECHNICAL DESCR:  The field will hold the VA Code associated with the active Person Class of the patient's Primary Care Provider as of the date of this extract record.
    The VA Code is always of the form "V"_six numeric digits; exactly 7 characters in length.
27 PROVIDER PERSON CLASS 1;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 7 characters in length.
  • DESCRIPTION:  
    The VA code associated with the active Person Class of the provider.
  • TECHNICAL DESCR:  
    A call to $$GET^XUA4A72(PERS,DATE) will be made using the IEN in the PROVIDER and the date in the DAY field. The VA Code is always of the form "V"_six numeric digits; exactly 7 characters in length.
28 POW STATUS 1;7 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  MAY 05, 1999
  • DESCRIPTION:  
    The patient's POW status. May be set to Y(es), N(o), or U(nknown).
  • TECHNICAL DESCR:  
    PATIENT file (#2); POW STATUS INDICATED? field (#.525). The status indicator is returned by SVC^VADPT.
29 POW LOCATION 1;8 POINTER TO POW PERIOD FILE (#22) POW PERIOD(#22)

  • LAST EDITED:  MAY 05, 1999
  • DESCRIPTION:  If POW Status is indicated, then this is the POW confinement location/period.
    1 WORLD WAR I
    2 WORLD WAR II - EUROPE
    3 WORLD WAR II - PACIFIC
    4 KOREAN
    5 VIETNAM
    6 OTHER
  • TECHNICAL DESCR:  
    PATIENT file (#2); POW CONFINEMENT LOCATION field (#.526). This is a pointer value to the POW PERIOD file (#22). The location indicator is returned by SVC^VADPT.
30 RADIATION STATUS 1;9 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  MAY 05, 1999
  • DESCRIPTION:  
    The patient's Ionizing Radiation status. (Y/N/U)
  • TECHNICAL DESCR:  
    PATIENT file (#2); RADIATION EXPOSURE INDICATED? field (#.32103). The status indicator is returned by SVC^VADPT.
31 AGENT ORANGE STATUS 1;10 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  MAY 05, 1999
  • DESCRIPTION:  
    The patient's Agent Orange status.
  • TECHNICAL DESCR:  
    PATIENT file (#2); AGENT ORANGE EXPOS. INDICATED? field (#.32102). The status indicator is returned by SVC^VADPT.
32 SHARING AGREEMENT PAYOR 1;11 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 1 character in length.
  • DESCRIPTION:  
    An indicator used for patients participating in sharing agreements.
  • TECHNICAL DESCR:  The ALIAS sub-field (#.01) of the ALIAS multiple field (#1) of the PATIENT file (#2) is used to indicate a patient who participates in a sharing agreement. If the #.01 field contains any one of the specified key words,
    then the patient is considered to be included for Sharing Agreement information. The keywords are: SHARING AGREEMENT, CHAMPVA, CHAMPUS, TRICARE, CAT C, CATEGORY C.
    A one character code for the keyword found in the ALIAS multiple field is obtained by the following conversion: SHARING AGREEMENT = A TRICARE = B CAT C = C CATEGORY C = C CHAMPVA = D CHAMPUS = E
33 SHARING AGREEMENT INSURANCE 1;12 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 1-11 characters in length.
  • DESCRIPTION:  
    Used to indicate insurer, if patient participates in a sharing agreement.
  • TECHNICAL DESCR:  Data will be taken from the INSURANCE TYPE sub-field (#.01) of the INSURANCE TYPE field (#.3121), sub-file #2.312, of the PATIENT file (#2). This is a pointer value for the INSURANCE COMPANY file (#36). Only the first
    insurance company found in the multiple field is used. The data is stored as free text.
34 MST STATUS 1;13 SET
  • 'Y' FOR Yes, screened reports MST;
  • 'N' FOR Screened, does not report MST;
  • 'D' FOR Screened, declines to answer;

  • LAST EDITED:  MAY 05, 1999
  • DESCRIPTION:  
    The MST Status of the patient on the date of the outpatient encounter. Possible status values are: Y = Yes, screened reports MST N = Screened, does not report MST D = Screened, declines to answer
  • TECHNICAL DESCR:  The MST HISTORY file (#29.11) holds data regarding military sexual trauma claims and effective dates. The patients MST status is stored in the MST STATUS field (#3). A call will be made to $$GETSTAT^DGMSTAPI(DFN,DGDATE)
    using the DFN in the PATIENT NO. DFN field and the date in the DAY field.
35 ENROLLMENT LOCATION 1;14 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>7!($L(X)<3) X
  • LAST EDITED:  AUG 08, 2002
  • HELP-PROMPT:  Answer must be 3-7 characters in length
  • DESCRIPTION:  
    The facility that the patient chooses to designate as his preferred location for care.
  • TECHNICAL DESCR:  The PREFERRED FACILITY field (# 27.02) of the PATIENT file (#2) is defined as the facility that the patient chooses to designate as his preferred location for care. The PREFERRED FACILITY field (# 27.02) is a pointer to
    the INSTITUTION file (#4). From file #4, the value in the STATION NUMBER field (#99) is used.
36 STATE 1;15 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>2!($L(X)<2) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 2 characters in length.
  • 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 extract record, data is derived from the STATE field (#.115) in the PATIENT file (#2) which points to the STATE file (#5). From the STATE
    file record, the two-character VA STATE CODE field (#2) is used.
37 COUNTY 1;16 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 3 characters in length.
  • DESCRIPTION:  
    The county in which the patient resides.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the extract record, data is derived from the COUNTY field (#.117) in the PATIENT file (#2), which points to a subfile record in the COUNTY
    multiple field (#3) of the STATE file (#5). The three-character VA COUNTY CODE field (#2) within the COUNTY multiple field is used.
38 ZIP+4 1;17 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<5) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 5-10 characters in length.
  • DESCRIPTION:  
    The patient's Zipcode with optional 4-digit extension. For example: 11223-1234
  • TECHNICAL DESCR:  
    PATIENT file (#2); ZIP+4 field (#.1112).
39 SEX 1;18 SET
************************REQUIRED FIELD************************
  • 'M' FOR MALE;
  • 'F' FOR FEMALE;

  • LAST EDITED:  MAY 06, 1999
  • 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), this data element is derived from the SEX field (#.02) in the PATIENT file (#2).
40 ASSOCIATE PC PROVIDER 1;19 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 2-11 characters in length.
  • DESCRIPTION:  
    This is a reference to the NEW PERSON file (#200) for the provider who is the patients Associate Provider for Primary Care as assigned with the PCMM application. The IEN to file #200 is prefixed with the character 2.
  • TECHNICAL DESCR:  
    This data element will be obtained by use of a function provided by the PCMM application.
41 ASSOC. PC PROV. PERSON CLASS 1;20 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
  • LAST EDITED:  MAY 05, 1999
  • HELP-PROMPT:  Answer must be 7 characters in length.
  • DESCRIPTION:  The field will hold the VA Code associated with the active Person Class of the Associate Primary Care Provider as assigned by through the PCMM appilcation. The VA Code is always of the form "V"_six numeric digits;
    exactly 7 characters in length.
  • TECHNICAL DESCR:  
    NEW PERSON file #200, Field #5; file #8932.1. Active Person Class is determined by $$GET^XUA4A71(PERS,DATE), where PERS is the IEN from file #200.
42 ASSOCIATE PC PROVIDER NPI 1;21 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  MAY 06, 1999
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  
    The Associate Primary Care Provider's National Provider Identifier code.
  • TECHNICAL DESCR:  
    When National Provider Identifier (NPI) codes become available, this field will hold the Associate Primary Care Provider NPI.
43 DOM,PRRTP AND SAARTP INDICATOR 1;22 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)
44 ENROLLMENT CATEGORY 1;23 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  JUN 14, 2000
  • HELP-PROMPT:  Answer must be 1 character in length.
  • DESCRIPTION:  
    Derived from the Patient Enrollment File #27.11
45 ENROLLMENT STATUS 1;24 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>2!($L(X)<1) X
  • LAST EDITED:  JUN 14, 2000
  • HELP-PROMPT:  Answer must be 1-2 characters in length.
  • DESCRIPTION:  
    Derived from the Patient Enrollment File #27.11
46 ENROLLMENT PRIORITY 1;25 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
  • LAST EDITED:  JUN 14, 2000
  • HELP-PROMPT:  Answer must be 1 character in length.
  • DESCRIPTION:  
    Derived from the Patient Enrollment File #27.11
47 PERIOD OF SERVICE 1;26 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.
  • DESCRIPTION:  
    The period of service that best classifies the patient based on eligibility code.
48 OBSERVATION PATIENT INDICATOR 1;27 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<1) X
  • LAST EDITED:  AUG 14, 2001
  • HELP-PROMPT:  Answer must be 1-4 characters in length.
  • DESCRIPTION:  
    This field is derived from the inpatient/outpatient status, treating specialty, and DSS Identifier or feeder key values in the record.
49 ENCOUNTER NUMBER 1;28 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>18!($L(X)<1) X
  • LAST EDITED:  MAY 04, 2001
  • HELP-PROMPT:  Answer must be 1-18 characters in length
  • DESCRIPTION:  
    This field is derived from the inpatient/outpatient status, SSN, admit/visit date, treating specialty, observation patient indicator, and DSS Identifier or feeder key values in the record.
50 AGENT ORANGE LOCATION 1;29 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>2!($L(X)<2) X
  • LAST EDITED:  MAY 04, 2001
  • HELP-PROMPT:  Answer must be 2 characters in length
  • DESCRIPTION:  
    This field contains the Agent Orange exposure location.
51 PURPLE HEART INDICATOR 1;30 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;

  • LAST EDITED:  MAY 04, 2001
  • DESCRIPTION:  
    This field indicates whether or not the patient is a Purple Heart recipient.
52 CLINIC NAME 1;31 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  MAY 04, 2001
  • DESCRIPTION:  
    This field contains the six-character name of the clinic.
53 PRODUCTION DIVISION CODE 1;32 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<3) X
  • LAST EDITED:  AUG 12, 2002
  • HELP-PROMPT:  Answer must be 3-6 characters in length.
  • DESCRIPTION:  
    Data represents the medical center division the work was performed in. This field corresponds to an entry in the INSTITUTION file (#4).
  • TECHNICAL DESCR:  
    Data comes from the STATION NUMBER field (#99) of the INSTITUTION file (#4).
54 HEAD & NECK CANCER INDICATOR 1;33 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;

  • LAST EDITED:  AUG 28, 2002
  • HELP-PROMPT:  Enter the Head & Neck Cancer Indicator for the patient.
  • DESCRIPTION:  
    Identifies whether treatment was for head and/or neck cancer.
  • TECHNICAL DESCR:  
    Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4), a call is made to $$GETCUR^DGNTAPI to retrieve the HEAD/NECK CA DX field (#2.01) of the NOSE AND THROAT RADIUM HISTORY file (#28.11).
55 ETHNICITY 1;34 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
  • LAST EDITED:  DEC 10, 2002
  • HELP-PROMPT:  Answer must be 1-6 characters in length
  • DESCRIPTION:  
    The patient's PTF Ethnicity code.
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4), ETHNICITY is derived from the PTF VALUE field (#5) of the ETHNICITY file (#10.2) pointed to by the ETHNICITY INFORMATION field (#.01) of the
    ETHNICITY INFORMATION subfile (#2.06) of the PATIENT file (#2).
    The above will occur only if the METHOD OF COLLECTION field (#.02) of the ETHNICITY INFORMATION subfile (#2.06) is set to 1 (SELF-IDENTIFICATION), otherwise ETHNICITY with be set to null.
56 RACE 1 1;35 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
  • LAST EDITED:  AUG 28, 2002
  • HELP-PROMPT:  Answer must be 1-6 characters in length
  • DESCRIPTION:  
    The patient's PTF Race code(s).
  • TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4), RACE 1 is derived from the PTF VALUE field (#5) of the RACE file (#10) pointed to by the RACE INFORMATION field (#.01) of the RACE INFORMATION
    subfile (#2.02) of the PATIENT file (#2).
    Only those RACE INFORMATION values in the RACE INFORMATION subfile (#2.03) where the METHOD OF COLLECTION field (#.02) set to 1 (SELF-IDENTIFICATION), will be include in the RACE 1 field. If any of the RACE INFORMATION
    values returned is "C" (DECLINED TO ANSWER), that will be the only value included in the RACE1 field.

External References

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ECX(727.804 - [#727.804] 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!, 7+1!, 8+1!, 9+1!
, 13+1!, 14+1!, 16+1!, 17+1!, 18+1!, 19+1!, 20+1!, 21+1!, 22+1!, 23+1!
, 24+1!, 25+1!, 26+1!, 27+1!, 32+1!, 33+1!, 35+1!, 36+1!, 37+1!, 38+1!
, 40+1!, 41+1!, 42+1!, 43+1!, 44+1!, 45+1!, 46+1!, 47+1!, 48+1!, 49+1!
, 50+1!, 53+1!, 55+1!, 56+1!
>> Y 1OT+1*, 8OT+1*, 13OT+1*, 16OT+1*
>> Y(0 1OT+1*, 8OT+1*, 13OT+1*, 16OT+1*
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All