Skip to content

Commit

Permalink
Added use case where a second part on an image forced a cloned Encounter
Browse files Browse the repository at this point in the history
  • Loading branch information
holmbergius committed Mar 29, 2024
1 parent b056448 commit 3d19a51
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/webapp/encounters/manualAnnotation.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,15 @@ try{
}
}
else if(annots.size()==1 && !annots.get(0).isTrivial() && iaClass!=null && iaClass.indexOf("+")>-1){
//exception case - if there is only one annotation and it is a part
if(annots.size()==1){
Annotation annot1 = annots.get(0);
if(annot1.getIAClass()!=null && annot1.getIAClass().indexOf("+")!=-1){
cloneEncounter=true;
}
}
}
Expand Down

0 comments on commit 3d19a51

Please sign in to comment.