diff --git a/models/sql/models/instance.model.js b/models/sql/models/instance.model.js index 0d6f08eb..e2ab3fa0 100644 --- a/models/sql/models/instance.model.js +++ b/models/sql/models/instance.model.js @@ -58,9 +58,15 @@ InstanceModel.init({ "x00080016": { type: vrTypeMapping.UI }, + "x00080022": { + type: vrTypeMapping.DA + }, "x00080023": { type: vrTypeMapping.DA }, + "x0008002A": { + type: vrTypeMapping.DT + }, "x00080033": { type: vrTypeMapping.TM }, diff --git a/models/sql/po/instance.po.js b/models/sql/po/instance.po.js index 3fefeb3f..cd9d1dba 100644 --- a/models/sql/po/instance.po.js +++ b/models/sql/po/instance.po.js @@ -12,7 +12,9 @@ const INSTANCE_STORE_TAGS = { "00020010": true, "00080016": true, "00080018": true, + "00080022": true, "00080023": true, + "0008002A": true, "00080033": true, "00200013": true, "0040A043": true, @@ -62,7 +64,9 @@ class InstancePersistentObject { this.x0020000E = this.series.x0020000E; this.x00080018 = _.get(dicomJson, "00080018.Value.0", undefined); this.x00080016 = _.get(dicomJson, "00080016.Value.0", undefined); + this.x00080022 = _.get(dicomJson, "00080022.Value.0", undefined); this.x00080023 = _.get(dicomJson, "00080023.Value.0", undefined); + this.x0008002A = _.get(dicomJson, "0008002A.Value.0", undefined); this.x00080033 = _.get(dicomJson, "00080033.Value.0", undefined); this.x00200013 = _.get(dicomJson, "00200013.Value.0", undefined); this.x00280008 = _.get(dicomJson, "00280008.Value.0", undefined); @@ -178,7 +182,9 @@ class InstancePersistentObject { x0020000E: this.x0020000E, x00080018: this.x00080018, x00080016: this.x00080016, + x00080022: this.x00080022 ? this.x00080022 : undefined, x00080023: this.x00080023, + x0008002A: this.x0008002A ? this.x0008002A : undefined, x00080033: this.x00080033 ? Number(this.x00080033) : undefined, x00200013: this.x00200013, x00280008: this.x00280008,