code: def get_ohif(path: str):
      ohif_dir = os.path.join(
          os.path.dirname(os.path.realpath(__file__)), "static", "ohif"
      )
      file = os.path.join(ohif_dir, "index.html")
      if path:
          path = os.path.join(ohif_dir, path.replace("/", os.pathsep))
          file = path if os.path.exists(path) else file
  
      if not os.path.exists(file):
          logger.info(file)
          raise HTTPException(
              status_code=404, detail="Resource NOT Found"
          )
  
      return FileResponse(file, media_type=get_mime_type(file))
  
imports: import logging
  import os
  from fastapi import APIRouter, Depends, HTTPException
  from fastapi.responses import FileResponse
  from monailabel.config import settings
  from monailabel.endpoints.user.auth import RBAC, User
  from monailabel.utils.others.generic import get_mime_type
label_desc: Use image node_id 1 for calling a global function with example usage: get_ohif(path) and returns: FileResponse