Configuring the DCM 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_dcm_label
  • Purpose: Lets you customize the label used for a DCM in the bookmark of the Patient Data Report. RDC calls this function only if the local database setting for the data domain is set to DCM.

    By default, this function returns the name of the DCM. You may want to customize this function to return the description or to use the unique combination of dcm_id, dcm_subset_sn, dcm_layout_sn, and qualifying_value to retrieve a label from another table or system.

  • Parameters:
    • pDcmId — Denotes the ID of the DCM.
    • pDcmSubset — Denotes the subset number of the DCM.
    • pDcmLayout — Denotes the layout number of the DCM.
    • pDcmQualVal — Denotes the qualifying value of the DCM.
  • Return Value: Returns the text that is displayed for a DCM in the bookmark of the Patient Data Report.
  • Default Logic: Returns the name of a DCM.
  • Related Functions: get_dci_label, get_visit_label