Package uk.nhs.interoperability.payloads.endoflifecarev1

Examples of uk.nhs.interoperability.payloads.endoflifecarev1.EndOfLifeCarePerformanceTest


  @Test
  public void testProposedDocumentTemplatedSchemaCheck() {
    super.init("endoflifecare/", "EOLCHelper-ProposedTemplatedCheck", "EoLC Helper: Proposed Templated Check", "This uses the EOLC Helper class to generate a full end of life care CDA document with a minimal set of fields, and serialises to a CDA document, transforms it to templated format, which is validated against the templated schema.");
    try {
      // Use the helper to create the document
      ClinicalDocument doc = EndOfLifeCareDocumentCreationHelper.createDocument(proposed);
      // Serialise to a CDA XML Document
      String xml = doc.serialise();
      // And then transform and re-test against templated schema
      testAgainstTemplatedSchema(
          PropertyReader.getProperty("endoflifecareSchemaPath")+"POCD_MT021001GB01.xsd",
          xml);
     
View Full Code Here

TOP

Related Classes of uk.nhs.interoperability.payloads.endoflifecarev1.EndOfLifeCarePerformanceTest

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.