You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
You can configure distribution print rules to print physical labels of the distributed samples.
Steps to create specimen print rule:
Click on Create → ‘Distribution’ from the print rules page.
Enter all the valid details and click on the ‘Create’ button
You can use the below tokens to include their corresponding value in printed labels.
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 |
|
Distribution: Print rule example
Advanced Distribution Print Rule Examples
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”. |
Order | 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. |