Skip to content

Claims

You can link Veeva Vault claims to the text fragments of e-Detailers, emails, sites, and modules in eWizard Editor.

When linking claims, eWizard checks if the text fragment matches with the Veeva Vault Match Text or Match Text Variations field.

Claims configuration file

The linked claims metadata is saved in the ./common/resources/claims.json file. The file appears in your project after you link a claim to a project in eWizard Editor. Each claim is a separate object in the list array.

Example of a claims.json file:

json
// ./.ewizard/claims.json

{
  "app": {
    "list": [
      {
        "id": "V1W000000000102",
        "name": "CL-000001",
        "matchText": "choice for patients with NERD",
        "matchTextVariations": [
          "elderly patients with NERD",
          "Test 2 2wer 23e 23r 23 23 r23 23r23r"
        ],
        "linked": true,
        "references": [
          {
            "id": 108,
            "name": "Comparative efficacy of esomeprazole and omeprazole",
            "type": {},
            "citation": "Citation #2",
            "related": [
              "V1W000000000104",
              "V1W000000000105",
              "V1W000000000106",
              "V1W000000000107",
              "V1W000000000202"
            ],
          }
        ]
      }
    ],
    "order": [
      "V1W000000000102",
      "V1W000000000103",
      "V1W000000000107",
      "V1W000000000206"
    ]
  }
}

Don't modify the claims.json file manually to guarantee stable behavior in eWizard.

Fields description

The claims.json file has the following fields:

Field           Description
idThe ID of the claim in Veeva Vault
nameThe name of the claim in Veeva Vault
matchTextThe value of the Match Text field in Veeva Vault. eWizard matches the data from this field to the text in the component
matchTextVariationsThe value of the Match Text Variations field in Veeva Vault
linkedIf true, the claim is linked to the template. Unlinked claims aren't shown in the claims.json file
referencesContains info about the references that are linked with the claim
orderDisplays the order in which the claims are linked

Each reference in the references array has the following fields:

FieldDescription
idID of the Veeva Vault reference
nameName of the Veeva Vault reference
typeThe Veeva Vault document type
citationThe Veeva Vault citation
relatedThe IDs of the claims related to the current reference