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

public class BaseTextGenerator extends Object
  • Constructor Details

    • BaseTextGenerator

      public BaseTextGenerator()
  • Method Details

    • getCellTd

      protected StrucDocTd getCellTd(String text)
    • getCellWithRenderMultiMedia

      protected StrucDocTd getCellWithRenderMultiMedia(String referenceObject)
    • getTableHeaderCell

      protected StrucDocTh getTableHeaderCell(String text, String styleCode)
    • getCellTdWithContent

      protected StrucDocTd getCellTdWithContent(String text, String contentId)
    • getStrucDocContent

      protected javax.xml.bind.JAXBElement<StrucDocContent> getStrucDocContent(String text, String contentId)
    • getTsElement

      protected Map<String,String> getTsElement(IVLTS time)
      extracts all TS elements of passed IVLTS. 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

      protected StrucDocTd getCellTdTime(IVLTS time)
    • getCellTdCodes

      protected StrucDocTd getCellTdCodes(List<CE> interpretationCodes)
    • getCellTdCode

      protected StrucDocTd getCellTdCode(CD codeTest)
    • getCellTdId

      protected StrucDocTd getCellTdId(II codeId)