columns:
  activite_code:
    type: character varying(10)
    default: "''::character varying"
  activite_code_original:
    type: character varying(10)
    default: "''::character varying"
  activite_id:
    type: bigint
    default: "0"
  activite_section1_code:
    type: character varying(10)
    default: chr(127)
  activite_section1_id:
    type: bigint
    default: "0"
  activite_section1_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  activite_section2_code:
    type: character varying(10)
    default: chr(127)
  activite_section2_id:
    type: bigint
    default: "0"
  activite_section2_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  activite_section3_code:
    type: character varying(10)
    default: chr(127)
  activite_section3_id:
    type: bigint
    default: "0"
  activite_section3_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  activite_section_code:
    type: 'text[]'
  activite_section_id:
    type: 'bigint[]'
  activite_section_texte:
    type: 'text[]'
  activite_texte:
    type: character varying(255)
    default: "''::character varying"
  code_original_5:
    type: character varying(10)
    default: "''::character varying"
  code_original_6:
    type: character varying(10)
    default: "''::character varying"
  code_original_7:
    type: character varying(10)
    default: "''::character varying"
  etage_code:
    type: character varying(10)
    default: "''::character varying"
  etage_code_original:
    type: character varying(10)
    default: "''::character varying"
  etage_id:
    type: bigint
    default: "0"
  etage_section1_code:
    type: character varying(10)
    default: chr(127)
  etage_section1_id:
    type: bigint
    default: "0"
  etage_section1_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  etage_section2_code:
    type: character varying(10)
    default: chr(127)
  etage_section2_id:
    type: bigint
    default: "0"
  etage_section2_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  etage_section3_code:
    type: character varying(10)
    default: chr(127)
  etage_section3_id:
    type: bigint
    default: "0"
  etage_section3_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  etage_section_code:
    type: 'text[]'
  etage_section_id:
    type: 'bigint[]'
  etage_section_texte:
    type: 'text[]'
  etage_texte:
    type: character varying(255)
    default: "''::character varying"
  lit_code:
    type: character varying(10)
    default: "''::character varying"
  lit_code_original:
    type: character varying(10)
    default: "''::character varying"
  lit_id:
    type: bigint
    default: "0"
  lit_section1_code:
    type: character varying(10)
    default: chr(127)
  lit_section1_id:
    type: bigint
    default: "0"
  lit_section1_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  lit_section2_code:
    type: character varying(10)
    default: chr(127)
  lit_section2_id:
    type: bigint
    default: "0"
  lit_section2_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  lit_section3_code:
    type: character varying(10)
    default: chr(127)
  lit_section3_id:
    type: bigint
    default: "0"
  lit_section3_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  lit_section_code:
    type: 'text[]'
  lit_section_id:
    type: 'bigint[]'
  lit_section_texte:
    type: 'text[]'
  lit_texte:
    type: character varying(255)
    default: "''::character varying"
  mode_traitement_id:
    type: bigint
    default: "0"
  oid:
    type: bigint
    not_null: NOT NULL
    default: "nextval('s_lieux_cout_patient_shs'::regclass)"
  service_facturation_code:
    type: character varying(10)
    default: "''::character varying"
  service_facturation_code_original:
    type: character varying(10)
    default: "''::character varying"
  service_facturation_id:
    type: bigint
    default: "0"
  service_facturation_section1_code:
    type: character varying(10)
    default: chr(127)
  service_facturation_section1_id:
    type: bigint
    default: "0"
  service_facturation_section1_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  service_facturation_section2_code:
    type: character varying(10)
    default: chr(127)
  service_facturation_section2_id:
    type: bigint
    default: "0"
  service_facturation_section2_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  service_facturation_section3_code:
    type: character varying(10)
    default: chr(127)
  service_facturation_section3_id:
    type: bigint
    default: "0"
  service_facturation_section3_texte:
    type: character varying(255)
    default: "'Autres'::character varying"
  service_facturation_section_code:
    type: 'text[]'
  service_facturation_section_id:
    type: 'bigint[]'
  service_facturation_section_texte:
    type: 'text[]'
  service_facturation_texte:
    type: character varying(255)
    default: "''::character varying"
  unite_fonctionnelle_id:
    type: bigint
    default: "0"
  unite_medicale_id:
    type: bigint
    default: "0"
constraints:
  t_lieux_cout_patient_shs_pkey:
    type: PRIMARY KEY
    column: oid
indexes:
  i_lieux_cout_patient_shs_1:
    column: service_facturation_code_original
    method: btree
  i_lieux_cout_patient_shs_10:
    column: code_original_5
    method: btree
  i_lieux_cout_patient_shs_11:
    column: code_original_6
    method: btree
  i_lieux_cout_patient_shs_12:
    column: code_original_7
    method: btree
  i_lieux_cout_patient_shs_13:
    column: unite_medicale_id
    method: btree
  i_lieux_cout_patient_shs_14:
    column: unite_fonctionnelle_id
    method: btree
  i_lieux_cout_patient_shs_15:
    column: mode_traitement_id
    method: btree
  i_lieux_cout_patient_shs_2:
    column: activite_code_original
    method: btree
  i_lieux_cout_patient_shs_3:
    column: etage_code_original
    method: btree
  i_lieux_cout_patient_shs_4:
    column: lit_code_original
    method: btree
  i_lieux_cout_patient_shs_5:
    column: lit_id
    method: btree
  i_lieux_cout_patient_shs_6:
    column: service_facturation_id
    method: btree
  i_lieux_cout_patient_shs_7:
    column: activite_id
    method: btree
  i_lieux_cout_patient_shs_8:
    column: unite_medicale_id
    method: btree
  i_lieux_cout_patient_shs_9:
    column: unite_fonctionnelle_id
    method: btree