Skip to content

Commit

Permalink
fix: 2965 Correct Parsing Logic for Qualitative Instance Level SR (#2972
Browse files Browse the repository at this point in the history
)

* fix: 2965 Correct Parsing Logic for Qualitative Instance Level SR

* fix: 2965 Correct Parsing Logic for Qualitative Instance Level SR

* fix: 2965 Correct Parsing Logic for Qualitative Instance Level SR
  • Loading branch information
GitanjaliChhetri authored Oct 25, 2022
1 parent 7aba01f commit f7db74a
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ const getReferencedImagesList = ImagingMeasurementReportContentSequence => {
const ImageLibrary = ImagingMeasurementReportContentSequence.find(
item =>
item.ConceptNameCodeSequence.CodeValue ===
CodeNameCodeSequenceValues.ImageLibrary ||
item.ConceptNameCodeSequence.CodeValue ===
CodeNameCodeSequenceValues.ImagingMeasurements
CodeNameCodeSequenceValues.ImageLibrary
);

if (!ImageLibrary || !ImageLibrary.ContentSequence) {
Expand All @@ -21,9 +19,7 @@ const getReferencedImagesList = ImagingMeasurementReportContentSequence => {
).find(
item =>
item.ConceptNameCodeSequence.CodeValue ===
CodeNameCodeSequenceValues.ImageLibraryGroup ||
item.ConceptNameCodeSequence.CodeValue ===
CodeNameCodeSequenceValues.MeasurementGroup
CodeNameCodeSequenceValues.ImageLibraryGroup
);

if (!ImageLibraryGroup || !ImageLibraryGroup.ContentSequence) {
Expand Down

0 comments on commit f7db74a

Please sign in to comment.