columns:
  activite_code:
    type: text
  activite_id:
    type: bigint
  activite_section_code:
    type: 'text[]'
  activite_section_id:
    type: 'bigint[]'
  activite_section_texte:
    type: 'text[]'
  activite_texte:
    type: text
  date_debut:
    type: date
    not_null: NOT NULL
    default: "'0001-01-01'::date"
  date_fin:
    type: date
    default: "'2099-12-31'::date"
  etage_code:
    type: text
  etage_id:
    type: bigint
  etage_section_code:
    type: 'text[]'
  etage_section_id:
    type: 'bigint[]'
  etage_section_texte:
    type: 'text[]'
  etage_texte:
    type: text
  gir_code:
    type: text
    default: "''::text"
  gir_coefficient:
    type: numeric
    default: "0"
  gir_id:
    type: bigint
    default: "0"
  gir_section_code:
    type: 'text[]'
  gir_section_id:
    type: 'bigint[]'
  gir_section_texte:
    type: 'text[]'
  gir_texte:
    type: text
    default: "''::text"
  lit_code:
    type: text
  lit_id:
    type: bigint
  lit_section_code:
    type: 'text[]'
  lit_section_id:
    type: 'bigint[]'
  lit_section_texte:
    type: 'text[]'
  lit_texte:
    type: text
  mode_traitement_code:
    type: text
  mode_traitement_id:
    type: bigint
  mode_traitement_texte:
    type: text
  oid:
    type: bigint
    not_null: NOT NULL
  service_facturation_code:
    type: text
  service_facturation_est_absence:
    type: character(1)
    default: "'0'::bpchar"
  service_facturation_est_sans_mouvement:
    type: character(1)
    default: "''::bpchar"
  service_facturation_id:
    type: bigint
  service_facturation_section_code:
    type: 'text[]'
  service_facturation_section_id:
    type: 'bigint[]'
  service_facturation_section_nb_cp:
    type: 'numeric[]'
  service_facturation_section_nb_lits:
    type: 'numeric[]'
  service_facturation_section_texte:
    type: 'text[]'
  service_facturation_texte:
    type: text
  type_t2a:
    type: character(1)
    default: "''::bpchar"
  unite_fonctionnelle_code:
    type: text
  unite_fonctionnelle_id:
    type: bigint
  unite_fonctionnelle_section_code:
    type: 'text[]'
  unite_fonctionnelle_section_id:
    type: 'bigint[]'
  unite_fonctionnelle_section_texte:
    type: 'text[]'
  unite_fonctionnelle_texte:
    type: text
  unite_medicale_code:
    type: text
  unite_medicale_id:
    type: bigint
  unite_medicale_section_code:
    type: 'text[]'
  unite_medicale_section_id:
    type: 'bigint[]'
  unite_medicale_section_texte:
    type: 'text[]'
  unite_medicale_texte:
    type: text
constraints:
  t_lieux_c_pkey:
    type: PRIMARY KEY
    column: date_debut, oid
indexes:
  i_lieux_c_1:
    column: unite_medicale_id
    method: btree
  i_lieux_c_2:
    column: unite_fonctionnelle_id
    method: btree
  i_lieux_c_3:
    column: mode_traitement_id
    method: btree
  i_lieux_c_4:
    column: service_facturation_id
    method: btree
  i_lieux_c_5:
    column: activite_id
    method: btree
  i_lieux_c_6:
    column: etage_id
    method: btree
  i_lieux_c_7:
    column: lit_id
    method: btree
  i_lieux_c_service_facturation_est_sans_mouvement:
    column: service_facturation_est_sans_mouvement
    method: btree