columns:
  cout:
    type: numeric(13,2)
    default: "0"
  date_entree:
    type: date
  date_sortie:
    type: date
  element_cout_id:
    type: bigint
  exercice_comptable:
    type: numeric(4,0)
    default: "0"
  ghm_id:
    type: bigint
  ghs_id:
    type: bigint
  lieu_id:
    type: bigint
  medecin_administratif_id:
    type: bigint
  mois_comptable:
    type: numeric(6,0)
    not_null: NOT NULL
    default: "0"
  montant_facture:
    type: numeric(13,2)
    default: "0"
  no_facture:
    type: character varying(20)
    not_null: NOT NULL
  no_sejour:
    type: character(10)
    not_null: NOT NULL
  prix_unitaire:
    type: numeric(13,4)
    default: "0"
  quantite_consommee:
    type: numeric(20,6)
    default: "0"
  unite_oeuvre_id:
    type: bigint
indexes:
  i_couts_patient_shs_1:
    column: mois_comptable
    method: btree
  i_couts_patient_shs_2:
    column: lieu_id
    method: btree
  i_couts_patient_shs_3:
    column: medecin_administratif_id
    method: btree
  i_couts_patient_shs_4:
    column: ghs_id
    method: btree
  i_couts_patient_shs_5:
    column: element_cout_id
    method: btree
  i_couts_patient_shs_6:
    column: unite_oeuvre_id
    method: btree
  i_couts_patient_shs_7:
    column: ghm_id
    method: btree
  i_couts_patient_shs_8:
    column: medecin_administratif_id
    method: btree