code: def save_label(
      self,
      image_id: str,
      label_filename: str,
      label_tag: str,
      label_info: Dict[str, Any],
      label_id: str = "",
  ) -> str:
      logger.info(f"Input - Image Id: {image_id}")
      logger.info(f"Input - Label File: {label_filename}")
      logger.info(f"Input - Label Tag: {label_tag}")
      logger.info(f"Input - Label Info: {label_info}")
  
      image_uri = self.get_image_uri(image_id)
      label_ext = "".join(pathlib.Path(label_filename).suffixes)
  
      output_file = ""
      if label_ext == ".bin":
          output_file = binary_to_image(image_uri, label_filename)
          label_filename = output_file
  
      logger.info(f"Label File: {label_filename}")
  
      # Support DICOM-SEG uploading only final version
      if label_tag == DefaultLabelTag.FINAL:
          image_dir = os.path.realpath(
              os.path.join(self._datastore.image_path(), image_id)
          )
          label_file = nifti_to_dicom_seg(
              image_dir, label_filename, label_info.get("label_info")
          )
  
          label_series_id = dicom_web_upload_dcm(
              label_file, self._client
          )
          image_info = self.get_image_info(image_id)
          label_info.update(
              {
                  "SeriesInstanceUID": label_series_id,
                  "Modality": image_info.get("Modality"),
                  "PatientID": image_info.get("PatientID"),
                  "StudyInstanceUID": image_info.get(
                      "StudyInstanceUID"
                  ),
              }
          )
          os.unlink(label_file)
  
      label_id = super().save_label(
          image_id, label_filename, label_tag, label_info
      )
      logger.info("Save completed!")
  
      if output_file:
          os.unlink(output_file)
      return label_id
  
imports: import logging
  import os
  import pathlib
  import shutil
  from typing import Any, Dict, Iterator, List, Optional, Tuple
  import requests
  from cachetools import TTLCache, cached
  from dicomweb_client import DICOMwebClient
  from pydicom.dataset import Dataset
  from monailabel.config import settings
  from monailabel.datastore.local import LocalDatastore
  from monailabel.datastore.utils.convert import binary_to_image, dicom_to_nifti, nifti_to_dicom_seg
  from monailabel.datastore.utils.dicom import dicom_web_download_series, dicom_web_upload_dcm
  from monailabel.interfaces.datastore import DefaultLabelTag
  from monailabel.utils.others.generic import md5_digest
label_desc: Use image node_id 10 for calling the DICOMWebDatastore obj's underlying member method code with example usage: obj.save_label(image_id, label_filename, label_tag, label_info, label_id) and returns: label_id