Skip to content

Commit

Permalink
Adding the Practitioner Id getter and setters (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubdabasoduba authored Aug 11, 2023
1 parent 3b8d18c commit 292899f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.smartregister</groupId>
<artifactId>fhir-common-utils</artifactId>
<version>0.0.9-SNAPSHOT</version>
<version>0.0.10-SNAPSHOT</version>

<distributionManagement>
<repository>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ public class FhirPractitionerDetails extends Type implements ICompositeType {
summary = false)
private List<OrganizationAffiliation> organizationAffiliations;

@Child(
name = "practitionerId",
type = {StringType.class},
order = 9,
min = 0,
max = -1,
modifier = false,
summary = false)
private StringType practitionerId;

public List<CareTeam> getCareTeams() {
return careTeams;
}
Expand Down Expand Up @@ -172,6 +182,14 @@ public void setOrganizationAffiliations(List<OrganizationAffiliation> organizati
this.organizationAffiliations = organizationAffiliations;
}

public StringType getPractitionerId() {
return practitionerId;
}

public void setPractitionerId(StringType practitionerId) {
this.practitionerId = practitionerId;
}

@Override
public Type copy() {
FhirPractitionerDetails fhirPractitionerDetails = new FhirPractitionerDetails();
Expand Down

0 comments on commit 292899f

Please sign in to comment.