
Package ca.uhn.fhir.narrative2
Class NullNarrativeGenerator
- java.lang.Object
-
- ca.uhn.fhir.narrative2.NullNarrativeGenerator
-
- All Implemented Interfaces:
INarrativeGenerator
public class NullNarrativeGenerator extends Object implements INarrativeGenerator
-
-
Constructor Summary
Constructors Constructor Description NullNarrativeGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
populateResourceNarrative(FhirContext theFhirContext, IBaseResource theResource)
Generate any narratives for the given resource that have applicable templates, and populates the appropriate field(s).
-
-
-
Constructor Detail
-
NullNarrativeGenerator
public NullNarrativeGenerator()
-
-
Method Detail
-
populateResourceNarrative
public boolean populateResourceNarrative(FhirContext theFhirContext, IBaseResource theResource)
Description copied from interface:INarrativeGenerator
Generate any narratives for the given resource that have applicable templates, and populates the appropriate field(s). This almost always means theResource.text.narrative
field, but for some resource types it can mean other fields (e.g.Composition.
- Specified by:
populateResourceNarrative
in interfaceINarrativeGenerator
- Returns:
- Returns
true
if a narrative was actually generated
-
-