Skip to content

Commit c20d01a

Browse files
authored
Merge pull request #45 from ArkeupIDComores/feature-10
Implémentation de l'affichage des membres de famille monogame
2 parents 1770a5c + 96c0a47 commit c20d01a

33 files changed

Lines changed: 2729 additions & 13 deletions

claimManagement/src/main/AndroidManifest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@
115115
<activity
116116
android:name=".claimlisting.ClaimListingActivity"
117117
android:exported="false" />
118+
<activity
119+
android:name=".SubHouseholdActivity"
120+
android:label="Sous-famille"
121+
android:theme="@style/AppTheme.NoActionBar" />
118122
</application>
119123

120124
</manifest>
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
query GetFamiliesWithParent($parent_Uuid: String!) {
2+
families(parent_Uuid: $parent_Uuid, first: 20) {
3+
totalCount
4+
pageInfo {
5+
hasNextPage
6+
hasPreviousPage
7+
startCursor
8+
endCursor
9+
}
10+
edges {
11+
node {
12+
id
13+
uuid
14+
confirmationNo
15+
address
16+
parent {
17+
id
18+
uuid
19+
familyType {
20+
code
21+
}
22+
headInsuree {
23+
uuid
24+
}
25+
}
26+
headInsuree {
27+
id
28+
uuid
29+
chfId
30+
lastName
31+
otherNames
32+
gender {
33+
code
34+
}
35+
dob
36+
photo {
37+
id
38+
photo
39+
}
40+
}
41+
location {
42+
id
43+
uuid
44+
code
45+
name
46+
}
47+
}
48+
}
49+
}
50+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
query GetFamilyMembers($familyUuid: String!) {
2+
familyMembers(familyUuid: $familyUuid) {
3+
edges {
4+
node {
5+
uuid
6+
chfId
7+
lastName
8+
otherNames
9+
gender {
10+
code
11+
gender
12+
}
13+
dob
14+
photo {
15+
id
16+
photo
17+
}
18+
relationship {
19+
id
20+
relation
21+
}
22+
family {
23+
uuid
24+
parent {
25+
uuid
26+
}
27+
}
28+
}
29+
}
30+
}
31+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
query GetFamilyTypes {
2+
familyTypes {
3+
code
4+
type
5+
sortOrder
6+
altLanguage
7+
}
8+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
query GetFamilyWithType($uuid: String!) {
2+
families(uuid: $uuid, first: 1) {
3+
totalCount
4+
pageInfo {
5+
hasNextPage
6+
hasPreviousPage
7+
startCursor
8+
endCursor
9+
}
10+
edges {
11+
node {
12+
id
13+
uuid
14+
confirmationNo
15+
address
16+
familyType {
17+
code
18+
type
19+
sortOrder
20+
altLanguage
21+
}
22+
headInsuree {
23+
id
24+
uuid
25+
chfId
26+
lastName
27+
otherNames
28+
gender {
29+
code
30+
gender
31+
}
32+
dob
33+
photo {
34+
id
35+
photo
36+
}
37+
}
38+
location {
39+
id
40+
uuid
41+
code
42+
name
43+
}
44+
parent {
45+
id
46+
uuid
47+
familyType {
48+
code
49+
type
50+
}
51+
}
52+
}
53+
}
54+
}
55+
}

claimManagement/src/main/graphql/org.openimis.imisclaim/GetInsureeInquire.graphql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ query GetInsureeInquire($chfId: String) {
1111
gender {
1212
gender
1313
}
14+
family {
15+
uuid
16+
}
1417
photos {
1518
folder
1619
filename

claimManagement/src/main/graphql/org.openimis.imisclaim/schema.graphqls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type Query {
9090
familyTypes: [FamilyTypeGQLType]
9191
confirmationTypes: [ConfirmationTypeGQLType]
9292
relations: [RelationGQLType]
93-
families(nullAsFalsePoverty: Boolean, showHistory: Boolean, parentLocation: String, parentLocationLevel: Int, clientMutationId: String, orderBy: [String], additionalFilter: JSONString, officer: String, offset: Int, before: String, after: String, first: Int, last: Int, uuid: String, poverty: Boolean, poverty_Isnull: Boolean, confirmationNo: String, confirmationNo_Istartswith: String, confirmationNo_Icontains: String, confirmationNo_Iexact: String, confirmationType: ID, familyType: ID, address: String, address_Istartswith: String, address_Icontains: String, address_Iexact: String, ethnicity: String, isOffline: Boolean, location_Id: ID, location_Uuid: String, location_Code: String, location_Code_Istartswith: String, location_Code_Icontains: String, location_Code_Iexact: String, location_Code_Ne: String, location_Name: String, location_Name_Istartswith: String, location_Name_Icontains: String, location_Name_Iexact: String, location_Name_Ne: String, location_Type: String, location_Parent_Uuid: String, location_Parent_Uuid_In: [String], location_Parent_Parent_Uuid: String, location_Parent_Parent_Uuid_In: [String], location_Parent_Parent_Parent_Uuid: String, location_Parent_Parent_Parent_Uuid_In: [String], location_Parent_Id: ID, location_Parent_Id_In: [ID], headInsuree_Uuid: String, headInsuree_ChfId: String, headInsuree_ChfId_Istartswith: String, headInsuree_ChfId_Icontains: String, headInsuree_ChfId_Iexact: String, headInsuree_LastName: String, headInsuree_LastName_Istartswith: String, headInsuree_LastName_Icontains: String, headInsuree_LastName_Iexact: String, headInsuree_OtherNames: String, headInsuree_OtherNames_Istartswith: String, headInsuree_OtherNames_Icontains: String, headInsuree_OtherNames_Iexact: String, headInsuree_Email: String, headInsuree_Email_Istartswith: String, headInsuree_Email_Icontains: String, headInsuree_Email_Iexact: String, headInsuree_Email_Isnull: Boolean, headInsuree_Phone: String, headInsuree_Phone_Istartswith: String, headInsuree_Phone_Icontains: String, headInsuree_Phone_Iexact: String, headInsuree_Phone_Isnull: Boolean, headInsuree_Dob: Date, headInsuree_Dob_Lt: Date, headInsuree_Dob_Lte: Date, headInsuree_Dob_Gt: Date, headInsuree_Dob_Gte: Date, headInsuree_Dob_Isnull: Boolean, headInsuree_Head: Boolean, headInsuree_Passport: String, headInsuree_Passport_Istartswith: String, headInsuree_Passport_Icontains: String, headInsuree_Passport_Iexact: String, headInsuree_Passport_Isnull: Boolean, headInsuree_Gender_Code: String, headInsuree_Marital: String, headInsuree_Marital_Isnull: Boolean, headInsuree_ValidityFrom: DateTime, headInsuree_ValidityFrom_Lt: DateTime, headInsuree_ValidityFrom_Lte: DateTime, headInsuree_ValidityFrom_Gt: DateTime, headInsuree_ValidityFrom_Gte: DateTime, headInsuree_ValidityFrom_Isnull: Boolean, headInsuree_ValidityTo: DateTime, headInsuree_ValidityTo_Lt: DateTime, headInsuree_ValidityTo_Lte: DateTime, headInsuree_ValidityTo_Gt: DateTime, headInsuree_ValidityTo_Gte: DateTime, headInsuree_ValidityTo_Isnull: Boolean, headInsuree_Photo_Id: ID, headInsuree_Photo_Isnull: Boolean, members_Uuid: String, members_ChfId: String, members_ChfId_Istartswith: String, members_ChfId_Icontains: String, members_ChfId_Iexact: String, members_LastName: String, members_LastName_Istartswith: String, members_LastName_Icontains: String, members_LastName_Iexact: String, members_OtherNames: String, members_OtherNames_Istartswith: String, members_OtherNames_Icontains: String, members_OtherNames_Iexact: String, members_Email: String, members_Email_Istartswith: String, members_Email_Icontains: String, members_Email_Iexact: String, members_Email_Isnull: Boolean, members_Phone: String, members_Phone_Istartswith: String, members_Phone_Icontains: String, members_Phone_Iexact: String, members_Phone_Isnull: Boolean, members_Dob: Date, members_Dob_Lt: Date, members_Dob_Lte: Date, members_Dob_Gt: Date, members_Dob_Gte: Date, members_Dob_Isnull: Boolean, members_Head: Boolean, members_Passport: String, members_Passport_Istartswith: String, members_Passport_Icontains: String, members_Passport_Iexact: String, members_Passport_Isnull: Boolean, members_Gender_Code: String, members_Marital: String, members_Marital_Isnull: Boolean, members_ValidityFrom: DateTime, members_ValidityFrom_Lt: DateTime, members_ValidityFrom_Lte: DateTime, members_ValidityFrom_Gt: DateTime, members_ValidityFrom_Gte: DateTime, members_ValidityFrom_Isnull: Boolean, members_ValidityTo: DateTime, members_ValidityTo_Lt: DateTime, members_ValidityTo_Lte: DateTime, members_ValidityTo_Gt: DateTime, members_ValidityTo_Gte: DateTime, members_ValidityTo_Isnull: Boolean, members_Photo_Id: ID, members_Photo_Isnull: Boolean): FamilyGQLTypeConnection
93+
families(nullAsFalsePoverty: Boolean, showHistory: Boolean, parentLocation: String, parentLocationLevel: Int, clientMutationId: String, orderBy: [String], additionalFilter: JSONString, officer: String, offset: Int, before: String, after: String, first: Int, last: Int, uuid: String, parent_Uuid: String, poverty: Boolean, poverty_Isnull: Boolean, confirmationNo: String, confirmationNo_Istartswith: String, confirmationNo_Icontains: String, confirmationNo_Iexact: String, confirmationType: ID, familyType: ID, address: String, address_Istartswith: String, address_Icontains: String, address_Iexact: String, ethnicity: String, isOffline: Boolean, location_Id: ID, location_Uuid: String, location_Code: String, location_Code_Istartswith: String, location_Code_Icontains: String, location_Code_Iexact: String, location_Code_Ne: String, location_Name: String, location_Name_Istartswith: String, location_Name_Icontains: String, location_Name_Iexact: String, location_Name_Ne: String, location_Type: String, location_Parent_Uuid: String, location_Parent_Uuid_In: [String], location_Parent_Parent_Uuid: String, location_Parent_Parent_Uuid_In: [String], location_Parent_Parent_Parent_Uuid: String, location_Parent_Parent_Parent_Uuid_In: [String], location_Parent_Id: ID, location_Parent_Id_In: [ID], headInsuree_Uuid: String, headInsuree_ChfId: String, headInsuree_ChfId_Istartswith: String, headInsuree_ChfId_Icontains: String, headInsuree_ChfId_Iexact: String, headInsuree_LastName: String, headInsuree_LastName_Istartswith: String, headInsuree_LastName_Icontains: String, headInsuree_LastName_Iexact: String, headInsuree_OtherNames: String, headInsuree_OtherNames_Istartswith: String, headInsuree_OtherNames_Icontains: String, headInsuree_OtherNames_Iexact: String, headInsuree_Email: String, headInsuree_Email_Istartswith: String, headInsuree_Email_Icontains: String, headInsuree_Email_Iexact: String, headInsuree_Email_Isnull: Boolean, headInsuree_Phone: String, headInsuree_Phone_Istartswith: String, headInsuree_Phone_Icontains: String, headInsuree_Phone_Iexact: String, headInsuree_Phone_Isnull: Boolean, headInsuree_Dob: Date, headInsuree_Dob_Lt: Date, headInsuree_Dob_Lte: Date, headInsuree_Dob_Gt: Date, headInsuree_Dob_Gte: Date, headInsuree_Dob_Isnull: Boolean, headInsuree_Head: Boolean, headInsuree_Passport: String, headInsuree_Passport_Istartswith: String, headInsuree_Passport_Icontains: String, headInsuree_Passport_Iexact: String, headInsuree_Passport_Isnull: Boolean, headInsuree_Gender_Code: String, headInsuree_Marital: String, headInsuree_Marital_Isnull: Boolean, headInsuree_ValidityFrom: DateTime, headInsuree_ValidityFrom_Lt: DateTime, headInsuree_ValidityFrom_Lte: DateTime, headInsuree_ValidityFrom_Gt: DateTime, headInsuree_ValidityFrom_Gte: DateTime, headInsuree_ValidityFrom_Isnull: Boolean, headInsuree_ValidityTo: DateTime, headInsuree_ValidityTo_Lt: DateTime, headInsuree_ValidityTo_Lte: DateTime, headInsuree_ValidityTo_Gt: DateTime, headInsuree_ValidityTo_Gte: DateTime, headInsuree_ValidityTo_Isnull: Boolean, headInsuree_Photo_Id: ID, headInsuree_Photo_Isnull: Boolean, members_Uuid: String, members_ChfId: String, members_ChfId_Istartswith: String, members_ChfId_Icontains: String, members_ChfId_Iexact: String, members_LastName: String, members_LastName_Istartswith: String, members_LastName_Icontains: String, members_LastName_Iexact: String, members_OtherNames: String, members_OtherNames_Istartswith: String, members_OtherNames_Icontains: String, members_OtherNames_Iexact: String, members_Email: String, members_Email_Istartswith: String, members_Email_Icontains: String, members_Email_Iexact: String, members_Email_Isnull: Boolean, members_Phone: String, members_Phone_Istartswith: String, members_Phone_Icontains: String, members_Phone_Iexact: String, members_Phone_Isnull: Boolean, members_Dob: Date, members_Dob_Lt: Date, members_Dob_Lte: Date, members_Dob_Gt: Date, members_Dob_Gte: Date, members_Dob_Isnull: Boolean, members_Head: Boolean, members_Passport: String, members_Passport_Istartswith: String, members_Passport_Icontains: String, members_Passport_Iexact: String, members_Passport_Isnull: Boolean, members_Gender_Code: String, members_Marital: String, members_Marital_Isnull: Boolean, members_ValidityFrom: DateTime, members_ValidityFrom_Lt: DateTime, members_ValidityFrom_Lte: DateTime, members_ValidityFrom_Gt: DateTime, members_ValidityFrom_Gte: DateTime, members_ValidityFrom_Isnull: Boolean, members_ValidityTo: DateTime, members_ValidityTo_Lt: DateTime, members_ValidityTo_Lte: DateTime, members_ValidityTo_Gt: DateTime, members_ValidityTo_Gte: DateTime, members_ValidityTo_Isnull: Boolean, members_Photo_Id: ID, members_Photo_Isnull: Boolean): FamilyGQLTypeConnection
9494
familyMembers(familyUuid: String!, orderBy: [String], offset: Int, before: String, after: String, first: Int, last: Int, uuid: String, chfId: String, chfId_Istartswith: String, chfId_Icontains: String, chfId_Iexact: String, lastName: String, lastName_Istartswith: String, lastName_Icontains: String, lastName_Iexact: String, otherNames: String, otherNames_Istartswith: String, otherNames_Icontains: String, otherNames_Iexact: String, email: String, email_Istartswith: String, email_Icontains: String, email_Iexact: String, email_Isnull: Boolean, phone: String, phone_Istartswith: String, phone_Icontains: String, phone_Iexact: String, phone_Isnull: Boolean, dob: Date, dob_Lt: Date, dob_Lte: Date, dob_Gt: Date, dob_Gte: Date, dob_Isnull: Boolean, head: Boolean, passport: String, passport_Istartswith: String, passport_Icontains: String, passport_Iexact: String, passport_Isnull: Boolean, gender_Code: String, marital: String, marital_Isnull: Boolean, validityFrom: DateTime, validityFrom_Lt: DateTime, validityFrom_Lte: DateTime, validityFrom_Gt: DateTime, validityFrom_Gte: DateTime, validityFrom_Isnull: Boolean, validityTo: DateTime, validityTo_Lt: DateTime, validityTo_Lte: DateTime, validityTo_Gt: DateTime, validityTo_Gte: DateTime, validityTo_Isnull: Boolean, photo_Id: ID, photo_Isnull: Boolean): InsureeGQLTypeConnection
9595
insureeOfficers(offset: Int, before: String, after: String, first: Int, last: Int, id: ID, uuid: String, code: String, code_Icontains: String, lastName: String, lastName_Icontains: String, otherNames: String, otherNames_Icontains: String, dob: Date): OfficerGQLTypeConnection
9696
insureePolicy(parentLocation: String, parentLocationLevel: Int, orderBy: [String], additionalFilter: JSONString, offset: Int, before: String, after: String, first: Int, last: Int, enrollmentDate: Date, enrollmentDate_Lt: Date, enrollmentDate_Lte: Date, enrollmentDate_Gt: Date, enrollmentDate_Gte: Date, startDate: Date, startDate_Lt: Date, startDate_Lte: Date, startDate_Gt: Date, startDate_Gte: Date, effectiveDate: Date, effectiveDate_Lt: Date, effectiveDate_Lte: Date, effectiveDate_Gt: Date, effectiveDate_Gte: Date, expiryDate: Date, expiryDate_Lt: Date, expiryDate_Lte: Date, expiryDate_Gt: Date, expiryDate_Gte: Date, insuree_Uuid: String, insuree_ChfId: String, insuree_ChfId_Istartswith: String, insuree_ChfId_Icontains: String, insuree_ChfId_Iexact: String, insuree_LastName: String, insuree_LastName_Istartswith: String, insuree_LastName_Icontains: String, insuree_LastName_Iexact: String, insuree_OtherNames: String, insuree_OtherNames_Istartswith: String, insuree_OtherNames_Icontains: String, insuree_OtherNames_Iexact: String, insuree_Email: String, insuree_Email_Istartswith: String, insuree_Email_Icontains: String, insuree_Email_Iexact: String, insuree_Email_Isnull: Boolean, insuree_Phone: String, insuree_Phone_Istartswith: String, insuree_Phone_Icontains: String, insuree_Phone_Iexact: String, insuree_Phone_Isnull: Boolean, insuree_Dob: Date, insuree_Dob_Lt: Date, insuree_Dob_Lte: Date, insuree_Dob_Gt: Date, insuree_Dob_Gte: Date, insuree_Dob_Isnull: Boolean, insuree_Head: Boolean, insuree_Passport: String, insuree_Passport_Istartswith: String, insuree_Passport_Icontains: String, insuree_Passport_Iexact: String, insuree_Passport_Isnull: Boolean, insuree_Gender_Code: String, insuree_Marital: String, insuree_Marital_Isnull: Boolean, insuree_ValidityFrom: DateTime, insuree_ValidityFrom_Lt: DateTime, insuree_ValidityFrom_Lte: DateTime, insuree_ValidityFrom_Gt: DateTime, insuree_ValidityFrom_Gte: DateTime, insuree_ValidityFrom_Isnull: Boolean, insuree_ValidityTo: DateTime, insuree_ValidityTo_Lt: DateTime, insuree_ValidityTo_Lte: DateTime, insuree_ValidityTo_Gt: DateTime, insuree_ValidityTo_Gte: DateTime, insuree_ValidityTo_Isnull: Boolean, insuree_Photo_Id: ID, insuree_Photo_Isnull: Boolean, policy_Id: ID, policy_Uuid: String, policy_EnrollDate: Date, policy_EnrollDate_Lt: Date, policy_EnrollDate_Lte: Date, policy_EnrollDate_Gt: Date, policy_EnrollDate_Gte: Date, policy_StartDate: Date, policy_StartDate_Lt: Date, policy_StartDate_Lte: Date, policy_StartDate_Gt: Date, policy_StartDate_Gte: Date, policy_EffectiveDate: Date, policy_EffectiveDate_Lt: Date, policy_EffectiveDate_Lte: Date, policy_EffectiveDate_Gt: Date, policy_EffectiveDate_Gte: Date, policy_ExpiryDate: Date, policy_ExpiryDate_Lt: Date, policy_ExpiryDate_Lte: Date, policy_ExpiryDate_Gt: Date, policy_ExpiryDate_Gte: Date, policy_Stage: String, policy_Status: Int, policy_Status_Lt: Int, policy_Status_Lte: Int, policy_Status_Gt: Int, policy_Status_Gte: Int, policy_Value: Decimal, policy_Value_Lt: Decimal, policy_Value_Lte: Decimal, policy_Value_Gt: Decimal, policy_Value_Gte: Decimal, policy_Product_Id: ID, policy_Product_Uuid: String, policy_Product_Code: String, policy_Product_Code_Icontains: String, policy_Product_Code_Istartswith: String, policy_Product_Name: String, policy_Product_Name_Icontains: String, policy_Product_Name_Istartswith: String, policy_Product_DateFrom: DateTime, policy_Product_DateFrom_Gt: DateTime, policy_Product_DateFrom_Gte: DateTime, policy_Product_DateFrom_Lt: DateTime, policy_Product_DateFrom_Lte: DateTime, policy_Product_DateTo: DateTime, policy_Product_DateTo_Gt: DateTime, policy_Product_DateTo_Gte: DateTime, policy_Product_DateTo_Lt: DateTime, policy_Product_DateTo_Lte: DateTime, policy_Product_Location_Isnull: Boolean, policy_Officer_Id: ID, policy_Officer_Uuid: String, policy_Officer_Code: String, policy_Officer_Code_Icontains: String, policy_Officer_LastName: String, policy_Officer_LastName_Icontains: String, policy_Officer_OtherNames: String, policy_Officer_OtherNames_Icontains: String, policy_Officer_Dob: Date): InsureePolicyGQLTypeConnection
@@ -775,6 +775,7 @@ type FamilyGQLType implements Node {
775775
uuid: String!
776776
headInsuree: InsureeGQLType!
777777
location: LocationGQLType
778+
parent: FamilyGQLType
778779
poverty: Boolean
779780
familyType: FamilyTypeGQLType
780781
address: String

0 commit comments

Comments
 (0)