Browse Source

添加重要的领域模型结构series study image

dengdx 2 weeks ago
parent
commit
55b86abb8c
3 changed files with 88 additions and 0 deletions
  1. 16 0
      src/domain/series.ts
  2. 52 0
      src/domain/study.ts
  3. 20 0
      src/domain/xImage.ts

+ 16 - 0
src/domain/series.ts

@@ -0,0 +1,16 @@
+import { XImage } from './xImage';
+
+export interface Series {
+  series_instance_uid: string;
+  study_instance_uid: string;
+  study_id: string;
+  procedure_id: string;
+  body_part: string;
+  performed_datetime: string | null;
+  performed_protocol_code_meaning: string;
+  performed_protocol_code_value: string;
+  sort: number;
+  product: string;
+  is_pre_install: boolean;
+  images: XImage[];
+}

+ 52 - 0
src/domain/study.ts

@@ -0,0 +1,52 @@
+export interface Study {
+  study_instance_uid: string;
+  study_id: string;
+  public_study_id: string;
+  specific_character_set: string;
+  accession_number: string;
+  ref_physician: string;
+  patient_id: string;
+  patient_name: string;
+  patient_english_name: string;
+  patient_former_name: string;
+  patient_size: string;
+  other_patient_ids: string;
+  other_patient_names: string;
+  patient_age: string;
+  patient_dob: string;
+  patient_sex: string;
+  patient_state: string;
+  admitting_time: string | null;
+  priority: string;
+  reg_source: string;
+  study_description: string;
+  study_start_datetime: string;
+  study_end_datetime: string | null;
+  scheduled_procedure_step_start_date: string | null;
+  performed_physician: string;
+  study_lock: string;
+  folder_path: string;
+  operator_name: string;
+  modality: string;
+  weight: number;
+  thickness: number;
+  length: number;
+  patient_type: string;
+  study_type: string;
+  owner_name: string;
+  chip_number: string;
+  variety: string;
+  is_anaesthesia: boolean;
+  is_sedation: boolean;
+  mwl: string;
+  is_exported: boolean;
+  is_edited: boolean;
+  is_appended: boolean;
+  department: string;
+  mapped_status: boolean;
+  qc_result: boolean;
+  comment: string;
+  study_status: string;
+  sort: number;
+  product: string;
+}

+ 20 - 0
src/domain/xImage.ts

@@ -0,0 +1,20 @@
+export interface XImage {
+  sop_instance_id: string;
+  series_instance_uid: string;
+  study_instance_uid: string;
+  secondary_sop_uid: string;
+  study_id: string;
+  view_id: string;
+  view_description: string;
+  image_file_path: string;
+  acquisition_mode: string;
+  acquisition_context: string | null;
+  img_proc_context: string | null;
+  expose_status: string;
+  judged_status: string;
+  send_status: string;
+  storage_status: string;
+  sort: number;
+  product: string;
+  is_pre_install: boolean;
+}