public class ClinicalDocumentCreator extends Object implements DocumentCreator
| Modifier and Type | Field and Description |
|---|---|
protected SchematronResource |
resource |
| Constructor and Description |
|---|
ClinicalDocumentCreator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStylesheet(String stylesheetName,
Document doc) |
protected Document |
getDocumentFilteredOfNull(Document doc) |
protected boolean |
isStrict() |
void |
useStrict()
Do strict checking with the default schematron for this document type.
|
void |
useStrict(SchematronResource resource)
Do strict checking with the supplied schematron files for this document type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate1AFormatCDADocument, create1BFormatCDADocument, createFormat2CDADocumentprotected SchematronResource resource
public void useStrict()
public void useStrict(SchematronResource resource)
resource - - The file location of the schematron files used to check the document eg:
"resources/schematron/PCEHR-DispenseRecord/schematron/ccd-3B.sch"protected boolean isStrict()
Copyright © 2021. All rights reserved.