(case, patient, importer)
return CaseBlock.deprecated_init(
        create=False,
        case_id=case.get_id,
        case_name=case_name,
        update=fields_to_update,
    )
Updates a case with imported patient details. Does not change owner.
Updates a case with imported patient details. Does not change owner.
Updates a case with imported patient details . Does not change owner .
def get_updatepatient_caseblock(case, patient, importer):
    """
    Updates a case with imported patient details. Does not change owner.
    """
    case_name, fields_to_update = get_case_properties(patient, importer)
    return CaseBlock.deprecated_init(
        create=False,
        case_id=case.get_id,
        case_name=case_name,
        update=fields_to_update,
    )
def get_updatepatient_caseblock ( case , patient , importer ) : case_name , fields_to_update = get_case_properties ( patient , importer ) return CaseBlock . deprecated_init ( create = False , case_id = case . get_id , case_name = case_name , update = fields_to_update , )