diff --git a/pom.xml b/pom.xml
index 8f724f4..41bab79 100755
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.smartregister
fhir-common-utils
- 0.0.3-SNAPSHOT
+ 0.0.4-SNAPSHOT
diff --git a/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java b/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java
index d204cbe..22ce639 100755
--- a/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java
+++ b/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java
@@ -68,10 +68,29 @@ public class FhirPractitionerDetails extends Type implements ICompositeType {
summary = false)
private List locationHierarchyList;
+ @Child(
+ name = "practitionerRoles",
+ type = {PractitionerRole.class},
+ order = 5,
+ min = 0,
+ max = -1,
+ modifier = false,
+ summary = false)
+ List practitionerRoles;
+
+ @Child(
+ name = "groups",
+ type = {Group.class},
+ order = 6,
+ min = 0,
+ max = -1,
+ modifier = false,
+ summary = false)
+ List groups;
@Child(
name = "practitionerId",
type = {StringType.class},
- order = 5,
+ order = 7,
min = 0,
max = -1,
modifier = false,
@@ -111,6 +130,22 @@ public void setLocationHierarchyList(List locationHierarchyLi
this.locationHierarchyList = locationHierarchyList;
}
+ public List getPractitionerRoles() {
+ return practitionerRoles;
+ }
+
+ public void setPractitionerRoles(List practitionerRoles) {
+ this.practitionerRoles = practitionerRoles;
+ }
+
+ public List getGroups() {
+ return groups;
+ }
+
+ public void setGroups(List groups) {
+ this.groups = groups;
+ }
+
public StringType getPractitionerId() {
return practitionerId;
}