Package uk.nhs.interoperability.payloads

Examples of uk.nhs.interoperability.payloads.DateValue


  }

  public static AuthoritytoLastingPowerofAttorney createLPA() {
    AuthoritytoLastingPowerofAttorney template = new AuthoritytoLastingPowerofAttorney();
    template.setID("26919440-2A88-11E2-A205-1ECA6088709B");
    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setAuthoritytoLPA(new CodedValue(AuthoritytoLPASnCT._816381000000105, "#a7"));
   
    PatientRelationshipParticipantRole person = new PatientRelationshipParticipantRole();
    person.setPersonRole(JobRoleName._NR2010);
    person.setAddress(new Address().setNullFlavour(NullFlavour.NI.code));
View Full Code Here


    TextSection template = new TextSection();
    template.setSectionId("91D3C9A4-3248-11E2-AF26-EBA76188709B");
    template.setTitle("End of Life Tool Used");
    template.setText("<content ID=\"a1\">On Liverpool care pathway for the dying</content>");
   
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    template.setAuthor(createAuthorIsabellaHopkins());
   
    Section2 s2 = new Section2();
    s2.setSectionId("D434C50A-3248-11E2-9648-00A86188709B");
    s2.setTitle("Current Stage");
View Full Code Here

  public static TextSection createTextSection4() {
    TextSection template = new TextSection();
    template.setSectionId("AC0C9FD8-00D6-11E2-AC78-B0726188709B");
    template.setTitle("Patient Choices");
   
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    template.setAuthor(createAuthorIsabellaHopkins());
   
    Section2 s2 = new Section2();
    s2.setSectionId("116ACB88-0191-11E2-B40B-57D36088709B");
    s2.setTitle("First preferred place of death");
View Full Code Here

    TextSection template = new TextSection();
    template.setSectionId("2D56EB0C-3246-11E2-BEE0-C6A56188709B");
    template.setTitle("Advance Statements");
    template.setText("In case of emergency, Patient Informal Carer, Mrs Emily Smith should be first point of contact.");
   
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    template.setAuthor(createAuthorNiralSingh());
   
    Section2 s2 = new Section2();
    s2.setSectionId("956E6B3E-3246-11E2-840D-14A66188709B");
    s2.setTitle("Advance Decision to Refuse Treatment (ADRT)");
View Full Code Here

    TextSection template = new TextSection();
    template.setSectionId("2E472558-3247-11E2-BBCA-C1A66188709B");
    template.setTitle("DNACPR Decision");
    template.setText("<content ID=\"a5\">Senior responsible clinician has made DNACPR decision: Not for attempted cardiopulmonary resuscitation<br/>This record is created on 11/09/2012 and will be reviewed on 11/10/2012</content>");
   
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    template.setAuthor(createAuthorJohnManning());
   
    Section2 s2 = new Section2();
    s2.setSectionId("E9F3B2E4-3247-11E2-857F-16A76188709B");
    template.addSection2(s2);
View Full Code Here

  public static TextSection createTextSection7() {
    TextSection template = new TextSection();
    template.setSectionId("32895A34-023E-11E2-A13A-EFAA6188709B");
    template.setTitle("End of Life Care Observations");
   
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    template.setAuthor(createAuthorJohnManning());
   
    Section2 s2 = new Section2();
    s2.setSectionId("39E95522-023E-11E2-B794-F3AA6188709B");
    s2.setTitle("Primary EoLC Diagnosis");
View Full Code Here

  public static TextSection createTextSection8() {
    TextSection template = new TextSection();
    template.setSectionId("EAE2350C-0242-11E2-9FB6-5BB26188709B");
    template.setTitle("End of Life Care Artefacts");
   
    template.setTimeAuthored(new DateValue("201209111400+0000"));
    template.setAuthor(createAuthorNiralSingh());
   
    Section2 s2 = new Section2();
    s2.setSectionId("EF3FC326-0242-11E2-A44C-5FB26188709B");
    s2.setTitle("Anticipatory Medicine Box");
View Full Code Here

               
                example.setLongXPathItem("LongXPathItem");
                example.setText("SimpleTextField");
                example.setTextIncl("TextInIncludedConfig");
                example.setTextIncl2("AnotherFieldInIncludedConfig");
                example.setTime(new DateValue("20130101010101+0000"));
               
                //Template1 t1 = new Template1();
                //t1.setValue("template1");
                //example.setTemplatedField(t1);
               
View Full Code Here

 
  public static GetDocumentResponse createBasicResponse() {
    GetDocumentResponse template = new GetDocumentResponse();
   
    // ==== Response information ====
    template.setTime(new DateValue("20120101150100+0000"));
    template.setResponseID("E71ADBF1-3A09-11E2-81C1-0800200C9A66");
    template.setResponseDocumentMessageType(DocumentResponseType._EndofLifeCareCoordinationSummary);
   
    // Request
    template.setRequestID("E71ADBF0-3A09-11E2-81C1-0800200C9A66");
View Full Code Here

    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
View Full Code Here

TOP

Related Classes of uk.nhs.interoperability.payloads.DateValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.