<?php


function init_ano_offests()
{
    global $anohosp_offsets_014;
    global $anohosp_offsets_2015;

    $anohosp_offsets_014 = array();
    $anohosp_offsets_2015 = array();

    // Version 014
    $anohosp_offsets_014["no_rsa_offset"] = 69;
    $anohosp_offsets_014["no_rsa_len"] = 10;
    $anohosp_offsets_014["code_pec_offset"] = 251;
    $anohosp_offsets_014["code_pec_len"] = 1;


    // Version 2015
    $anohosp_offsets_2015["immatriculation_assure_offset"] = 0;
    $anohosp_offsets_2015["immatriculation_assure_len"] = 0;
    $anohosp_offsets_2015["cle_immatriculation_assure_offset"] = 0;
    $anohosp_offsets_2015["cle_immatriculation_assure_len"] = 0;
    $anohosp_offsets_2015["date_naissance_offset"] = 0;
    $anohosp_offsets_2015["date_naissance_len"] = 0;
    $anohosp_offsets_2015["sexe_offset"] = 0;
    $anohosp_offsets_2015["sexe_len"] = 0;
    $anohosp_offsets_2015["no_sejour_administratif_offset"] = 37;
    $anohosp_offsets_2015["no_sejour_administratif_len"] = 20;
    $anohosp_offsets_2015["no_anonyme_offset"] = 30;
    $anohosp_offsets_2015["no_anonyme_len"] = 17;
    $anohosp_offsets_2015["no_rsa_offset"] = 52;
    $anohosp_offsets_2015["no_rsa_len"] = 10;
    $anohosp_offsets_2015["grand_regime_offset"] = 109;
    $anohosp_offsets_2015["grand_regime_len"] = 2;
    $anohosp_offsets_2015["code_gestion_offset"] = 111;
    $anohosp_offsets_2015["code_gestion_len"] = 2;
    $anohosp_offsets_2015["justificatif_exo_offset"] = 113;
    $anohosp_offsets_2015["justificatif_exo_len"] = 1;
    $anohosp_offsets_2015["code_pec_fj_offset"] = 114;
    $anohosp_offsets_2015["code_pec_fj_len"] = 1;
    $anohosp_offsets_2015["nature_assurance_offset"] = 115;
    $anohosp_offsets_2015["nature_assurance_len"] = 2;
    $anohosp_offsets_2015["type_contrat_oc_offset"] = 117;
    $anohosp_offsets_2015["type_contrat_oc_len"] = 2;
    $anohosp_offsets_2015["code_pec_offset"] = 119;
    $anohosp_offsets_2015["code_pec_len"] = 1;
    $anohosp_offsets_2015["motif_non_facturation_offset"] = 120;
    $anohosp_offsets_2015["motif_non_facturation_len"] = 1;
    $anohosp_offsets_2015["facturation_18euros_offset"] = 121;
    $anohosp_offsets_2015["facturation_18euros_len"] = 1;
    $anohosp_offsets_2015["nombre_venues_offset"] = 122;
    $anohosp_offsets_2015["nombre_venues_len"] = 4;
    $anohosp_offsets_2015["montant_tm_offset"] = 126;
    $anohosp_offsets_2015["montant_tm_len"] = 10;
    $anohosp_offsets_2015["montant_fj_offset"] = 136;
    $anohosp_offsets_2015["montant_fj_len"] = 10;
    $anohosp_offsets_2015["total_remboursable_amo_offset"] = 146;
    $anohosp_offsets_2015["total_remboursable_amo_len"] = 10;
    $anohosp_offsets_2015["montant_parcours_soins_offset"] = 156;
    $anohosp_offsets_2015["montant_parcours_soins_len"] = 4;
    $anohosp_offsets_2015["base_remboursement_c_offset"] = 160;
    $anohosp_offsets_2015["base_remboursement_c_len"] = 10;
    $anohosp_offsets_2015["taux_remboursement_c_offset"] = 170;
    $anohosp_offsets_2015["taux_remboursement_c_len"] = 5;
    $anohosp_offsets_2015["cmu_offset"] = 175;
    $anohosp_offsets_2015["cmu_len"] = 1;
    $anohosp_offsets_2015["hospit_nouveau_ne_offset"] = 208;
    $anohosp_offsets_2015["hospit_nouveau_ne_len"] = 1;
    $anohosp_offsets_2015["prelevement_organe_offset"] = 209;
    $anohosp_offsets_2015["prelevement_organe_len"] = 1;
    $anohosp_offsets_2015["total_remboursable_amc_offset"] = 218;
    $anohosp_offsets_2015["total_remboursable_amc_len"] = 10;
    $anohosp_offsets_2015["code_participation_assure_offset"] = 228;
    $anohosp_offsets_2015["code_participation_assure_len"] = 1;
    $anohosp_offsets_2015["no_entree_offset"] = 229;
    $anohosp_offsets_2015["no_entree_len"] = 9;
    $anohosp_offsets_2015["rang_naissance_offset"] = 238;
    $anohosp_offsets_2015["rang_naissance_len"] = 1;
    $anohosp_offsets_2015["rang_beneficiaire_offset"] = 239;
    $anohosp_offsets_2015["rang_beneficiaire_len"] = 3;
    $anohosp_offsets_2015["no_caisse_gestionnaire_offset"] = 242;
    $anohosp_offsets_2015["no_caisse_gestionnaire_len"] = 3;
    $anohosp_offsets_2015["no_centre_gestionnaire_offset"] = 245;
    $anohosp_offsets_2015["no_centre_gestionnaire_len"] = 4;
    $anohosp_offsets_2015["confirmation_pec_offset"] = 249;
    $anohosp_offsets_2015["confirmation_pec_len"] = 1;
    $anohosp_offsets_2015["no_at_date_adc_offset"] = 250;
    $anohosp_offsets_2015["no_at_date_adc_len"] = 9;
    $anohosp_offsets_2015["no_organisme_complementaire_offset"] = 259;
    $anohosp_offsets_2015["no_organisme_complementaire_len"] = 10;
    
}
