Examples of Section3


Examples of org.eclipse.xtext.xdoc.xdoc.Section3

    Section2 section2 = section.getSubSections().get(0);
    assertEquals(1, section2.getTitle().getContents().size());
    textPart = (TextPart) section2.getTitle().getContents().get(0);
    assertEquals("pilz", textPart.getText());
    assertEquals(1, section2.getSubSections().size());
    Section3 section3 = section2.getSubSections().get(0);
    assertEquals(1, section3.getTitle().getContents().size());
    textPart = (TextPart) section3.getTitle().getContents().get(0);
    assertEquals("sna", textPart.getText());
    assertEquals(1, section3.getSubSections().size());
    Section4 section4 = section3.getSubSections().get(0);
    assertEquals(1, section4.getTitle().getContents().size());
    textPart = (TextPart) section4.getTitle().getContents().get(0);
    assertEquals("fu", textPart.getText());
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.Section3

      Assert.assertEquals("pilz", _text_3);
      EList<Section3> _subSections_4 = section2.getSubSections();
      int _size_7 = _subSections_4.size();
      Assert.assertEquals(1, _size_7);
      EList<Section3> _subSections_5 = section2.getSubSections();
      final Section3 section3 = IterableExtensions.<Section3>head(_subSections_5);
      TextOrMarkup _title_8 = section3.getTitle();
      EList<EObject> _contents_8 = _title_8.getContents();
      int _size_8 = _contents_8.size();
      Assert.assertEquals(1, _size_8);
      TextOrMarkup _title_9 = section3.getTitle();
      EList<EObject> _contents_9 = _title_9.getContents();
      EObject _head_4 = IterableExtensions.<EObject>head(_contents_9);
      textPart = ((TextPart) _head_4);
      String _text_4 = textPart.getText();
      Assert.assertEquals("sna", _text_4);
      EList<Section4> _subSections_6 = section3.getSubSections();
      int _size_9 = _subSections_6.size();
      Assert.assertEquals(1, _size_9);
      EList<Section4> _subSections_7 = section3.getSubSections();
      final Section4 section4 = IterableExtensions.<Section4>head(_subSections_7);
      TextOrMarkup _title_10 = section4.getTitle();
      EList<EObject> _contents_10 = _title_10.getContents();
      int _size_10 = _contents_10.size();
      Assert.assertEquals(1, _size_10);
View Full Code Here

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

   
    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.");
    s2.addSection3(s3);
   
    return template;
  }
View Full Code Here

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

        + "</tbody></table>");
   
    Section2 s2 = new Section2("97069BCA-3D35-11E2-9A71-5C3D6188709B", "Laboratory Details", "St James Pathology Laboratory");
    template.addSection2(s2);
   
    s2.addSection3(new Section3("4FFF101C-3D36-11E2-B4B7-9C3E6188709D","Date of Receipt at Lab","11-Sep-2012, 13:10"));
    s2.addSection3(new Section3("4FFF101C-3D36-11E2-B4B7-9C3E6188709B","Lab Card Serial Number","0902652801"));
    s2.addSection3(new Section3("9415CD54-3D36-11E2-9337-C93F6188709B","Previous Lab Card Serial Number","0902652800"));
   
    Section2 s2b = new Section2("97069BCA-3D35-11E2-9A71-5C3D6188709B","Specimen Collection Details","Blood specimen collected at St. James Hospital");
    template.addSection2(s2b);
   
    s2b.addSection3(new Section3("4FFF101C-3D36-11E2-B4B7-9C3E6188709D","Specimen Collection Time","11-Sep-2012, 13:00"));
    s2b.addSection3(new Section3("4FFF101C-3D36-11E2-B4B7-9C3E6188709B","Specimen Collected by","Mr Brian Weberly"));
   
    return template;
  }
View Full Code Here

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

    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");
    s2.addSection3(s3);
   
    Section3 s3b = new Section3();
    s3b.setSectionId("FA885E2E-349B-11E2-8876-E0D46088709B");
    s3b.setTitle("Record Amended Date");
    s3b.setText("11-Sep-2012, 14:25");
    s2.addSection3(s3b);
   
    Section3 s3c = new Section3();
    s3c.setSectionId("0555B342-349C-11E2-A2C8-E7D46088709B");
    s3c.setTitle("Record Review Date");
    s3c.setText("11-Oct-2012");
    s2.addSection3(s3c);
   
    return template;
  }
View Full Code Here

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

    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>");
    s2.addSection3(s3);
   
    Section3 s3b = new Section3();
    s3b.setSectionId("E36C402C-3246-11E2-A181-7FA66188709B");
    s3b.setTitle("Location of ADRT documentation");
    s3b.setText("Original ADRT documentation is scanned and uploaded to EMIS on 11/09/2012. The signed copy of the documentation is available at patient bedside table.");
    s2.addSection3(s3b);
   
    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.