STANDARD DATA DICTIONARY #727.82 -- ADMISSION SETUP EXTRACT FILE                                                  6/27/25    PAGE 1
STORED IN ^ECX(727.82,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                      (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used to hold information to create data for the inpatient population on the date that a site chooses to begin using
DSS.  Data is entered into this file by a background job which identifies all patients who were in the facility on the selected
date.  Then these entries are moved, by another background job, to the ADMISSION EXTRACT file (#727.802) to be transferred to the
DSS package.  Once the transfer to the ADMISSION EXTRACT file (#727.802) is complete, data is purged from this file, and it becomes
inactive.  
 
Data elements in this file should never be entered, edited, or deleted through the VA FileMan.  
 


COMPILED CROSS-REFERENCE ROUTINE: ECX820

CROSS
REFERENCED BY: EXTRACT NUMBER(AC), SEQUENCE NUMBER(AINV), YEAR MONTH(AM)



727.82,.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:      OCT 11, 1996 
              HELP-PROMPT:      Enter a number between 1 and 999999999, 0 decimal digits. 
              DESCRIPTION:
                                The record number for this extract entry.  

              TECHNICAL DESCR:
                                The internal entry number (IEN) for this record. This entry is DINUMed.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  727.82^AINV^MUMPS 
                                1)= S ^ECX(727.82,"AINV",-X,DA)=""
                                2)= K ^ECX(727.82,"AINV",-X,DA)
                                3)= DO NOT DELETE.
                                This is an inverse entry cross reference.  It is used to find the last entry in the file.  It is
                                essential for the management of the extract and the purge of extract data.  



727.82,1      YEAR MONTH             0;2 FREE TEXT

              Year/Month   
              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>6!($L(X)<6)!'(X?6N) X
              OUTPUT TRANSFORM: S Y=$$ECXYMX^ECXUTL(Y)
              LAST EDITED:      SEP 24, 1997 
              HELP-PROMPT:      Answer must be 6 characters in length. 
              DESCRIPTION:
                                A six character string representing the year and the month for which this extract was performed.  

              TECHNICAL DESCR:
                                Format is YYYYMM; Year 2000 compliant per vendor.  

              CROSS-REFERENCE:  727.82^AM 
                                1)= S ^ECX(727.82,"AM",$E(X,1,30),DA)=""
                                2)= K ^ECX(727.82,"AM",$E(X,1,30),DA)
                                3)= DO NOT DELETE
                                This cross reference is essential for moving data into file 727.802 to be transmitted to the DSS
                                package.  DO NOT DELETE OR MODIFY.  
                                 



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

              Extract Number   
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the extract number for this extract. 
              DESCRIPTION:
                                The corresponding entry in the DSS EXTRACT LOG file (#727) for this extract.  

              TECHNICAL DESCR:  A pointer to the DSS EXTRACT LOG file (#727). The primary purpose is to pick up the header for the
                                mail message.  

              CROSS-REFERENCE:  727.82^AC 
                                1)= S ^ECX(727.82,"AC",$E(X,1,30),DA)=""
                                2)= K ^ECX(727.82,"AC",$E(X,1,30),DA)
                                3)= DO NOT DELETE.
                                This cross reference is essential for managing and purging data in this file.  



