Class BaseTextGenerator
java.lang.Object
org.projecthusky.cda.elga.narrative.BaseTextGenerator
- Direct Known Subclasses:
AnnotationTextBuilder,AppendixNarrativeTextGenerator,ArztmeldungNarrativeTextGenerator,ExposureRiskNarrativeTextGenerator,ImmunizationBaseTextGenerator,ImmunizationLabResultNarrativeTextGenerator,ImmunizationRelevantDiseasesNarrativeTextGenerator,KonsUeberwGrundNarrativeTextGenerator,MedBaseTextGenerator,PharmRecommendationNarrativeTextGenerator,SpecimenNarrativeTextGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StrucDocTdprotected StrucDocTdgetCellTdCode(CD codeTest) protected StrucDocTdgetCellTdCodes(List<CE> interpretationCodes) protected StrucDocTdgetCellTdId(II codeId) protected StrucDocTdgetCellTdTime(IVLTS time) protected StrucDocTdgetCellTdWithContent(String text, String contentId) protected StrucDocTdgetCellWithRenderMultiMedia(String referenceObject) protected javax.xml.bind.JAXBElement<StrucDocContent>getStrucDocContent(String text, String contentId) protected StrucDocThgetTableHeaderCell(String text, String styleCode) getTsElement(IVLTS time)
-
Constructor Details
-
BaseTextGenerator
public BaseTextGenerator()
-
-
Method Details
-
getCellTd
-
getCellWithRenderMultiMedia
-
getTableHeaderCell
-
getCellTdWithContent
-
getStrucDocContent
protected javax.xml.bind.JAXBElement<StrucDocContent> getStrucDocContent(String text, String contentId) -
getTsElement
extracts allTSelements of passedIVLTS. Extracted elements are stored in a map, where key is element name like "high" and value is element value.- Parameters:
time- to be extracted- Returns:
- map of element name and value
-
getCellTdTime
-
getCellTdCodes
-
getCellTdCode
-
getCellTdId
-