-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EA-198-2: Add support for configuring (and fetching) Mother Child rel… (
#238)
- Loading branch information
1 parent
131ee91
commit 81bf287
Showing
9 changed files
with
138 additions
and
212 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
api/src/main/java/org/openmrs/module/emrapi/maternal/Child.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
api/src/main/java/org/openmrs/module/emrapi/maternal/ChildrenByMothersSearchCriteria.java
This file was deleted.
Oops, something went wrong.
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
19 changes: 19 additions & 0 deletions
19
api/src/main/java/org/openmrs/module/emrapi/maternal/MothersAndChildrenSearchCriteria.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,19 @@ | ||
package org.openmrs.module.emrapi.maternal; | ||
|
||
import java.util.List; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class MothersAndChildrenSearchCriteria { | ||
private List<String> motherUuids; // restrict to children of these mothers | ||
private List<String> childUuids; // restrict to mothers of these children | ||
private boolean motherRequiredToHaveActiveVisit = false; // restrict to mothers who have an active visit | ||
private boolean childRequiredToHaveActiveVisit = false; // restrict to mothers of children who have an active visit | ||
private boolean childRequiredToBeBornDuringMothersActiveVisit = false; // restrict to mothers who had a child born during their active visit | ||
|
||
} |
19 changes: 0 additions & 19 deletions
19
api/src/main/java/org/openmrs/module/emrapi/maternal/MothersByChildrenSearchCriteria.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.