/**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["sejour_id"] = "ref class|CSejour";
     $props["plageconsult_id"] = "ref notNull class|CPlageconsult seekable show|1";
     $props["patient_id"] = "ref class|CPatient purgeable seekable show|1";
     $props["categorie_id"] = "ref class|CConsultationCategorie show|1";
     $props["grossesse_id"] = "ref class|CGrossesse show|0 unlink";
     $props["element_prescription_id"] = "ref class|CElementPrescription";
     $props["consult_related_id"] = "ref class|CConsultation show|0";
     $props["motif"] = "text helped seekable";
     $props["type"] = "enum list|classique|entree|chimio default|classique";
     $props["heure"] = "time notNull show|0";
     $props["duree"] = "num min|1 max|255 notNull default|1 show|0";
     $props["secteur1"] = "currency min|0 show|0";
     $props["secteur2"] = "currency show|0";
     $props["secteur3"] = "currency show|0";
     $props["taux_tva"] = "float";
     $props["du_tva"] = "currency show|0";
     $props["chrono"] = "enum notNull list|16|32|48|64 show|0";
     $props["annule"] = "bool show|0 default|0 notNull";
     $props["motif_annulation"] = "enum list|not_arrived|by_patient default|not_arrived";
     $props["_etat"] = "str";
     $props["rques"] = "text helped seekable";
     $props["examen"] = "text helped seekable";
     $props["traitement"] = "text helped seekable";
     $props["histoire_maladie"] = "text helped seekable";
     $props["brancardage"] = "text helped seekable";
     $props["conclusion"] = "text helped seekable";
     $props["facture"] = "bool default|0 show|0";
     $props["premiere"] = "bool show|0";
     $props["derniere"] = "bool show|0";
     $props["adresse"] = "bool show|0";
     $props["adresse_par_prat_id"] = "ref class|CMedecin";
     $props["arrivee"] = "dateTime show|0";
     $props["concerne_ALD"] = "bool";
     $props["patient_date_reglement"] = "date show|0";
     $props["tiers_date_reglement"] = "date show|0";
     $props["du_patient"] = "currency show|0";
     $props["du_tiers"] = "currency show|0";
     $props["type_assurance"] = "enum list|classique|at|maternite|smg";
     $props["date_at"] = "date";
     $props["fin_at"] = "dateTime";
     $props["num_at"] = "num length|8";
     $props["cle_at"] = "num length|1";
     $props['feuille_at'] = 'bool default|0';
     $props['org_at'] = 'numchar length|9';
     $props["pec_at"] = "enum list|soins|arret";
     $props["reprise_at"] = "dateTime";
     $props["at_sans_arret"] = "bool default|0";
     $props["arret_maladie"] = "bool default|0";
     $props["total_amo"] = "currency show|0";
     $props["total_amc"] = "currency show|0";
     $props["total_assure"] = "currency show|0";
     $props["valide"] = "bool show|0";
     $props["si_desistement"] = "bool notNull default|0";
     $props["_du_restant_patient"] = "currency";
     $props["_du_restant_tiers"] = "currency";
     $props["_reglements_total_patient"] = "currency";
     $props["_reglements_total_tiers"] = "currency";
     $props["_etat_reglement_patient"] = "enum list|reglee|non_reglee";
     $props["_etat_reglement_tiers"] = "enum list|reglee|non_reglee";
     $props["_forfait_se"] = "bool default|0";
     $props["_forfait_sd"] = "bool default|0";
     $props["_facturable"] = "bool default|1";
     $props["_uf_soins_id"] = "ref class|CUniteFonctionnelle seekable";
     $props["_date"] = "date";
     $props["_datetime"] = "dateTime show|1";
     $props["_date_min"] = "date";
     $props["_date_max"] = "date moreEquals|_date_min";
     $props["_type_affichage"] = "enum list|complete|totaux";
     $props["_all_group_compta"] = "bool default|1";
     $props["_all_group_money"] = "bool default|1";
     $props["_telephone"] = "bool default|0";
     $props["_coordonnees"] = "bool default|0";
     $props["_plages_vides"] = "bool default|1";
     $props["_non_pourvues"] = "bool default|1";
     $props["_print_ipp"] = "bool default|" . CAppUI::conf("dPcabinet CConsultation show_IPP_print_consult");
     $props["_check_adresse"] = "";
     $props["_somme"] = "currency";
     $props["_type"] = "enum list|urg|anesth";
     $props["_prat_id"] = "ref class|CMediusers";
     $props["_acte_dentaire_id"] = "ref class|CActeDentaire";
     $props["_praticien_id"] = "ref class|CMediusers show|1";
     $props["_function_secondary_id"] = "ref class|CFunctions";
     return $props;
 }
Ejemplo n.º 2
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $service_id_notNull = CAppUI::conf("dPplanningOp CSejour service_id_notNull") == 1;
     $props = parent::getProps();
     $props["patient_id"] = "ref notNull class|CPatient seekable";
     $props["praticien_id"] = "ref notNull class|CMediusers seekable autocomplete|nom";
     $props["group_id"] = "ref notNull class|CGroups";
     $props["grossesse_id"] = "ref class|CGrossesse unlink";
     $props["consult_related_id"] = "ref class|CConsultation show|0";
     $props["uf_hebergement_id"] = "ref class|CUniteFonctionnelle seekable";
     $props["uf_medicale_id"] = "ref class|CUniteFonctionnelle seekable";
     $props["uf_soins_id"] = "ref class|CUniteFonctionnelle seekable";
     $props["type"] = "enum notNull list|" . implode("|", self::$types) . " default|ambu";
     $props["charge_id"] = "ref class|CChargePriceIndicator autocomplete|libelle show|0";
     $props["modalite"] = "enum notNull list|office|libre|tiers default|libre show|0";
     $props["annule"] = "bool show|0";
     $props["recuse"] = "enum list|-1|0|1 default|0 show|0";
     $props["chambre_seule"] = "bool notNull show|0 default|" . (CGroups::loadCurrent()->chambre_particuliere ? 1 : 0);
     $props["reanimation"] = "bool default|0";
     $props["UHCD"] = "bool default|0";
     $props["service_id"] = "ref" . ($service_id_notNull ? ' notNull' : '') . " class|CService seekable";
     $props["entree_prevue"] = "dateTime notNull show|0";
     $props["sortie_prevue"] = "dateTime notNull moreEquals|entree_prevue show|0";
     $props["entree_reelle"] = "dateTime show|0";
     $props["sortie_reelle"] = "dateTime moreEquals|entree_reelle show|0";
     $props["entree"] = "dateTime derived show|0";
     $props["sortie"] = "dateTime moreEquals|entree derived show|0";
     $props["entree_preparee"] = "bool";
     $props["sortie_preparee"] = "bool";
     $props["entree_modifiee"] = "bool";
     $props["sortie_modifiee"] = "bool";
     $props["DP"] = "code cim10 show|0";
     $props["DR"] = "code cim10 show|0";
     $props["pathologie"] = "str length|3 show|0";
     $props["septique"] = "bool show|0";
     $props["convalescence"] = "text helped";
     $props["rques"] = "text helped";
     $props["ATNC"] = "bool show|0";
     $props["consult_accomp"] = "enum list|oui|non|nc default|nc";
     $props["hormone_croissance"] = "bool";
     $props["lit_accompagnant"] = "bool";
     $props["isolement"] = "bool";
     $props["isolement_date"] = "dateTime";
     $props["isolement_fin"] = "dateTime";
     $props["raison_medicale"] = "text helped";
     $props["television"] = "bool";
     $props["repas_diabete"] = "bool";
     $props["repas_sans_sel"] = "bool";
     $props["repas_sans_residu"] = "bool";
     $props["repas_sans_porc"] = "bool";
     $props["mode_entree"] = "enum list|8|7|6";
     $props["mode_entree_id"] = "ref class|CModeEntreeSejour autocomplete|libelle|true";
     $props["mode_sortie"] = "enum list|normal|transfert|mutation|deces";
     $props["mode_sortie_id"] = "ref class|CModeSortieSejour autocomplete|libelle|true";
     $props["confirme"] = "dateTime";
     $props["confirme_user_id"] = "ref class|CMediusers";
     $props["prestation_id"] = "ref class|CPrestation";
     $props["facturable"] = "bool notNull default|1 show|0";
     $props["etablissement_sortie_id"] = "ref class|CEtabExterne autocomplete|nom";
     $props["etablissement_entree_id"] = "ref class|CEtabExterne autocomplete|nom";
     $props["service_entree_id"] = "ref class|CService autocomplete|nom dependsOn|group_id|cancelled";
     $props["service_sortie_id"] = "ref class|CService autocomplete|nom dependsOn|group_id|cancelled";
     $props["adresse_par_prat_id"] = "ref class|CMedecin";
     $props["libelle"] = "str seekable autocomplete dependsOn|praticien_id";
     $props["facture"] = "bool default|0";
     $props["forfait_se"] = "bool default|0";
     $props["forfait_sd"] = "bool default|0";
     $props["commentaires_sortie"] = "text helped";
     $props["discipline_id"] = "ref class|CDisciplineTarifaire autocomplete|description show|0";
     $props["ald"] = "bool default|0";
     $props["provenance"] = "enum list|1|2|3|4|5|6|7|8|R";
     $props["date_entree_reelle_provenance"] = "dateTime";
     $props["destination"] = "enum list|0|" . implode("|", self::$destination_values);
     $props["transport"] = "enum list|perso|perso_taxi|ambu|ambu_vsl|vsab|smur|heli|fo";
     $props["transport_sortie"] = "enum list|perso|perso_taxi|ambu|ambu_vsl|vsab|smur|heli|fo";
     $props["rques_transport_sortie"] = "text";
     $props["type_pec"] = "enum list|M|C|O";
     $props["handicap"] = "bool default|0";
     $props["date_accident"] = "date";
     $props["nature_accident"] = "enum list|P|T|D|S|J|C|L|B|U";
     $props["reception_sortie"] = "dateTime";
     $props["completion_sortie"] = "dateTime";
     // Clôture des actes
     $props["cloture_activite_1"] = "bool default|0";
     $props["cloture_activite_4"] = "bool default|0";
     $props["technique_reanimation"] = "text helped";
     $props["_rques_assurance_maladie"] = "text helped";
     $props["_rques_assurance_accident"] = "text helped";
     $props["_assurance_maladie"] = "ref class|CCorrespondantPatient";
     $props["_assurance_accident"] = "ref class|CCorrespondantPatient";
     $props["_type_sejour"] = "enum list|maladie|accident|esthetique default|maladie";
     $props["_dialyse"] = "bool default|0";
     $props["_cession_creance"] = "bool default|0";
     $props["_statut_pro"] = "enum list|chomeur|etudiant|non_travailleur|independant|" . "invalide|militaire|retraite|salarie_fr|salarie_sw|sans_emploi";
     $props["_time_entree_prevue"] = "time";
     $props["_time_sortie_prevue"] = "time";
     $props["_entree"] = "dateTime show";
     $props["_sortie"] = "dateTime show";
     $props["_date_entree"] = "date";
     $props["_date_sortie"] = "date";
     $props["_date_min"] = "dateTime";
     $props["_date_max"] = "dateTime moreEquals|_date_min";
     $props["_horodatage"] = "enum list|entree_prevue|entree_reelle|sortie_prevue|sortie_reelle";
     $props["_admission"] = "text";
     $props["_service"] = "text";
     $props["_type_admission"] = "enum notNull list|ambucomp|comp|ambu|exte|seances|ssr|psy|urg|consult default|ambu";
     $props["_specialite"] = "text";
     $props["_date_min_stat"] = "date";
     $props["_date_max_stat"] = "date moreEquals|_date_min_stat";
     $props["_filter_type"] = "enum list|comp|ambu|exte|seances|ssr|psy|urg|consult";
     $props["_NDA"] = "str show|1";
     $props["_ccam_libelle"] = "bool default|0";
     $props["_coordonnees"] = "bool default|0";
     $props['_notes'] = 'bool default|0';
     $props['_by_date'] = 'bool default|0';
     $props["_adresse_par"] = "bool";
     $props["_adresse_par_prat"] = "str";
     $props["_etat"] = "enum list|preadmission|encours|cloture";
     $props["_duree_prevue"] = "num";
     $props["_duree_prevue_heure"] = "num";
     $props["_duree_reelle"] = "num";
     $props["_duree"] = "num";
     $props["_date_entree_prevue"] = "date";
     $props["_date_sortie_prevue"] = "date moreEquals|_date_entree_prevue";
     $props["_protocole_prescription_anesth_id"] = "str";
     $props["_protocole_prescription_chir_id"] = "str";
     $props["_motif_complet"] = "str";
     $props["_unique_lit_id"] = "ref class|C**t";
     $props["_date_deces"] = "dateTime";
     $props["_isolement_date"] = "dateTime";
     return $props;
 }