public class NarrativeGenerator extends Object implements INarrativeGenerator
| Modifier and Type | Class and Description |
|---|---|
class |
NarrativeGenerator.ConceptMapRenderInstructions |
static interface |
NarrativeGenerator.IReferenceResolver |
static interface |
NarrativeGenerator.ITypeParser |
class |
NarrativeGenerator.ObservationNode |
class |
NarrativeGenerator.ResourceContext |
static class |
NarrativeGenerator.ResourceWithReference |
class |
NarrativeGenerator.ResourceWrapperDirect |
class |
NarrativeGenerator.ResourceWrapperMetaElement |
class |
NarrativeGenerator.UsedConceptMap |
| Constructor and Description |
|---|
NarrativeGenerator(String prefix,
String basePath,
IWorkerContext context) |
NarrativeGenerator(String prefix,
String basePath,
IWorkerContext context,
NarrativeGenerator.IReferenceResolver resolver) |
public NarrativeGenerator(String prefix, String basePath, IWorkerContext context)
public NarrativeGenerator(String prefix, String basePath, IWorkerContext context, NarrativeGenerator.IReferenceResolver resolver)
public boolean generate(Bundle b, boolean evenIfAlreadyHasNarrative, Set<String> outputTracker) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException
EOperationOutcomeorg.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic boolean generate(DomainResource r, Set<String> outputTracker) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException
EOperationOutcomeorg.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic boolean generate(NarrativeGenerator.ResourceContext rcontext, DomainResource r, Set<String> outputTracker) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException
EOperationOutcomeorg.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic Base parseType(String xml, String type) throws IOException, org.hl7.fhir.exceptions.FHIRException
IOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic List<NarrativeGenerator.ConceptMapRenderInstructions> getRenderingMaps()
public int getHeaderLevelContext()
public NarrativeGenerator setHeaderLevelContext(int headerLevelContext)
public String getTooCostlyNoteEmpty()
public NarrativeGenerator setTooCostlyNoteEmpty(String tooCostlyNoteEmpty)
public String getTooCostlyNoteNotEmpty()
public NarrativeGenerator setTooCostlyNoteNotEmpty(String tooCostlyNoteNotEmpty)
public String generate(Element doc) throws IOException, org.hl7.fhir.exceptions.FHIRException
IOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic String generate(NarrativeGenerator.ResourceContext rcontext, Element doc) throws IOException, org.hl7.fhir.exceptions.FHIRException
IOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic String generate(Element er, boolean showCodeDetails, NarrativeGenerator.ITypeParser parser) throws IOException, org.hl7.fhir.exceptions.FHIRException
IOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic String generate(NarrativeGenerator.ResourceContext rcontext, Element er, boolean showCodeDetails, NarrativeGenerator.ITypeParser parser) throws IOException, org.hl7.fhir.exceptions.FHIRException
IOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic static String displayPeriod(Period p)
public static String describeSystem(String system)
public String displayCodeableConcept(CodeableConcept cc)
public String displayRange(Range q)
public static String displayHumanName(HumanName name)
public static String displayContactPoint(ContactPoint contact)
public boolean generate(NarrativeGenerator.ResourceContext rcontext, ConceptMap cm) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionIOExceptionpublic Element getNarrative(Element er)
public boolean generate(NarrativeGenerator.ResourceContext rcontext, CodeSystem cs, boolean header, String lang) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException
vs - codeSystems - IOExceptionorg.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRFormatErrorExceptionpublic boolean generate(NarrativeGenerator.ResourceContext rcontext, ValueSet vs, boolean header) throws org.hl7.fhir.exceptions.FHIRException, IOException
vs - codeSystems - org.hl7.fhir.exceptions.FHIRExceptionIOExceptionExceptionpublic void generate(NarrativeGenerator.ResourceContext rcontext, ValueSet vs, ValueSet src, boolean header) throws org.hl7.fhir.exceptions.FHIRException, IOException
org.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic boolean generate(NarrativeGenerator.ResourceContext rcontext, OperationOutcome op) throws org.hl7.fhir.exceptions.DefinitionException
vs - codeSystems - org.hl7.fhir.exceptions.DefinitionExceptionExceptionpublic String genType(Type type) throws org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.DefinitionExceptionpublic String gen(CodeableConcept code)
public boolean generate(NarrativeGenerator.ResourceContext rcontext, ImplementationGuide ig) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException
EOperationOutcomeorg.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic boolean generate(NarrativeGenerator.ResourceContext rcontext, OperationDefinition opd) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException
EOperationOutcomeorg.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic boolean generate(NarrativeGenerator.ResourceContext rcontext, CompartmentDefinition cpd)
public boolean generate(NarrativeGenerator.ResourceContext rcontext, CapabilityStatement conf) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionIOExceptionpublic org.hl7.fhir.utilities.xhtml.XhtmlNode generateDocumentNarrative(Bundle feed)
public org.hl7.fhir.utilities.xhtml.XhtmlNode generateDiagnosticReport(org.hl7.fhir.r4.utils.NarrativeGenerator.ResourceWrapper dr)
public org.hl7.fhir.utilities.xhtml.XhtmlNode renderBundle(Bundle b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic org.hl7.fhir.utilities.xhtml.XhtmlNode renderBundle(Element element) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinitionsTarget()
public void setDefinitionsTarget(String definitionsTarget)
public String getCorePath()
public void setCorePath(String corePath)
public String getDestDir()
public void setDestDir(String destDir)
public ProfileUtilities.ProfileKnowledgeProvider getPkp()
public void setPkp(ProfileUtilities.ProfileKnowledgeProvider pkp)
public boolean isPretty()
public void setPretty(boolean pretty)
Copyright © 2014–2018 University Health Network. All rights reserved.