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 org.projecthusky.common.hl7cdar2.StrucDocTd getCellTd(String text)
    • getCellWithRenderMultiMedia

      protected org.projecthusky.common.hl7cdar2.StrucDocTd getCellWithRenderMultiMedia(String referenceObject)
    • getTableHeaderCell

      protected org.projecthusky.common.hl7cdar2.StrucDocTh getTableHeaderCell(String text, String styleCode)
    • getCellTdWithContent

      protected org.projecthusky.common.hl7cdar2.StrucDocTd getCellTdWithContent(String text, String contentId)
    • getStrucDocContent

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

      protected Map<String,String> getTsElement(org.projecthusky.common.hl7cdar2.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 org.projecthusky.common.hl7cdar2.StrucDocTd getCellTdTime(org.projecthusky.common.hl7cdar2.IVLTS time)
    • getCellTdCodes

      protected org.projecthusky.common.hl7cdar2.StrucDocTd getCellTdCodes(List<org.projecthusky.common.hl7cdar2.CE> interpretationCodes)
    • getCellTdCode

      protected org.projecthusky.common.hl7cdar2.StrucDocTd getCellTdCode(org.projecthusky.common.hl7cdar2.CD codeTest)
    • getCellTdId

      protected org.projecthusky.common.hl7cdar2.StrucDocTd getCellTdId(org.projecthusky.common.hl7cdar2.II codeId)