Skip to content

Commit

Permalink
Closes #6847
Browse files Browse the repository at this point in the history
Signed-off-by: Dr M H B Ariyaratne <[email protected]>
  • Loading branch information
buddhika75 committed Aug 11, 2024
1 parent 78ffd4a commit d8ebc39
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 124 deletions.
10 changes: 8 additions & 2 deletions src/main/java/com/divudi/ejb/PatientReportBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,14 @@ public String getDefaultVarcharValue(InvestigationItem item, Patient patient) {
}

public String getDefaultMemoValue(InvestigationItem item, Patient patient) {
//TODO: Create Logic
return "";
String defaultValue = "";
if(item==null){
return defaultValue;
}
if(item.getHtmltext()!=null){
defaultValue=item.getHtmltext();
}
return defaultValue;
}

public byte[] getDefaultImageValue(InvestigationItem item, Patient patient) {
Expand Down
Loading

0 comments on commit d8ebc39

Please sign in to comment.