STANDARD DATA DICTIONARY #727.827 -- CLINIC EXTRACT FILE                                                          3/24/25    PAGE 1
STORED IN ^ECX(727.827,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                     (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains data elements as specified by the Decision Support System (DSS) Program Office for the Clinic extract from
existing DHCP files. Entries into this file are made by extracting data from several files. Once approved by the DSS site manager,
entries in this file are loaded into an electronic mail message and sent to the commercial vendor. This file is intended to be used
for validation purposes only. Entries should be made only by the extract load routine.  
  
Since validation techniques will be determined by the local site, it is intended that the site add whatever cross references deemed
necessary.  However, this file contains one nationally determined cross reference, the "AC" cross reference on the EXTRACT NUMBER
field (#2).  This cross reference is used by the DSS Extracts software package as an essential feature for managing and purging
data in this file and should not be modified.  
  
This file should NOT be modified directly using VA FileMan.  


COMPILED CROSS-REFERENCE ROUTINE: ECX827
              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @

CROSS
REFERENCED BY: EXTRACT NUMBER(AC)

    LAST MODIFIED: NOV 18,2023@19:04:19

727.827,.01   SEQUENCE NUMBER        0;1 NUMBER (Required)

              Sequence Number   
              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X S:$D(X) DINUM=X
              LAST EDITED:      DEC 15, 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.  The entry is DINUMed.  

              SOURCE OF DATA:   Software generated for each individual record in the extract.
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


727.827,1     YEAR MONTH             0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6)!'(X?6N) X
              OUTPUT TRANSFORM: S Y=$$ECXYMX^ECXUTL(Y)
              LAST EDITED:      FEB 11, 2004 
              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:  YEAR MONTH is derived by parsing the fileman format end date of the extract. The month is
                                determined by taking the 4th and 5th characters of the end date, the year by taking the 2nd and 3rd
                                characters, and the century is then calculated by taking the 1st character of the end date, and
                                adding 17 to  it. The Century is then concatenated with the year and month, giving the results in
                                YYYYMM format.  


727.827,2     EXTRACT NUMBER         0;3 POINTER TO DSS EXTRACT LOG FILE (#727) (Required)

              LAST EDITED:      MAY 09, 2000 
              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.827^AC 
                                1)= S ^ECX(727.827,"AC",$E(X,1,30),DA)=""
                                2)= K ^ECX(727.827,"AC",$E(X,1,30),DA)


727.827,3     FACILITY               0;4 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8)

              LAST EDITED:      JUN 08, 2012 
              HELP-PROMPT:      Enter the medical center division associated with this visit. 
              DESCRIPTION:
                                This is the medical center division where the extract was performed.  

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


