From 075da1b5771a965f2eaf7dc38ddb1cb02ebf1704 Mon Sep 17 00:00:00 2001 From: Shivang Mishra Date: Mon, 23 Jun 2025 04:45:03 +0530 Subject: [PATCH 1/2] add Signature data type --- src/Concept.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Concept.js b/src/Concept.js index cd47349d..5ed9379a 100644 --- a/src/Concept.js +++ b/src/Concept.js @@ -168,6 +168,7 @@ export default class Concept extends BaseEntity { GroupAffiliation: "GroupAffiliation", QuestionGroup: "QuestionGroup", File: "File", + Signature: "Signature", Encounter: "Encounter", get Media() { return [this.Image, this.ImageV2, this.Video, this.Audio, this.File]; From 7e4062a419098f3e1aebed3203ab54fce1f8f392 Mon Sep 17 00:00:00 2001 From: Shivang Mishra Date: Fri, 8 Aug 2025 16:04:13 +0530 Subject: [PATCH 2/2] add Signature to media types --- src/Concept.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Concept.js b/src/Concept.js index 5ed9379a..ecc569eb 100644 --- a/src/Concept.js +++ b/src/Concept.js @@ -171,7 +171,7 @@ export default class Concept extends BaseEntity { Signature: "Signature", Encounter: "Encounter", get Media() { - return [this.Image, this.ImageV2, this.Video, this.Audio, this.File]; + return [this.Image, this.ImageV2, this.Video, this.Audio, this.File, this.Signature]; }, }; @@ -332,7 +332,7 @@ export default class Concept extends BaseEntity { } isMediaConcept() { - return _.includes([Concept.dataType.Image, Concept.dataType.ImageV2, Concept.dataType.Video, Concept.dataType.File], this.datatype); + return _.includes([Concept.dataType.Image, Concept.dataType.ImageV2, Concept.dataType.Video, Concept.dataType.File, Concept.dataType.Signature], this.datatype); } isMediaSelectConcept() {