             type: SimpleSchema.RegEx.Id
             optional: true
 
-        tbl_id:
-            type: SimpleSchema.RegEx.Id
-            denyUpdate: true
-
-        sortIdx:
-            type: Number
-            decimal: true
-            optional: true
-
-        timestamp:
-            type: Date
-            denyUpdate: true
-            optional: true
-
-        user_id:
-            type: SimpleSchema.RegEx.Id
-            denyUpdate: true
-            optional: true
-
-        isQA:
-            type: Boolean
-            defaultValue: false
-            optional: true
-
-        timestampQA:
-            type: Date
-            optional: true
-
-        user_id_QA:
-            type: SimpleSchema.RegEx.Id
-            optional: true
-
-
-    share.epiResultSchema = new SimpleSchema
+    epi_result_schema =
 
         organSite:
             label: "Organ site (ICD code)"

        isRequired = ((@field('studyDesign').value not in CaseControlTypes) and (@value is ""))
        if isRequired then return "required"


    share.epiDescriptiveSchema = new SimpleSchema

        referenceID:
            label: "Reference"

            type: String
            optional: true

        parent_id:
            type: SimpleSchema.RegEx.Id
            denyUpdate: true

    requiredCC = () ->
        isRequired = ((@field('studyDesign').value in CaseControlTypes) and (@value is ""))
