columns:
  activite_id:
    type: bigint
    default: "0"
  code_original_1:
    type: text
    default: "''::text"
    comment: Pour SHS = service
  code_original_2:
    type: text
    default: "''::text"
    comment: Pour SHS = activite
  code_original_3:
    type: text
    default: "''::text"
    comment: Pour SHS = etage
  code_original_4:
    type: text
    default: "''::text"
    comment: Pour SHS = lit
  code_original_5:
    type: text
    default: "''::text"
    comment: Pour SHS = blanc
  code_original_6:
    type: text
    default: "''::text"
    comment: Pour SHS = blanc
  code_original_7:
    type: text
    default: "''::text"
    comment: Pour SHS = blanc
  gir_code_original:
    type: text
    default: "''::text"
  gir_id:
    type: bigint
    default: "0"
  lit_id:
    type: bigint
    default: "0"
  mode_traitement_id:
    type: bigint
    default: "0"
  oid:
    type: bigint
    not_null: NOT NULL
    default: "nextval('s_lieux'::regclass)"
  service_facturation_id:
    type: bigint
    default: "0"
  unite_fonctionnelle_id:
    type: bigint
    default: "0"
  unite_medicale_id:
    type: bigint
    default: "0"
constraints:
  t_lieux_pkey:
    type: PRIMARY KEY
    column: oid
indexes:
  i_lieux_1:
    column: code_original_1
    method: btree
  i_lieux_10:
    column: code_original_5
    method: btree
  i_lieux_11:
    column: code_original_6
    method: btree
  i_lieux_12:
    column: code_original_7
    method: btree
  i_lieux_13:
    column: unite_medicale_id
    method: btree
  i_lieux_14:
    column: unite_fonctionnelle_id
    method: btree
  i_lieux_15:
    column: mode_traitement_id
    method: btree
  i_lieux_2:
    column: code_original_2
    method: btree
  i_lieux_3:
    column: code_original_3
    method: btree
  i_lieux_4:
    column: code_original_4
    method: btree
  i_lieux_5:
    column: lit_id
    method: btree
  i_lieux_6:
    column: service_facturation_id
    method: btree
  i_lieux_7:
    column: activite_id
    method: btree
  i_lieux_8:
    column: unite_medicale_id
    method: btree
  i_lieux_9:
    column: unite_fonctionnelle_id
    method: btree