diff --git a/app/ix/ginas/models/v1/Code.java b/app/ix/ginas/models/v1/Code.java index 80bac53e0..c9a8e60f2 100644 --- a/app/ix/ginas/models/v1/Code.java +++ b/app/ix/ginas/models/v1/Code.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; import ix.core.models.DynamicFacet; import ix.core.models.Indexable; import ix.ginas.models.CommonDataElementOfCollection; @@ -96,7 +97,7 @@ public boolean hasSpecialDisplay(){ return false; } - @JsonIgnore + @JsonProperty("_isClassification") public boolean isClassification(){ if(this.codeText!=null){ if(this.codeText.contains("|"))return true;