columns:
  cas_code:
    type: character(1)
  cas_id:
    type: bigint
  cas_texte:
    type: character varying(255)
  cmd_24:
    type: text
  cmd_28:
    type: text
  cmd_code:
    type: character varying(10)
  cmd_id:
    type: bigint
  cmd_n24n28:
    type: text
  cmd_texte:
    type: character varying(255)
  code:
    type: character varying(10)
  dms_1:
    type: numeric(10,5)
    default: "0"
  dms_2:
    type: numeric(10,5)
    default: "0"
  dms_3:
    type: numeric(10,5)
    default: "0"
  dms_hospidiag:
    type: numeric
    default: "0"
    comment: DMS Hospidiag (sansanté année N-1)
  ghm5_code:
    type: character varying(10)
  ghm5_id:
    type: bigint
  ghm5_texte:
    type: character varying(255)
  ghm_prefixe:
    type: text
  ghm_suffixe:
    type: text
  groupe_activite_code:
    type: character varying(10)
  groupe_activite_id:
    type: bigint
  groupe_activite_texte:
    type: character varying(255)
  ht_fg11:
    type: character(1)
    default: "'0'::bpchar"
  ligne_oap_code:
    type: character varying(5)
  ligne_oap_id:
    type: bigint
  ligne_oap_texte:
    type: character varying(100)
  mco:
    type: character(1)
  mco_texte:
    type: character varying(255)
  oid:
    type: bigint
    not_null: NOT NULL
  pole_oap_code:
    type: character varying(10)
  pole_oap_id:
    type: bigint
  pole_oap_texte:
    type: character varying(100)
  section_code:
    type: 'text[]'
  section_id:
    type: 'bigint[]'
  section_texte:
    type: 'text[]'
  severite_ghm_code:
    type: character(1)
  severite_ghm_texte:
    type: character varying(255)
  texte:
    type: character varying(255)
constraints:
  t_ghm_c_pkey:
    type: PRIMARY KEY
    column: oid
  t_ghm_c_ukey1:
    type: UNIQUE
    column: code
indexes:
  i_ghm_c_1:
    column: mco
    method: btree
  i_ghm_c_10:
    column: '(section_id[7])'
    method: btree
  i_ghm_c_11:
    column: '(section_id[8])'
    method: btree
  i_ghm_c_12:
    column: '(section_id[9])'
    method: btree
  i_ghm_c_2:
    column: severite_ghm_code
    method: btree
  i_ghm_c_3:
    column: cmd_id
    method: btree
  i_ghm_c_4:
    column: groupe_activite_id
    method: btree
  i_ghm_c_5:
    column: pole_oap_id
    method: btree
  i_ghm_c_6:
    column: ligne_oap_id
    method: btree
  i_ghm_c_7:
    column: ghm5_id
    method: btree
  i_ghm_c_8:
    column: cas_id
    method: btree
  i_ghm_c_9:
    column: '(section_id[6])'
    method: btree