Configuring the Visit Bookmark Label for the Patient Data Report

The following table describes the purpose, parameters, return value, and default logic for the DeriveDocumentNumber function:

  • Function Name: get_visit_label
  • Purpose: Lets you customize the label used for a visit in the bookmark of the Patient Data Report.

    By default, this function returns the name of the visit (that is, the clinical planned event). You may want to customize this function to return the description, to return the phase, or to use the unique clin_planned_event_id to retrieve a label from another table or system.

  • Parameters:
    • pClinPlanEveId — Denotes the ID of the clinical planned event.
    • pSubEventNo — Denotes the subevent number.
  • Return Value: Returns the text that is displayed for a visit in the bookmark of the Patient Data Report.
  • Default Logic: Returns the name of a visit.
  • Related Functions: get_dci_label, get_dcm_label