Package ca.uhn.fhir.narrative2
Class NarrativeTemplateManifest
java.lang.Object
ca.uhn.fhir.narrative2.NarrativeTemplateManifest
- All Implemented Interfaces:
INarrativeTemplateManifest
-
Method Summary
Modifier and TypeMethodDescriptionstatic NarrativeTemplateManifest
forManifestFileContents
(String... theResources) static NarrativeTemplateManifest
forManifestFileContents
(Collection<String> theResources) static NarrativeTemplateManifest
forManifestFileLocation
(String... thePropertyFilePaths) static NarrativeTemplateManifest
forManifestFileLocation
(Collection<String> thePropertyFilePaths) int
getTemplateByElement
(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElement) getTemplateByFragmentName
(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theFragmentName) getTemplateByName
(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theName) getTemplateByResourceName
(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theResourceName, Collection<String> theProfiles)
-
Method Details
-
getNamedTemplateCount
-
getTemplateByResourceName
public List<INarrativeTemplate> getTemplateByResourceName(@Nonnull FhirContext theFhirContext, @Nonnull EnumSet<TemplateTypeEnum> theStyles, @Nonnull String theResourceName, @Nonnull Collection<String> theProfiles) - Specified by:
getTemplateByResourceName
in interfaceINarrativeTemplateManifest
-
getTemplateByName
public List<INarrativeTemplate> getTemplateByName(@Nonnull FhirContext theFhirContext, @Nonnull EnumSet<TemplateTypeEnum> theStyles, @Nonnull String theName) - Specified by:
getTemplateByName
in interfaceINarrativeTemplateManifest
-
getTemplateByFragmentName
public List<INarrativeTemplate> getTemplateByFragmentName(@Nonnull FhirContext theFhirContext, @Nonnull EnumSet<TemplateTypeEnum> theStyles, @Nonnull String theFragmentName) - Specified by:
getTemplateByFragmentName
in interfaceINarrativeTemplateManifest
-
getTemplateByElement
public List<INarrativeTemplate> getTemplateByElement(@Nonnull FhirContext theFhirContext, @Nonnull EnumSet<TemplateTypeEnum> theStyles, @Nonnull IBase theElement) - Specified by:
getTemplateByElement
in interfaceINarrativeTemplateManifest
-
forManifestFileLocation
-
forManifestFileLocation
public static NarrativeTemplateManifest forManifestFileLocation(Collection<String> thePropertyFilePaths) -
forManifestFileContents
-
forManifestFileContents
-