Examples of TextSection


Examples of uk.nhs.interoperability.payloads.templates.TextSection

    }
   
    // ==== Now create the text sections ====
    template.setMainDocumentSectionID(CDAUUID.generateUUIDString());
   
    TextSection ts1 = createTextSection_Guardian(childScreeningFields);
    if (ts1 != null) template.addTextSections(new TextSections(ts1));
   
    TextSection ts2 = createTextSection_NewBornBirthDetails(childScreeningFields);
    if (ts2 != null) template.addTextSections(new TextSections(ts2));

   
   
    return template;
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

    template.setTestesExamination(fields.getTestesExamination());
    return template;
  }
 
  public static TextSection createTextSection_Guardian(ChildScreeningFields fields) {
    TextSection template = new TextSection();
    template.setSectionId(CDAUUID.generateUUIDString());
    template.setTitle("Guardian Details");
    template.setText("<table width=\"100%\"><tbody>"
        + "<tr align=\"left\" valign=\"top\"><td>Relationship</td><td>" + fields.getGuardianRole().displayName + "</td></tr>"
        + "<tr align=\"left\" valign=\"top\"><td>NHS Number</td><td>" + fields.getGuardianNHSNo() + "</td></tr>"
        + "<tr align=\"left\" valign=\"top\"><td>Name</td><td>" + HumanReadableFormatter.makeHumanReadablePersonName(fields.getGuardianName()) + "</td></tr>"
        + "<tr align=\"left\" valign=\"top\"><td>Address</td><td>" + HumanReadableFormatter.makeHumanReadableAddress(fields.getGuardianAddress(), "<br/>") + "</td></tr>"
        + "</tbody></table>");
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

        + "</tbody></table>");
    return template;
  }
 
  public static TextSection createTextSection_NewBornBirthDetails(ChildScreeningFields fields) {
    TextSection template = new TextSection();
    template.setSectionId(CDAUUID.generateUUIDString());
    template.setTitle("New Born Birth Details");
    template.setText("<table width=\"100%\"><tbody>"
        + "<tr align=\"left\" valign=\"top\"><td><content ID=\"a1\">Gestational age</content></td><td>" + fields.getGestationalAgeInWeeks() + "</td></tr>"
        + "<tr align=\"left\" valign=\"top\"><td><content ID=\"a2\">Birth order</content></td><td>" + fields.getBirthOrder() + "</td></tr>"
        + "<tr align=\"left\" valign=\"top\"><td><content ID=\"a3\">Number of births in confinement</content></td><td>" + fields.getNoOfFoetusInConfinement() + "</td></tr>"
        + "<tr align=\"left\" valign=\"top\"><td><content ID=\"a4\">Birth weight</content></td><td>" + fields.getBirthWeightInGrams() + " grams</td></tr>"
        + "</tbody></table>");
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

    template.setLPADetails(person);
    return template;
  }
 
  public static TextSection createTextSection1() {
    TextSection template = new TextSection();
    template.setSectionId("6D5C15F4-349B-11E2-9DA6-85D46088709B");
    template.setTitle("End of Life Record Details");
   
    Section2 s2 = new Section2();
    s2.setSectionId("7612D502-349B-11E2-9477-A6D46088709B");
    s2.setTitle("Record Created By");
    s2.setText("Ms Niral Singh, Palliative Care Physician at St James Hospital");
    template.addSection2(s2);
   
    Section3 s3 = new Section3();
    s3.setSectionId("E4B5FD04-349B-11E2-96DB-DCD46088709B");
    s3.setTitle("Record Creation Date");
    s3.setText("11-Sep-2012, 14:00");
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

   
    return template;
  }
 
  public static TextSection createTextSection2() {
    TextSection template = new TextSection();
    template.setSectionId("AD8D0E24-0243-11E2-A989-D6B26188709B");
    template.setTitle("Patient Relationships");
    template.setText("<table width=\"100%\"><tbody><tr align=\"left\" valign=\"top\"><th>Relationship with patient</th><th>Carer Details</th></tr><tr align=\"left\" valign=\"top\"><td>Main Informal Carer</td><td>Mrs Emilly Smith<br/>014722823451<br/>07831191333</td></tr><tr align=\"left\" valign=\"top\"><td>Formal Carer</td><td>Ms Niral Singh<br/>Palliative Care  Physician<br/>07333825701</td></tr><tr align=\"left\" valign=\"top\"><td>Additional Person to be Involved in Decisions</td><td>Ms Gemma Hopkins<br/>07822761939</td></tr><tr align=\"left\" valign=\"top\"><td>Lasting Power of Attorney</td><td>Mr Alan Smith<br/>07871715735</td></tr><tr align=\"left\" valign=\"top\"><td>Key Worker</td><td>Mrs Isabella Hopkins<br/>Specialist Palliative Care Nurse<br/>St James Hospital<br/>Potter Street<br/>GRIMSBY<br/>DN3 6AA<br/>07334345612</td></tr><tr align=\"left\" valign=\"top\"><td>Senior Responsible Clinician</td><td>Mr John Manning<br/>General Practitioner<br/>Freshny Green PCC<br/>GRIMSBY<br/>DN34 4GB<br/>07621846951</td></tr></tbody></table>");
   
    Section2 s2 = new Section2();
    s2.setSectionId("3D3C6C6E-3254-11E2-A6F5-78B16188709B");
    s2.setTitle("Authority to LPA");
    s2.setText("<content ID=\"a7\">Patient has appointed Mr Alan Smith with personal welfare lasting power of attorney with authority for life sustaining decisions</content>");
    template.addSection2(s2);
   
    Section2 s2b = new Section2();
    s2b.setSectionId("6A0F3668-3254-11E2-B4E1-97B16188709B");
    s2b.setTitle("Prognosis Awareness");
    s2b.setText("<content ID=\"a6\">Main informal carer Mrs Emily Smith is aware of prognosis</content>");
    template.addSection2(s2b);
   
    return template;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

   
    return template;
  }
 
  public static TextSection createTextSection3() {
    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");
    s2.setText("first stage in liverpool pathway");
    template.addSection2(s2);
   
    return template;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

   
    return template;
  }

  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");
    s2.setText("Home");
    template.addSection2(s2);
   
    Section2 s2b = new Section2();
    s2b.setSectionId("68CD9444-0193-11E2-9B1D-46D56088709B");
    s2b.setTitle("Second preferred place of death");
    s2b.setText("Hospice");
    template.addSection2(s2b);
   
    Section2 s2c = new Section2();
    s2c.setSectionId("6E0226C8-0193-11E2-8A9A-4DD56088709B");
    s2c.setTitle("Other patient preferences");
    s2c.setText("None currently");
    template.addSection2(s2c);
   
    return template;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

   
    return template;
  }

  public static TextSection createTextSection5() {
    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)");
    s2.setText("<content ID=\"a2\">Patient has advance decision to refuse treatment</content>");
    template.addSection2(s2);
   
    Section3 s3 = new Section3();
    s3.setSectionId("E36C402C-3246-11E2-A181-7FA66188709B");
    s3.setTitle("Discussion about ADRT");
    s3.setText("<content ID=\"a3\">Patient has involved healthcare professional in advance decision to refuse treatment.</content>");
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

   
    return template;
  }
 
  public static TextSection createTextSection6() {
    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);
   
    Section3 s3 = new Section3();
    s3.setSectionId("C80A6B56-023F-11E2-8ACA-08AD6188709B");
    s3.setTitle("Location of DNACPR documentation");
    s3.setText("Original DNACPR documentation is scanned and uploaded to EMIS on 11/09/2012. The signed copy of the documentation is available at GP surgery in locker number 12345.");
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.TextSection

   
    return template;
  }
 
  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");
    s2.setText("Carcinoma of greater curve of stomach. This condition was diagnosed on 08/Mar/2012 and is ongoing.");
    template.addSection2(s2);
   
    Section2 s2b = new Section2();
    s2b.setSectionId("3E3791D4-023E-11E2-81DE-F4AA6188709B");
    s2b.setTitle("Other EoLC Diagnosis");
    s2b.setText("Chest Infection NOS. The Patient is suffering from chest infection from 02/July/2012 and is ongoing.");
    template.addSection2(s2b);
   
    Section2 s2c = new Section2();
    s2c.setSectionId("4531036C-023E-11E2-B2E3-FCAA6188709B");
    s2c.setTitle("Disabilities");
    s2c.setText("Mild learning disablity<br/>Walking disability");
    template.addSection2(s2c);
   
    Section2 s2d = new Section2();
    s2d.setSectionId("ABCCEF6E-023E-11E2-ABAD-90AB6188709B");
    s2d.setTitle("Allergies and Adverse Reaction  Summary");
    s2d.setText("Lithium carbonate allergy<br/>No drug adverse reaction is noted on records");
    template.addSection2(s2d);
   
    return template;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.