Table Name: VISIT_OCCURRENCE

Premier data are visit oriented; thus, each visit has its own unique visit identifier. The PAT table includes admission date and discharge date for each visit. Each visit is stored as a date but the day of the stay is always coded as the first of the month. The LOS field on the PAT table is populated for inpatient stays and is recorded as the number of 24 hour increments that a patient spends in the hospital. The LOS field is usually off by one calendar day for inpatient visits. Outpatient visits have a LOS of 0 and are typically only one day in length which is represented in the billing tables. For about 6% of outpatient visits, a single visit is comprised of multiple procedures that occur on different days for procedures such as chemotherapy or dialysis. The Premier billing system does not separate these into individual visits and for purposes of the ETL these will be considered one continuous visit. The PATBILL table houses billing records that occur each calendar day during the visit. Some visits may include a service day record of zero, which are considered pre-visit tests or procedures. For the purposes of the ETL, the information is considered as the first day of the visit, which can occur for inpatient and outpatient stays.

Logic for ER stays is varied due to data changes from Premier in identifying ER visits. ER Visits in Premier are identified through point of origin or admission source. If a patient visits the ER and then leaves, the visit is considered ER. If an inpatient stay results from an ER visit, that is identified as an ER-to-Inpatient stay. Inpatient stays and outpatient stays with no associated ER visit are simply consider inpatient and outpatient stays, respectively. Additional logic has been added to constrain dates and fields which reflect changes in Premier’s classification of emergency room visits. In Premier, the value of admission source that designates emergency room was discontinued 7/1/2010 because it no longer was a required variable for CMS. Point of origin represents the last physical location of a patient before entering the hospital. This field is populated in Premier after 7/1/2010 with emergency room visits. Thus, a combination of point of origin, admission source, and admission type is used to determine if a patient had a valid ER stay for Premier. LOS, the length of stay field, is not used because each billing record corresponds to a service day in the PATBILL table.

Admitting and discharge information is captured in Premier as the place of service from which the patient arrived and the place to service to which the patient is discharged.

Destination Field Source Field Applied Rule Comment
VISIT_OCCURRENCE_ID PAT.PAT_KEY    
PERSON_ID PAT.MEDREC_KEY    
VISIT_CONCEPT_ID   When POINT_OF_ORIGIN=7 and I_O_IND =’O’ then concept_id=9203
When POINT_OF_ORIGIN=7 and I_O_IND =’I’ then concept_id=262
When I_O_IND =’I’ then concept_id=9201
When I_O_IND =’O’ then concept_id=9202
 
VISIT_START_DATE PAT.ADM_DATE
PATBILL.SERV_DATE
   
VISIT_START_DATETIME      
VISIT_END_DATE PAT.DISC_DATE
PATBILL.SERV_DATE
   
VISIT_END_DATETIME      
VISIT_TYPE_CONCEPT_ID - All records within the visit_occurence table should have a visit_type_concept_id = 32875 (Provider financial system)  
PROVIDER_ID PAT.ADM_PHY    
CARE_SITE_ID PAT.PROV_ID    
VISIT_SOURCE_VALUE PAT.I_O_IND    
VISIT_SOURCE_CONCEPT_ID -    
ADMITTED_FROM_CONCEPT_ID PAT.POINT_OF_ORIGIN if POINT_OF_ORIGIN then ADMITTED_FROM_CONCEPT_ID
0 then 8976 (Psychiatric Residential Treatment Center)
1 then 0
2 then 8716 (Independent Clinic)
3 then 38004298 (Health Maintenance Organization)
4 then 8717 (Inpatient Hospital)
45 then 581384 (Inpatient Nursery)
46 then 0
5 then 8863 (Skilled Nursing Facility)
6 then 0
7 then 8870 (Emergency Room - Hospital)
8 then 0
9 then 0
A then 8761 (Rural Health Clinic)
B then 0
C then 0
D then 8717 (Inpatient Hospital)br>E then 8883 (Ambulatory Surgical Center)
F then 8546 (Hospice)
G then 0
 
ADMITTED_FROM_SOURCE_VALUE PAT. POINT_OF_ORIGIN PAT. POINT_OF_ORIGIN  
DISCHARGED_TO_CONCEPT_ID PAT.DISC_STATUS If DISC_STATUS then DISCHARGED_TO_CONCEPT_ID
1 then 0
2 then 0
3 then 8863 (Skilled Nursing Facility)
4 then 8863 (Skilled Nursing Facility)
5 then 38004281 (Children’s Hospital)
6 then 38004519 (Home Health Agency)
7 then 0
8 then 0
9 then 8717 (Inpatient Hospital)
20 then NULL
21 then 0
30 then 0
40 then 0
41 then 0
42 then 0
43 then 0
50 then 8546 (Hospice)
51 then 8546 (Hospice)
61 then 8863 (Skilled Nursing Facility)
62 then 8920 (Comprehensive Inpatient Rehabilitation Facility)
63 then 38004277 (Long Term Care Hospital)
64 then 8676 (Nursing Facility)
65 then 8971 (Inpatient Psychiatric Facility)
66 then 581379 (Inpatient Critical Care Facility)
69 then 0
70 then 0
71 then 8756 (Outpatient Hospital)
72 then 8717 (Inpatient Hospital)
81 then 0
82 then 581379 (Inpatient Critical Care Facility)
83 then 8863 (Skilled Nursing Facility)
84 then 8827 (Custodial Care Facility)
85 then 0
86 then 0
87 then 0
88 then 0
89 then 8863 (Skilled Nursing Facility)
90 then 581379 (Inpatient Critical Care Facility)
91 then 581379 (Inpatient Critical Care Facility)
92 then 8676 (Nursing Facility)
93 then 8971 (Inpatient Psychiatric Facility)
94 then 581379 (Inpatient Critical Care Facility)
95 then 0
99 then 0
 
DISCHARGE_TO_SOURCE_VALUE PAT.DISC_STATUS PAT.DISC_STATUS  
PRECEDING_VISIT_OCCURRENCE_ID VISIT_OCCURRENCE.VISIT_OCCURRENCE_ID For a given person, find the visit prior to this one and reference it here A foreign key to the VISIT_OCCURRENCE table of the visit immediately preceding this visit

Change Log:

  • 2025.01.28: Update mappings for discharge_to and admitted_from concept_ids to align with conventions and vocabulary rules.
  • 2024.10.16: Updated mappings for discharge_to and admitted_from concept_ids to better represent source data.
  • 2024.03.12: Updated VISIT_CONCEPT_ID
  • 2023.10.23: Updated visit logic, the exact date of visits is now available.
  • 2021.08.11: Updated VISIT_TYPE_CONCEPT_ID to leverage standard concept id.

Please contact Clair Blacketer (https://github.com/clairblacketer) if you have any questions

This site uses Just the Docs, a documentation theme for Jekyll.