Class MedBaseTextGenerator
java.lang.Object
org.projecthusky.cda.elga.narrative.BaseTextGenerator
org.projecthusky.cda.elga.narrative.MedBaseTextGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<List<AdditionalInformation>>
protected List<List<AdditionalInformation>>
-
Constructor Summary
ConstructorsConstructorDescriptionMedBaseTextGenerator
(List<List<AdditionalInformation>> patientInstructions, List<List<AdditionalInformation>> pharmInstructions) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalInformationRows
(POCDMT000040Act act, StrucDocTbody body, int index) protected void
addConsumableInformationRows
(POCDMT000040Consumable consumable, StrucDocTbody body) protected void
addInformationOfEntryRelRows
(List<POCDMT000040EntryRelationship> entryRels, StrucDocTbody body, int index) protected void
addIngredientRows
(List<COCTMT230100UVIngredient> ingredients, StrucDocTbody body) protected void
addTimeRows
(List<SXCMTS> time, StrucDocTbody body) protected StrucDocTable
getBody
(POCDMT000040SubstanceAdministration substance) protected StrucDocTable
getBodyPrescriptionEntry
(POCDMT000040SubstanceAdministration substance, int index) protected StrucDocTr
protected StrucDocThead
List<javax.xml.bind.JAXBElement<StrucDocTable>>
getTablesFromCda
(List<POCDMT000040Entry> entries) Methods inherited from class org.projecthusky.cda.elga.narrative.BaseTextGenerator
getCellTd, getCellTdCode, getCellTdCodes, getCellTdId, getCellTdTime, getCellTdWithContent, getCellWithRenderMultiMedia, getStrucDocContent, getTableHeaderCell, getTsElement
-
Field Details
-
patientInstructions
-
pharmInstructions
-
-
Constructor Details
-
MedBaseTextGenerator
public MedBaseTextGenerator(List<List<AdditionalInformation>> patientInstructions, List<List<AdditionalInformation>> pharmInstructions)
-
-
Method Details
-
addAdditionalInformationRows
-
addTimeRows
-
getRow
-
addInformationOfEntryRelRows
protected void addInformationOfEntryRelRows(List<POCDMT000040EntryRelationship> entryRels, StrucDocTbody body, int index) -
addConsumableInformationRows
-
addIngredientRows
-
getBodyPrescriptionEntry
protected StrucDocTable getBodyPrescriptionEntry(POCDMT000040SubstanceAdministration substance, int index) -
getTableHeader
-
getBody
-
getTablesFromCda
public List<javax.xml.bind.JAXBElement<StrucDocTable>> getTablesFromCda(List<POCDMT000040Entry> entries)
-