• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • Using EVAL(expr) for specimen label

    #1

    Hi,

    As of v6.2 there is a token called - EVAL(expr).

    I have tried the example - %EVAL(#formatDate(#specimen.createdOn, “yymmdd”))% But this creates a specimen label with the ‘visit date’ or ‘collected date’ and not the ‘created on’ date.

    Could someone tell me which token would make “today’s date” please? This date is held in the ‘catissue_specimen_coll_group table’ as field CREATION_TIME.

    Many thanks,
    John

    #2

    Hi @John_M,
    ‘specimen.createdOn’ is the date when a child(derivative or aliquot) was processed. For primary specimen, it is same as ‘Received time’.
    There is no way in v6.2 to get ‘today’s date’ as part of label. In v7.0, a new token ‘TODAY_DATE(FORMAT)’ is added. Refer wiki for more details.