-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #322 from OpenSRP/issue1411-family-kit-task
Integrated Family kit constants and alert rules
- Loading branch information
Showing
6 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
opensrp-chw-core/src/main/java/org/smartregister/chw/core/rule/FamilyKitAlertRule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.smartregister.chw.core.rule; | ||
|
||
import android.content.Context; | ||
|
||
//All date formats ISO 8601 yyyy-mm-dd | ||
|
||
/** | ||
* Created by Qazi Abubakar | ||
*/ | ||
public class FamilyKitAlertRule extends MonthlyAlertRule { | ||
|
||
public FamilyKitAlertRule(Context context, long lastVisitDateLong, long dateCreatedLong) { | ||
super(context, lastVisitDateLong, dateCreatedLong); | ||
} | ||
|
||
@Override | ||
public String getRuleKey() { | ||
return "familyKitAlertRule"; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters