Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Feature available in v5.0 and onwards. Below mentioned code block , is to setup the visit lookup step. For searching the participants, MRN/EMPI can be used and for visits 'Visit name' or 'Accession Number'

Code Block
titlevisitsLookup
{
    "name": "visitsLookup",
    "data": {
      "enable": true,
     /* matchTableOpts is used to sort matching visit based on Visit date*/
	"matchTableOpts": {																			
          "sortAttr": "visit.visitDate",
          "sortDirection": "desc"
        },
      "matchTable": [
        {
          "name": "visit.name",
          "baseField": "visit.name",
          "caption": "Bank Number"
        },
        {
          "name": "visit.visitDate",
          "baseField": "visit.visitDate"
        },
        {
          "name": "visit.surgicalPathologyNumber",
          "baseField": "visit.surgicalPathologyNumber",
          "caption": "Accession Number"
        }
      ],
      "searchAttrs": [
      {
        "attr": "EMPI_MRN",
        "caption": "MRN"
      },
      {
        "attr": "VISIT_NAME",
        "caption": "Bank Number"
      },
      {
        "attr": "SPR_NO",
        "caption": "Accession Number"
      }
     ]
    }
  }

...