columns:
  acte_id:
    type: bigint
    default: "0"
  activite_ccam:
    type: character(1)
    default: "''::bpchar"
  coefficient:
    type: numeric(9,2)
    default: "1"
  coefficient_mco:
    type: numeric(7,4)
    default: "1"
  date_debut:
    type: date
  date_fin:
    type: date
  extension_ccam:
    type: character(1)
    default: "''::bpchar"
  facture_id:
    type: bigint
    default: "0"
  finess:
    type: character(9)
    not_null: NOT NULL
    default: "''::bpchar"
  heure_debut:
    type: integer
    default: "0"
  lieu_id:
    type: bigint
    default: "0"
  medecin_comptabilise_id:
    type: bigint
    default: "0"
  medecin_facture_id:
    type: bigint
    default: "0"
  modificateur_ccam_1:
    type: character(1)
    default: "''::bpchar"
  modificateur_ccam_2:
    type: character(1)
    default: "''::bpchar"
  modificateur_ccam_3:
    type: character(1)
    default: "''::bpchar"
  modificateur_ccam_4:
    type: character(1)
    default: "''::bpchar"
  montant_comptabilise:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_0:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_1:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_2:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_22:
    type: numeric(13,2)
    default: "0"
  montant_depassement:
    type: numeric(13,2)
    default: "0"
  montant_encours:
    type: numeric(13,2)
    default: "0"
  montant_encours_0:
    type: numeric(13,2)
    default: "0"
  montant_encours_1:
    type: numeric(13,2)
    default: "0"
  montant_encours_2:
    type: numeric(13,2)
    default: "0"
  montant_encours_22:
    type: numeric(13,2)
    default: "0"
  montant_facture:
    type: numeric(13,2)
    default: "0"
  montant_facture_0:
    type: numeric(13,2)
    default: "0"
  montant_facture_0_actes_inclus_dans_sejour:
    type: numeric(13,2)
  montant_facture_1:
    type: numeric(13,2)
    default: "0"
  montant_facture_1_actes_inclus_dans_sejour:
    type: numeric(13,2)
  montant_facture_2:
    type: numeric(13,2)
    default: "0"
  montant_facture_22:
    type: numeric(13,2)
    default: "0"
  montant_facture_22_actes_inclus_dans_sejour:
    type: numeric(13,2)
  montant_facture_2_actes_inclus_dans_sejour:
    type: numeric(13,2)
  montant_facture_actes_inclus_dans_sejour:
    type: numeric(13,2)
  montant_non_facture:
    type: numeric(13,2)
    default: "0"
  nb_prestation:
    type: numeric(5,0)
    default: "1"
  nb_rubrique:
    type: numeric(5,0)
    default: "1"
  no_facture:
    type: text
    not_null: NOT NULL
  phase_ccam:
    type: character(1)
    default: "''::bpchar"
  pole_id:
    type: bigint
    default: "0"
  prestation_id:
    type: bigint
    default: "0"
  prix_unitaire:
    type: numeric(13,2)
    default: "0"
  protocole_id:
    type: bigint
    default: "0"
  rubrique_comptabilisation_id:
    type: bigint
    default: "0"
  rubrique_facturation_id:
    type: bigint
    default: "0"
  taux_0:
    type: numeric(5,2)
    default: "0"
  taux_1:
    type: numeric(5,2)
    default: "0"
  taux_2:
    type: numeric(5,2)
    default: "0"
  taux_22:
    type: numeric(5,2)
    default: "0"
indexes:
  i_factures_lignes_h_1:
    column: no_facture
    method: btree
  i_factures_lignes_h_2:
    column: prestation_id
    method: btree
  i_factures_lignes_h_3:
    column: medecin_facture_id
    method: btree
  i_factures_lignes_h_4:
    column: medecin_comptabilise_id
    method: btree
  i_factures_lignes_h_5:
    column: date_fin
    method: btree
  i_factures_lignes_h_6:
    column: date_debut
    method: btree
  i_factures_lignes_h_7:
    column: lieu_id
    method: btree
  i_factures_lignes_h_8:
    column: acte_id
    method: btree
  i_factures_lignes_h_9:
    column: facture_id
    method: btree
  i_factures_lignes_h_pole_id:
    column: pole_id
    method: btree