participant.setParticipantSDSRoleID("222211100496");
participant.setParticipantTelephone("01145589403");
participant.setParticipantType(ParticipationType._Consultant);
fields.addParticipant(participant);
// Documentation Of
fields.setEventCode(new CodedValue("73761001","colonoscopy","2.16.840.1.113883.2.1.3.2.4.15"));
fields.setEventType(HL7ActType.Procedure);
fields.setEventEffectiveFromTime(new DateValue("201105192000+01"));
fields.setEventEffectiveToTime(new DateValue("201105192045+01"));
fields.setEventPerformerName(new PersonName("Mr","Adam","Adamson"));
fields.setEventODSCode("V396A");
fields.setEventOrganisatioName("Medway PCT");
// Consent
fields.setConsent(DocumentConsentSnCT._Consentgivenforelectronicrecordsharing);
// Encounter
fields.setEncounterFromTime(new DateValue("201105192000+01"));
fields.setEncounterToTime(new DateValue("201105192045+01"));
fields.setEncounterType(new CodedValue("11429006", "Consultation", "2.16.840.1.113883.2.1.3.2.4.15"));
fields.setEncounterLocationType(new CodedValue("313161000000107", "Example Care Setting", "2.16.840.1.113883.2.1.3.2.4.15"));
fields.setEncounterLocationName("Springer Street Surgery");
fields.setEncounterLocationAddress(new Address()
.addAddressLine("Springer Street")
.addAddressLine("Medway")
.setPostcode("ME5 5TY")