Пример #1
0
def IntraHealthFormFluffPillow(delete_filtered=False):
    return get_multi_fluff_pillow(
        indicator_classes=[
            TauxDeSatisfactionFluff,
            CouvertureFluff,
            RecapPassageFluff,
            IntraHealthFluff,
            TauxDeRuptureFluff,
            LivraisonFluff,
        ],
        name='IntraHealthFormFluff',
        kafka_topic=FORM_SQL if settings.SERVER_ENVIRONMENT == 'pna' else FORM,
        delete_filtered=delete_filtered)
Пример #2
0
def M4ChangeFormFluffPillow(delete_filtered=False):
    return get_multi_fluff_pillow(indicator_classes=[
        AncHmisCaseFluff,
        LdHmisCaseFluff,
        ImmunizationHmisCaseFluff,
        ProjectIndicatorsCaseFluff,
        McctMonthlyAggregateFormFluff,
        AllHmisCaseFluff,
    ],
                                  name='M4ChangeFormFluff',
                                  kafka_topic=get_topic_for_doc_type(
                                      XFormInstance().to_json()['doc_type']),
                                  delete_filtered=delete_filtered)
Пример #3
0
def IntraHealthFormFluffPillow(delete_filtered=False):
    return get_multi_fluff_pillow(
        indicator_classes=[
            TauxDeSatisfactionFluff,
            CouvertureFluff,
            RecapPassageFluff,
            IntraHealthFluff,
            TauxDeRuptureFluff,
            LivraisonFluff,
        ],
        name='IntraHealthFormFluff',
        kafka_topic=get_topic(get_doc_meta_object_from_document(XFormInstance().to_json())),
        delete_filtered=delete_filtered
    )
Пример #4
0
def M4ChangeFormFluffPillow(delete_filtered=False):
    return get_multi_fluff_pillow(
        indicator_classes=[
            AncHmisCaseFluff,
            LdHmisCaseFluff,
            ImmunizationHmisCaseFluff,
            ProjectIndicatorsCaseFluff,
            McctMonthlyAggregateFormFluff,
            AllHmisCaseFluff,
        ],
        name='M4ChangeFormFluff',
        kafka_topic=get_topic_for_doc_type(XFormInstance().to_json()['doc_type']),
        delete_filtered=delete_filtered
    )
Пример #5
0
def IntraHealthFormFluffPillow(delete_filtered=False):
    return get_multi_fluff_pillow(
        indicator_classes=[
            TauxDeSatisfactionFluff,
            CouvertureFluff,
            RecapPassageFluff,
            IntraHealthFluff,
            TauxDeRuptureFluff,
            LivraisonFluff,
        ],
        name='IntraHealthFormFluff',
        kafka_topic=FORM_SQL if settings.SERVER_ENVIRONMENT == 'pna' else FORM,
        delete_filtered=delete_filtered
    )