...
Expand |
---|
title | Steps to create distribution print rule: |
---|
|
Click on Create → ‘Distribution’ from the print rules page. Image Removed- Image Added
Refer to the Print Rules page and the table below for details and click on the ‘Create’ button Image Modified
|
Print Rule Fields Specific to Distribution
Expand |
---|
title | Click to view field details |
---|
|
Field | Description | Example Values |
---|
Distribution Protocol | Short title of distribution protocol(DP). The default value is *, meaning any DP. | Demo DP (can select multiple values) |
|
Print Tokens
You can use the below tokens to include their corresponding value in printed labels.
Expand |
---|
|
Token Name | Description | Example values |
---|
Distribution Protocol | Distribution Protocol Short Title | HIV distribution project | Distribution Label | Autogenerated specimen distribution label | | Pathological Status | Pathological Status of the samples |
|
|
Advanced Print Rules
In addition to the above tokens, you can use advanced tokens for printing listed below.
...
Expand |
---|
title | Advanced print-token 'eval(...)' examples |
---|
|
Token Type | Object variable | Field name | Example | Description |
---|
Order | orderItem | Specimen Label | eval(“Label”, #orderItem.specimen.label) | Evaluates the specimen label of the ordered item. | Order | orderItem | DP custom field | eval(“DP Custom Field”,#orderItem.order.distributionProtocol.getExtension()?.getAttrValues()?.get("ST2")) | Evaluates the distribution protocol custom-field value for fieldName “ST2”. | Orderc | orderItem | Specimen custom field | eval(“Spec Custom Field”, #orderItem.specimen.getExtension()?.getAttrValues()?.get("ST21")) | Evaluates the specimen custom-field value for fieldName “ST21”, from the specimen listed in order-items. | Order | orderItem | Visit Clinical Status | | Evaluates the Clinical status of the specimen for the visit. |
|