Skip Navigation
Healthcare Cost and Utilization Project logo
NIS Description of Data Elements
The NIS is set of longitudinal hospital inpatient databases included in the HCUP family. These databases are created by AHRQ through a Federal-State-Industry partnership.
search icon
 
 
DSHOSPID - Data source hospital number
 
Documentation Sections:
General Notes
Uniform Values
State Specific Notes
General Notes
 

There are up to three different types of hospital identifiers included in the HCUP databases.

  • The data source's own number scheme for identifying hospitals and facilities (DSHOSPID),
  • The hospital identifier used by the American Hospital Association (AHAID and IDNUMBER), and
  • A unique HCUP hospital identifier (HOSPID).

The hospital entity as defined by the data source may differ from the hospital entity as defined by the AHA. For example, the data source treats two separate facilities as two hospitals, while the AHA Annual Survey treats the two facilities as a single hospital, or vice versa. For consistency across states, HCUP defines hospitals in accordance with the American Hospital Association Annual Survey of Hospitals. During HCUP data processing, the data source's identification of the hospital is reconciled with the identification of the hospital in the AHA Annual Survey of Hospitals. For detailed information about this linking process, see the special report on HCUP Hospital Identifiers.

Warning to data users: DSHOSPID is a character variable that may have different lengths in different HCUP state databases and years. When combining data across states and years, care needs to be taken to retain the values in the longest length of DSHOSPID. For example, in SAS, if the dataset with a DSHOSPID of length character 4 is listed first in the set or merge statement with a dataset containing a longer length DSHOSPID, SAS will use the first length (character 4) for the output file. The longer DSHOSPIDs will be truncated and contain the leftmost 4 characters of the DSHOSPID.

DSHOSPID is missing if the data source that contributed discharge data to the NIS prohibits the release of hospital identifiers.

 
Top
 
Uniform Values
VariableDescriptionValueValue Description
DSHOSPIDData source hospital number13(a)Data source hospital number
 
Top
 
 
State Specific Notes

California

Prior to 1998, the variable DSHOSPID is length 9 with the first digit indicating the level of care, the next two digits for state "06", and then a 6-digit hospital identifier that included the county code.

Beginning in 1998, DSHOSPID is length 6 and only contains the unique hospital identifier. The level of care indicator is retained in the HCUP variable LEVELCARE.

Regardless of whether the information on the level of care is stored in the first digit of DSHOSPID or variable LEVELCARE, the values are defined as follows:

0= Type of unit unknown (beginning in 1996)
1= General acute care
2= Not a valid code
3= Skilled nursing and intermediate care (long term care)
4= Psychiatric care
5= Alcohol/chemical dependency recovery treatment
6= Acute physical medicine rehabilitation care.

The reliability of this indicator for the type of care depends on how it was assigned.

Prior to 1995. The type of care was assigned by California based on the hospital's licensed units and the proportion of records in a batch of submitted records that fall into each Major Diagnostic Category (MDC). Hospitals were permitted to submit discharge records in one of two ways: submit separate batches of records for each type of care OR bundle records for all types of care into a single submission. How a hospital submitted its records to California determined the accuracy of the type of care indicated in the first digit of DSHOSPID. Consider a hospital which is licensed for more than one type of care:

  • If the hospital submitted one batch of records per type of care, then the distribution of each batch of discharges into MDCs would clearly indicate the type of care (acute, psychiatric, etc.). The data source could then accurately assign the first digit of DSHOSPID.
  • If the same hospital submitted all of its records in one batch, then the distribution of discharges into MDCs would be a mixture of acute and other types of care. The first digit of DSHOSPID would be set to "general acute care" (value = 1) on all records and would not distinguish the types of care.

Prior to 1995, most hospitals submitted only one batch of records to California which meant that the type of care indicated in the first digit of DSHOSPID did not distinguish among types of care.

Beginning in 1995. Hospitals were required to assign type of care codes to individual records for certain discharges. These discharges included:

  • general acute care (value = 1),
  • skilled nursing and intermediate care (value = 3), and
  • rehabilitation care (value = 6).

For discharges from facilities licensed as psychiatric care (value = 4) or alcohol/chemical dependency recovery treatment (value = 5), California continued to assign the type of care code to all discharges from the facility.



Oregon

Beginning with 1995 data, Oregon changed the format of the state-specific hospital identification numbers stored in DSHOSPID. The new format is incompatible with the format used in previous years.



Pennsylvania

The coding of DSHOSPID varies by data year.

  • Prior to 1995, the hospital identifier supplied by Pennsylvania contained a three character prefix "PAF".
  • From 1995-1997, this prefix was not included in the supplied data. For consistency with previous years of HCUP data, the prefix "PAF" was added to the beginning of the Pennsylvania hospital identifier (DSHOSPID) during HCUP processing.
  • Beginning in 1998, the prefix "PAF" is not included in the DSHOSPID for Pennsylvania.


Washington

Included with the records of general acute care stays from community hospitals are records from alcohol dependency units, bone marrow transplant units, extended care units, psychiatric units, rehabilitation units, group health units, and swing bed units. Records for these different types of care can be identified by the fourth digit of the supplied hospital identifier (DSHOSPID) on each patient record:

None General acute care
A= Alcohol Dependency Unit
B= Bone Marrow Transplant Unit
E= Extended Care Unit
H= Tacoma General/Group Health Combined
I= Group Health only at Tacoma Hospital
P= Psychiatric Unit
R= Rehabilitation Unit
S= Swing Bed Unit

Washington assigns this value to DSHOSPID based upon the type of unit discharging the patient.



West Virginia

Due to errors in the source data, the 2005 West Virginia SID did not include the hospitals below: DSHOSPID = "010004", DSHOSPID = "010005", DSHOSPID = "010069", DSHOSPID = "010036", DSHOSPID = "010037".


 
Top
 
 

Internet Citation: HCUP NIS Description of Data Elements. Healthcare Cost and Utilization Project (HCUP). September 2008. Agency for Healthcare Research and Quality, Rockville, MD. www.hcup-us.ahrq.gov/db/vars/dshospid/nisnote.jsp.
Are you having problems viewing or printing pages on this Website?
If you have comments, suggestions, and/or questions, please contact hcup@ahrq.gov.
Last modified 9/17/08