/** * @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; }
/** * @param list * @return a single String value, null if cannot be obtained */ private static String getImageLateralityViewModifierAndViewModifier(AttributeList list) { return MammoDemographicAndTechniqueAnnotations .getAbbreviationFromImageLateralityViewModifierAndViewModifierCodeSequenceAttributes(list); }