columns:
  conversion_hp_hc_id:
    type: smallint
    default: (0)::smallint
    comment: 1:conversion HP-HC | 2:pas de conversion | blanc
  date_entree:
    type: date
  date_sortie:
    type: date
  destination:
    type: character(1)
  diagnostic_principal_id:
    type: bigint
  diagnostic_relie_id:
    type: bigint
  duree_sejour:
    type: numeric(5,0)
  finess:
    type: character(9)
  igs2:
    type: numeric(5,0)
    default: "0"
  medecin_rum_id:
    type: bigint
    default: "0"
  mode_entree:
    type: character(1)
  mode_sortie:
    type: character(1)
  nb_seances:
    type: numeric(5,0)
  no_rss:
    type: bigint
    default: "0"
  no_rum:
    type: numeric(5,0)
    default: "0"
  passage_urgences_code:
    type: character(1)
    default: "''::bpchar"
  pole_id:
    type: bigint
    default: "0"
  provenance:
    type: character(1)
  rss_id:
    type: bigint
    default: "0"
  supplement_code:
    type: character varying(10)
    default: "''::character varying"
  type_autorisation:
    type: text
    default: "''::bpchar"
  type_autorisation_lit_dedie:
    type: text
    default: "''::bpchar"
  unite_medicale:
    type: text
  unite_medicale_id:
    type: bigint
    default: "0"
indexes:
  i_rss_rum_1:
    column: no_rss
    method: btree
  i_rss_rum_10:
    column: destination
    method: btree
  i_rss_rum_11:
    column: date_entree
    method: btree
  i_rss_rum_12:
    column: date_sortie
    method: btree
  i_rss_rum_13:
    column: type_autorisation
    method: btree
  i_rss_rum_14:
    column: rss_id
    method: btree
  i_rss_rum_15:
    column: passage_urgences_code
    method: btree
  i_rss_rum_4:
    column: diagnostic_principal_id
    method: btree
  i_rss_rum_5:
    column: diagnostic_relie_id
    method: btree
  i_rss_rum_6:
    column: unite_medicale_id
    method: btree
  i_rss_rum_7:
    column: mode_entree
    method: btree
  i_rss_rum_8:
    column: provenance
    method: btree
  i_rss_rum_9:
    column: mode_sortie
    method: btree