import 'package:fis_jsonrpc/rpc.dart';

enum ExamImageType { CloudImage, MeasureImage, AiImage }

class ExamImageInfo {
  ///位置
  late int index;

  ///器官
  late String organ;

  ///图像地址
  late String url;

  ///预览图地址
  late String previewUrl;

  ///vid地址
  late String vidUrl;

  ///是否图像
  late bool isImage;

  ///扫查部位
  late String application;

  ///记录code
  late String remedicalCode;

  ///是否测量图像
  late ExamImageType imageType;

  ///扫查部位分类
  late String applicationCategory;

  /// ai图像code
  late String? remedicalAISelectedInfoCode;

  /// ai良恶性描述
  late DiagnosisConclusionEnum? diagnosisConclusion;

  /// ai器官
  late List<DiagnosisOrganEnum>? diagnosisOrgans;

  /// 检测code
  late String recordCode;
  ExamImageInfo(
    this.index,
    this.url,
    this.previewUrl, {
    this.organ = '',
    this.isImage = true,
    this.vidUrl = '',
    this.application = '',
    this.remedicalCode = '',
    this.imageType = ExamImageType.CloudImage,
    this.applicationCategory = '',
    this.remedicalAISelectedInfoCode,
    this.recordCode = '',
    this.diagnosisConclusion,
    this.diagnosisOrgans,
  });
}
