.setType(PersonIDType.LocalPersonID.code)
.setID("101")
.setAssigningOrganisation("5L399:Medway NHS Foundation Trust"));
// In the sample XML the SDSJobRoleName vocab is used (which is an empty vocab). We will use it's OID here:
template.setJobRoleName(new CodedValue("OOH02","Nurse Practitioner","2.16.840.1.113883.2.1.3.2.4.17.196"));
template.setName(new PersonName()
.setGivenName("Mary")
.setFamilyName("Jones"));
template.setOrganisationId(new OrgID()
.setID("5L399")
.setType(OrgIDType.ODSOrgID.code));