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
-
Method Summary
Modifier and TypeMethodDescriptionprotected StrucDocTd
protected StrucDocTd
getCellTdCode
(CD codeTest) protected StrucDocTd
getCellTdCodes
(List<CE> interpretationCodes) protected StrucDocTd
getCellTdId
(II codeId) protected StrucDocTd
getCellTdTime
(IVLTS time) protected StrucDocTd
getCellTdWithContent
(String text, String contentId) protected StrucDocTd
getCellWithRenderMultiMedia
(String referenceObject) protected javax.xml.bind.JAXBElement<StrucDocContent>
getStrucDocContent
(String text, String contentId) protected StrucDocTh
getTableHeaderCell
(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 allTS
elements 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
-