proposed = createProposed();
}
public static EndOfLifeCareISBFields createProposed() {
EndOfLifeCareISBFields fields = new EndOfLifeCareISBFields();
DateValue currentDate = new DateValue(new Date(), DatePrecision.Minutes);
fields.setPatientName(new PersonName("Mr", "Joe", "Bloggs"));
fields.setPatientBirthDate(new DateValue("19800101"));
fields.setPatientGender(Sex._Male);
fields.setPatientNHSNo("993254128");
fields.setPatientNHSNoIsTraced(true);
fields.setPatientAddress(new Address()
.addAddressLine("123 The Street")
.addAddressLine("The Town")
.setPostcode("AB1 2CD"));
fields.setUsualGPName(new PersonName("Dr", "Simon", "Jones"));
fields.setUsualGPODSCode("V396F");
fields.setUsualGPOrgName("Dr Jones and Partners");
fields.setDocumentAuthoredTime(currentDate);
fields.setDocumentAuthorRole(JobRoleName._GeneralMedicalPractitioner);
fields.setDocumentAuthorSDSID("200025166218");
fields.setDocumentAuthorName(new PersonName ("Dr", "Simon", "Jones"));
fields.setDocumentAuthorOrganisationODSID("V396F");
fields.setDocumentAuthorOrganisationName("Dr Jones and Partners");
fields.setPrimaryEOLCDiagnosis("Carcinoma of greater curve of stomach. This condition was diagnosed on 08/Mar/2012 and is ongoing.");
fields.setEpaccsRecordCreationDate(new DateValue("20130101"));
// Should not be mandatory
fields.setEolcTool(EoLToolSnCT._Ongoldstandardspalliativecareframeworkfinding);
fields.setEPACCSOrganisationODSID("V396F");
fields.setEPACCSOrganisation("Dr Jones and Partners");
// Fields requested for the South West
// Carer
fields.setMainInformalCarerName(new PersonName("Mrs", "Susan", "Bloggs"));
fields.setMainInformalCarerTel("02120111112");
// Key Worker
fields.setKeyWorkerName(new PersonName("Mrs", "Amy", "VanDerVeen"));
fields.setKeyWorkerTelephone("01222222222");
// Anticipatory medicines
fields.setAnticipatoryMedicinesIssued(true);
fields.setAnticipatoryMedicinesLocation("In fridge at home");
fields.setAnticipatoryMedicinesDateIssued(new DateValue("20120402"));
// DNACPR
fields.setDNACPR(DNACPRprefSnCT._Forattemptedcardiopulmonaryresuscitationfinding);
fields.setDNACPRDate(new DateValue("20120912"));
fields.setDNACPRReviewDate(new DateValue("20130205"));
fields.setDNACPRCreatedDate(new DateValue("20120910"));
fields.setDNACPRLocation("In filing cabinet at home (top drawer)");
// Free text box
fields.setOtherRelevantInformation("Discussion held with wife about care plan");
// Senior responsible clinician