Exemplo n.º 1
0
 /**
  * @param list
  * @return a single String value, null if cannot be obtained
  */
 private static String getView(AttributeList list) {
   String view = null;
   CodedSequenceItem csiViewCodeSequence =
       CodedSequenceItem.getSingleCodedSequenceItemOrNull(list, TagFromName.ViewCodeSequence);
   if (csiViewCodeSequence != null) {
     // view = decipherSNOMEDCodeSequence(csiViewCodeSequence,standardViewCodes);
     view =
         MammoDemographicAndTechniqueAnnotations.getViewAbbreviationFromViewCodeSequenceAttributes(
             csiViewCodeSequence.getAttributeList());
   }
   // System.err.println("getView(): view="+view);
   return view;
 }
Exemplo n.º 2
0
 /**
  * @param list
  * @return a single String value, null if cannot be obtained
  */
 private static String getImageLateralityViewModifierAndViewModifier(AttributeList list) {
   return MammoDemographicAndTechniqueAnnotations
       .getAbbreviationFromImageLateralityViewModifierAndViewModifierCodeSequenceAttributes(list);
 }