diff --git a/pom.xml b/pom.xml index 61181a7..895f619 100755 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.smartregister fhir-common-utils - 0.0.7-SNAPSHOT + 0.0.8-SNAPSHOT diff --git a/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java b/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java index 4c89883..9243478 100755 --- a/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java +++ b/src/main/java/org/smartregister/model/practitioner/FhirPractitionerDetails.java @@ -95,7 +95,7 @@ public class FhirPractitionerDetails extends Type implements ICompositeType { max = -1, modifier = false, summary = false) - private Practitioner practitioner; + private List practitioners; public List getCareTeams() { return careTeams; @@ -146,12 +146,12 @@ public void setGroups(List groups) { this.groups = groups; } - public Practitioner getPractitioner() { - return practitioner; + public List getPractitioners() { + return practitioners; } - public void setPractitioner(Practitioner practitioner) { - this.practitioner = practitioner; + public void setPractitioners(List practitioners) { + this.practitioners = practitioners; } @Override @@ -163,7 +163,7 @@ public Type copy() { @Override public boolean isEmpty() { - return ElementUtil.isEmpty(practitioner); + return ElementUtil.isEmpty(practitioners); } @Override