727.82,3      FACILITY               0;4 FREE TEXT

              Facility   
              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              LAST EDITED:      OCT 15, 1996 
              HELP-PROMPT:      Enter the station number where this extract was performed. 
              DESCRIPTION:
                                Identifies the facility for this extract record.  

              TECHNICAL DESCR:  An indicator of the division where this event happened. It is derived from the DIVISION field
                                (.015) of the WARD LOCATION file (#42) which points to the MEDICAL CENTER DIVISION file (#40.8).  


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

              Patient No. - DFN   
              LAST EDITED:      OCT 15, 1996 
              HELP-PROMPT:      Enter the name of the patient for this extract record. 
              DESCRIPTION:
                                The name of the patient for this extract record.  

              TECHNICAL DESCR:  Pointer to the PATIENT file (#2). This data represents the patient DFN. Using the "ATID1" cross
                                reference on the PATIENT MOVEMENT file (#405), the PATIENT NO. - DFN data is derived from the
                                PATIENT field (.03).  


727.82,5      SSN                    0;6 FREE TEXT

              Social Security Number   
              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<9)!'(X?9N!X?9N1"P") X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Your answer must be 9 to 10 characters in length. 
              DESCRIPTION:
                                The patient's social security number.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), SSN data is derived from the SOCIAL SECURITY NUMBER field (.09) in the
                                PATIENT file (#2).  


727.82,6      NAME                   0;7 FREE TEXT

              Name   
              INPUT TRANSFORM:  K:$L(X)>4!($L(X)<4) X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Your answer must be 4 characters in length. 
              DESCRIPTION:
                                The first four characters of the patient's last name.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), NAME data is derived from the NAME field (.01) in the PATIENT file (#2).
                                The first four characters of the first "," piece are used, padded with trailing spaces if
                                necessary.  


727.82,7      IN OUT PATIENT INDICATOR 0;8 POINTER TO LOCATION TYPE FILE (#40.9)

              In Out Patient Indicator   
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the appropriate inpatient or outpatient indicator. 
              DESCRIPTION:
                                Indicates whether the patient was an inpatient or an outpatient for this extract entry.  

              TECHNICAL DESCR:  For the Admission Setup extract this field is set to 3, indicating inpatient status in the LOCATION
                                TYPE file (#40.9).  


727.82,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:      SEP 24, 1997 
              HELP-PROMPT:      Answer must be 8 characters in length. 
              DESCRIPTION:
                                This 8-character string represents the date on which the admission occurred.  

              TECHNICAL DESCR:  Data source: 
                                 
                                PATIENT MOVEMENT file (#405); DATE/TIME field (#.01) 
                                 
                                This field is always exactly 8 numeric characters in length.  The format is YYYYMMDD; for example,
                                19970923.  If the date cannot be determined, then a default is used.  The default date value is the
                                value of the YEAR MONTH field (#1) concatenated with "01" for the day (DD) portion.  Year 2000
                                compliant per vendor.  


727.82,9      PRIMARY CARE TEAM      0;10 FREE TEXT

              Primary Care Team   
              INPUT TRANSFORM:  K:$L(X)>4!($L(X)<1) X
              LAST EDITED:      OCT 30, 1996 
              HELP-PROMPT:      Enter primary care team assigned to this patient. 
              DESCRIPTION:
                                The primary care team assigned to this patient.  

              TECHNICAL DESCR:  Using the DATE/TIME field (.01) from the PATIENT MOVEMENT file (#405) and the patient pointer (DFN)
                                stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), a call is
                                made to the Scheduling API, OUTPTTM^SDUTL3. The API returns the team's internal entry number and
                                name from the TEAM file (#404.51). Only the pointer (IEN) to File 404.51 is transmitted.  


727.82,10     SEX                    0;11 SET

              Sex   
                                'M' FOR MALE; 
                                'F' FOR FEMALE; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the patient's sex. 
              DESCRIPTION:
                                Data is M if this patient is a male, or F if female.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), this data is derived from the SEX field (.02) in the PATIENT file (#2).  


727.82,11     DATE OF BIRTH          0;12 FREE TEXT

              Date of Birth   
              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<8) X
              OUTPUT TRANSFORM: S Y=$$ECXDATEX^ECXUTL(Y)
              LAST EDITED:      SEP 24, 1997 
              HELP-PROMPT:      Answer must be 8 characters in length. 
              DESCRIPTION:      The patient's date of birth between December 31,1870 and today's date represented by an 8-character
                                numeric string.  

              TECHNICAL DESCR:  Data source: 
                                 
                                PATIENT MOVEMENT file (#405); PATIENT field (#.03) 
                                   then to PATIENT file (#2); DATE OF BIRTH field (#.03) 
                                 
                                If Date of Birth cannot be determined, then January 1, 1942, is used as default.  The data element
                                is always exactly 8 numberic characters in length.  Format is YYYYMMDD.  Year 2000 compliant per
                                vendor.  


727.82,12     RELIGION               0;13 POINTER TO RELIGION FILE (#13)

              Religion   
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the patient's religious preference. 
              DESCRIPTION:
                                The current religious preference of this patient.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), RELIGION data is derived from the RELIGIOUS PREFERENCE field (.08) in the
                                PATIENT file (#2). It is a pointer to the RELIGION file (#13).  


727.82,13     EMPLOYMENT STATUS      0;14 SET

              Employment Status   
                                '1' FOR EMPLOYED FULL TIME; 
                                '2' FOR EMPLOYED PART TIME; 
                                '3' FOR NOT EMPLOYED; 
                                '4' FOR SELF EMPLOYED; 
                                '5' FOR RETIRED; 
                                '6' FOR ACTIVE DUTY MILITARY; 
                                '9' FOR UNKNOWN; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Select the appropriate employment status. 
              DESCRIPTION:
                                The patient's current employment status.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION EXTRACT
                                file (#727.802), EMPLOYMENT STATUS data is derived from the EMPLOYMENT STATUS field (.31115) in the
                                PATIENT file (#2).  


727.82,14     HEALTH INSURANCE       0;15 SET

              Health Insurance   
                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Select the appropriate health insurance status. 
              DESCRIPTION:      Data is Y if the patient is covered by a health insurance policy, N if the patient isn't covered by
                                any policy, or U if unknown.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION EXTRACT
                                file (#727.802), a call is made to the Integrated Billing API, INSURED^IBCNS1. The API returns 1 if
                                the patient is insured or 0 if the patient is not insured.  


727.82,15     STATE                  0;16 FREE TEXT

              State   
              INPUT TRANSFORM:  K:$L(X)>2!($L(X)<2) X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the VA STATE CODE for this patient. 
              DESCRIPTION:
                                The state in which the patient resides.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), STATE data is derived from the STATE field (.115) in the PATIENT file (#2)
                                which points to the STATE file (#5). For the STATE file entry, data transmitted is the two
                                character VA STATE CODE, field (2).  


727.82,16     COUNTY                 0;17 FREE TEXT

              County   
              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the VA COUNTY CODE for this patient. 
              DESCRIPTION:
                                County in which patient resides.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), COUNTY data is derived from the COUNTY field (.117) in the PATIENT file
                                (#2). The data transmitted is the three character VA COUNTY CODE, field (2) within the COUNTY field
                                (3) multiple of the STATE file (#5).  


727.82,17     ZIP CODE               0;18 FREE TEXT

              Zip Code   
              INPUT TRANSFORM:  K:$L(X)>5!($L(X)<5) X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Your answer must be 5 characters in length. 
              DESCRIPTION:
                                Zip code for the city in which the patient resides.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), ZIP CODE data is derived from the ZIP CODE field (.116) in the PATIENT file
                                (#2).  


727.82,18     ELIGIBILITY            0;19 FREE TEXT

              Eligibility   
              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1)!'(X?1U) X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Your answer must be 1 character in length. 
              DESCRIPTION:
                                Appropriate eligibility code based on veteran or non-veteran status.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), ELIGIBILITY data is derived from the PRIMARY ELIGIBILITY CODE field (.361)
                                in the PATIENT file (#2).  PRIMARY ELIGIBILITY CODE is a pointer to the ELIGIBILITY CODE file (#8).  
                                The data is derived from the MAS ELIGIBILITY CODE field (8) in the ELIGIBILITY CODE file (#8) which
                                in turn is a pointer to the MAS ELIGIBILITY CODE file (#8.1). The MAS eligibility code pointer
                                value is converted to an alpha character representative of it's number, i.e., 1 converts to A, 2
                                converts to B, etc.  


727.82,19     VETERAN                0;20 SET

              Veteran   
                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Select the appropriate veteran status for this patient. 
              DESCRIPTION:
                                Data is Y if this patient is a veteran, N if not.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), VETERAN data is derived from the VETERAN (Y/N)? field (1901) in the PATIENT
                                file (#2).  


727.82,20     VIETNAM                0;21 SET

              Vietnam   
                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Select the appropriate Vietnam service status for this patient. 
              DESCRIPTION:
                                Data is Y if this patient served in Vietnam, N if not, or U if unknown.  

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


727.82,21     AGENT ORANGE           0;22 SET

              Agent Orange   
                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Select the appropriate agent orange status for this patient. 
              DESCRIPTION:
                                Data is Y if this patient was exposed to agent orange, N if not, or U if unknown.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), AGENT ORANGE data is derived from the AGENT ORANGE EXPOS. INDICATED? field
                                (.32102) in the PATIENT file (#2).  


727.82,22     RADIATION              0;23 SET

              Radiation   
                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Select the appropriate radiation status for this patient. 
              DESCRIPTION:
                                Data is Y if this patient claims exposure to ionizing radiation, N if not, or U if unknown.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), RADIATION data is derived from the RADIATION EXPOSURE INDICATED? field
                                (.32103) in the PATIENT file (#2).  


727.82,23     POW                    0;24 SET

              Prisoner of War   
                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Select the appropriate POW status for this patient. 
              DESCRIPTION:
                                Data is Y if this patient was confined as a prisoner of war, N if not, or U if unknown.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), POW data is derived from the POW STATUS INDICATED? field (.525) in the
                                PATIENT file (#2).  


727.82,24     PERIOD OF SERVICE      0;25 FREE TEXT

              Period of Service   
              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the period of service code from the PERIOD OF SERVICE file (#21). 
              DESCRIPTION:
                                The period of service which best classifies this patient based on eligibility code.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), PERIOD OF SERVICE data is derived from the PERIOD OF SERVICE field (.323)
                                in the PATIENT file (#2).  This field is a pointer to the PERIOD OF SERVICE file (#21). Using the 
                                period of service pointer, the data is derived from the CODE field (.03) in the PERIOD OF SERVICE
                                file (#21). This code is a single alpha numeric character.  


727.82,25     MEANS TEST             0;26 SET

              Means Test   
                                'A' FOR CATEGORY A; 
                                'B' FOR CATEGORY B; 
                                'C' FOR CATEGORY C; 
                                'P' FOR PENDING ADJUDICATION; 
                                'R' FOR REQUIRES MEANS TEST; 
                                'N' FOR MEANS TEST NOT REQUIRED; 
                                'E' FOR EXEMPT; 
                                'I' FOR INCOMPLETE; 
                                'L' FOR NO LONGER APPLICABLE; 
                                'M' FOR NON-EXEMPT; 
              LAST EDITED:      OCT 24, 1996 
              HELP-PROMPT:      Select the appropriate means test category. 
              DESCRIPTION:
                                The current means test category for this patient.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), MEANS TEST data is derived from the CURRENT MEANS TEST STATUS field (.14)
                                in the PATIENT file (#2).  This field is a pointer to the MEANS TEST STATUS file (#408.32).  Using 
                                the means test pointer, the data is derived from the CODE field (.02) in the MEANS TEST STATUS file
                                (#408.32).  


727.82,26     MARITAL STATUS         0;27 POINTER TO MARITAL STATUS FILE (#11)

              Marital Status   
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the marital status for this patient. 
              DESCRIPTION:
                                Current marital status for this patient.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP
                                EXTRACT file (#727.82), MARITAL STATUS data is derived from the MARITAL STATUS field (.05) in the
                                PATIENT file (#2).  MARITAL STATUS is a pointer to the MARITAL STATUS file (#11).  


727.82,27     WARD                   0;28 POINTER TO HOSPITAL LOCATION FILE (#44)

              Ward   
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the current ward location for this patient. 
              DESCRIPTION:
                                Current ward for this patient.  

              TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN)
                                stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), WARD data
                                is derived from the WARD LOCATION field (.06) in the PATIENT MOVEMENT file (#405). This ward data
                                is a pointer to the WARD LOCATION file (#42). Using the ward pointer, the data is derived from the
                                HOSPITAL LOCATION FILE POINTER field (44) in the WARD LOCATION file (#42) which is a pointer to the
                                HOSPITAL LOCATION file (#44).  


727.82,28     TREATING SPECIALTY     0;29 POINTER TO SPECIALTY FILE (#42.4)

              Treating Specialty   
              LAST EDITED:      SEP 18, 1996 
              HELP-PROMPT:      Enter the name of the treating specialty associated with this extract record. 
              DESCRIPTION:
                                The name of the treating specialty associated with this extract record.  

              TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN)
                                stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), TREATING
                                SPECIALTY data is derived from the FACILITY TREATING SPECIALTY field (.09) in the PATIENT MOVEMENT
                                file (#405). This facility treating specialty data is a pointer to the FACILITY TREATING SPECIALTY
                                file (#45.7). Using the SPECIALTY field (1) in the FACILITY TREATING SPECIALTY file (#45.7), the
                                pointer to the SPECIALTY file (#42.4) is obtained.  


727.82,29     ATTENDING PHYSICIAN    0;30 FREE TEXT

              Attending Physician   
              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
              LAST EDITED:      OCT 15, 1996 
              HELP-PROMPT:      Enter attending physician for this patient. 
              DESCRIPTION:
                                The attending physician assigned to this patient with this movement.  

              TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN)
                                stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), ATTENDING
                                PHYSICIAN data is derived from the ATTENDING PHYSICIAN field (.19) in the PATIENT MOVEMENT file
                                (#405). This attending physician data is a pointer to the NEW PERSON file (#200). This data is
                                stored as "2"_pointer value.  


727.82,30     EPISODE NUMBER         0;31 POINTER TO PATIENT MOVEMENT FILE (#405)

              Episode Number   
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Enter the current movement number for this patient. 
              DESCRIPTION:
                                Current movement number for this patient.  

              TECHNICAL DESCR:  Pointer to the PATIENT MOVEMENT file (#405). Using the "ATID1" cross reference on the PATIENT
                                MOVEMENT file (#405) and the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4) in the
                                ADMISSION SETUP EXTRACT file (#727.82), EPISODE NUMBER is the movement number (IEN) associated with
                                the PATIENT field (.03) in the PATIENT MOVEMENT file (#405).  


727.82,31     DRG                    0;32 POINTER TO DRG FILE (#80.2)

              LAST EDITED:      AUG 03, 1991 
              HELP-PROMPT:      Enter the appropriate DRG for this patient. 
              DESCRIPTION:
                                Current DRG for this patient with this movement.  

              TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN)
                                stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), DRG data
                                is derived from the PTF ENTRY field (.16) in PATIENT MOVEMENT file (#405). This PTF entry data is a
                                pointer to the PTF file (#45). Uses the TRANSFER DRG field (20) within the 501 field (50) multiple
                                in the PTF file (#45) to obtain the pointer value to the DRG file (#80.2).  


727.82,32     DIAGNOSIS              0;33 FREE TEXT

              Diagnosis   
              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<1) X
              LAST EDITED:      OCT 11, 1996 
              HELP-PROMPT:      Your answer must be 1 to 7 characters in length. 
              DESCRIPTION:
                                ICD diagnosis for this patient.  

              TECHNICAL DESCR:  Using the "ATID1" cross reference on the PATIENT MOVEMENT file (#405) and the patient pointer (DFN)
                                stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), DIAGNOSIS
                                data is derived from the PTF ENTRY field (.16) in the PATIENT MOVEMENT file (#405). This PTF entry
                                data is a pointer to the PTF file (#45). Uses the ICD 1 field (5) within the 501 field (50)
                                multiple in the PTF file (#45) to obtain the pointer value to the ICD DIAGNOSIS file (#80). This
                                ICD diagnosis pointer value is used to pull the DIAGNOSIS data from the CODE NUMBER field (.01) in
                                the ICD DIAGNOSIS file (#80).  


727.82,33     TIME                   0;34 FREE TEXT

              Time   
              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6)!'(X?6N) X
              OUTPUT TRANSFORM: S Y=$$ECXTIMEX^ECXUTL(Y,0)
              LAST EDITED:      SEP 24, 1997 
              HELP-PROMPT:      Answer must be 6 characters in length. 
              DESCRIPTION:
                                A 6-character numeric string which represents the time of day at which the admission occurred.  

              TECHNICAL DESCR:  Data source: 
                                 
                                PATIENT MOVEMENT file (#405); DATE/TIME field (#.01) 
                                 
                                This field is always exactly 6 numeric characters in length; if time cannot be determined, then
                                "000300" is used as default.  


727.82,34     PRIMARY CARE PROVIDER  0;35 FREE TEXT

              Primary Care Provider   
              INPUT TRANSFORM:  K:$L(X)>11!($L(X)<1) X
              LAST EDITED:      OCT 15, 1996 
              HELP-PROMPT:      Enter primary care provider assigned to this patient. 
              DESCRIPTION:
                                The primary care provider assigned to this patient.  

              TECHNICAL DESCR:  Using the DATE/TIME field (.01) from the PATIENT MOVEMENT file (#405) and the patient pointer (DFN)
                                stored in the PATIENT NO. - DFN field (4) in the ADMISSION SETUP EXTRACT file (#727.82), a call is
                                made to the Scheduling API, OUTPTPR^SDUTL3. The API returns the provider's internal entry number
                                and name from the NEW PERSON file (#200). Only the pointer (IEN) to File 200 is transmitted.  


727.82,35     RACE                   0;36 FREE TEXT

              Race   
              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      OCT 25, 1996 
              HELP-PROMPT:      Enter race ABBREVIATION for this patient. 
              DESCRIPTION:
                                Race ABBREVIATION for this patient.  

              TECHNICAL DESCR:  Using the patient pointer (DFN) stored in the PATIENT NO. - DFN field (4), RACE data is shown as
                                the ABBREVIATION field (2) of the RACE file (#10) entry pointed to by the RACE field (.06) in the
                                PATIENT file (#2).  



      FILES POINTED TO                      FIELDS

DRG (#80.2)                       DRG (#31)

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

HOSPITAL LOCATION (#44)           WARD (#27)

LOCATION TYPE (#40.9)             IN OUT PATIENT INDICATOR (#7)

MARITAL STATUS (#11)              MARITAL STATUS (#26)

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

PATIENT MOVEMENT (#405)           EPISODE NUMBER (#30)

RELIGION (#13)                    RELIGION (#12)

SPECIALTY (#42.4)                 TREATING SPECIALTY (#28)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):