Package ca.uhn.fhir.narrative2
Class NarrativeTemplateManifest
java.lang.Object
ca.uhn.fhir.narrative2.NarrativeTemplateManifest
- All Implemented Interfaces:
INarrativeTemplateManifest
-
Method Summary
Modifier and TypeMethodDescriptionstatic NarrativeTemplateManifestforManifestFileContents(String... theResources) static NarrativeTemplateManifestforManifestFileContents(Collection<String> theResources) static NarrativeTemplateManifestforManifestFileLocation(String... thePropertyFilePaths) static NarrativeTemplateManifestforManifestFileLocation(Collection<String> thePropertyFilePaths) intgetTemplateByElement(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElement) getTemplateByName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theName) getTemplateByResourceName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theResourceName)
-
Method Details
-
getNamedTemplateCount
-
getTemplateByResourceName
public List<INarrativeTemplate> getTemplateByResourceName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theResourceName) - Specified by:
getTemplateByResourceNamein interfaceINarrativeTemplateManifest
-
getTemplateByName
public List<INarrativeTemplate> getTemplateByName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theName) - Specified by:
getTemplateByNamein interfaceINarrativeTemplateManifest
-
getTemplateByElement
public List<INarrativeTemplate> getTemplateByElement(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElement) - Specified by:
getTemplateByElementin interfaceINarrativeTemplateManifest
-
forManifestFileLocation
public static NarrativeTemplateManifest forManifestFileLocation(String... thePropertyFilePaths) throws IOException - Throws:
IOException
-
forManifestFileLocation
public static NarrativeTemplateManifest forManifestFileLocation(Collection<String> thePropertyFilePaths) throws IOException - Throws:
IOException
-
forManifestFileContents
public static NarrativeTemplateManifest forManifestFileContents(String... theResources) throws IOException - Throws:
IOException
-
forManifestFileContents
public static NarrativeTemplateManifest forManifestFileContents(Collection<String> theResources) throws IOException - Throws:
IOException
-