Hospital services that patients were under during their hospital stay.

Generated by
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
Column Type Size Nulls Auto Default Children Parents Comments
row_id int4 10 Unique row identifier.
subject_id int4 10
patients.subject_id services_fk_subject_id R
Foreign key. Identifies the patient.
hadm_id int4 10
admissions.hadm_id services_fk_hadm_id R
Foreign key. Identifies the hospital stay.
transfertime timestamp 22 Time when the transfer occured.
prev_service varchar 20  √  null Previous service type.
curr_service varchar 20  √  null Current service type.

Table contained 73,343 rows at Thu Oct 12 12:29 EDT 2017

Column(s) Type Sort Constraint Name
row_id Primary key Asc services_rowid_pk
subject_id Performance Asc services_idx01
hadm_id Performance Asc services_idx02

Close relationships  within of separation: