code: def dicom_web_upload_dcm(input_file, client: DICOMwebClient):
      start = time.time()
      dataset = dcmread(input_file)
      result = client.store_instances([dataset])
  
      url = ""
      for elm in result.iterall():
          s = str(elm.value)
          logger.info(f"{s}")
          if "/series/" in s:
              url = s
              break
  
      series_id = url.split("/series/")[1].split("/")[0] if url else ""
      logger.info(f"Series Instance UID: {series_id}")
  
      logger.info(f"Time to upload: {time.time() - start} (sec)")
      return series_id
  
file_path: MONAILabel/monailabel/datastore/utils/dicom.py
imports: import logging
  import os
  import time
  from concurrent.futures import ThreadPoolExecutor
  from dicomweb_client import DICOMwebClient
  from pydicom.dataset import Dataset
  from pydicom.filereader import dcmread
  from monailabel.utils.others.generic import md5_digest, run_command
label_desc: Use image node_id 5 for calling a global function with example usage: dicom_web_upload_dcm(input_file, client) and returns: series_id