Package ca.uhn.fhir.narrative
Class BaseThymeleafNarrativeGenerator
java.lang.Object
ca.uhn.fhir.narrative2.BaseNarrativeGenerator
ca.uhn.fhir.narrative2.ThymeleafNarrativeGenerator
ca.uhn.fhir.narrative.BaseThymeleafNarrativeGenerator
- All Implemented Interfaces:
INarrativeGenerator
- Direct Known Subclasses:
CustomThymeleafNarrativeGenerator,DefaultThymeleafNarrativeGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanpopulateResourceNarrative(FhirContext theFhirContext, IBaseResource theResource)Generate any narratives for the given resource that have applicable templates, and populates the appropriate field(s).Methods inherited from class ca.uhn.fhir.narrative2.ThymeleafNarrativeGenerator
applyTemplate, getStyle, setMessageResolverMethods inherited from class ca.uhn.fhir.narrative2.BaseNarrativeGenerator
cleanWhitespace, getManifest, setManifest
-
Constructor Details
-
BaseThymeleafNarrativeGenerator
protected BaseThymeleafNarrativeGenerator()Constructor
-
-
Method Details
-
populateResourceNarrative
Description copied from interface:INarrativeGeneratorGenerate any narratives for the given resource that have applicable templates, and populates the appropriate field(s). This almost always means theResource.text.narrativefield, but for some resource types it can mean other fields (e.g.Composition.- Specified by:
populateResourceNarrativein interfaceINarrativeGenerator- Overrides:
populateResourceNarrativein classBaseNarrativeGenerator- Returns:
- Returns
trueif a narrative was actually generated
-
getPropertyFile
-