727.827,4     PATIENT NO. - DFN      0;5 POINTER TO PATIENT FILE (#2) (Required)

              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Enter the name of the patient for this extract record. 
              DESCRIPTION:
                                This is the patient to whom this extract record pertains.  

              TECHNICAL DESCR:  The PATIENT field (#.02) of the OUTPATIENT ENCOUNTER file (#409.68) is used to populate this field. 
                                It is the IEN of the patient in the PATIENT file (#2).  


727.827,5     SSN                    0;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<9) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 9-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 CLINIC EXTRACT
                                file (#727.827), 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.  


727.827,6     NAME                   0;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>4!($L(X)<4) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      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 EXTRACT
                                file (#727.827), 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.  
                                 
                                The name value is returned by the supported call DEM^VADPT.  


727.827,7     IN/OUT PATIENT INDICATOR 0;8 SET

                                'I' FOR INPATIENT; 
                                'O' FOR OUTPATIENT; 
                                'A' FOR ASIH (OTHER FACILITY); 
              LAST EDITED:      JUN 29, 2018 
              HELP-PROMPT:      Enter the patient's status for this extract entry. 
              DESCRIPTION:
                                Indicates the patient's status for this extract entry.  

              TECHNICAL DESCR:  To determine the value of this field a call is made to $$PATDEM^ECXUTL2. Within this call,
                                $$INP^ECXUTL2 is called to determine patient status.  If the patient is an outpatient, processing
                                stops and the field is set to O.   If the patient is an inpatient then $$INOUTP^ECXUTL4 is called
                                to look at the treating specialty.  If the patient's treating specialty exists in the DSS TREATING
                                SPECIALTY TRANSLATION file (#727.831) then the value of the INPAT/OUTPAT CODE field (#5) of the DSS
                                TREATING SPECIALTY TRANSLATION file (#727.831) is used.  If the treating specialty is not found in
                                the DSS TREATING SPECIALTY TRANSLATION file (#727.831) then the indicator is set to I.  
                                 
                                If the patient is ASIH to another facility at the date/time in question then the indicator is set
                                to A.  


727.827,8     DAY                    0;9 FREE TEXT

              Day   
              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
              OUTPUT TRANSFORM: S Y=$$ECXDATEX^ECXUTL(Y)
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 8 characters in length. 
              DESCRIPTION:
                                Date on which the clinic visit occurred.  

              TECHNICAL DESCR:  Data source: 
                                 
                                OUTPATIENT ENCOUNTER file (#409.68); DATE 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.  


727.827,9     PLACEHOLD FEEDER KEY   0;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>14!($L(X)<14) X
              LAST EDITED:      MAR 03, 2017 
              HELP-PROMPT:      Answer must be 14 characters in length. 
              DESCRIPTION:      This field, previously known as FEEDER KEY, is no longer needed.  The name has been changed to
                                PLACEHOLD FEEDER KEY and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*166.  


727.827,10    OVERBOOKED INDICATOR   0;11 SET

                                'O' FOR OVERBOOKED; 
              LAST EDITED:      SEP 27, 2000 
              HELP-PROMPT:      Indicate if this was an overbooked appointment. 
              DESCRIPTION:
                                Indicates if this was an overbook appointment for this visit.  

              TECHNICAL DESCR:  Data source: 
                                 
                                OVERBOOK field (#9) of the PATIENT multiple (#2) of the APPOINTMENT multiple (#1900) of the
                                HOSPITAL LOCATION file (#44).  
                                 
                                Was this appointment an overbook, or scheduled over the maximum number of appointments allowed for
                                that day/slot.  


727.827,11    *PLACEHOLDER           0;12 POINTER TO HOSPITAL LOCATION FILE (#44)

              LAST EDITED:      JUN 03, 2015 
              HELP-PROMPT:      Select the clinic associated with the visit. 
              DESCRIPTION:
                                This field is no longer used.  

              TECHNICAL DESCR:
                                This field became inactive in patch ECX*3.0*154.  


727.827,12    TREATING SPECIALITY    0;13 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>2!($L(X)<1) X
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Answer must be 1-2 characters in length. 
              DESCRIPTION:
                                The PTF CODE of the treating specialty associated with this extract record.  

              TECHNICAL DESCR:  Data source: 
                                 
                                SPECIALTY file (#42.4); PTF CODE field (#7).  


727.827,13    TIME                   0;14 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 6 characters in length. 
              DESCRIPTION:
                                Time for this clinic visit (6-digit military time).  

              TECHNICAL DESCR:  Time is extracted from the date information pulled from either the DATE field (#.01) in the
                                OUTPATIENT ENCOUNTER file (#409.68) or from the clinic date/time returned from a call to
                                $$SDAPI^SDAMA301.  
                                                                 
                                This field is always exactly 6 numeric characters in length; if time cannot be determined, then
                                "000300" is used as default.  


727.827,14    PLACEHOLD PRIMARY CARE TEAM 0;15 POINTER TO TEAM FILE (#404.51)

              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Enter the primary care team assigned to this patient at the time of the visit. 
              DESCRIPTION:      This field, previously known as PRIMARY CARE TEAM, is no longer needed.  The name has been changed
                                to PLACEHOLD PRIMARY CARE TEAM and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,15    PLACEHOLD PC PROVIDER  0;16 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 2-11 characters in length. 
              DESCRIPTION:      This field, previously known as PRIMARY CARE PROVIDER, is no longer needed.  The name has been
                                changed to PLACEHOLD PC PROVIDER and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,16    PLACEHOLD PC PROV PERSON CLASS 0;17 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:      This field, previously known as PRIMARY CARE PRV PERSON CLASS, is no longer needed.  The name has
                                been changed to PLACEHOLD PC PROV PERSON CLASS and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,17    PROVIDER               0;18 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 2-11 characters in length. 
              DESCRIPTION:
                                The provider associated with the patient encounter.  

              TECHNICAL DESCR:  The provider is returned by ENCEVENT^PXAPI.  
                                 
                                The PROVIDER is the value of a "2" prefixed to the pointer value to indicate that the source file
                                is "200". For example, if the IEN of the provider in file #200 is 98765, the value that will be
                                stored is 298765.  


727.827,18    PROVIDER PERSON CLASS  0;19 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA Code of the Person Class of the Provider for this record.  

              TECHNICAL DESCR:  Active Person Class is determined by the supported call $$GET^XUA4A72(PERS,DATE), where PERS is the
                                IEN from file #200 and DATE is the date of the event.  The VA CODE is determined by the 7th piece
                                of the returned value string.  


727.827,19    PLACEHOLD CPT QTY & MODS #1 0;20 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      MAY 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFIERS #1, is no longer needed.  The name has
                                been changed to PLACEHOLD CPT QTY & MODS #1 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,20    PLACEHOLD CPT QTY & MODS #2 0;21 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFIERS #2, is no longer needed.  The name has
                                been changed to PLACEHOLD CPT QTY & MODS #2 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,21    PLACEHOLD CPT QTY & MODS #3 0;22 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFIERS #3, is no longer needed.  The name has
                                been changed to PLACEHOLD CPT QTY & MODS #3 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,22    PLACEHOLD CPT QTY & MODS #4 0;23 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFIERS #4, is no longer needed.  The name has
                                been changed to PLACEHOLD CPT QTY & MODS #4 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,23    PLACEHOLD CPT QTY & MODS #5 0;24 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              MAXIMUM LENGTH:   17
              LAST EDITED:      MAY 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFERS #5, is no longer needed.  The name has been
                                changed to PLACEHOLD CPT QTY & MODS #5 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,24    PLACEHOLD CPT QTY & MODS #6 1;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      MAY 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFIERS #6, is no longer needed.  The name has
                                been changed to PLACEHOLD CPT QTY & MODS #6 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,25    PLACEHOLD CPT QTY & MODS #7 1;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      MAY 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFERS #7, is no longer needed.  The name has been
                                changed to PLACEHOLD CPT QTY & MODS #7 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,26    PLACEHOLD CPT QTY & MODS #8 1;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      MAY 30, 2018 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      This field, previously known as CPT CODE QTY & MODIFIERS #8, is no longer needed.  The name has
                                been changed to PLACEHOLD CPT QTY & MODS #8 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,27    PLACEHOLDER            1;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              LAST EDITED:      APR 19, 2016 
              HELP-PROMPT:      Answer must be 1-7 characters in length. 
              DESCRIPTION:      This field, previously known as PRIMARY ICD9 CODE, is no longer needed.  The name has been changed
                                to PLACEHOLDER and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*161.  


727.827,28    PLACEHOLDER            1;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              LAST EDITED:      APR 19, 2016 
              HELP-PROMPT:      Answer must be 1-7 characters in length. 
              DESCRIPTION:      This field, previously known as SECONDARY ICD9 1, is no longer needed.  The name has been changed
                                to PLACEHOLDER and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*161.  


727.827,29    PLACEHOLDER            1;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              LAST EDITED:      APR 19, 2016 
              HELP-PROMPT:      Answer must be 1-7 characters in length. 
              DESCRIPTION:      This field, previously known as SECONDARY ICD9 2, is no longer needed.  The name has been changed
                                to PLACEHOLDER and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*161.  


727.827,30    PLACEHOLDER            1;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              LAST EDITED:      APR 19, 2016 
              HELP-PROMPT:      Answer must be 1-7 characters in length. 
              DESCRIPTION:      This field, previously known as SECONDARY ICD9 3, is no longer needed.  The name has been changed
                                to PLACEHOLDER and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*161.  


727.827,31    PLACEHOLDER            1;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              LAST EDITED:      APR 19, 2016 
              HELP-PROMPT:      Answer must be 1-7 characters in length. 
              DESCRIPTION:      This field, previously known as SECONDARY ICD9 4, is no longer needed.  The name has been changed
                                to PLACEHOLDER and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*161.  


727.827,32    DATE OF BIRTH          1;9 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Answer must be 8 characters in length. 
              DESCRIPTION:
                                Patient's date of birth.  

              TECHNICAL DESCR:  Data source: 
                                 
                                OUTPATIENT ENCOUNTER file (#409.68); PATIENT field (#.02) then to PATIENT file (#2); DATE OF BIRTH
                                field (#.03) 
                                 
                                Date of Birth is returned through the supported call DEM^VADPT. It is then represented by an
                                8-character numeric string in the YYYYMMDD format.  Format is YYYYMMDD.  


727.827,33    ELIGIBILITY            1;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<2) X
              LAST EDITED:      JUL 19, 2012 
              HELP-PROMPT:      Answer must be 2-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), 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.  


727.827,34    VETERAN                1;11 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Select the appropriate veteran status for this patient. 
              DESCRIPTION:
                                Patient's veteran status.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), VETERAN data is derived from the VETERAN (Y/N)? field (1901) in the PATIENT file
                                (#2). Veteran is returned by the supported call ELIG^VADPT.  


727.827,35    PLACEHOLD RACE         1;12 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      MAR 15, 2018 
              HELP-PROMPT:      Answer must be 1 character in length. 
              DESCRIPTION:      This field, previously known as RACE, is no longer needed.  The name has been changed to PLACEHOLD
                                RACE and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,36    POW STATUS             1;13 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Enter the patient's POW status. 
              DESCRIPTION:
                                Indicates if patient was confined as a Prisoner of War.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), POW data is derived from the POW STATUS INDICATED? field (#.525) in the PATIENT
                                file (#2).  
                                 
                                The POW Status is returned by SVC^VADPT.  


727.827,37    POW LOCATION           1;14 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 1 character in length. 
              DESCRIPTION:
                                If POW Status is indicated, this is the POW confinement location/period.  

              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.  
                                 
                                This field should be a pointer to the POW PERIOD file (#22) but due to the FileMan limitation for
                                data on this subscript, it will remain a free text field.  


727.827,38    RADIATION STATUS       1;15 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
                                'U' FOR UNKNOWN; 
                                '1' FOR NO RADIATION; 
                                '2' FOR HIROSHIMA/NAGASAKI; 
                                '3' FOR ATMOSPHERIC NUCLEAR TESTING; 
                                '4' FOR H/N AND ATMOSPHERIC TESTING; 
                                '5' FOR UNDERGROUND NUCLEAR TESTING; 
                                '6' FOR EXPOSURE AT NUCLEAR FACILITY; 
                                '7' FOR OTHER; 
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Enter the Radiation Status for this patient.  
              DESCRIPTION:
                                Indicates if patient claims exposure to ionizing radiation.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), RADIATION data is derived from the RADIATION EXPOSURE INDICATED? field (#.32103)
                                in the PATIENT file (#2).  
                                 
                                The status indicator is returned by SVC^VADPT.  


727.827,39    RADIATION ENCOUNTER INDICATOR 1;16 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Indicate if treatment is related to exposure to ionizing radiation. 
              DESCRIPTION:      Indicates whether service provided during this patient encounter is related to exposure to ionizing
                                radiation.  

              TECHNICAL DESCR:  Using the VISIT FILE ENTRY field (#.05) in the OUTPATIENT ENCOUNTER file (#409.68) a call is made
                                to API VISIT^ECXSCX1 which in turn calls ENCEVENT^PXAPI. The ENCEVENT^PXAPI returns the ionizing
                                radiation exposure indicator stored at the IONIZING RADIATION EXPOSURE field (#80003) in the VISIT
                                file (#9000010). The value will be stored in the output array subscripted by "IR".  


727.827,40    AGENT ORANGE STATUS    1;17 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Enter the Agent Orange status for this patient. 
              DESCRIPTION:
                                Indicates whether patient was exposed to Agent Orange.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), AGENT ORANGE data is derived from the AGENT ORANGE EXPOS. INDICATED? field
                                (#.32102) in the PATIENT file (#2).  
                                 
                                The status indicator is returned by SVC^VADPT.  


727.827,41    AGENT ORANGE ENC INDICATOR 1;18 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Enter patient's agent orange exposure indicator. 
              DESCRIPTION:      Indicates whether service provided during this patient encounter is related to exposure to Agent
                                Orange.  

              TECHNICAL DESCR:  Using the VISIT FILE ENTRY field (#.05) in the OUTPATIENT ENCOUNTER file (#409.68) a call is made
                                to API VISIT^ECXSCX1 which in turn calls ENCEVENT^PXAPI. The ENCEVENT^PXAPI returns the Agent
                                Orange indicator stored at the AGENT ORANGE EXPOSURE field (#80002) in the VISIT file (#9000010).
                                The value will be stored in the output array subscripted by "AO".  


727.827,42    PLACEHOLD MPI          1;19 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      APR 29, 2022 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      This field, previously known as MASTER PATIENT INDEX, is no longer needed. The name has been
                                changed to PLACEHOLD MPI and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*184.  


727.827,43    PLACEHOLD DSS PRODUCT DEPT 1;20 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              LAST EDITED:      FEB 04, 2019 
              HELP-PROMPT:      Answer must be 1-10 characters in length. 
              DESCRIPTION:      This field, previously known as DSS PRODUCT DEPARTMENT, is no longer needed. The name has been
                                changed to PLACEHOLD DSS PRODUCT DEPT and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*174.  


727.827,44    SEX                    1;21 SET

                                'M' FOR MALE; 
                                'F' FOR FEMALE; 
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Enter the patient's sex. 
              DESCRIPTION:
                                Patient's gender.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), this data is derived from the SEX field (.02) in the PATIENT file (#2).  
                                 
                                The gender is returned by DEM^VADPT.  


727.827,45    ZIP+4                  1;22 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<5) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 5-10 characters in length. 
              DESCRIPTION:      The ZIP code for where the patient resides. The 5-character ZIP code is provided if ZIP+4 is not
                                available.  

              TECHNICAL DESCR:  The patient's ZIP code with optional 4-digit extension as found in the ZIP+4 field (#.1112) of the
                                patient's record in the PATIENT file (#2).  While the ZIP+4 field in the PATIENT file (#2) is a max
                                of 9 characters, it does put the "-" in if the ZIP code is a +4 type.  


727.827,46    PLACEHOLDER            1;23 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      APR 26, 2007 
              HELP-PROMPT:      Answer must be 1-8 characters in length. 
              DESCRIPTION:
                                Currently NULL.  

              TECHNICAL DESCR:
                                Currently NULL.  


727.827,47    PLACEHOLDER            1;24 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      APR 26, 2007 
              HELP-PROMPT:      Answer must be 1-8 characters in length. 
              DESCRIPTION:
                                Currently NULL.  

              TECHNICAL DESCR:
                                Currently NULL.  


727.827,48    ENCOUNTER ELIGIBILITY  1;25 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Type a number between 0 and 999, 0 decimal digits. 
              DESCRIPTION:      Eligibility code for the encounter based on the purpose of the encounter and the patient's
                                eligibility.  

              TECHNICAL DESCR:  Using the MAS ELIGIBILITY CODE field (#8) of the ELIGIBILITY CODE file (#8) as pointed to by the
                                ELIGIBILITY OF ENCOUNTER field (#.13) of the OUTPATIENT ENCOUNTER file (#409.68) a call is made to
                                ELIG^ECXUTL3 which then returns a numeric code that's stored in this field.  


727.827,49    MST STATUS             1;26 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
                                'U' FOR UNKNOWN; 
                                'D' FOR DENIED; 
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Enter the patient's MST Status. 
              DESCRIPTION:
                                Military Sexual Trauma (MST) status of a patient on the date of the encounter.  

              TECHNICAL DESCR:  The MST HISTORY file (#29.11) holds data regarding military sexual trauma claims and effective
                                dates.  The patient's 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 (#4) and the date in the
                                DAY field (#8).  


727.827,50    MST ENCOUNTER INDICATOR 1;27 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Was encounter related to MST? 
              DESCRIPTION:
                                Indicates if treatment is related to Military Sexual Trauma.  

              TECHNICAL DESCR:  Using the VISIT FILE ENTRY field (#.05) in the OUTPATIENT ENCOUNTER file (#409.68) a call is made
                                to API VISIT^ECXSCX1 which in turn calls ENCEVENT^PXAPI. The ENCEVENT^PXAPI returns the military
                                sexual trauma data stored at the MILITARY SEXUAL TRAUMA field (#80005) in the VISIT file 
                                (#9000010). The value will be stored in the output array subscripted by "MST".  


727.827,51    PLACEHOLD SHARE AGREEMNT PAYOR 1;28 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      FEB 04, 2019 
              HELP-PROMPT:      Answer must be 1 character in length. 
              DESCRIPTION:      This field, previously known as SHARING AGREEMENT PAYOR, is no longer needed. The name has been
                                changed to PLACEHOLD SHARE AGREEMNT PAYOR and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*174.  


727.827,52    PLACEHOLD SHARE AGREEMNT INSUR 1;29 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
              LAST EDITED:      FEB 04, 2019 
              HELP-PROMPT:      Answer must be 1-11 characters in length. 
              DESCRIPTION:      This field, previously known as SHARING AGREEMENT INSURANCE CO, is no longer needed. The name has
                                been changed to PLACEHOLD SHARE AGREEMNT INSUR and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*174.  


727.827,53    ENROLLMENT LOCATION    1;30 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<3) X
              LAST EDITED:      JUN 21, 2012 
              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.  


727.827,54    STATE CODE             1;31 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>2!($L(X)<2) X
              LAST EDITED:      MAY 09, 2000 
              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 CLINIC EXTRACT
                                file (#727.827), STATE CODE 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).  


727.827,55    COUNTY CODE            1;32 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 3 characters in length. 
              DESCRIPTION:
                                County in which the patient resides.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), data is taken 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 (#3) is used.  


727.827,56    PLACEHOLD ASSOC PC PROVIDER 1;33 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 1-11 characters in length. 
              DESCRIPTION:      This field, previously known as ASSOCIATE PC PROVIDER, is no longer needed.  The name has been
                                changed to PLACEHOLD ASSOC PC PROVIDER and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,57    PLACEHOLD AS PC PROV PERSON CL 1;34 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:      This field, previously known as ASSOCIATE PC PROV PERSON CLASS, is no longer needed. The name has
                                been changed to PLACEHOLD AS PC PROV PERSON CL and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,58    PLACEHOLDER            1;35 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      APR 26, 2007 
              HELP-PROMPT:      Answer must be 1-8 characters in length. 
              DESCRIPTION:
                                Currently NULL.  

              TECHNICAL DESCR:
                                Currently NULL.  


727.827,59    DOM,PRRTP AND SAARTP INDICATOR 1;36 SET

                                'P' FOR GEN. PRRTP; 
                                'T' FOR PTSD PRRTP; 
                                'S' FOR DOM. PRRTP; 
                                'H' FOR HOMELESS CWT/TR; 
                                'A' FOR SA CWT/TR; 
                                'D' FOR DOMICILIARY; 
                                'B' FOR PTSD CWT/TR; 
                                'C' FOR GEN. CET/TR; 
              LAST EDITED:      JUN 06, 2012 
              HELP-PROMPT:      Enter the indicator associated with the treating specialty assigned to this record. 
              DESCRIPTION:      Indicates if the patient is admitted to either a RRTP, PRRTP, or SARRTP at the time care is
                                provided.  

              TECHNICAL DESCR:  If the patient's treating specialty exists in the DSS TREATING SPECIALTY TRANSLATION (#727.831)
                                file, data is derived from the DOM/PRRTP/SARRTP CODE field (#2) of the DSS TREATING SPECIALTY
                                TRANSLATION (#727.831) file.  
                                 
                                Otherwise, the value is null.  


727.827,60    ENROLLMENT CATEGORY    1;37 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 1 character in length. 
              DESCRIPTION:
                                Patient's enrollment category.  

              TECHNICAL DESCR:  ENROLLMENT CATEGORY is derived from the standard call $$CATEGORY^DGENA4 using the patient's DFN and
                                the ENROLLMENT STATUS (#61) field.  


727.827,61    ENROLLMENT STATUS      2;1 POINTER TO ENROLLMENT STATUS FILE (#27.15)

              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Enter patient's enrollment status. 
              DESCRIPTION:
                                Patient's enrollment status.  

              TECHNICAL DESCR:  ENROLLMENT STATUS is derived from the standard call $$STATUS^DGENA using the patient's DFN and
                                returns the ENROLLMENT STATUS field (#.04) of the PATIENT ENROLLMENT file (#27.11). 


727.827,62    SHAD STATUS            2;2 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      FEB 11, 2010 
              HELP-PROMPT:      Enter SHAD Status. 
              DESCRIPTION:
                                Indicates whether patient meets requirements for Shipboard Hazard and Defense (SHAD).  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), Shipboard Hazard and Defense data is derived from using DBIA #4462
                                GETSHAD^DGUTL3(DFN).  


727.827,63    PURPLE HEART INDICATOR 2;3 SET

              Purple Heart Indicator   
                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      OCT 09, 2002 
              HELP-PROMPT:      Enter the Purple Heart Indicator for the patient. 
              DESCRIPTION:
                                Indicates whether or not a patient is a Purple Heart recipient. 

              TECHNICAL DESCR:  PATIENT file (#2); CURRENT PH INDICATOR field (#.531).  The status indicator is returned by
                                SVC^VADPT.  


727.827,64    PERIOD OF SERVICE      2;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      MAY 09, 2000 
              HELP-PROMPT:      Answer must be 1 character in length. 
              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 CLINIC EXTRACT
                                file (#727.827), 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.  
                                 
                                The veteran's period of service indicator is returned by ELIG^VADPT.  


727.827,65    OBSERVATION PATIENT INDICATOR 2;5 SET

                                'NO' FOR NO; 
                                'YES' FOR YES; 
              LAST EDITED:      JUN 06, 2012 
              HELP-PROMPT:      Enter observation patient status for this record. 
              DESCRIPTION:
                                Indicates if patient is considered to be an observation patient.  

              TECHNICAL DESCR:  Data (YES, NO) is retrieved from API call $$OBSPAT^ECXUTL4: 
                                 
                                If the patient's treating specialty exists in the DSS TREATING SPECIALTY TRANSLATION file
                                (#727.831), data is derived from the OBSERVATION PAT INDICATOR field (#4) of the DSS TREATING
                                SPECIALTY TRANSLATION file (#727.831).  
                                 
                                If patient is outpatient and treating specialty not in file, AND Feeder Key (CLI) or DSS ID
                                (MTL,IVP,ECQ,NOS,SUR) is 290-297, Observation Patient Ind=YES.  Else, Observation Patient Ind=NO.  
                                 
                                Otherwise, Observation Patient Ind=NO.  


727.827,66    ENCOUNTER NUMBER       2;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>18!($L(X)<1) X
              LAST EDITED:      MAY 03, 2001 
              HELP-PROMPT:      Answer must be 1-18 characters in length. 
              DESCRIPTION:
                                The unique number assigned for DSS.  

              TECHNICAL DESCR:  This field is determined by a call to $$ENCNUM^ECXUTL4.  Within this call the inpatient/outpatient
                                status, SSN, admit/visit date, treating specialty, observation patient indicator, and DSS
                                Identifier or feeder key values of the record are used to create a unique encounter number.  


727.827,67    AGENT ORANGE LOCATION  2;7 SET

                                'B' FOR BLUE WATER NAVY; 
                                'K' FOR KOREAN DMZ; 
                                'V' FOR VIETNAM; 
                                'T' FOR THAILAND(U.S. OR ROYAL THAI MIL BASE); 
                                'L' FOR LAOS; 
                                'C' FOR CAMBODIA(MIMOT OR KREK,KAMPONG CHAM); 
                                'G' FOR GUAM, AMERICAN SAMOA, OR TERRITORIAL WATERS; 
                                'J' FOR JOHNSTON ATOLL; 
                                'O' FOR OTHER; 
              LAST EDITED:      JUN 09, 2023 
              HELP-PROMPT:      Choose the location where the patient was exposed to Agent Orange. 
              DESCRIPTION:      This field indicates the location where the patient was exposed to Agent Orange. Values are: 
                                    "B" = BLUE WATER NAVY 
                                    "K" = KOREAN DMZ 
                                    "V" = VIETNAM 
                                    "T" = THAILAND(U.S. OR ROYAL THAI MIL BASE) 
                                    "L" = LAOS 
                                    "C" = CAMBODIA(MIMOT OR KREK,KAMPONG CHAM) 
                                    "G" = GUAM, AMERICAN SAMOA, OR TERRITORIAL WATERS 
                                    "J" = JOHNSTON ATOLL 
                                    "O" = OTHER 

              TECHNICAL DESCR:  The location is returned by a call to SVC^VADPT which gets its data from the AGENT ORANGE EXPOSURE
                                LOCATION field (#.3213) of the PATIENT file (#2). 


727.827,68    PRODUCTION DIVISION CODE 2;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<3) X
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Answer must be 3-7 characters in length. 
              DESCRIPTION:
                                Identifies the division/facility where the work was performed.  

              TECHNICAL DESCR:  Data comes from the DIVISION field (#3.5) of the HOSPITAL LOCATION file (#44), which is a pointer
                                to the MEDICAL CENTER DIVISION file (#40.8). This value is then used to call the API GETDIV^ECXDEPT
                                to get the STATION NUMBER field (#99) from the INSTITUTION file (#4).  


727.827,69    APPOINTMENT TYPE       2;9 SET

              Appointment Type   
                                '1' FOR COMPENSATION & PENSION; 
                                '2' FOR CLASS II DENTAL; 
                                '3' FOR ORGAN DONORS; 
                                '4' FOR EMPLOYEE; 
                                '5' FOR PRIMA FACIA; 
                                '6' FOR RESEARCH; 
                                '7' FOR COLLATERAL OF VET.; 
                                '8' FOR SHARING AGREEMENT; 
                                '9' FOR REGULAR; 
                                '10' FOR COMPUTER GENERATED; 
              LAST EDITED:      OCT 09, 2002 
              HELP-PROMPT:      Enter the type of appointment this patient has. 
              DESCRIPTION:
                                Indicates the type of appointment the patient is scheduled for.  

              TECHNICAL DESCR:  Obtained from the PATIENT file (#2), APPOINTMENT sub-file (#2.98), APPOINTMENT TYPE field (#9.5)
                                which is a pointer to the APPOINTMENT TYPE FILE (#409.1).  


727.827,70    PURPOSE OF VISIT       2;10 SET

              Purpose of Visit   
                                '1' FOR C&P Exam; 
                                '2' FOR 10-10; 
                                '3' FOR Scheduled Appointment; 
                                '4' FOR Unscheduled Visit; 
              LAST EDITED:      OCT 09, 2002 
              HELP-PROMPT:      Enter the reason for this appointment. 
              DESCRIPTION:      Indicates the reason the patient has an appointment.  Choices are: 
                                                 '1' FOR C&P; 
                                                 '2' FOR 10-10; 
                                                 '3' FOR SCHEDULED VISIT; 
                                                 '4' FOR UNSCHED. VISIT; 

              TECHNICAL DESCR:
                                Obtained from the PATIENT file (#2), APPOINTMENT sub-file (#2.98), PURPOSE OF VISIT field (#9).  


727.827,71    PLACEHOLD MEANS TEST   2;11 SET

              Means Test   
              LAST EDITED:      FEB 13, 2020 
              HELP-PROMPT:      Select the appropriate means test category. 
              DESCRIPTION:      This field, previously known as MEANS TEST, is no longer needed. The name has been changed to
                                PLACEHOLD MEANS TEST and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*178.  


727.827,72    HEAD & NECK CANCER INDICATOR 2;12 SET

              Head and Neck Cancer Indicator   
                                '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 patient has 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).  


727.827,73    PLACEHOLD ETHNICITY    2;13 FREE TEXT

              Ethnicity   
              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
              LAST EDITED:      MAR 15, 2018 
              HELP-PROMPT:      Answer must be 1-6 characters in length 
              DESCRIPTION:      This field, previously known as ETHNICITY, is no longer needed.  The name has been changed to
                                PLACEHOLD ETHNICITY and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,74    PLACEHOLD RACE 1       2;14 FREE TEXT

              Race 1   
              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
              LAST EDITED:      MAR 15, 2018 
              HELP-PROMPT:      Answer must be 1-6 characters in length. 
              DESCRIPTION:      This field, previously known as RACE 1, is no longer needed.  The name has been changed to
                                PLACEHOLD RACE 1 and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,75    CBOC STATUS INDICATOR  2;15 SET

              CBOC Status Indicator   
                                'Y' FOR YES; 
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Indicate if the patient was seen at a Community Based Outpatient Clinic (CBOC). 
              DESCRIPTION:
                                Indicates if the patient was seen at a Community Based Outpatient Clinic (CBOC).  

              TECHNICAL DESCR:  CBOC STATUS is set to yes if the NAME field (#.01) of the FACILITY TYPE file (#4.1) as pointed to
                                by the FACILITY TYPE field (#13) of the INSTITUTION file as pointed to by the INSTITUTION FILE
                                POINTER field (#.07) of the MEDICAL CENTER DIVISION file (#40.8) is equal to CBOC.  


727.827,76    PLACEHOLD DSS IP #     2;16 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      FEB 04, 2019 
              HELP-PROMPT:      Type a Number between 1 and 9999999, 0 Decimal Digits. 
              DESCRIPTION:      This field, previously known as DSS IP #, is no longer needed. The name has been changed to
                                PLACEHOLD DSS IP # and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*174.  


727.827,77    ENROLLMENT PRIORITY    2;17 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>2!($L(X)<1) X
              LAST EDITED:      FEB 26, 2004 
              HELP-PROMPT:      Answer must be 1-2 characters in length. 
              DESCRIPTION:
                                This field contains the enrollment priority group and the enrollment priority subgroup.  

              TECHNICAL DESCR:  ENROLLMENT PRIORITY field contains the enrollment priority group and the enrollment priority
                                subgroup from the Patient Enrollment File #27.11. 
                                 
                                ENROLLMENT PRIORITY Groups determined for a patient enrollment include: 
                                 
                                                                '1' FOR GROUP 1 
                                                                '2' FOR GROUP 2 
                                                                '3' FOR GROUP 3 
                                                                '4' FOR GROUP 4 
                                                                '5' FOR GROUP 5 
                                                                '6' FOR GROUP 6 
                                                                '7' FOR GROUP 7 
                                                                '8' FOR GROUP 8 
                                 
                                ENROLLMENT PRIORITY Subgroups determined for a patient enrollment include: 
                                 
                                                                'a' FOR 1 
                                                                'c' FOR 3 
                                                                'e' FOR 5 
                                                                'g' FOR 7   


727.827,78    USER ENROLLEE          2;18 SET

                                'U' FOR USER ENROLLED; 
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Enter patient's current enrollment status. 
              DESCRIPTION:
                                Indicates whether a Veteran has User Enrollee status for the current or future fiscal year.  

              TECHNICAL DESCR:  User enrollee is determined by checking the PATIENT ENROLLMENT file (#27.11). When a user has a
                                current or future fiscal year in the VistA User Enrollee Status field (#.04) the value is set to
                                'U' and Null if no date or a past year's value is contained. Determined by the use of an API: 
                                $$UESTAT^EASUSER where the Patient Identifier (DFN) is passed in.  


727.827,79    PATIENT TYPE           2;19 SET

                                'AC' FOR ACTIVE DUTY; 
                                'AL' FOR ALLIED VETERAN; 
                                'CO' FOR COLLATERAL; 
                                'EM' FOR EMPLOYEE; 
                                'IN' FOR INELIGIBLE; 
                                'MI' FOR MILITARY RETIREE; 
                                'NO' FOR NON-VETERAN (OTHER); 
                                'NS' FOR NSC VETERAN; 
                                'SC' FOR SC VETERAN; 
                                'TR' FOR TRICARE; 
              LAST EDITED:      FEB 26, 2004 
              HELP-PROMPT:      Enter type of patient. 
              DESCRIPTION:      Refers to the various types of patient which may be seen at a VA facility.  Every patient in the
                                system must have a TYPE specified.  

              TECHNICAL DESCR:  PATIENT TYPE is derived from a call to TYPE^ECXUTL5(DFN). Using the patient's DFN, the NAME field
                                (#.01) of the TYPE OF PATIENT file (#391) as pointed to by the TYPE field (#391) of the PATIENT
                                file (#2) is shortened to the first two characters to determine the value stored in the PATIENT 
                                TYPE field (#79).  


727.827,80    CV STATUS ELIGIBILITY  2;20 SET

                                'Y' FOR YES; 
                                'E' FOR ELIGIBILITY EXPIRED; 
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Enter patient's combat veteran eligibility. 
              DESCRIPTION:      Records if veteran served on active duty in a theater of combat operations during a period of war
                                after the Persian Gulf War or in combat against a hostile force during a period of hostilities
                                after November 11, 1998.  

              TECHNICAL DESCR:  CV STATUS ELIGIBILITY is determined by the use of API $$CVEDT^DGCV(DFN,DATE) that checks the COMBAT
                                VET END DATE field (#.5295) from the PATIENT file (#2) to determine CV Status.  API returns three 
                                pieces (i.e. 1^20010106^0) and the first piece is resolved as follows.  
                                 
                                  1 - veteran qualifies as a CV 
                                  0 - veteran does not qualify as a CV 
                                 -1 - bad DFN 
                                 
                                Based on this result the field will be set to 'Y' for 'YES' or 'E' for 'ELIGIBILITY EXPIRED' or
                                'NULL' for not eligible.  


727.827,81    CV ELIGIBILITY END DATE 2;21 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Answer must be 8 characters in length. 
              DESCRIPTION:      Records the Combat Veteran eligibility expiration date of veteran who served on active duty in a
                                theater of combat operations during a period of war after the Persian Gulf War or in combat against
                                a hostile force during a period of hostilities after November 11, 1998.  

              TECHNICAL DESCR:  CV ELIGIBILITY END DATE is determined by the use of API $$CVEDT^DGCV(DFN,DATE) that checks the
                                COMBAT VET END DATE field (#.5295) from the PATIENT file (#2) to determine CV Status.  API returns
                                three pieces (i.e. 1^20010106^0) the 2nd piece is the COMBAT VET END DATE in HL7 format.  


727.827,82    ENCOUNTER CV           2;22 SET

                                'Y' FOR YES; 
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Enter patient's combat veteran eligibility.  
              DESCRIPTION:      Records if a veteran served on active duty in a theater of combat operations during a period of war
                                after the Persian Gulf War or in combat against a hostile force during a period of hostilities
                                after November 11, 1998.  

              TECHNICAL DESCR:  ENCOUNTER CV is determined by the use of API $$CVEDT^DGCV(DFN,DATE) that checks the COMBAT VET END
                                DATE field (#.5295) from the PATIENT file (#2) to determine CV Status.  API returns three pieces
                                (i.e. 1^20100106^0). The third piece returns: 
                                 
                                 1 - vet was eligible on date specified 
                                 0 - vet was not eligible on date specified 
                                 
                                Based on these returns, the value for this field shall be Y for Yes if value is 1 or left blank if
                                0 to indicate ineligibility.  


727.827,83    PLACEHOLD NAT'L PAT REC FLAG 2;23 SET

                                'Y' FOR YES; 
              LAST EDITED:      FEB 04, 2019 
              HELP-PROMPT:      Indicate if patient is associated with a category 1 patient record flag. 
              DESCRIPTION:      This field, previously known as NATIONAL PATIENT RECORD FLAG, is no longer needed. The name has
                                been changed to PLACEHOLD NAT'L PAT REC FLAG and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*174.  


727.827,84    SW ASIA CONDITIONS     2;24 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      MAY 27, 2009 
              HELP-PROMPT:      Enter patient's Southwest Asia Indicator status. 
              DESCRIPTION:
                                This field is used to indicate if patient claims exposure to Southwest Asia Conditions.  

              TECHNICAL DESCR:  This field is derived from the SOUTHWEST ASIA CONDITIONS? field (#.322013) in the PATIENT file (#2)
                                using the patient's DFN.  The status indicator is returned by SVC^VADPT which is called by
                                PAT^ECXUTL3.  


727.827,85    ENCOUNTER SWAC         2;25 SET

                                'Y' FOR YES; 
              LAST EDITED:      MAY 13, 2009 
              DESCRIPTION:      This field indicates whether treatment provided during this patient encounter is related to
                                exposure to Southwest Asia conditions while serving in the Southwest Asia Theater of operations.  

              TECHNICAL DESCR:  Using the pointer to the VISIT file (#90000.10) a call to the PCE API ENCEVENT^PXAPI is made. This
                                call returns visit data including whether the visit was related to the patient's exposure to
                                Southwest Asia conditions while serving in the Southwest Asia Theater of operations.  


727.827,86    ERI                    2;26 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>2!($L(X)<1) X
              MAXIMUM LENGTH:   2
              LAST EDITED:      MAY 05, 2020 
              HELP-PROMPT:      Answer must be 1-2 characters in length. 
              DESCRIPTION:      This field identifies patients from impacted zip code areas designated by the Federal Emergency
                                Management Agency (FEMA).  

              TECHNICAL DESCR:  This field is extracted from the EMERGENCY RESPONSE INDICATOR field (#.181) located in the PATIENT
                                file (#2). Values are: 
                                    "K" = Hurricane Katrina 
                                    "P" = Pandemic 
                                    Null 


727.827,87    ENC HEAD/NECK CA       2;27 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Indicate if service provided is related to head and/or neck cancer. 
              DESCRIPTION:
                                Indicates whether service provided during this patient encounter is related to head/neck Cancer.  

              TECHNICAL DESCR:  Using the VISIT FILE ENTRY field (#.05) in the OUTPATIENT ENCOUNTER file (#409.68) a call is made
                                to API VISIT^ECXSCX1 which in turn calls ENCEVENT^PXAPI. The ENCEVENT^PXAPI returns the head/neck
                                cancer data stored at the HEAD AND/OR NECK CANCER field (#80006) in the VISIT file (#9000010). The
                                value will be stored in the output array subscripted by "HNC".  


727.827,88    OEF/OIF                2;28 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>9!($L(X)<1) X
              LAST EDITED:      MAY 02, 2007 
              HELP-PROMPT:      Answer must be 1-9 characters in length. 
              DESCRIPTION:      The Military Operation in which the patient was in combat during the specified time period. This
                                field is a length of nine characters and reflects the OEF or OIF where this patient was in combat.  

              TECHNICAL DESCR:  The Military Operation in which the patient was in combat during the specified time period. This
                                field is a length of nine characters and reflects the OEF or OIF where this patient was in combat.
                                The value of this field is derived from the LOCATION OF SERVICE field (#.01) from SERVICE [OEF OR
                                OIF] sub-file (#2.3215) of field (#.3215) located in the PATIENT File (#2).  DSS will capture once,
                                each location where the veteran served. In order to accommodate multiple locations, the values for
                                this field are concatenated into this 9-character field. Possible field values are one or more
                                combinations of the following: OEF =  Operation Enduring Freedom OIF  =  Operation Iraqi Freedom 
                                UNK =  Unknown OEF/OIF 


727.827,89    OEF/OIF RETURN DATE    2;29 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      MAY 02, 2007 
              HELP-PROMPT:      Answer must be 1-8 characters in length. 
              DESCRIPTION:      The date the patient left the OEF/OIF area, if known. Otherwise, it is the end date of military pay
                                for this OEF/OIF deployment. 

              TECHNICAL DESCR:  The date the patient left the OEF/OIF area, if known. Otherwise, it is the end date of military pay
                                for this OEF/OIF deployment. This date field has a format equal to YYYYMMDD.  The value of this
                                field is derived from the OEF/OIF TO DATE field (#.03) from sub-file (#2.3215) of field (#.3215)
                                located in the PATIENT file (#2).  In cases of multiple OEF/OIF tours, this field contains only
                                most recent return date. 


727.827,90    PLACEHOLD ASSOC PC PROV NPI 2;30 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
              LAST EDITED:      MAY 01, 2018 
              HELP-PROMPT:      Answer must be 1-15 characters in length. 
              DESCRIPTION:      This field, previously known as ASSOCIATE PC PROVIDER NPI, is no longer needed.  The name has been
                                changed to PLACEHOLD ASSOC PC PROV NPI and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170. 


727.827,91    PLACEHOLD PC PROVIDER NPI 2;31 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
              LAST EDITED:      APR 30, 2018 
              HELP-PROMPT:      Answer must be 1-15 characters in length. 
              DESCRIPTION:      This field, previously known as PRIMARY CARE PROVIDER NPI, is no longer needed. The name has been
                                changed to PLACEHOLD PC PROVIDER NPI and its value will be set to null.  

              TECHNICAL DESCR:
                                This field is no longer in use as of patch ECX*3*170.  


727.827,92    PROVIDER NPI           2;32 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
              LAST EDITED:      MAY 02, 2007 
              HELP-PROMPT:      Answer must be 1-15 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the individuals providing health care services. This
                                field has a length of fifteen characters.  

              TECHNICAL DESCR:  A standard unique life-long identifier of the individuals providing health care services. This
                                field has a length of fifteen characters.  The qualified identifier is retrieved via the supporting
                                Kernel API: $$NPI^XUSNPI.  


727.827,93    COUNTRY CODE           3;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              LAST EDITED:      JUN 09, 2009 
              HELP-PROMPT:      The code for the country.  Answer must be 1-3 characters in length. 
              DESCRIPTION:
                                The code for the country associated with the address.  

              TECHNICAL DESCR:  The three-character alpha identifying code is copied from the CODE field (#.01) of the COUNTRY CODE
                                file (#779.004).  


727.827,94    ENCOUNTER SHAD         3;2 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      SEP 01, 2010 
              HELP-PROMPT:      Encounter related to treatment for PROJ 112/SHAD condition.  
              DESCRIPTION:      Indicates if treatment provided during the patient's encounter is related to the Shipboard Hazard
                                And Defense (SHAD) condition.  

              TECHNICAL DESCR:  Using the VISIT FILE ENTRY field (#.05) in the OUTPATIENT ENCOUNTER file (#409.68) a call is made
                                to API VISIT^ECXSCX1 which in turn calls ENCEVENT^PXAPI.  The ENCEVENT^PXAPI returns the Shipboard
                                Hazard and Defense conditions indicator stored at the PROJ 112/SHAD field (#80008) in the VISIT
                                file (#9000010).  The value will be stored in the output array subscripted by "SHAD".  


727.827,95    PATCAT                 3;3 SET

                                'AD' FOR Active Duty; 
                                'ADD' FOR Active Duty Dependent; 
                                'FNRS' FOR Former Non-Remarried Spouse; 
                                'RET' FOR Retired; 
                                'RETD' FOR Retiree Dependent; 
                                'RES' FOR Reservist; 
                                'REC' FOR Recruit; 
                                'TDRL' FOR Temporary Disability; 
                                'TFL' FOR TRICARE for Life; 
              LAST EDITED:      SEP 03, 2010 
              HELP-PROMPT:      Select the Patient's Category for the FHCC Reconciliation process. 
              DESCRIPTION:      This is the Patient's category which will be used for FHCC (Federal Health Care Center)
                                Reconciliation.  DSS must capture and report DoD patients so that the FHCC reconciliation process
                                can function as designed. "Reconciliation" is the process used within the new FHCC to determine
                                which patients DoD pays for and which VA pays for.  

              TECHNICAL DESCR:  If the VistA Patient Type Code (TYPE field (#391) of the Patient file (#2) 
                                 = Active Duty, Military Retiree, or TRICARE, then the value(s) in the VistA Other  Eligibility
                                multiple (PATIENT ELIGIBILITIES field (#361) of the PATIENT file (#2), which points to locally
                                modifiable ELIGIBILITY CODE file (#8) should be evaluated. If the value in the ELIGIBILITY CODE is
                                equal to any entry in the set of codes in this field, the value should be placed in this field.  


727.827,96    SECONDARY PROVIDER #1  3;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      The first assisting provider associated with this clinic visit (2-11 chars). 
              DESCRIPTION:      This character string is an IEN for the NEW PERSON file (#200); a '2' has been appended to the
                                beginning of the character string.  It represents the first assisting provider associated with this
                                clinic visit. 

              TECHNICAL DESCR:  Data is derived by making a call to the ENCEVENT^PXAPI (DBIA1889-F) API using the clinic encounter,
                                returning the secondary provider IEN.  
                                 
                                A character string of format "2"_IEN, where IEN is the internal entry number for the secondary
                                provider in the NEW PERSON file (#200).  


727.827,97    SECONDARY PROVIDER #1 PC 3;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA code of the Person Class of the first assisting provider as of the date of this record.  

              TECHNICAL DESCR:  Derived by calling $$PRVCLASS^ECXUTL(IEN,DATE), where IEN is the IEN of the NEW PERSON file (#200). 
                                Copied from the VA CODE field (#5) of the PERSON CLASS file (#8932.1), as pointed to by the Person
                                Class field (#.01) of the PERSON CLASS field (#8932.1) multiple of the NEW PERSON file (#200).  


727.827,98    SECONDARY PROVIDER #1 NPI 3;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      MAR 24, 2011 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the first assisting provider associated with this clinic
                                visit.  

              TECHNICAL DESCR:
                                The NPI is retrieved via the supporting Kernel API: $$NPI^XUSNPI.  


727.827,99    SECONDARY PROVIDER #2  3;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      The second assisting provider associated with this clinic visit (2-11 chars). 
              DESCRIPTION:      This character string is an IEN for the NEW PERSON file (#200); a '2' has been appended to the
                                beginning of the character string.  It represents the second assisting provider associated with
                                this clinic visit.  

              TECHNICAL DESCR:  Data is derived by making a call to the ENCEVENT^PXAPI (DBIA1889-F) API using the clinic encounter,
                                returning the secondary provider IEN.  
                                 
                                A character string of format "2"_IEN, where IEN is the internal entry number for the secondary
                                provider in the NEW PERSON file (#200).  


727.827,100   SECONDARY PROVIDER #2 PC 3;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA code of the Person Class of the second assisting provider as of the date of this record.  

              TECHNICAL DESCR:  Derived by calling $$PRVCLASS^ECXUTL(IEN,DATE), where IEN is the IEN of the NEW PERSON file (#200).
                                Copied from field VA CODE field (#5) of the PERSON CLASS file (#8932.1), as pointed to by the
                                Person Class field (#.01) of the PERSON CLASS field (#8932.1) multiple of the NEW PERSON file 
                                (#200).  


727.827,101   SECONDARY PROVIDER #2 NPI 3;9 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      MAR 24, 2011 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the second assisting provider associated with this clinic
                                visit.  

              TECHNICAL DESCR:
                                The NPI is retrieved via the supporting Kernel API: $$NPI^XUSNPI.  


727.827,102   SECONDARY PROVIDER #3  3;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      The third assisting provider associated with this clinic visit (2-11 chars). 
              DESCRIPTION:      This character string is an IEN for the NEW PERSON file (#200); a '2' has been appended to the
                                beginning of the character string.  It represents the third assisting provider associated with this
                                clinic visit.  

              TECHNICAL DESCR:  Data is derived by making a call to the ENCEVENT^PXAPI (DBIA1889-F) API using the clinic encounter,
                                returning the secondary provider IEN.  
                                 
                                A character string of format "2"_IEN, where IEN is the internal entry number for the secondary
                                provider in the NEW PERSON file (#200).  


727.827,103   SECONDARY PROVIDER #3 PC 3;11 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA code of the Person Class of the third assisting provider as of the date of this record.  

              TECHNICAL DESCR:  Derived by calling $$PRVCLASS^ECXUTL(IEN,DATE), where IEN is the IEN of the NEW PERSON file (#200).
                                Copied from field VA CODE field (#5) of the PERSON CLASS file (#8932.1), as pointed to by the
                                Person Class field (#.01) of the PERSON CLASS field (#8932.1) multiple of the NEW PERSON file 
                                (#200).  


727.827,104   SECONDARY PROVIDER #3 NPI 3;12 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      MAR 24, 2011 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the third assisting provider associated with this clinic
                                visit.  

              TECHNICAL DESCR:
                                The NPI is retrieved via the supporting Kernel API: $$NPI^XUSNPI.  


727.827,105   SECONDARY PROVIDER #4  3;13 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      The fourth assisting provider associated with this clinic visit (2-11 chars). 
              DESCRIPTION:      This character string is an IEN for the NEW PERSON file (#200); a '2' has been appended to the
                                beginning of the character string.  It represents the fourth assisting provider associated with
                                this clinic visit.  

              TECHNICAL DESCR:  Data is derived by making a call to the ENCEVENT^PXAPI (DBIA1889-F) API using the clinic encounter,
                                returning the secondary provider IEN.  
                                 
                                A character string of format "2"_IEN, where IEN is the internal entry number for the secondary
                                provider in the NEW PERSON file (#200).  


727.827,106   SECONDARY PROVIDER #4 PC 3;14 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA code of the Person Class of the fourth assisting provider as of the date of this record.  

              TECHNICAL DESCR:  Derived by calling $$PRVCLASS^ECXUTL(IEN,DATE), where IEN is the IEN of the NEW PERSON file (#200).
                                Copied from field VA CODE field (#5) of the PERSON CLASS file (#8932.1), as pointed to by the
                                Person Class field (#.01) of the PERSON CLASS field (#8932.1) multiple of the NEW PERSON file 
                                (#200).  


727.827,107   SECONDARY PROVIDER #4 NPI 3;15 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      MAR 24, 2011 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the fourth assisting provider associated with this clinic
                                visit.  

              TECHNICAL DESCR:
                                The NPI is retrieved via the supporting Kernel API: $$NPI^XUSNPI.  


727.827,108   SECONDARY PROVIDER #5  3;16 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      The fifth assisting provider associated with this clinic visit (2-11 chars). 
              DESCRIPTION:      This character string is an IEN for the NEW PERSON file (#200); a '2' has been appended to the
                                beginning of the character string.  It represents the fifth assisting provider associated with this
                                clinic visit.  

              TECHNICAL DESCR:  Data is derived by making a call to the ENCEVENT^PXAPI (DBIA1889-F) API using the clinic encounter,
                                returning the secondary provider IEN.  
                                 
                                A character string of format "2"_IEN, where IEN is the internal entry number for the secondary
                                provider in the NEW PERSON file (#200).  


727.827,109   SECONDARY PROVIDER #5 PC 3;17 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAR 10, 2011 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA code of the Person Class of the fifth assisting provider as of the date of this record.  

              TECHNICAL DESCR:  Derived by calling $$PRVCLASS^ECXUTL(IEN,DATE), where IEN is the IEN of the NEW PERSON file (#200).
                                Copied from field VA CODE field (#5) of the PERSON CLASS file (#8932.1), as pointed to by the
                                Person Class field (#.01) of the PERSON CLASS field (#8932.1) multiple of the NEW PERSON file 
                                (#200).  


727.827,110   SECONDARY PROVIDER #5 NPI 3;18 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      MAR 24, 2011 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the fifth assisting provider associated with this clinic
                                visit.  

              TECHNICAL DESCR:
                                The NPI is retrieved via the supporting Kernel API: $$NPI^XUSNPI.  


727.827,111   ED DISPOSITION CODE    3;19 SET

                                'A' FOR ADMIT; 
                                'D' FOR DECEASED; 
                                'E' FOR ERROR; 
                                'L' FOR LEFT; 
                                'R' FOR REFERRED; 
                                'T' FOR TRANSFERRED; 
                                'U' FOR UNKNOWN; 
                                'N' FOR NONE; 
              LAST EDITED:      MAR 02, 2012 
              HELP-PROMPT:      Enter the disposition code for the emergency room visit. 
              DESCRIPTION:
                                Disposition code associated with the patient's emergency room visit.  

              TECHNICAL DESCR:  The emergency room disposition is derived by calling $$EDIS^ECXUTL, which uses the VISIT field
                                (#.12) of the ED LOG file (#230) to determine if the patient was seen in the emergency department
                                (based on stop code) as part of their visit. If the patient was seen in the emergency department
                                then the NAME field (#.01) of the TRACKING CODE file (#233.1) as pointed to by the DISPOSITION
                                field (#1.2) of the ED LOG file (#230) is used to identify the disposition code.  


727.827,112   PRIMARY ICD-10 CODE    3;20 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      MAR 04, 2012 
              HELP-PROMPT:      Enter the ICD-10 code for this visit (1-8 characters). 
              DESCRIPTION:
                                The primary ICD-10 code for this clinic visit.  

              TECHNICAL DESCR:  The PRIMARY ICD-10 CODE is derived by a call to VISIT^ECXSCX1, which in turn calls ENCEVENT^PXAPI,
                                which returns the CPT codes associated with the visit.  The CPT codes come from the POV field
                                (#.01) of the V POV file (#9000010.07).  


727.827,113   SECONDARY ICD-10 CODE #1 3;21 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      MAR 04, 2012 
              HELP-PROMPT:      Enter the secondary ICD-10 code for this clinic visit (1-8 characters). 
              DESCRIPTION:
                                The first secondary ICD-10 code for this clinic visit.  

              TECHNICAL DESCR:  SECONDARY ICD-10 CODE #1 is derived by a call to VISIT^ECXSCX1, which in turn calls ENCEVENT^PXAPI,
                                which returns the CPT codes associated with the visit.  The CPT codes come from the POV field
                                (#.01) of the V POV file (#9000010.07).  


727.827,114   SECONDARY ICD-10 CODE #2 3;22 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      MAR 04, 2012 
              HELP-PROMPT:      Enter the secondary ICD-10 code for this clinic visit (1-8 characters). 
              DESCRIPTION:
                                The second secondary ICD-10 code for this clinic visit.  

              TECHNICAL DESCR:  SECONDARY ICD-10 CODE #2 is derived by a call to VISIT^ECXSCX1, which in turn calls ENCEVENT^PXAPI,
                                which returns the CPT codes associated with the visit.  The CPT codes come from the POV field
                                (#.01) of the V POV file (#9000010.07).  


727.827,115   SECONDARY ICD-10 CODE #3 3;23 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      MAR 04, 2012 
              HELP-PROMPT:      Enter the secondary ICD-10 code for this clinic visit (1-8 characters). 
              DESCRIPTION:
                                The third secondary ICD-10 code for this clinic visit.  

              TECHNICAL DESCR:  SECONDARY ICD-10 CODE #3 is derived by a call to VISIT^ECXSCX1, which in turn calls ENCEVENT^PXAPI,
                                which returns the CPT codes associated with the visit.  The CPT codes come from the POV field
                                (#.01) of the V POV file (#9000010.07).  


727.827,116   SECONDARY ICD-10 CODE #4 3;24 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
              LAST EDITED:      MAR 04, 2012 
              HELP-PROMPT:      Enter the secondary ICD-10 code for this clinic visit (1-8 characters). 
              DESCRIPTION:
                                The fourth secondary ICD-10 code for this clinic visit.  

              TECHNICAL DESCR:  SECONDARY ICD-10 CODE #4 is derived by a call to VISIT^ECXSCX1, which in turn calls ENCEVENT^PXAPI,
                                which returns the CPT codes associated with the visit.  The CPT codes come from the POV field
                                (#.01) of the V POV file (#9000010.07).  


727.827,117   ENCOUNTER SC           3;25 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      MAR 08, 2013 
              HELP-PROMPT:      Is this Encounter Service Connected? 
              DESCRIPTION:
                                Indicates if treatment provided during this patient encounter is Service Connected.  

              TECHNICAL DESCR:  Using a pointer to the VISIT file (#9000010) a call is made to API VISIT^ECXSCX1 which in turn
                                calls ENCEVENT^PXAPI. This call returns visit data, including the SERVICE CONNECTED field (#80001)
                                in the VISIT file (#9000010).  


727.827,118   VIETNAM                3;26 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      MAR 08, 2013 
              HELP-PROMPT:      Select the appropriate Vietnam service status for this patient. 
              DESCRIPTION:
                                Indicates if patient is a Vietnam era veteran.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in this file, VIETNAM
                                data is derived from the VIETNAM SERVICE INDICATED? field (#.32101) in the PATIENT file (#2).  


727.827,119   SECONDARY PROVIDER #6  3;27 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAR 12, 2013 
              HELP-PROMPT:      Answer must be 2-11 characters in length. 
              DESCRIPTION:
                                This is the sixth assisting provider associated with this clinic visit. 

              TECHNICAL DESCR:  Data is derived by making a call to the ENCEVENT^PXAPI (DBIA1889-F) API using the clinic encounter,
                                returning the secondary provider IEN.  
                                 
                                A character string of format "2"_IEN, where IEN is the internal entry number for the secondary
                                provider in the NEW PERSON file (#200).  


727.827,120   SECONDARY PROVIDER #6 PC 3;28 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAR 12, 2013 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA code of the Person Class of the sixth assisting provider as of the date of this record.  

              TECHNICAL DESCR:  Derived by calling $$PRVCLASS^ECXUTL(IEN,DATE), where IEN is the IEN of the NEW PERSON file (#200).
                                Copied from field VA CODE field (#5) of the PERSON CLASS file (#8932.1), as pointed to by the
                                Person Class field (#.01) of the PERSON CLASS field (#8932.1) multiple of the NEW PERSON file 
                                (#200).  


727.827,121   SECONDARY PROVIDER #6 NPI 3;29 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      MAR 12, 2013 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the sixth assisting provider associated with this clinic
                                visit.  

              TECHNICAL DESCR:
                                The NPI is retrieved via the supporting Kernel API: $$NPI^XUSNPI.  


727.827,122   SECONDARY PROVIDER #7  4;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<2) X
              LAST EDITED:      MAR 12, 2013 
              HELP-PROMPT:      Answer must be 2-11 characters in length. 
              DESCRIPTION:
                                This is the seventh assisting provider associated with this clinic visit. 

              TECHNICAL DESCR:  Data is derived by making a call to the ENCEVENT^PXAPI (DBIA1889-F) API using the clinic encounter,
                                returning the secondary provider IEN.  
                                 
                                A character string of format "2"_IEN, where IEN is the internal entry number for the secondary
                                provider in the NEW PERSON file (#200).  


727.827,123   SECONDARY PROVIDER #7 PC 4;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7) X
              LAST EDITED:      MAR 12, 2013 
              HELP-PROMPT:      Answer must be 7 characters in length. 
              DESCRIPTION:
                                The VA code of the Person Class of the seventh assisting provider as of the date of this record.  

              TECHNICAL DESCR:  Derived by calling $$PRVCLASS^ECXUTL(IEN,DATE), where IEN is the IEN of the NEW PERSON file (#200).
                                Copied from field VA CODE field (#5) of the PERSON CLASS file (#8932.1), as pointed to by the
                                Person Class field (#.01) of the PERSON CLASS field (#8932.1) multiple of the NEW PERSON file 
                                (#200).  


727.827,124   SECONDARY PROVIDER #7 NPI 4;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<10) X
              LAST EDITED:      MAR 12, 2013 
              HELP-PROMPT:      Answer must be 10 characters in length. 
              DESCRIPTION:      A standard unique life-long identifier of the seventh assisting provider associated with this
                                clinic visit.  

              TECHNICAL DESCR:
                                The NPI is retrieved via the supporting Kernel API: $$NPI^XUSNPI.  


727.827,125   CAMP LEJEUNE STATUS    4;4 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      MAR 22, 2013 
              HELP-PROMPT:      Indicate Camp Lejeune status for the patient. 
              DESCRIPTION:      Indicates if patient was exposed to contaminated water while stationed at Camp Lejeune, NC between
                                January 1, 1957 and December 31, 1987.  

              TECHNICAL DESCR:  Using the patient's DFN, a call is made to PAT^ECXUTL3, which in turn calls SVC^VADPT. This call
                                returns all service related information for a patient, including their Camp Lejeune status.  


727.827,126   ENCOUNTER CAMP LEJEUNE 4;5 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      MAR 22, 2013 
              HELP-PROMPT:      Indicate if this encounter is related to exposure at Camp Lejeune. 
              DESCRIPTION:      Indicates if episode of care is related to exposure to contaminated water while stationed at Camp
                                Lejeune, NC between January 1, 1957 and December 31, 1987.  

              TECHNICAL DESCR:  Using a pointer to the VISIT file (#9000010) a call is made to API VISIT^ECXSCX1 which in turn
                                calls ENCEVENT^PXAPI. The ENCEVENT^PXAPI returns the encounter Camp Lejeune data from the VISIT
                                file (#9000010).  


727.827,127   PRIMARY PROCEDURE      4;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<1) X
              LAST EDITED:      MAR 06, 2014 
              HELP-PROMPT:      Answer must be 1-17 characters in length. 
              DESCRIPTION:      Identifies the CPT code used during the visit that is considered to be the primary procedure.  This
                                entry will include the CPT code as well as any modifiers associated with the code.  

              TECHNICAL DESCR:  A call is made to VISIT^ECXSCX1 which in turns calls ENCEVENT^PXAPI.  This call returns data
                                related to the visit, including any assigned CPT codes and their identifiers.  Part of the data
                                returned from the PXAPI call is the PRINCIPAL PROCEDURE field (#.07) of the V CPT file 
                                (#9000010.18). If this field is set to yes then the CPT code and its modifiers are the primary
                                procedure performed during this visit and will be captured in this field.  


727.827,128   COMBAT VETERAN INDICATOR 4;7 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      MAR 06, 2014 
              HELP-PROMPT:      Enter 'YES' if this patient is a Combat Veteran. 
              DESCRIPTION:
                                Identifies if the patient served in a combat zone.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in this file, COMBAT
                                SERVICE INDICATOR data is derived from the COMBAT SERVICE INDICATED field (#.5291) in the PATIENT
                                file (#2). COMBAT SERVICE INDICATED is returned by the supported call SVC^VADPT.  


727.827,129   COMBAT VETERAN LOCATION 4;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>14!($L(X)<1) X
              LAST EDITED:      APR 03, 2014 
              HELP-PROMPT:      Answer must be 1-14 characters in length. 
              DESCRIPTION:
                                Identifies the war in which the combat service was incurred.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in this file, COMBAT
                                SERVICE LOCATION data is derived from the COMBAT SERVICE LOCATION field (#.5292) in the PATIENT
                                file (#2).  The COMBAT SERVICE LOCATION IEN is returned by the supported call SVC^VADPT, this IEN
                                is then used to retrieve the ABBREVIATION field(#1) from the POW PERIOD file (#22).  


727.827,130   CLINIC IEN             4;9 POINTER TO HOSPITAL LOCATION FILE (#44)

              LAST EDITED:      FEB 11, 2015 
              HELP-PROMPT:      Select the clinic associated with the visit. 
              DESCRIPTION:
                                The specific clinic associated with the patient encounter.  

              TECHNICAL DESCR:  For encounters, the clinic comes from the LOCATION field (#.04) of the OUTPATIENT ENCOUNTER file
                                (#409.68).  For no-shows, the clinic, as identified by the TYPE field (#2) of the HOSPITAL LOCATION
                                file (#44) is used.  


727.827,131   NEW FEEDER KEY         4;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      APR 11, 2017 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                Code that uniquely identifies a DSS product.  

              TECHNICAL DESCR:  Multiple character code in the form of SSSCCCTTT4444NLL.  The transmission style for the associated
                                clinic determines the values of the characters.  The form is as follows: 
                                 
                                 SSS  - stop code number 
                                 CCC  - credit stop code number 
                                 TTT  - length of appointment in minutes 
                                 4444 - national standard 4 character code for the clinic 
                                 N    - no show flag, 'N' if a no show appointment, otherwise zero (0) 
                                 LL   - labor code associated with the clinic 
                                 
                                Information is based on the clinic associated with the visit.  


727.827,132   PATIENT DIVISION       4;11 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<3) X
              MAXIMUM LENGTH:   7
              LAST EDITED:      JUN 29, 2017 
              HELP-PROMPT:      Enter the 3 to 7 character Station Number of the clinic where the patient was seen. 
              DESCRIPTION:
                                This field stores the Station Number of the clinic where the patient was seen.  

              TECHNICAL DESCR:  For encounters, the clinic IEN comes from the LOCATION field (#.04) of the OUTPATIENT ENCOUNTER
                                file (#409.68).  
                                                                 
                                For no-shows, the clinic IEN (as identified by the TYPE field (#2) of the HOSPITAL LOCATION file
                                (#44)) is used.  
                                                                 
                                For both, the clinic IEN is then passed to the RADDIV^ECXDEPT API to get the STATION NUMBER field
                                (#99) from the INSTITUTION file (#4).  


727.827,133   CPT, QTY & MODIFIERS #1 4;12 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The first 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,134   CPT, QTY & MODIFIERS #2 4;13 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The second 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,135   CPT, QTY & MODIFIERS #3 4;14 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The third 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,136   CPT, QTY & MODIFIERS #4 4;15 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The fourth 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,137   CPT, QTY & MODIFIERS #5 4;16 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The fifth 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,138   CPT, QTY & MODIFIERS #6 4;17 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The sixth 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,139   CPT, QTY & MODIFIERS #7 5;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The seventh 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,140   CPT, QTY & MODIFIERS #8 5;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The eighth 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,141   CPT, QTY & MODIFIERS #9 5;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The ninth 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,142   CPT, QTY & MODIFIERS #10 5;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The tenth 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,143   CPT, QTY & MODIFIERS #11 5;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The eleventh 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,144   CPT, QTY & MODIFIERS #12 5;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The twelfth 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,145   CPT, QTY & MODIFIERS #13 5;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 13th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,146   CPT, QTY & MODIFIERS #14 5;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 14th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,147   CPT, QTY & MODIFIERS #15 5;9 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 15th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,148   CPT, QTY & MODIFIERS #16 5;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 16th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,149   CPT, QTY & MODIFIERS #17 5;11 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 17th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,150   CPT, QTY & MODIFIERS #18 6;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 18th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,151   CPT, QTY & MODIFIERS #19 6;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 19th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,152   CPT, QTY & MODIFIERS #20 6;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 20th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,153   CPT, QTY & MODIFIERS #21 6;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 21st 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,154   CPT, QTY & MODIFIERS #22 6;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 22nd 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,155   CPT, QTY & MODIFIERS #23 6;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 23rd 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,156   CPT, QTY & MODIFIERS #24 6;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 24th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,157   CPT, QTY & MODIFIERS #25 6;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAY 15, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      The 25th 5-character CPT Code for the procedure performed; the Quantity, or how many times the
                                unique code appears in the record; and, up to six 2-character CPT Modifiers.  

              TECHNICAL DESCR:
                                Returned by calling ENCEVENT^PXAPI.  


727.827,158   SERVICE CONNECTED STATUS 6;9 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      JAN 24, 2019 
              HELP-PROMPT:      Indicate service connected status for the patient. 
              DESCRIPTION:
                                Indicates the patient's service connected status.  

              TECHNICAL DESCR:  Using the patient's DFN, a call is made to PAT^ECXUTL3, which in turn calls ELIG^VADPT. This call
                                returns all eligibility related information for a patient, including their service connected
                                status.  


727.827,159   NON-COUNT FLAG         6;10 SET

                                'Y' FOR YES; 
              LAST EDITED:      JAN 25, 2019 
              HELP-PROMPT:      Enter yes if clinic is non-count for workload purposes. 
              DESCRIPTION:      This field indicates if the clinic associated with the workload has been identified as a non-count
                                clinic in the HOSPITAL LOCATION file (#44).  

              TECHNICAL DESCR:  This field is obtained from the NON-COUNT CLINIC? (Y OR N) field (#2502) of the HOSPITAL LOCATION
                                file (#44) for the clinic associated with the patient's appointment or visit.  


727.827,160   PLACEHOLD CERNER1      7;1 FREE TEXT

              Admission Date   
              INPUT TRANSFORM:  K:$L(X)>335!($L(X)<1) X
              MAXIMUM LENGTH:   335
              OUTPUT TRANSFORM: NOT EXECUTABLE!!  -- SPECIFIER NEEDS AN "O"!
              LAST EDITED:      APR 29, 2022 
              HELP-PROMPT:      Answer must be 1-335 characters in length. 
              DESCRIPTION:
                                Placeholder for Cerner fields. Reserved for EHRM conversion.  

              TECHNICAL DESCR:
                                Placeholder for Cerner fields. Reserved for EHRM conversion.  


727.827,161   ADMISSION DATE         8;1 FREE TEXT

              Admission Date   
              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
              MAXIMUM LENGTH:   8
              OUTPUT TRANSFORM: S Y=$$ECXDATEX^ECXUTL(Y)
              LAST EDITED:      JUN 21, 2022 
              HELP-PROMPT:      Answer must be 8 characters in length (YYYYMMDD). 
              DESCRIPTION:
                                This 8-character numeric string represents the date when the patient's  admission occurred.  

              TECHNICAL DESCR:  A call is made to $$INP^ECXUTL2 using the patient's DFN and the date of the event. The call will
                                return the admission date/time associated with this episode of care.  
                                 
                                In the case of a patient who is ASIH OTHER FACILITY, it will be the date/time of the movement that
                                put the patient into ASIH OTHER FACILITY status. The date portion of the DATE/TIME field (#.01) of
                                the PATIENT MOVEMENT file (#405) is used to populate this field.  
                                 
                                This field is always exactly 8 numeric characters in length. The format is YYYYMMDD; for example,
                                19990723.  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.  


727.827,162   ADMISSION TIME         8;2 FREE TEXT

              Admission Time   
              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6) X
              MAXIMUM LENGTH:   6
              OUTPUT TRANSFORM: S Y=$$ECXTIMEX^ECXUTL(Y,0)
              LAST EDITED:      JUN 21, 2022 
              HELP-PROMPT:      Answer must be 6 characters in length (HHMMSS). 
              DESCRIPTION:      This 6-character numeric string represents the time of day when the patient's admission occurred. 
                                 
                                The format is HHMMSS; for example, 143010 for 2:30:10 p.m.  

              TECHNICAL DESCR:  A call is made to $$INP^ECXUTL2 using the patient's DFN and the date of the event.  The call will
                                return the admission date/time associated with this episode of care.  
                                 
                                In the case of a patient who is ASIH OTHER FACIL ITY, it will be the date/time of the movement that
                                put the patient into ASIH OTHER FACILITY status.  
                                 
                                The time portion of the DATE/TIME field (#.01) of the PATIENT MOVEMENT file (#405) is used to
                                populate this field.  
                                 
                                This field is always exactly 6 numeric characters in length.  The format is HHMMSS; for example,
                                143010. If the time cannot be determined, then a default value is used.  The default time value is
                                "000300".  


727.827,163   PLACEHOLD CERNER2      8;3 FREE TEXT

              Placehold Cerner 2   
              INPUT TRANSFORM:  K:$L(X)>172!($L(X)<1) X
              MAXIMUM LENGTH:   172
              LAST EDITED:      APR 29, 2022 
              HELP-PROMPT:      Answer must be 1-172 characters in length. 
              DESCRIPTION:
                                Placeholder for Cerner fields. Reserved for EHRM conversion.  

              TECHNICAL DESCR:
                                Placeholder for Cerner fields. Reserved for EHRM conversion.  


727.827,164   NEW MPI                8;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      APR 29, 2022 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      A national VA system IDENTIFIER which uniquely identifies a patient.  
                                 
                                Commonly called "Patient ICN" or "Patient IEN"; not to be confused with the IEN from the VistA
                                PATIENT file.  

              TECHNICAL DESCR:  Derived by calling API $$GETICN^MPIF001 (supported DBIA #2701) that returns the Integration Control
                                Number (ICN) and the ICN checksum for the given patient in the PATIENT file (#2).  


727.827,165   PROVIDER TAXONOMY      8;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>12!($L(X)<1) X
              MAXIMUM LENGTH:   12
              LAST EDITED:      MAY 02, 2022 
              HELP-PROMPT:      Answer must be 1-12 characters in length. 
              DESCRIPTION:
                                This field contains the X12 Code of the Person Class of the provider.  

              TECHNICAL DESCR:  Active Person Class is determined by the supported call $$GET^XUA4A72(PERS,DATE), where PERS is the
                                IEN from file #200 and DATE is the date of the event.  The Person Class Data is retrieved by the 
                                call to $$IEN2DATA^XUA472A(PERS) (supported by DBIA #1625).  
                                 
                                The X12 code is the 6th piece of the returned string.  


727.827,166   PROVIDER STATION       8;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              MAXIMUM LENGTH:   7
              LAST EDITED:      JUN 15, 2022 
              HELP-PROMPT:      Answer must be 1-7 characters in length. 
              DESCRIPTION:      This is the value of the PROVIDER STATION field (#14) from the CLINICS AND STOP CODES file
                                (#728.44), pointed to by the CLINIC IEN field (#130) in the CLINIC EXTRACT file (#727.827).  

              TECHNICAL DESCR:  Using the CLINIC IEN field (#130) in the CLINIC EXTRACT file (#727.827), this information is
                                derived from the PROVIDER STATION field (#14) of the CLINICS AND STOP CODES file (#728.44).  


727.827,167   FEEDER LOCATION        8;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      JUN 15, 2022 
              HELP-PROMPT:      Answer must be 1-10 characters in length. 
              DESCRIPTION:      This field contains the value of the PROVIDER STATION field (#166) in the CLINIC EXTRACT file
                                (#727.827) concatenated with the first 3 characters of the NEW FEEDER KEY field (#131).  

              TECHNICAL DESCR:  This field is derived from the value of the PROVIDER STATION field (#166) concatenated with a dash
                                '-' and the first 3 characters of the NEW FEEDER KEY field (#131). 
                                 
                                If the value of the PROVIDER STATION field (#166) is blank, use the Medical Center Division IEN
                                concatenated with the first 3 characters of the NEW FEEDER KEY field (#131).  


727.827,168   CPRS PROVIDER STATION  8;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<3) X
              MAXIMUM LENGTH:   6
              LAST EDITED:      JUN 10, 2022 
              HELP-PROMPT:      Answer must be 3-6 characters in length. 
              DESCRIPTION:
                                Placeholder of the 'OTHER STA6A' field from CPRS.  

              TECHNICAL DESCR:  Placeholder of the 'OTHER STA6A' field from CPRS.  
                                 
                                This is the station number information from CPRS when the provider is at a different station than
                                the patient. 


727.827,169   SELF IDENTIFIED GENDER 8;9 SET

                                'M' FOR Male; 
                                'F' FOR Female; 
                                'TM' FOR Transgender Male; 
                                'TF' FOR Transgender Female; 
                                'O' FOR Other; 
                                'N' FOR Does not wish to disclose; 
                                'B' FOR Non-Binary; 
              LAST EDITED:      APR 29, 2022 
              HELP-PROMPT:      Answer must be 1-2 characters in length. 
              DESCRIPTION:      The SELF IDENTIFIED GENDER value indicates the patient's personal sense of their gender identity
                                (if they choose to provide it).  
                                 
                                Self-identified gender may be the same or different as the sex assigned at birth.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (#4) in the CLINIC EXTRACT
                                file (#727.827), this data is derived from the SELF IDENTIFIED GENDER field (#.024) in the PATIENT
                                file (#2).  



      FILES POINTED TO                      FIELDS

DSS EXTRACT LOG (#727)            EXTRACT NUMBER (#2)

ENROLLMENT STATUS (#27.15)        ENROLLMENT STATUS (#61)

HOSPITAL LOCATION (#44)           *PLACEHOLDER (#11)
                                  CLINIC IEN (#130)

MEDICAL CENTER DIVISION (#40.8)   FACILITY (#3)

PATIENT (#2)                      PATIENT NO. - DFN (#4)

TEAM (#404.51)                    PLACEHOLD PRIMARY CARE TEAM (#14)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):