Versions Compared

Key

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

...

Expand
titleConfiguration for Distribution Fields

Field Name

Edit

Read Only

1

CP Short Title

Not Possible

Code Block
{
    "name": "order.cpShortTitle",
    "label": "Collection Protocol",
    "type": "span",
    "uiStyle": {
        "min-width": "170px"
    }
}
2

Distribution Protocol

Code Block
{
  "name": "order.distributionProtocol",
  "label": "Distribution Protocol",
  "type": "dropdown",
  "listSource": {
      "apiUrl": "distribution-protocols",
      "displayProp": "shortTitle",
      "queryParams": {
          "dynamic": {
              "cpShortTitle": "cpShortTitle",
              "instituteName":"instituteName"
          }
      }
  },
  "validations": {
    "required": {
        "message": "Distribution Protocol is mandatory"
    }
  }
}
Code Block
{
    "name": "order.distributionProtocol",
    "label": "Distribution Protocol",
    "type": "span",
    "listSource": {
        "apiUrl": "distribution-protocols",
        "displayProp": "shortTitle",
        "queryParams": {
            "dynamic": {
                "cpShortTitle": "cpShortTitle",
                "instituteName":"instituteName"
            }
        }
    }
}
3

Receiving Institute

Code Block
{
    "name": "order.instituteName",
    "label": "Receiving Institute",
    "type": "dropdown",
    "listSource": {
        "apiUrl": "institutes",
        "displayProp": "name",
        "selectProp" : "name"
    }
},,
    "validations": {
        "required": {
            "message": "Receiving Institute is mandatory"
        }
    }
}
Code Block
{
    "name": "order.instituteName",
    "label": "Receiving Institute",
    "type": "span",
    "listSource": {
        "apiUrl": "institutes",
        "displayProp": "name",
        "selectProp" : "name"
    }
}
4

Receiving Site

Code Block
{
    "name": "order.siteName",
    "label": "Receiving Site",
    "type": "site",
    "selectProp": "name",
    "validations": {
        "required": {
            "message": "Receiving Site is mandatory"
        }
    }
}
Code Block
{
    "name": "order.siteName",
    "label": "Receiving Site",
    "type": "span"
}
5

Order Name

Code Block
{
  "name": "order.name",
  "label": "Order Name",
  "type": "text",
  "validations": {
    "required": {
        "message": "Order Name is mandatory"
    }
  }
}

Not Supported

6

Requester

Code Block
{
  "name": "order.requester",
  "label": "Requester",
  "type": "user",
  "validations": {
    "required": {
        "message": "Requester is mandatory"
    }
  }
}

Not Supported

7

Distribution Date

Code Block
{
    "name": "order.executionDate",
    "label": "Distribution Date",
    "type": "datePicker",
    "showTime": true,
    "validations": {
        "required": {
            "message": "Distribution Date is mandatory"
        }
    }
}

Not Supported

8

Checkout

Code Block
{
  "name": "order.checkout",
  "label": "Checkout",
  "type": "booleanCheckbox"
}

9

Dispose Specimens

Code Block
{
  "name": "order.closeSpecimens",
  "label": "Dispose Specimens",
  "type": "booleanCheckbox"
}

Not Supported

10

Comments

Code Block
{
  "name": "order.comments",
  "label": "Comments",
  "type": "textarea"
}

11

...