fix: Check for Value in 00081155 sequence (Few patient protocol images doesn't have this value) and removed a duplicate declaration (#921)
This commit is contained in:
parent
71bea0d4d8
commit
d0ec9cf0e0
@ -133,7 +133,8 @@ function getSourceImageInstanceUid(instance) {
|
|||||||
if (
|
if (
|
||||||
SourceImageSequence &&
|
SourceImageSequence &&
|
||||||
SourceImageSequence.Value &&
|
SourceImageSequence.Value &&
|
||||||
SourceImageSequence.Value.length
|
SourceImageSequence.Value.length &&
|
||||||
|
SourceImageSequence.Value[0]['00081155'].Value
|
||||||
) {
|
) {
|
||||||
return SourceImageSequence.Value[0]['00081155'].Value[0];
|
return SourceImageSequence.Value[0]['00081155'].Value[0];
|
||||||
}
|
}
|
||||||
@ -293,7 +294,6 @@ async function resultDataToStudyMetadata(server, studyInstanceUid, resultData) {
|
|||||||
// TODO: Pass a reference ID to the server instead of including the URLs here
|
// TODO: Pass a reference ID to the server instead of including the URLs here
|
||||||
const studyData = {
|
const studyData = {
|
||||||
seriesList: [],
|
seriesList: [],
|
||||||
studyInstanceUid,
|
|
||||||
wadoUriRoot: server.wadoUriRoot,
|
wadoUriRoot: server.wadoUriRoot,
|
||||||
wadoRoot: server.wadoRoot,
|
wadoRoot: server.wadoRoot,
|
||||||
qidoRoot: server.qidoRoot,
|
qidoRoot: server.qidoRoot,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user