rp5.addTelephoneNumber(new Telecom("tel:07334345612"));
rp5.setPersonName(new PersonName()
.setTitle("Mrs")
.setGivenName("Isabella")
.setFamilyName("Hopkins"));
rp5.setOrgId(new OrgID()
.setID("V356F")
.setType(OrgIDType.ODSOrgID.code));
rp5.setOrgDescription("St James Hospital");
template.addRelatedPerson(new RelatedPersonDetails().setParticipant(rp5));
PatientRelationshipParticipantRole rp6 = new PatientRelationshipParticipantRole();
rp6.addID(new PersonID()
.setID("112")
.setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
.setType(PersonIDType.LocalPersonID.code));
rp6.setPersonRole(JobRoleName._NR2030);
rp6.setAssociatedJobRole(JobRoleName._NR0260);
rp6.setAddress(new Address()
.addAddressLine("Freshney Green PCC")
.addAddressLine("Carlton Court")
.addAddressLine("Martin Road")
.addAddressLine("Grimsby")
.setPostcode("DN34 4GB")
.setAddressUse(AddressType.WorkPlace.code));
rp6.addTelephoneNumber(new Telecom("tel:07621846951"));
rp6.setPersonName(new PersonName()
.setTitle("Dr")
.setGivenName("John")
.setFamilyName("Manning"));
rp6.setOrgId(new OrgID()
.setID("V365F")
.setType(OrgIDType.ODSOrgID.code));
rp6.setOrgDescription("Freshney Green PCC");
template.addRelatedPerson(new RelatedPersonDetails().setParticipant(rp6));
return template;