JP6073567B2 - Medical information recording apparatus and medical information recording method - Google Patents

Medical information recording apparatus and medical information recording method Download PDF

Info

Publication number
JP6073567B2
JP6073567B2 JP2012094600A JP2012094600A JP6073567B2 JP 6073567 B2 JP6073567 B2 JP 6073567B2 JP 2012094600 A JP2012094600 A JP 2012094600A JP 2012094600 A JP2012094600 A JP 2012094600A JP 6073567 B2 JP6073567 B2 JP 6073567B2
Authority
JP
Japan
Prior art keywords
information
directory information
block
additional
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012094600A
Other languages
Japanese (ja)
Other versions
JP2013222489A (en
Inventor
潤一朗 荒岡
潤一朗 荒岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Medical Systems Corp
Original Assignee
Toshiba Medical Systems Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Medical Systems Corp filed Critical Toshiba Medical Systems Corp
Priority to JP2012094600A priority Critical patent/JP6073567B2/en
Publication of JP2013222489A publication Critical patent/JP2013222489A/en
Application granted granted Critical
Publication of JP6073567B2 publication Critical patent/JP6073567B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施の形態は、医療情報記録装置及び医療情報記録方法に関する。   Embodiments described herein relate generally to a medical information recording apparatus and a medical information recording method.

近年、被検体内部の情報を収集し、この収集された情報に基づいて被検体内部を画像化して医用画像を生成する医用画像診断装置が用いられるようになっている。この医用画像診断装置としては、例えば、X線CT装置(computed tomography:コンピュータ断層撮影装置)や、磁気共鳴診断装置(MRI:magnetic resonance imaging)等が該当する。生成された医用画像は例えば、ネットワークに接続された医用画像表示装置上に表示される。   2. Description of the Related Art In recent years, medical image diagnostic apparatuses that collect information inside a subject and generate a medical image by imaging the inside of the subject based on the collected information have been used. Examples of the medical image diagnostic apparatus include an X-ray CT apparatus (computed tomography) and a magnetic resonance diagnostic apparatus (MRI). The generated medical image is displayed on a medical image display device connected to the network, for example.

これら医用画像診断装置の性能は年々向上し、1度の検査で多量の医用画像を取得することができるようになってきた。また、CD、DVD、ブルーレイディスク(登録商標)といった記録媒体の記録容量も大きくなってきている。医用画像を含む医療情報の記録で一般的に利用される規格であるDICOM(Digital Imaging and Communication in Medicine)では、医用画像を記録する際にDICOMDIRという索引ファイルが作成されるが、記録媒体の大容量化に伴い、索引ファイルのサイズも増大し、記録時間、或いは、読み込み時間の長時間化が問題となる。   The performance of these medical image diagnostic apparatuses has improved year by year, and a large amount of medical images can be acquired by one examination. In addition, the recording capacity of recording media such as CD, DVD, and Blu-ray Disc (registered trademark) is increasing. In DICOM (Digital Imaging and Communication in Medicine), which is a standard generally used for recording medical information including medical images, an index file called DICOMDIR is created when recording medical images. Along with the increase in capacity, the size of the index file also increases, and a long recording time or reading time becomes a problem.

この問題に対して、以下の特許文献1においては、前もって部分的な索引ファイルを作成しておき、この索引ファイルを利用して記録時間の削減を行うことで、問題解決を図っている。   In order to solve this problem, in the following Patent Document 1, a partial index file is created in advance, and the problem is solved by reducing the recording time using this index file.

特開2008−217558号公報JP 2008-217558 A

しかしながら、上記特許文献1において開示されている発明では、記録時間の短縮を図ることはできるが、読み込み時間は依然として多くの時間が掛かってしまう。   However, in the invention disclosed in Patent Document 1, although the recording time can be shortened, the reading time still takes a lot of time.

すなわち、一般に医用画像は、医用画像そのものの他に、「患者情報」、「検査情報」、「シリーズ情報」、「画像情報」の4つの階層からなる付帯情報で構成されている。そしてこれらの各階層における主要情報を抜粋したものを、それぞれ「患者ディレクトリ情報」、「検査ディレクトリ情報」、「シリーズディレクトリ情報」、「画像ディレクトリ情報」とし、これらディレクトリ情報の集合として「索引ファイル」が構成される。   That is, in general, a medical image is composed of incidental information including four layers of “patient information”, “examination information”, “series information”, and “image information” in addition to the medical image itself. Extracts of the main information at each level are referred to as “patient directory information”, “examination directory information”, “series directory information”, and “image directory information”, respectively. Is configured.

これらのディレクトリ情報には、次に関連するディレクトリ情報へのオフセット情報(次に関連するディレクトリ情報がいずれの位置にあるかを示す位置情報)が記録されている。このようにオフセット情報が記録されるのは、特に新しい情報が記録媒体に記録される際には、当該記録媒体の中で順番に記録されるわけではなくランダムに空き領域へ記録されること、個々のディレクトリ情報の長さは定められていないことからである。   In these directory information, offset information to the next related directory information (position information indicating where the next related directory information is located) is recorded. The offset information is recorded in this way, particularly when new information is recorded on the recording medium, it is not recorded sequentially in the recording medium, but is randomly recorded in an empty area, This is because the length of each directory information is not defined.

そのため換言すれば、新しい情報が追記される場合には、直前のディレクトリ情報のオフセット情報を修正しなければならない。但し、この直前のディレクトリ情報を探し再配置するために一旦索引ファイルの全体を出力する必要が生ずる。   Therefore, in other words, when new information is added, the offset information of the immediately preceding directory information must be corrected. However, in order to search for the directory information immediately before this and rearrange it, it is necessary to output the entire index file once.

また、記録媒体の内部に記録されている、例えば患者情報一覧を読み込む場合には、全ての患者ディレクトリ情報を読み込む必要があるが、この患者ディレクトリ情報が索引ファイル全体のどこに配置されているのかが不明であるため、この場合も結局索引ファイルの全体を読み込む必要が生ずる。   In addition, for example, when reading a patient information list recorded in a recording medium, it is necessary to read all patient directory information. Where is this patient directory information located in the entire index file? Since it is unknown, it is necessary to read the entire index file after all.

本発明は上記課題を解決するためになされたものであり、本発明の目的は、記録媒体への情報の書き込み、或いは、記録媒体からの情報の読み出しの際における処理時間の短縮、及び書込処理による記録媒体の劣化防止を行うことのできる医療情報記録装置及び医療情報記録方法を提供することにある。   The present invention has been made to solve the above-described problems, and an object of the present invention is to reduce processing time and write information when writing information to the recording medium or reading information from the recording medium. An object of the present invention is to provide a medical information recording apparatus and a medical information recording method capable of preventing deterioration of a recording medium due to processing.

請求項1に記載の発明の特徴は、医療情報記録装置において、医用画像を記録媒体に記録させる際の規格に適合した画像データと画像データに関するディレクトリ情報を生成するデータ生成部と、医用画像に対応するディレクトリ情報を備える索引データを管理するとともに、記録媒体への索引データの記録方式を保持するメディア管理部と、記録媒体から取得される索引データ内のディレクトリ情報とデータ生成部において生成されるディレクトリ情報とから、記録媒体への追記ディレクトリ情報を確定する索引データ構築部と、追記ディレクトリ情報の書き込みを制御し、追記ディレクトリ情報を書込対象領域となるブロック内に予め設けられ半固定長のブロックを構築するパディング領域にパディング領域を構成するパディングレコードを削除した上で格納する書込制御部とを備える。 According to a first aspect of the present invention, in the medical information recording apparatus, image data conforming to a standard for recording a medical image on a recording medium, a data generation unit that generates directory information about the image data, and a medical image The index data having the corresponding directory information is managed, and the medium management unit that holds the recording method of the index data on the recording medium, and the directory information and the data generation unit in the index data acquired from the recording medium are generated. An index data construction unit for determining additional directory information on the recording medium from the directory information, and writing of the additional directory information is controlled, and the additional directory information is provided in advance in a block serving as a writing target area and has a semi-fixed length. padding record constituting the padding area with the padding field of building blocks Stored on deleting the and a write control unit.

請求項2に記載の発明の特徴は、医療情報記録装置において、DICOM規格に適合した画像データと画像データに関する複数の階層のディレクトリ情報とを記録媒体に記録するために生成するデータ生成部と、画像データに関するディレクトリ情報とディレクトリ情報の間のオフセット値に関する情報を含む索引データを管理するメディア管理部と、記録媒体への追記ディレクトリ情報の記録を行う際に、追記ディレクトリ情報の書込対象領域となるブロック内に予め設けられ半固定長のブロックを構築するパディング領域のサイズが追記ディレクトリ情報を追加可能なサイズであるか否かを判断する索引データ構築部と、索引データ構築部の判断結果に基づいて、パディング領域のサイズが追記ディレクトリ情報を追加可能なサイズである場合には、パディング領域を構成するパディングレコードを削除した上でパディング領域に書込み、追加できないサイズである場合には、新たなブロックを構築した上で追記ディレクトリ情報を書込む処理を行う書込制御部とを備える。 According to a second aspect of the present invention, in the medical information recording apparatus, a data generation unit that generates image data conforming to the DICOM standard and a plurality of levels of directory information related to the image data to be recorded on a recording medium; A medium management unit that manages index data including directory information related to image data and information related to an offset value between the directory information, and a write target area for additional write directory information when recording additional write directory information on a recording medium ; In the determination result of the index data construction unit and the index data construction unit for judging whether or not the size of the padding area for constructing the semi-fixed length block that is provided in advance in the block is a size that allows the appending directory information to be added. based on the size of the padding area Oh postscript directory information can be added size Case, writing the padding area on deleting the padding records constituting the padding area, if the size can not be added, a write control for writing additional write directory information on building the new block processing A part.

請求項10に記載の発明の特徴は、医療情報記録方法において、記録媒体への追記が求められる医用画像の画像ファイルに関する追記ディレクトリ情報の容量と、追記ディレクトリ情報の書込対象領域となるブロック内のパディング領域の容量とを比較するステップと、比較の結果、追記ディレクトリ情報の容量がパディング領域の容量以下である場合に、パディング領域を構成するパディングレコードを削除するステップと、削除されたパディング領域に追記ディレクトリ情報を書き込むステップと、追記ディレクトリ情報が書き込まれたブロックの容量が変化しない分のパディングレコードを前記ブロックへ挿入するステップと、ブロックに書き込まれた追記ディレクトリ情報に関する新たなオフセット情報を記録するステップとを備える。   According to a tenth aspect of the present invention, in the medical information recording method, the capacity of additional recording directory information relating to an image file of a medical image that is required to be additionally recorded on a recording medium, and a block serving as a writing target area of the additional recording directory information Comparing the capacity of the padding area, and if the result of the comparison indicates that the additional directory information capacity is less than or equal to the capacity of the padding area, the step of deleting the padding record constituting the padding area, and the deleted padding area A step of writing additional directory information to the block, a step of inserting a padding record into the block so that the capacity of the block in which the additional directory information is written does not change, and new offset information related to the additional directory information written in the block are recorded. With steps to .

本発明の実施の形態における医療情報記録装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the medical information recording device in embodiment of this invention. 本発明の実施の形態における書込部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the writing part in embodiment of this invention. 本発明の実施の形態における読込部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the reading part in embodiment of this invention. 本発明の実施の形態における索引ファイルの論理構造を示す説明図である。It is explanatory drawing which shows the logical structure of the index file in embodiment of this invention. 本発明の実施の形態における索引ファイルの物理構造を示す説明図である。It is explanatory drawing which shows the physical structure of the index file in embodiment of this invention. 記録媒体に記録されている医療情報に新たな医療情報を追記する流れを示すフローチャートである。It is a flowchart which shows the flow which adds new medical information to the medical information currently recorded on the recording medium. 記録媒体に記録されている医療情報に新たな医療情報を追記する流れを示すフローチャートである。It is a flowchart which shows the flow which adds new medical information to the medical information currently recorded on the recording medium. 本発明の実施の形態における記録方式選択処理の際に示される画面例である。It is an example of a screen shown at the time of the recording system selection process in the embodiment of the present invention. 記録媒体に記録されている医療情報に新たな医療情報を追記する処理を追記するブロックを示して説明する説明図である。It is explanatory drawing which shows and demonstrates the block which adds the process which adds new medical information to the medical information currently recorded on the recording medium. 記録媒体に記録されている医療情報に新たな医療情報を追記する処理を追記するブロックを示して説明する説明図である。It is explanatory drawing which shows and demonstrates the block which adds the process which adds new medical information to the medical information currently recorded on the recording medium. 記録媒体に記録されている医療情報に新たな医療情報を追記する処理を追記するブロックを示して説明する説明図である。It is explanatory drawing which shows and demonstrates the block which adds the process which adds new medical information to the medical information currently recorded on the recording medium. 記録媒体に記録されている医療情報に新たな医療情報を追記する処理を追記するブロックを示して説明する説明図である。It is explanatory drawing which shows and demonstrates the block which adds the process which adds new medical information to the medical information currently recorded on the recording medium.

以下、本発明の実施の形態について図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態における医療情報記録装置1の全体構成を示すブロック図である。医療情報記録装置1は、記録媒体に記録されている医用画像等の医療情報を読み込み、或いは、新たな医療情報を記録する(書き込む)ための装置である。   FIG. 1 is a block diagram showing an overall configuration of a medical information recording apparatus 1 according to an embodiment of the present invention. The medical information recording device 1 is a device for reading medical information such as medical images recorded on a recording medium or recording (writing) new medical information.

なお、本発明の実施の形態において、新たに医療情報を記録する場合にはDICOMという規格に基づいてその記録がなされ、また読み込まれる医療情報はDICOM規格に従って記録されている情報である。また記録媒体としては、上述したようにCD、DVD、ブルーレイディスク(登録商標)等を挙げることができる。これら記録媒体を医療情報記録装置1に挿入することで、記録媒体内に記録されている医療情報を読み込み、或いは、新たな医療情報を追記することができる。そのため、本発明の実施の形態においては、複数回追記が可能な記録媒体であることを前提とするが、1度しか書込処理を行うことができない記録媒体の使用を排除するものではない。   In the embodiment of the present invention, when medical information is newly recorded, the medical information is recorded based on the DICOM standard, and the medical information to be read is information recorded according to the DICOM standard. Examples of the recording medium include CD, DVD, Blu-ray Disc (registered trademark) and the like as described above. By inserting these recording media into the medical information recording apparatus 1, medical information recorded in the recording medium can be read or new medical information can be added. For this reason, in the embodiment of the present invention, it is assumed that the recording medium can be additionally written multiple times, but this does not exclude the use of a recording medium that can be written only once.

医療情報記録装置1としては、例えば、ワークステーションが該当する。この医療情報記録装置1は、例えば、病院情報管理システム(HIS:Hospital Information System)、放射線部門情報管理システム(RIS:Radiological Information System)、医用画像管理システム(PACS:Picture Archiving Communication System)といった医療機関内に構築された各種管理システムと組み合わされて用いられても良い。一方で、これら各種管理システムとの接続がなされない状態での使用も可能である。   For example, a workstation corresponds to the medical information recording apparatus 1. This medical information recording apparatus 1 is a medical institution such as a hospital information management system (HIS), a radiation department information management system (RIS), or a medical image management system (PACS: Picture Archiving Communication System). It may be used in combination with various management systems built inside. On the other hand, it can be used in a state where connection with these various management systems is not made.

医療情報記録装置1は、図1に示すように、CPU(Central Processing Unit)1aと、ROM(Read Only Memory)1bと、RAM(Random Access Memory)1c及び入出力インターフェイス1dがバス1eを介して接続されている。入出力インターフェイス1dには、入力部1fと、表示部1gと、通信制御部1hと、記憶部1iと、ドライブ1jと、書込部10と、読込部11とが接続されている。   As shown in FIG. 1, the medical information recording apparatus 1 includes a central processing unit (CPU) 1a, a read only memory (ROM) 1b, a random access memory (RAM) 1c, and an input / output interface 1d via a bus 1e. It is connected. An input unit 1f, a display unit 1g, a communication control unit 1h, a storage unit 1i, a drive 1j, a writing unit 10, and a reading unit 11 are connected to the input / output interface 1d.

CPU1aは、入力部1fからの入力信号に基づいてROM1bから医療情報記録装置1を起動するためのブートプログラムを読み出して実行し、記憶部1iに格納されている各種オペレーティングシステムを読み出す。またCPU1aは、入力部1fや入出力インターフェイス1dを介して、図1において図示していないその他の外部機器からの入力信号に基づいて各種装置の制御を行う。さらにCPU1aは、RAM1cや記憶部1i等に記録されたプログラム及びデータを読み出してRAM1cにロードするとともに、RAM1cから読み出されたプログラムのコマンドに基づいて、医療情報の書込処理やデータの計算、加工等、一連の処理を実現する処理装置である。   The CPU 1a reads out and executes a boot program for activating the medical information recording apparatus 1 from the ROM 1b based on an input signal from the input unit 1f, and reads out various operating systems stored in the storage unit 1i. The CPU 1a controls various devices based on input signals from other external devices not shown in FIG. 1 via the input unit 1f and the input / output interface 1d. Further, the CPU 1a reads out the program and data recorded in the RAM 1c, the storage unit 1i and the like and loads them into the RAM 1c. Based on the program command read out from the RAM 1c, the CPU 1a writes medical information and calculates data. It is a processing device that realizes a series of processing such as processing.

入力部1fは、医療情報記録装置1の操作者(例えば、医師や検査技師)が各種の操作を入力するキーボード、ダイヤル等の入力デバイスにより構成されており、操作者の操作に基づいて入力信号を作成しバス1eを介してCPU1aに送信される。なお、医療情報記録装置1には、キーボード等だけでなく専用の操作パネルが設けられていても良い。   The input unit 1f is composed of an input device such as a keyboard and a dial for an operator (for example, a doctor or a laboratory technician) of the medical information recording apparatus 1 to input various operations, and an input signal based on the operation of the operator Is transmitted to the CPU 1a via the bus 1e. The medical information recording apparatus 1 may be provided with a dedicated operation panel as well as a keyboard or the like.

表示部1gは、例えば、CRTモニタや液晶ディスプレイである。この表示部1gは、CPU1aからバス1eを介して出力信号を受信し、例えば記録媒体から読み出した患者情報や検査情報等の一覧、或いはCPU1aの処理結果等を表示する。   The display unit 1g is, for example, a CRT monitor or a liquid crystal display. The display unit 1g receives an output signal from the CPU 1a via the bus 1e, and displays, for example, a list of patient information and examination information read from the recording medium, or a processing result of the CPU 1a.

通信制御部1hは、LANカードやモデム等の手段であり、医療情報記録装置1をインターネットやLAN等の通信ネットワークに接続することを可能とする手段である。通信制御部1hを介して通信ネットワークと送受信したデータは入力信号または出力信号として、入出力インターフェイス1d及びバス1eを介してCPU1aに送受信される。   The communication control unit 1h is a means such as a LAN card or a modem, and is a means that enables the medical information recording apparatus 1 to be connected to a communication network such as the Internet or a LAN. Data transmitted / received to / from the communication network via the communication control unit 1h is transmitted / received to / from the CPU 1a via the input / output interface 1d and the bus 1e as an input signal or an output signal.

記憶部1iは、半導体や磁気ディスクで構成されており、CPU1aで実行されるプログラムやデータが記録されている。また、検査データについても記録されている。この検査データには、患者氏名、患者ID、年齢、誕生日、検査ID、検査日時、診断部位等の情報が含まれる。なお、本発明の実施の形態における医療情報記録装置1では、記憶部1iを医療情報記録装置1に設けた構成を例に挙げて説明しているが、通信ネットワーク上の例えば、サーバといった他の装置上に設けられていても良い。   The storage unit 1i is composed of a semiconductor or a magnetic disk, and stores programs and data executed by the CPU 1a. Inspection data is also recorded. This examination data includes information such as the patient name, patient ID, age, birth date, examination ID, examination date and time, and diagnostic part. In the medical information recording apparatus 1 according to the embodiment of the present invention, the configuration in which the storage unit 1i is provided in the medical information recording apparatus 1 is described as an example. It may be provided on the apparatus.

ドライブ1jは、例えば記録媒体が挿入される挿入口を備え、記録媒体に医療情報を書き込む場合、或いは、記録媒体から医療情報を読み込む場合に使用される。   The drive 1j has an insertion slot into which a recording medium is inserted, for example, and is used when medical information is written on the recording medium or when medical information is read from the recording medium.

書込部10は、記録媒体に新たな医療情報を書き込む処理を行う。図2は、本発明の実施の形態における書込部10の内部構成を示すブロック図である。書込部10は、受信部10aと、書込制御部10bと、メディア管理部10cと、データ生成部10dと、索引ファイル構築部10eと、プリセット適用部10fと、送信部10gとから構成される。   The writing unit 10 performs a process of writing new medical information on the recording medium. FIG. 2 is a block diagram showing an internal configuration of the writing unit 10 according to the embodiment of the present invention. The writing unit 10 includes a receiving unit 10a, a writing control unit 10b, a media management unit 10c, a data generation unit 10d, an index file construction unit 10e, a preset application unit 10f, and a transmission unit 10g. The

受信部10aは、例えば、入力部1fを介した操作者からの書込指示を受信する。書込制御部10bは、後述するメディア管理部10c、データ生成部10d、索引ファイル構築部10eを制御して、書込指示に基づいて記録媒体への画像データ(以下、「画像ファイル」と表わす)及び索引データ(以下、「索引ファイル」と表わす)の書込処理を行う。メディア管理部10cは、記録媒体が医療情報記録装置1(ドライブ1j)に挿入されたことを検出する。また、記録媒体の種類及び、当該記録媒体に記録されている医療情報の索引ファイルの記録方式を確認、保持するとともに、索引ファイルの管理も行う。またメディア管理部10cでは、書込制御部10bの要求に基づいて索引ファイルの提供も行う。   The receiving unit 10a receives, for example, a writing instruction from the operator via the input unit 1f. The write control unit 10b controls a media management unit 10c, a data generation unit 10d, and an index file construction unit 10e, which will be described later, and image data (hereinafter referred to as “image file”) to the recording medium based on the write instruction. ) And index data (hereinafter referred to as “index file”). The media management unit 10c detects that a recording medium has been inserted into the medical information recording apparatus 1 (drive 1j). In addition, the type of the recording medium and the recording method of the index file of medical information recorded on the recording medium are confirmed and held, and the index file is managed. The media management unit 10c also provides an index file based on a request from the write control unit 10b.

データ生成部10dは、書込指示に基づく記録媒体への書込対象となる画像ファイルを記憶部1iから取得するとともに、当該画像ファイルに関するディレクトリ情報(「患者ディレクトリ情報」、「検査ディレクトリ情報」、「シリーズディレクトリ情報」、「画像ディレクトリ情報」)を生成する。   The data generation unit 10d acquires the image file to be written to the recording medium based on the write instruction from the storage unit 1i, and also stores directory information (“patient directory information”, “examination directory information”, “Series directory information”, “image directory information”).

索引ファイル構築部10eは、メディア管理部10cで管理されている索引ファイルとデータ生成部10dにおいて生成された追加される画像ファイルに関するディレクトリ情報(以下、このようなディレクトリ情報を適宜「追記ディレクトリ情報」と表わす)とを比較して、追記の対象となるディレクトリ情報が書き込まれる領域(以下、このような領域を適宜「書込対象領域」と表わす)を特定する。また追記対象となるディレクトリ情報の容量と書込対象領域における空き領域(パディング領域)の容量とを比較し、当該パディング領域に追記対象となるディレクトリ情報が書き込めるか否かの情報も確認し、書込制御部10bへと送信する。   The index file construction unit 10e includes directory information relating to the index file managed by the media management unit 10c and the added image file generated by the data generation unit 10d (hereinafter, such directory information is referred to as “additional directory information” as appropriate). And an area in which directory information to be additionally written is written (hereinafter, such an area is appropriately referred to as a “write target area”). In addition, the capacity of the directory information to be added is compared with the capacity of the free area (padding area) in the write target area, and information on whether or not the directory information to be added to the padding area can be written is also confirmed. To the control unit 10b.

プリセット適用部10fには、索引ファイルに対する記録方式のデフォルトが保持される。また、画像ファイル及びディレクトリ情報の書き込みに当たっての記録方式の保持も行う。   The preset application unit 10f holds a default recording method for the index file. It also holds the recording method used when writing image files and directory information.

送信部10gは、書込制御部10bの指示をドライブ1jに送信する。この送信によって、追記ディレクトリ情報等がドライブ1j内に挿入されている記録媒体へ書き込まれる(記録される)。   The transmission unit 10g transmits an instruction from the write control unit 10b to the drive 1j. By this transmission, additional write directory information and the like are written (recorded) on the recording medium inserted in the drive 1j.

読込部11は、記録媒体内に記録されている索引ファイルを読み出して、表示部1gにその内容を表示させる。図3は、本発明の実施の形態における読込部11の内部構成を示すブロック図である。読込部11は、受信部11aと、読込制御部11bと、メディア管理部11cと、プリセット適用部11dと、送信部11eとから構成される。このうち、読込制御部11bは、メディア管理部11cを介して記録媒体内の索引ファイルを読み込む。読み込まれた索引ファイルは、送信部11eを介して表示部1gにその内容が表示される。   The reading unit 11 reads the index file recorded in the recording medium and displays the contents on the display unit 1g. FIG. 3 is a block diagram showing an internal configuration of the reading unit 11 according to the embodiment of the present invention. The reading unit 11 includes a receiving unit 11a, a reading control unit 11b, a media management unit 11c, a preset application unit 11d, and a transmission unit 11e. Among these, the read control unit 11b reads the index file in the recording medium via the media management unit 11c. The content of the read index file is displayed on the display unit 1g via the transmission unit 11e.

その他の例えば、メディア管理部11cやプリセット適用部11dの働きは、書込部10内に設けられているメディア管理部10cやプリセット適用部10fと同様である。   For example, the functions of the media management unit 11c and the preset application unit 11d are the same as those of the media management unit 10c and the preset application unit 10f provided in the writing unit 10.

ここで索引ファイルの構造について説明する。図4は、本発明の実施の形態における索引ファイル4の論理構造を示す説明図であり、図5は、索引ファイル4の物理構造を示す説明図である。索引ファイル4は、1つのファイルヘッダ情報4#と1つの索引ファイル情報4!と複数のディレクトリ情報とから構成される。   Here, the structure of the index file will be described. FIG. 4 is an explanatory diagram showing the logical structure of the index file 4 in the embodiment of the present invention, and FIG. 5 is an explanatory diagram showing the physical structure of the index file 4. The index file 4 has one file header information 4 # and one index file information 4! And a plurality of directory information.

ファイルヘッダ4#には、先頭のディレクトリ情報へのオフセット情報と末尾のディレクトリ情報へのオフセット情報が記録されている。また、記録媒体に関する情報や索引ファイル等の作成装置に関する情報(メタ情報)が併せて記録されている。索引ファイル情報4!には、書込対象領域を検索するための所定の情報が記録されている。なお、索引ファイル情報4!は、後述するように、ファイルヘッダ情報4#内に記録しても良い。   In the file header 4 #, offset information to the first directory information and offset information to the last directory information are recorded. In addition, information related to a recording medium and information related to a creation device such as an index file (meta information) are also recorded. Index file information 4! In the, predetermined information for searching for the write target area is recorded. In addition, index file information 4! May be recorded in the file header information 4 #, as will be described later.

ディレクトリ情報は、記録される画像ファイルにおける画像付帯情報における、階層ごとに主要な情報を抜粋した情報である。例えば、「患者ディレクトリ情報」の場合、記録される情報は、「患者名」、「患者ID」、「性別」といった情報である。また、各ディレクトリ情報の長さは決まっていない(不定)。ディレクトリ情報の容量は個々のディレクトリ情報ごとに異なるため、初めからその長さを決めておくことができないからである。   The directory information is information obtained by extracting main information for each layer in the image supplementary information in the recorded image file. For example, in the case of “patient directory information”, information to be recorded is information such as “patient name”, “patient ID”, and “sex”. Further, the length of each directory information is not fixed (undefined). This is because the capacity of the directory information is different for each directory information, and the length cannot be determined from the beginning.

各ディレクトリ情報は、画像ファイルにおける画像付帯情報の階層構造に合わせて、図4に示すように、「患者ディレクトリ情報4a」、「検査ディレクトリ情報4aa」、「シリーズディレクトリ情報4aaa」、「画像ディレクトリ情報4aaa1」の4つのディレクトリ情報が階層化されている。また「画像ディレクトリ情報」は、それぞれの「画像ファイル」に対応して、画像ファイル本体のパス情報が記録されている。   As shown in FIG. 4, each directory information includes “patient directory information 4a”, “examination directory information 4aa”, “series directory information 4aaa”, “image directory information” in accordance with the hierarchical structure of the image supplementary information in the image file. The four directory information “4aaa1” are hierarchized. The “image directory information” records path information of the image file main body corresponding to each “image file”.

そのため、例えば、画像ファイルが1枚記録される場合には、記録媒体には「ファイルヘッダ情報4#」と、「患者ディレクトリ情報4a」、「検査ディレクトリ情報4aa」、「シリーズディレクトリ情報4aaa」、「画像ディレクトリ情報4aaa1」が記録される。また「画像ディレクトリ情報4aaa1」には、対応する「画像ファイルaaa1」に関するパス情報が記録される。   Therefore, for example, when one image file is recorded, “file header information 4 #”, “patient directory information 4a”, “examination directory information 4aa”, “series directory information 4aaa”, “Image directory information 4aaa1” is recorded. Also, path information related to the corresponding “image file aaa1” is recorded in “image directory information 4aaa1”.

また同種のディレクトリ情報については、同階層に記録される。例えば、図4において「患者ディレクトリ情報4a」と同階層に記録される患者ディレクトリ情報として「患者ディレクトリ情報4b」が示されており、「患者ディレクトリ情報4a」から「患者ディレクトリ情報4b」に向けて実線の矢印が示されている。   The same type of directory information is recorded in the same hierarchy. For example, in FIG. 4, “patient directory information 4b” is shown as patient directory information recorded at the same level as “patient directory information 4a”. From “patient directory information 4a” to “patient directory information 4b”. A solid arrow is shown.

なお、「患者ディレクトリ情報4b」に続く患者ディレクトリ情報もあるが、図4ではその記述を省略しているため、破線の矢印が「患者ディレクトリ情報4b」から出るように示されている。この点は、例えば、「検査ディレクトリ情報4aa」と「検査ディレクトリ情報4ab」との関係等についてもいえる。   Although there is patient directory information subsequent to “patient directory information 4b”, the description is omitted in FIG. 4, and therefore, a broken-line arrow is shown to come out of “patient directory information 4b”. This is also true for the relationship between “examination directory information 4aa” and “examination directory information 4ab”, for example.

各ディレクトリ情報には、「同階層に記録される次のディレクトリ情報に関するオフセット情報」、及び「1階層下に記録されるディレクトリ情報に関するオフセット情報」が格納されている。   Each directory information stores “offset information related to the next directory information recorded in the same layer” and “offset information related to the directory information recorded one layer below”.

具体的には、例えば「患者ディレクトリ情報4a」を例に採ると、「同階層に記録される次のディレクトリ情報に関するオフセット情報」は「患者ディレクトリ情報4b」のオフセット情報である。また、「1階層下に記録されるディレクトリ情報に関するオフセット情報」としては、「検査ディレクトリ情報4aa」のオフセット情報が該当する。さらに、例えば「シリーズディレクトリ情報4aaa」を例に採ると、「同階層に記録される次のディレクトリ情報に関するオフセット情報」は「シリーズディレクトリ情報4aab」のオフセット情報である。また、「1階層下に記録されるディレクトリ情報に関するオフセット情報」としては、「画像ディレクトリ情報4aaa1」のオフセット情報が該当する。   Specifically, taking “patient directory information 4a” as an example, “offset information regarding the next directory information recorded in the same hierarchy” is offset information of “patient directory information 4b”. Further, the “offset information related to directory information recorded one level below” corresponds to the offset information of “examination directory information 4aa”. Further, for example, taking “series directory information 4aaa” as an example, “offset information related to the next directory information recorded in the same hierarchy” is offset information of “series directory information 4aab”. Further, the “offset information related to directory information recorded one level below” corresponds to the offset information of “image directory information 4aaa1”.

このように各ディレクトリ情報に2種類のオフセット情報を格納させておくことで、書き込み、或いは、読み出しの際に簡易、迅速に対象となるディレクトリ情報へ到達することができる。   By storing two types of offset information in each directory information in this way, the target directory information can be reached easily and quickly at the time of writing or reading.

なお、図4に示すファイル構造において「シリーズディレクトリ情報4aab」は、同一検査内における最終シリーズに該当する。そのため、「同階層に記録される次のディレクトリ情報に関するオフセット情報」はなく、例えば「null」といった値が格納される。一方、「1階層下に記録されるディレクトリ情報に関するオフセット情報」については、「画像ディレクトリ情報4aab1」が格納されるので、当該ディレクトリ情報のオフセット情報が格納されることになる。また「画像ディレクトリ情報」に関しては、基本的に「同階層に記録される次のディレクトリ情報に関するオフセット情報」は格納されるが、「画像ディレクトリ情報」よりも1階層下のディレクトリ情報は存在しないので、「1階層下に記録されるディレクトリ情報に関するオフセット情報」はなく、例えば「null」といった値が格納される。   In the file structure shown in FIG. 4, “series directory information 4aab” corresponds to the final series in the same examination. Therefore, there is no “offset information related to the next directory information recorded in the same hierarchy”, and a value such as “null” is stored. On the other hand, since “image directory information 4aab1” is stored for “offset information related to directory information recorded one level lower”, offset information of the directory information is stored. Regarding “image directory information”, “offset information related to the next directory information recorded in the same hierarchy” is basically stored, but there is no directory information one level lower than “image directory information”. There is no “offset information related to directory information recorded one level below”, and a value such as “null” is stored.

図5は、本発明の実施の形態における索引ファイル4の物理構造を示す説明図である。DICOM標準では、ファイルヘッダ情報4#を先頭に配置する以外、ディレクトリ情報の格納順序に関する規定はないため、どのような構造を採用することも可能であるが、本発明の実施の形態では図5に示すように、同種のディレクトリ情報がまとまって格納される構造を採用している。すなわち、例えば、「患者ディレクトリ情報」ならば、当該索引ファイルに記録される全ての「患者ディレクトリ情報」がまとまって記録される。他のディレクトリ情報についても同様である。そして、最後に「索引ファイル情報4!」が記録される。   FIG. 5 is an explanatory diagram showing the physical structure of the index file 4 according to the embodiment of the present invention. In the DICOM standard, there is no regulation regarding the storage order of the directory information except that the file header information 4 # is arranged at the head, so that any structure can be adopted. However, in the embodiment of the present invention, FIG. As shown in FIG. 4, a structure in which the same type of directory information is stored together is adopted. That is, for example, in the case of “patient directory information”, all “patient directory information” recorded in the index file is recorded together. The same applies to other directory information. Finally, “index file information 4!” Is recorded.

次に記録媒体に記録されている医療情報に、新たに画像ファイルを書き込む際の流れについて、図面を用いつつ説明する。図6及び図7は、記録媒体に記録されている医療情報に新たな医療情報を追記する流れを示すフローチャートである。   Next, a flow when a new image file is written in medical information recorded on a recording medium will be described with reference to the drawings. 6 and 7 are flowcharts showing a flow of adding new medical information to the medical information recorded on the recording medium.

まず、操作者が記録媒体に新たな医療情報の書き込みの指示を出す。この書込指示は、入力部1fを介して書込部10及び読込部11に入力される(ST1)。   First, the operator gives an instruction to write new medical information on the recording medium. This write instruction is input to the writing unit 10 and the reading unit 11 via the input unit 1f (ST1).

書込部10では、この書込指示を受信して書込制御部10bがデータ生成部10dに書き込みの対象となる画像ファイルを記憶部1iから取得することを指示するとともに、当該画像ファイルに関するディレクトリ情報の生成を指示する(ST2)。なお、操作者は、書込処理を行う上で、記録媒体に記録する(書き込む)画像ファイルを予め何らかの方法で選択しておくことが前提となる。従って、書込指示の中にいずれの画像ファイル及び当該画像ファイルに関するディレクトリ情報を記録媒体へ書き込むのかについての情報が含まれている。   In the writing unit 10, upon receiving this writing instruction, the writing control unit 10b instructs the data generation unit 10d to acquire an image file to be written from the storage unit 1i, and a directory related to the image file. The generation of information is instructed (ST2). It is assumed that the operator selects an image file to be recorded (written) on a recording medium by some method before performing the writing process. Accordingly, the writing instruction includes information about which image file and directory information related to the image file are written to the recording medium.

生成されたディレクトリ情報である追記ディレクトリ情報は、データ生成部10dから索引ファイル構築部10eへと送信される。索引ファイル構築部10eにおいては、受信した追記ディレクトリ情報を確認する(ST3)。ここで確認される内容は、例えば追記ディレクトリ情報の種類や追記ディレクトリ情報の容量(大きさ)である。   The additional directory information that is the generated directory information is transmitted from the data generation unit 10d to the index file construction unit 10e. The index file construction unit 10e confirms the received postscript directory information (ST3). The contents confirmed here are, for example, the type of postscript directory information and the capacity (size) of the postscript directory information.

一方、メディア管理部10cでは、記録媒体が医療情報記録装置1のドライブ1jに記録媒体が挿入されたことを確認する(ST4)。上述したように、既に書込指示が読込部11にも入力されているからである。なお、ここでは書込指示は書込部10及び読込部11にそれぞれ入力されることを前提に説明したが、読込部11は、書込指示を受けた書込部10から書込指示を受信するように構成されていても良い。   On the other hand, the media management unit 10c confirms that the recording medium has been inserted into the drive 1j of the medical information recording apparatus 1 (ST4). This is because the write instruction has already been input to the reading unit 11 as described above. Here, the description has been made on the assumption that the writing instruction is input to the writing unit 10 and the reading unit 11, respectively. However, the reading unit 11 receives the writing instruction from the writing unit 10 that has received the writing instruction. It may be configured to.

読込部11は、記録媒体に記録されている索引ファイルを読み込んで、メディア管理部10cへその内容を送信し、さらに索引ファイル構築部10eへと送信される。索引ファイル構築部10eでは、読み込まれた記録媒体に記録されている索引ファイルを受信するとともに、索引ファイルに対する記録方式を確認する(ST5)。   The reading unit 11 reads the index file recorded on the recording medium, transmits the contents to the media management unit 10c, and further transmits to the index file construction unit 10e. The index file construction unit 10e receives the index file recorded on the read recording medium and confirms the recording method for the index file (ST5).

ここで記録媒体に記録されている索引ファイルに書き込む際、或いは、読み込む際の記録方式について説明する。図8は、本発明の実施の形態における記録方式選択処理の際に表示部1gに示される画面例である。本発明の実施の形態における書込処理、或いは、読込処理では、記録方式として3つの方式を選択することが可能とされている。   Here, a recording method at the time of writing to or reading from the index file recorded on the recording medium will be described. FIG. 8 is an example of a screen displayed on the display unit 1g in the recording method selection process according to the embodiment of the present invention. In the writing process or the reading process in the embodiment of the present invention, three recording methods can be selected.

記録されている各ディレクトリ情報の読み込みをできるだけ迅速に行うべく、本発明の実施の形態においては、図5に示すように、同種のディレクトリ情報についてはまとめて索引ファイル内に記録させる。このような記録方法を採用するために追記ディレクトリ情報が書き込まれるディレクトリ情報内の領域(書込対象領域)を確保するべくパディング領域を当該書込対象領域に予め記録させている。   In order to read each recorded directory information as quickly as possible, in the embodiment of the present invention, as shown in FIG. 5, the same kind of directory information is collectively recorded in the index file. In order to employ such a recording method, a padding area is recorded in advance in the writing target area in order to secure an area (writing target area) in the directory information in which additional directory information is written.

なお、後述する通り追記ディレクトリ情報はこのパディング領域を一旦削除して確保される書込対象領域に書き込まれることになるため、書込対象領域は、換言するとパディング領域であってパディング領域に含まれるとも言える。   Note that, as will be described later, the additional write directory information is written in a write target area that is secured by deleting this padding area. In other words, the write target area is a padding area and is included in the padding area. It can also be said.

また、書込対象領域にいち早く到達する方法として、索引ファイル情報を予め記録させておき、当該情報を基に書込対象領域を検索する方法も本発明の実施の形態で採用する。   Further, as a method of quickly reaching the write target area, a method of recording index file information in advance and searching the write target area based on the information is also adopted in the embodiment of the present invention.

但し、パディング領域の存在や索引ファイル情報を予め記録させておき書込対象領域を迅速に検索する(読み込む)方法はもちろんDICOM標準を逸脱するものではないものの、医療情報記録装置によっては追記ディレクトリ情報を確実に記録媒体に記録させるという面から採用し得ない装置もある。   However, the presence of the padding area and index file information are recorded in advance, and the method of quickly searching (reading) the writing target area does not deviate from the DICOM standard. Some devices cannot be employed from the viewpoint of reliably recording data on a recording medium.

従って、本発明の実施の形態においては、上述したように3つの記録方式を採用している。まずパディング領域を用いた書込処理が可能な記録方式として、「互換モード」及び「高速モード」を挙げることができる。このうちさらに索引ファイル情報を予め記録させておき書込対象領域を迅速に検索する方法を採用するモードが後者、「高速モード」である。「互換モード」ではこの方法を採用しない。一方、パディング領域を用いた書込処理も索引ファイル情報に基づいて迅速に書込対象領域を検索する方法も採用しないモードとして「通常モード」も記録方式の1つとして設けている。   Therefore, in the embodiment of the present invention, three recording methods are adopted as described above. First, “compatible mode” and “high-speed mode” can be cited as recording methods capable of performing writing processing using a padding area. Among these, the latter, “high-speed mode”, employs a method of recording index file information in advance and quickly searching for a write target area. This method is not adopted in the “compatibility mode”. On the other hand, “normal mode” is also provided as one of the recording methods as a mode in which neither the writing process using the padding area nor the method of quickly searching for the writing target area based on the index file information is employed.

図8では「DICOM メディア記録設定」として、記録方式の設定画面が示されている。なお、この画面レイアウトは必要に応じて変更可能であり、図8に示すレイアウトに限定されるものでないことはもちろんである。   In FIG. 8, a recording method setting screen is shown as “DICOM media recording setting”. Note that this screen layout can be changed as necessary, and is not limited to the layout shown in FIG.

図8に示す画面例では3つの記録方式が示されており、一番上、「高速に読み書きします。」と示されているのが「高速モード」である。次の「互換性の高い記録方式です。」と示されているのが「互換モード」である。そして、一番下、「非常に互換性の高い記録方式です。」と示されているのが「通常モード」である。   In the screen example shown in FIG. 8, three recording methods are shown. At the top, “High-speed reading / writing” is shown in “High-speed mode”. Next, “Compatible mode” is indicated as “Highly compatible recording method”. And at the bottom, “Normal mode” is indicated as “very compatible recording method”.

なお、「通常モード」として表わされている文言において、「非常に互換性の高い」とは、通常モードでは記録媒体に記録されている索引ファイル等を迅速に読み出すとともに追記ディレクトリ情報の書込対象領域を迅速に検索するために特徴のある方法を採用しないが故に、書込処理、或いは読込処理を行うに当たって医療情報記録装置の如何を問わず採用することができるモードであることを表わすものである。   In the wording expressed as “normal mode”, “very compatible” means that in the normal mode, an index file or the like recorded on a recording medium is quickly read and additional directory information is written. Represents a mode that can be adopted regardless of the medical information recording device in performing the writing process or the reading process because it does not employ a characteristic method for quickly searching the target area. It is.

記録方式を3つのモードの中から1つ選択し、図8に示す画面上における「設定」ボタンをクリックすると、その情報は書込部10、或いは、読込部11におけるプリセット適用部10f,11dにそれぞれ記録される。なお、ここでは、書込処理を行うに当たって記録方式の選択を行っているが、例えば、予めいずれかのモードを選択させておき、書込処理の都度、記録方式を設定せずともそのモードが採用されるようにしていても良い。選択された記録方式は、索引ファイル構築部10eにおいて確認される(ST6)。   When one of the three recording modes is selected and the “Setting” button on the screen shown in FIG. 8 is clicked, the information is stored in the writing unit 10 or the preset application units 10f and 11d in the reading unit 11. Each is recorded. Here, the recording method is selected when performing the writing process, but for example, one of the modes is selected in advance, and the recording method is not set every time the writing process is performed. It may be adopted. The selected recording method is confirmed in the index file construction unit 10e (ST6).

索引ファイル構築部10eが確認した結果、書込処理に当たって「互換モード」が選択されている場合には(ST7のYES)、装置規定のブロックサイズ、例えば、追記ディレクトリ情報が書き込まれる先であるディレクトリ情報までブロックを1つずつ検索して書込対象領域を確定させる(ST8)。上述したように、ディレクトリ情報には、「同階層に記録される次のディレクトリ情報に関するオフセット情報」、及び「1階層下に記録されるディレクトリ情報に関するオフセット情報」が格納されている。従って、データ生成部10dにて生成された追記ディレクトリ情報を基にこれらのオフセット情報を手がかりとして書込対象領域を検索する。   As a result of confirmation by the index file construction unit 10e, when “compatibility mode” is selected in the writing process (YES in ST7), a directory to which device-defined block size, for example, additional directory information is written The blocks are searched one by one up to the information to determine the writing target area (ST8). As described above, the directory information stores “offset information related to the next directory information recorded in the same hierarchy” and “offset information related to the directory information recorded one level below”. Therefore, the writing target area is searched based on the offset information based on the additional write directory information generated by the data generation unit 10d.

ここで、ディレクトリ情報は「患者」、「検査」、「シリーズ」、「画像」のそれぞれの階層において生成されているが、本発明の実施の形態においては、各階層の末尾のディレクトリ情報にパディング領域を付加して半固定長のブロックを構築している。パディング領域とは、ブロックにその長さが決まっていない(不定の)ディレクトリ情報が格納される状態において、そのディレクトリ情報の容量とブロックサイズとの差を埋めるものである。従って、ブロックはパディング領域を付加しないディレクトリ情報とパディング領域を付加したディレクトリ情報とから構築されているといえ、また、ディレクトリ情報の容量に合わせてその容量を変化させることが可能である。   Here, the directory information is generated in each hierarchy of “patient”, “examination”, “series”, and “image”, but in the embodiment of the present invention, padding is added to the directory information at the end of each hierarchy. A semi-fixed length block is constructed by adding an area. The padding area fills the difference between the capacity of the directory information and the block size in a state where directory information whose length is not determined (undefined) is stored in the block. Therefore, it can be said that the block is constructed from directory information to which no padding area is added and directory information to which a padding area is added, and the capacity can be changed according to the capacity of the directory information.

このブロックは、索引ファイルが生成される際にそのサイズ(大きさ)も含めて構築される。従って、記録媒体から読み出した索引ファイルの各階層の末尾のディレクトリ情報はブロックで構成されている。仮に、記録媒体に医療情報として医用画像を1枚のみ記録させた状態では、この医用画像を含む画像ファイルを表わすディレクトリ情報として、上記「患者」、「検査」、「シリーズ」、「画像」の4つの階層があり、それぞれが各階層における末尾のディレクトリ情報に該当するため、この場合の索引ファイルは4つのブロックで構成されることになる。   This block is constructed including its size (size) when the index file is generated. Therefore, the directory information at the end of each layer of the index file read from the recording medium is composed of blocks. If only one medical image is recorded as medical information on the recording medium, the directory information representing the image file including the medical image is the “patient”, “examination”, “series”, “image”. Since there are four layers, each corresponding to the directory information at the end of each layer, the index file in this case is composed of four blocks.

構築されるブロックのサイズについては、任意に設定可能であるが、ディレクトリ情報が格納できず新たなブロックが構築される頻度を下げる(ブロックの構築が頻繁に行われると、書込処理に時間が掛かることになる)ことを考慮すると、ある程度ディレクトリ情報が格納できること、記録媒体のセクタサイズの倍数に合わせること、が望ましい。この点が考慮されることで、今後索引ファイルを読み込むに当たって効率的に処理を行うことができる。   The size of the block to be constructed can be arbitrarily set, but the directory information cannot be stored and the frequency with which a new block is constructed is lowered (if the block is constructed frequently, the writing process takes time). It is desirable that directory information can be stored to some extent and that it is matched to a multiple of the sector size of the recording medium. By taking this point into consideration, it is possible to efficiently process the index file in the future.

また、階層ごとにブロックサイズを相違させて構築することも考えられる。これは、医用画像を撮影する医用画像撮影装置によって、シリーズや画像の平均出力枚数、ディレクトリ情報のサイズが異なるためである。例えば、基本のブロックサイズは、約10ないし20のディレクトリ情報が格納できる16KBとし、アイコンを格納する画像ディレクトリ情報の場合には128KBとすることも考えられる。   It is also conceivable to construct with different block sizes for each hierarchy. This is because the series, the average number of output images, and the size of the directory information differ depending on the medical image capturing device that captures a medical image. For example, the basic block size may be 16 KB capable of storing about 10 to 20 directory information, and 128 KB in the case of image directory information storing icons.

さらには、「患者ディレクトリ情報」、「検査ディレクトリ情報」、「シリーズディレクトリ情報」、「画像ディレクトリ情報」の4つのディレクトリ情報のうち、「患者ディレクトリ情報」及び「検査ディレクトリ情報」については記録される情報が他の2者に比べて一般的に少ないことが多い。そこで、これら「患者ディレクトリ情報」及び「検査ディレクトリ情報」については1つのブロックを構築し、その共通のブロックにそれぞれのディレクトリ情報を記録させるようにしても良い。   Furthermore, among the four directory information of “patient directory information”, “examination directory information”, “series directory information”, and “image directory information”, “patient directory information” and “examination directory information” are recorded. In general, there is often less information than the other two. Therefore, for these “patient directory information” and “examination directory information”, one block may be constructed, and each directory information may be recorded in the common block.

索引ファイル構築部10eが書込対象領域を確定させた後、次に追記ディレクトリ情報の容量とブロック内の空領域(パディング領域)の容量との比較を行う(ST9)。ここで図9ないし図12に示す、記録媒体に記録されている医療情報に新たな医療情報を追記する処理を追記するブロックを適宜利用して以下説明する。   After the index file construction unit 10e determines the write target area, the capacity of the additional write directory information is compared with the capacity of the empty area (padding area) in the block (ST9). Here, the following description will be made by appropriately using the block shown in FIG. 9 to FIG. 12 for adding a process for adding new medical information to the medical information recorded on the recording medium.

図9以下に示すブロックは、ここでは「患者ディレクトリ情報」に関するブロックを示している。図9ないし図12に示すブロックでは、説明の便宜のため「0」ないし「15」の数字が振られた16の領域に分けられている。なお、図においては、いずれの領域も同じ大きさで示されているが、格納される情報の容量に合わせて適宜その領域の容量は変化する。   The blocks shown in FIG. 9 and thereafter show blocks relating to “patient directory information”. The blocks shown in FIGS. 9 to 12 are divided into 16 areas to which numbers “0” to “15” are assigned for convenience of explanation. In the figure, all the areas are shown to have the same size, but the capacity of the area changes appropriately according to the capacity of the information to be stored.

まず上述したように、各ディレクトリ情報には、「同階層に記録される次のディレクトリ情報に関するオフセット情報」、及び「1階層下に記録されるディレクトリ情報に関するオフセット情報」が格納されており、「患者ディレクトリ情報」についても同様である。図9に示すブロックAに記録されている「患者ディレクトリ情報」において、「領域0」には「同階層に記録される次のディレクトリ情報に関するオフセット情報」としての「次の患者ディレクトリ情報へのオフセット情報」が格納されている。また、「領域1」には、「1階層下に記録されるディレクトリ情報に関するオフセット情報」である「次の検査ディレクトリ情報へのオフセット情報」が格納されている。   First, as described above, each directory information stores “offset information related to the next directory information recorded in the same hierarchy” and “offset information related to the directory information recorded one level below”. The same applies to “patient directory information”. In the “patient directory information” recorded in the block A shown in FIG. 9, “offset to the next patient directory information” is displayed in “area 0” as “offset information related to the next directory information recorded in the same hierarchy”. Information "is stored. Further, “area 1” stores “offset information on next inspection directory information” which is “offset information on directory information recorded one layer below”.

ところで、「領域0」に格納される、「次の患者ディレクトリ情報へのオフセット情報」の後には「(−)」と示されている。図9に示すブロックAの場合、この状態では患者ディレクトリ情報として情報が格納されているのは1つしかなく、「次の患者ディレクトリ情報」は存在しないため、「次の患者ディレクトリ情報」のオフセット情報を示す記述はなく、上述したように「(−)」と示されている。   By the way, “(−)” is shown after “offset information to the next patient directory information” stored in “area 0”. In the case of block A shown in FIG. 9, in this state, only one piece of information is stored as patient directory information, and “next patient directory information” does not exist. There is no description indicating information, and “(−)” is shown as described above.

なお、「領域1」に格納される「次の検査ディレクトリ情報へのオフセット情報」については、「患者ディレクトリ情報」とは階層の異なる「検査ディレクトリ情報」に関するオフセット情報であり、以下では当該「検査ディレクトリ情報」について説明を省略するので、併せてその表示も省略している。但し、オフセット情報の考え方、表示の仕方は「次の患者ディレクトリ情報へのオフセット情報」の場合と何ら変わるところはない。   The “offset information to the next examination directory information” stored in “area 1” is offset information related to “examination directory information”, which is different in hierarchy from the “patient directory information”. Since the description of “directory information” is omitted, the display thereof is also omitted. However, the concept of offset information and the display method are the same as in the case of “offset information to the next patient directory information”.

図9に示す「患者ディレクトリ情報」のブロックAでは、「領域2」に患者名に関する情報である「患者名レコード」が、「領域3」には、「患者IDレコード」が、「領域4」には、「性別レコード」が格納されている。そして、「領域5」から「領域14」まで「パディングレコード」が格納され、この「領域5ないし領域14」がパディング領域となる。   In block A of “patient directory information” shown in FIG. 9, “patient name record” that is information related to the patient name is stored in “area 2”, “patient ID record” is stored in “area 3”, and “area 4”. Stores “sex record”. Then, “padding record” is stored from “area 5” to “area 14”, and this “area 5 to area 14” becomes the padding area.

なお、「領域15」には、この患者ディレクトリ情報の終端を示すものとして「終端レコード」が格納されている。「終端レコード」は、1つのブロックの終端を示すものとしての役割を担う。また、1つのディレクトリ情報が終了するごとに設けられ、ブロック内に複数のディレクトリ情報が格納される場合には、それぞれのディレクトリ情報を区分する役割も担う。   In “area 15”, a “termination record” is stored to indicate the end of the patient directory information. The “end record” plays a role of indicating the end of one block. Also, it is provided every time one directory information is completed, and when a plurality of directory information is stored in a block, it plays a role of distinguishing each directory information.

索引ファイル構築部10eは、追記ディレクトリ情報の容量とブロック内の空領域(パディング領域)の容量との比較を行い、追記ディレクトリ情報の容量がパディング領域の容量以下であるか否かを判断する(ST9)。その結果、追記ディレクトリ情報の容量がパディング領域の容量以下である場合には、パディングレコードを削除し(ST10)、削除して空いた領域に追記ディレクトリ情報を書き込む(ST11)。   The index file construction unit 10e compares the capacity of the postscript directory information with the capacity of the empty area (padding area) in the block, and determines whether the capacity of the postscript directory information is equal to or smaller than the capacity of the padding area ( ST9). As a result, if the capacity of the additional directory information is less than or equal to the capacity of the padding area, the padding record is deleted (ST10), and the additional directory information is written into the deleted and empty area (ST11).

さらに、追記ディレクトリ情報が書き込まれて新たに構築されたディレクトリ情報のブロックに対して、そのブロックサイズが変化しない分の新たなパディングレコードを挿入し(ST12)、新たなディレクトリ情報に関する新しいオフセット情報を記入する(ST13)。   Further, a new padding record corresponding to the block size does not change is inserted into the newly constructed directory information block in which the additional write directory information is written (ST12), and new offset information related to the new directory information is inserted. Fill in (ST13).

この状態を示すのが、図10に示すブロックAである。以下、具体的にブロックを示しながら上述した流れを説明する。   This state is indicated by the block A shown in FIG. Hereinafter, the above-described flow will be described with specific blocks.

「領域0」から「領域4」までは上述した通りこれまでの「患者ディレクトリ情報」である。図9のブロックAに示されているように「領域5」から「領域14」までのパディング領域に新たに追記ディレクトリ情報が書き込まれる。そこで、「領域5」から「領域14」までのパディングレコードを削除する(ST10)。そしてまず、これまで記録されている「患者ディレクトリ情報」と新たに書き込まれる追記ディレクトリ情報(患者ディレクトリ情報)とを区分するための「終端レコード」が「領域5」に格納される。   “Area 0” to “Area 4” are the “patient directory information” so far as described above. As shown in the block A of FIG. 9, additional directory information is newly written in the padding areas from “area 5” to “area 14”. Therefore, the padding records from “area 5” to “area 14” are deleted (ST10). First, a “termination record” for distinguishing “patient directory information” recorded so far from newly written additional directory information (patient directory information) is stored in “area 5”.

その上で、新たな追記ディレクトリ情報である「患者ディレクトリ情報」が「領域6」から書き込まれる。追記ディレクトリ情報も「患者ディレクトリ情報」であることから、書き込まれる情報は既に記録されている「患者ディレクトリ情報」と同じである。従って、「領域6」に「次の患者ディレクトリ情報へのオフセット情報」が、「領域7」に「次の検査ディレクトリ情報へのオフセット情報」が、「領域8」に患者名に関する情報である「患者名レコード」が、「領域9」は、「患者IDレコード」が、「領域10」には、「性別レコード」がそれぞれ書き込まれる(ST11)。   Then, “patient directory information”, which is new directory information, is written from “area 6”. Since the additional directory information is also “patient directory information”, the information to be written is the same as the “patient directory information” already recorded. Therefore, “offset information to the next patient directory information” is stored in “area 6”, “offset information to the next examination directory information” is stored in “area 7”, and “patient information” is stored in “area 8”. “Patient name record”, “region 9”, “patient ID record”, and “region 10” are written “sex record” (ST11).

ここまでで追記ディレクトリ情報として書き込まれる項目は終了するため、改めてこのブロックAのサイズが変化しない分のパディングレコードを「患者ディレクトリ情報」のブロックAに挿入する(ST12)。具体的に挿入される領域は、「領域11」ないし「領域14」である。また、「領域15」には、そのまま「終端レコード」が格納される。   Since the items to be written as the additional directory information are completed so far, a padding record corresponding to the size of the block A that does not change is inserted into the “patient directory information” block A (ST12). Specifically, the regions to be inserted are “region 11” to “region 14”. In addition, “termination record” is stored in “area 15” as it is.

そして、新たなディレクトリ情報(図10に示すブロックA)に新しいオフセット情報を記入する(ST13)。ブロックAにおいて、もともと記録されていた「患者ディレクトリ情報」の「領域0」には、「次の患者ディレクトリ情報へのオフセット情報」が記録されている。そして上述したように、図9で示すブロックAでは、記録されている「患者ディレクトリ情報」は1つだけであり、「次の」患者ディレクトリ情報は格納されていないため、オフセット情報は「(−)」と示されていた。   Then, new offset information is entered in the new directory information (block A shown in FIG. 10) (ST13). In block A, “offset information to the next patient directory information” is recorded in “area 0” of “patient directory information” originally recorded. As described above, in the block A shown in FIG. 9, only one “patient directory information” is recorded, and “next” patient directory information is not stored. Therefore, the offset information is “(− ) ".

この「患者ディレクトリ情報」に新たな追記ディレクトリ情報として「患者ディレクトリ情報」が記録されることになったため、従来より記録されていた「患者ディレクトリ情報」に関する「次の患者ディレクトリ情報へのオフセット情報」は、「(A6)」と示される。この(A6)は、もともと記録されていた「患者ディレクトリ情報」からみて、「ブロックAの領域6」から「次の患者ディレクトリ情報」が開始するとの意味である。従って、この「A6」が「次の患者ディレクトリ情報へのオフセット情報」ということになる。   Since “patient directory information” is recorded as new additional directory information in this “patient directory information”, “offset information to the next patient directory information” related to “patient directory information” that has been recorded conventionally. Is indicated as “(A6)”. This (A6) means that “next patient directory information” starts from “area 6 of block A” in view of the “patient directory information” originally recorded. Therefore, “A6” is “offset information to the next patient directory information”.

なお、「次の患者ディレクトリ情報へのオフセット情報」として「A6」という表わし方をしたが、この表示の仕方はあくまでも本発明の実施の形態を説明する際の便宜的な表示の仕方であり、どのような表示の仕方を採用しても構わないものの、実際にはDICOMで予め決められている仕方で表示される。   Although “A6” is used as the “offset information to the next patient directory information”, this display method is merely a convenient display method for explaining the embodiment of the present invention. Although any display method may be adopted, the display is actually performed in a manner predetermined by DICOM.

次に、索引ファイル構築部10eが追記ディレクトリ情報の容量がパディング領域の容量以下であるか否かを判断したその結果、追記ディレクトリ情報の容量がパディング領域の容量より大きい場合には(ST9のNO)、もともと「患者ディレクトリ情報」が記録されていたブロックAには追記ディレクトリ情報を書き込むことができない、ということになる。   Next, when the index file construction unit 10e determines whether or not the capacity of the additional directory information is less than or equal to the capacity of the padding area, if the capacity of the additional directory information is larger than the capacity of the padding area (NO in ST9). In other words, additional directory information cannot be written in the block A in which “patient directory information” was originally recorded.

そこで、索引ファイル構築部10eは、新たなブロックをブロックAの後ろに追加する(ST14)。ブロックに書き込まれるディレクトリ情報は、例えば、「患者ディレクトリ情報」の場合、「次の患者ディレクトリ情報へのオフセット情報」から「性別レコード」までが情報として一塊である。従って、もともとのブロックにパディング領域が存在するからといって、これら一塊のディレクトリ情報を分断して格納することはされない。あくまでも一塊のディレクトリ情報をまとめて記録する。   Therefore, the index file construction unit 10e adds a new block after the block A (ST14). For example, in the case of “patient directory information”, the directory information written in the block is a group of information from “offset information to the next patient directory information” to “sex record”. Therefore, even if the padding area exists in the original block, these pieces of directory information are not divided and stored. A bunch of directory information is recorded together.

新たなブロックが追加された後、このブロックに追記ディレクトリ情報を書き込む(ST15)。そして新たなブロックのサイズが変化しない分だけ、新たに書き込まれた追記ディレクトリ情報以外の領域に「パディングレコード」を挿入するとともに(ST16)、追記ディレクトリ情報を書き込むことができなかったもともとのディレクトリ情報に新たな「次の患者ディレクトリ情報へのオフセット情報」を記入する(ST17)。   After a new block is added, additional directory information is written in this block (ST15). Then, the “padding record” is inserted into the area other than the newly written additional directory information as much as the size of the new block does not change (ST16), and the original directory information that could not be written to the additional directory information The new "offset information to the next patient directory information" is entered (ST17).

以下、具体的にブロックを示しながら上述した流れを説明する。図11は、もともとのブロックAを示している。このブロックAには、2つの「患者ディレクトリ情報」が記録されており、「パディングレコード」が「領域11から領域14」まで挿入されている。ここに、新たな患者ディレクトリ情報を追記ディレクトリ情報として書き込む。この図11に示すブロックAは、図9及び図10を用いて上述し、図10に示すブロックAの状態とほぼ同じである。   Hereinafter, the above-described flow will be described with specific blocks. FIG. 11 shows the original block A. In this block A, two pieces of “patient directory information” are recorded, and “padding records” are inserted from “region 11 to region 14”. Here, new patient directory information is written as additional directory information. The block A shown in FIG. 11 is described above with reference to FIGS. 9 and 10, and is almost the same as the state of the block A shown in FIG.

但し、ブロックAには、パディング領域は4つの領域分しかなく、追記ディレクトリ情報としての「患者ディレクトリ情報」は5つの情報を書き込む領域が必要である。すなわち、追記ディレクトリ情報の容量がパディング領域の容量よりも大きな状態である。そこで、索引ファイル構築部10eは、このブロックAに追記ディレクトリ情報を書き込むことはせず、新たなブロックをこのブロックAの後ろに追加する(ST14)。この新たに追加されたブロックを説明の便宜上、「ブロックB」と表わす。   However, in the block A, there are only four padding areas, and “patient directory information” as additional writing directory information requires an area for writing five pieces of information. That is, the capacity of the postscript directory information is larger than the capacity of the padding area. Therefore, the index file construction unit 10e does not write additional write directory information in this block A, but adds a new block after this block A (ST14). This newly added block is represented as “block B” for convenience of explanation.

図12は、追加されたブロックBの状態を示している。このブロックBには、追記ディレクトリ情報である新たな患者ディレクトリ情報が「領域1」から「領域4」に亘って書き込まれている(ST15。そして、「領域15」には「終端レコード」が格納され、「患者ディレクトリ情報」と「終端レコード」との間の「領域5」ないし「領域14」にパディングレコードが挿入され、これらの領域がパディング領域とされる(ST16)。   FIG. 12 shows the state of the added block B. In this block B, new patient directory information, which is additional recording directory information, is written from “area 1” to “area 4” (ST15. And “termination record” is stored in “area 15”. Then, padding records are inserted in “area 5” to “area 14” between “patient directory information” and “terminal record”, and these areas are set as padding areas (ST16).

ブロックBに新たな「患者ディレクトリ情報」が書き込まれることによって、これまでブロックAに記録されている2つ目の「患者ディレクトリ情報」において記入されていなかった「次の患者ディレクトリ情報へのオフセット情報」を記入することができるようになる。そこで、新たな「患者ディレクトリ情報」の位置を示すオフセット情報を、「その前の患者ディレクトリ情報」に記入する。ここでは、新たにブロックBを追加して追記ディレクトリ情報である「患者ディレクトリ情報」を追記していることから、この新たに追記された「患者ディレクトリ情報」の前の「患者ディレクトリ情報」における「次の患者ディレクトリ情報へのオフセット情報」は、「(B0)」と表わされる。   By writing new “patient directory information” in block B, “offset information to the next patient directory information that has not been entered in the second“ patient directory information ”recorded in block A until now. Can be entered. Therefore, offset information indicating the position of the new “patient directory information” is entered in “previous patient directory information”. Here, since the block B is newly added and the “patient directory information” which is the additional directory information is added, the “patient directory information” in the “patient directory information” before the newly added “patient directory information”. The “offset information to the next patient directory information” is expressed as “(B0)”.

以上、パディング領域を用いた書込処理及び読込処理について説明した。上記説明では、「互換モード」が選択された場合を例に挙げて説明したが、「高速モード」が選択された場合も同じ流れで書込処理及び読込処理が行われる。これら両者の違いは、追記ディレクトリ情報が書き込まれる書込対象領域を検索し読み込む方法が異なる点にある。   The writing process and reading process using the padding area have been described above. In the above description, the case where the “compatibility mode” is selected is described as an example, but the writing process and the reading process are performed in the same flow even when the “high speed mode” is selected. The difference between the two is that the method for searching for and reading the write target area in which the additional directory information is written is different.

すなわち、図6に示すフローチャートにおいて、互換モードではない場合(ST7のNO)、選択された記録方式が高速モードであるか否かの判断がなされる(ST18)。高速モードが選択されている場合には(ST18のYES)、索引ファイル構築部10eは、索引ファイル情報4iを確認して、そこに記録されている情報を基に、直接書込対象領域へと移動する(ST19)。   That is, in the flowchart shown in FIG. 6, when it is not the compatible mode (NO in ST7), it is determined whether or not the selected recording method is the high speed mode (ST18). When the high-speed mode is selected (YES in ST18), the index file construction unit 10e confirms the index file information 4i and directly enters the write target area based on the information recorded there. Move (ST19).

「索引ファイル情報」4i内に、それぞれの「ディレクトリ情報の中で最終となるブロックに関するオフセット情報」と「当該ブロックのサイズに関する情報」とを格納しておく。本発明の実施の形態においては、索引ファイル情報は索引ファイル内の最後のブロックに固定長で記録される。   Each “index file information” 4i stores “offset information about the last block in the directory information” and “information about the size of the block”. In the embodiment of the present invention, the index file information is recorded at a fixed length in the last block in the index file.

また、別の実施の形態として、ファイルヘッダ情報に含まれるメタ情報内に格納することができる情報の1つである、「プライベートインフォメーション」内に、上記索引ファイル情報を格納するようにしても良い。従って、これらの情報を利用すれば、追記ディレクトリ情報が書き込まれる書込対象領域に直接移動することが可能となる。これらの情報を利用する分、互換モードよりも早く書込対象領域を検索することが可能になるため、このような記録方式を「高速モード」とする。   As another embodiment, the index file information may be stored in “private information” that is one of the information that can be stored in the meta information included in the file header information. . Therefore, by using these pieces of information, it is possible to directly move to the write target area in which the additional write directory information is written. Since such information is used, it becomes possible to search the writing target area earlier than in the compatibility mode. Therefore, such a recording method is referred to as a “high-speed mode”.

さらに本発明の実施の形態においては、ファイルヘッダ情報4#に含まれるメタ情報内に格納することができる情報の1つである「インプリメンテーションUID」内にモードを符号化して記録させておく。   Further, in the embodiment of the present invention, the mode is encoded and recorded in the “implementation UID” which is one of information that can be stored in the meta information included in the file header information 4 #. .

なお、読込処理のみを行う場合には、まず、医療情報記録装置1は、インプリメンテーションUIDから読込モードを読み取る。ここで読込モードが「高速モード」である場合には、さらに索引ファイル情報4iからブロックサイズに関する情報を読み取ってブロック単位で階層ごとにディレクトリ情報を読み取ってゆく。   When only the reading process is performed, first, the medical information recording apparatus 1 reads the reading mode from the implementation UID. Here, when the reading mode is the “high speed mode”, the information regarding the block size is further read from the index file information 4i, and the directory information is read for each layer in units of blocks.

一方、読込モードが「互換モード」である場合には、医療情報記録装置1において予め決められているブロックサイズごとに読み込み、追記ディレクトリ情報が現われた時点で読み込みを中断させることも可能である。   On the other hand, when the reading mode is the “compatibility mode”, it is possible to read for each block size determined in advance in the medical information recording apparatus 1 and to interrupt reading when additional directory information appears.

なお、インプリメンテーションUIDから読込モードを読み取ることができない等、記録方式の認識ができない場合には、「互換モード」と同様の読込処理を行う。また、プリセット適用部11dに予めインプリメンテーションUIDの記録内容と記録方式との対応表を保持させておくことで、医療情報記録装置1以外の装置であって、本発明の実施の形態において説明した書込処理を行う他の装置が出力した記録媒体を高速モードで読み込むことが可能となる。   When the recording mode cannot be recognized, such as when the reading mode cannot be read from the implementation UID, the reading process similar to the “compatibility mode” is performed. In addition, since the preset application unit 11d holds in advance a correspondence table between the recording contents of the implementation UID and the recording method, it is a device other than the medical information recording device 1 and will be described in the embodiment of the present invention. It is possible to read in a high speed mode a recording medium output by another device that performs the writing process.

一方、互換モードでも高速モードでもない場合には(ST18のNO)、通常モードが選択されたことになる。この通常モードは、パディング領域を用いた書込処理も索引ファイル情報に基づいて迅速に書込対象領域を検索する方法も採用しないモードである。従って、当該通常モードが選択された場合には、新たな追記ディレクトリ情報をもともと記録媒体に記録されている索引ファイル内に書き込む場合には、一旦記録されている索引ファイルの全てを出力した上で、追記ディレクトリ情報を書き込み、索引ファイル全体の再構築を行う(ST20)。   On the other hand, when neither the compatible mode nor the high-speed mode is selected (NO in ST18), the normal mode is selected. This normal mode is a mode in which neither the writing process using the padding area nor the method of quickly searching for the writing target area based on the index file information is employed. Therefore, when the normal mode is selected, when writing the new additional directory information into the index file originally recorded on the recording medium, all the index files once recorded are output. The additional write directory information is written, and the entire index file is reconstructed (ST20).

以上説明した方法を採用することによって、記録媒体への情報の書き込み、或いは、記録媒体からの情報の読み出しの際における処理時間の短縮、及び書込処理による記録媒体の劣化防止を行うことのできる医療情報記録装置及び医療情報記録方法を提供することができる。   By adopting the method described above, it is possible to shorten the processing time when writing information to the recording medium or reading information from the recording medium, and to prevent deterioration of the recording medium due to the writing process. A medical information recording apparatus and a medical information recording method can be provided.

特に、パディングレコードをブロックに挿入することで、追記ディレクトリ情報を書き込む際の索引ファイル内での情報の配置を制御することが可能となる。これにより、DICOM標準を逸脱することなく、情報の再配置のために索引ファイル全体を出力し直す処理を行う必要がなくなり、書込処理における時間の大幅な短縮を図ることができる。   In particular, by inserting a padding record into a block, it becomes possible to control the arrangement of information in the index file when writing additional write directory information. As a result, it is not necessary to perform the process of outputting the entire index file for information rearrangement without departing from the DICOM standard, and the time required for the writing process can be greatly reduced.

また、図5に示すように、本発明の実施の形態における索引ファイルの構造は、索引ファイル情報を各ディレクトリ情報の後ろに配置させている。特に高速モードが選択された場合、ディレクトリ情報が追記される度に索引ファイル情報にも新たな書き込みがなされることになるが、この索引ファイル情報が索引ファイルの中で先頭に配置されていると、記録媒体においていつも同じ場所に書き込みがなされることになる。このように同じ領域に何度も書込処理が行われると、その領域だけが劣化してしまう恐れがある。   Further, as shown in FIG. 5, in the structure of the index file in the embodiment of the present invention, the index file information is arranged behind each directory information. In particular, when the high-speed mode is selected, each time the directory information is added, a new write is made to the index file information. If this index file information is arranged at the head of the index file, In the recording medium, writing is always performed at the same location. If the writing process is repeated many times in the same area, only that area may be deteriorated.

本発明の実施の形態のように、索引ファイル情報を各ディレクトリ情報の後ろに配置することによって、例えば、追記ディレクトリ情報を新たなブロックを追加して書き込む場合、索引ファイルの途中に追記することになるため、それだけ索引ファイル情報の書込対象領域が移動することになり、同一の領域に何度も書込処理がなされることがなくなるため、それだけ記録媒体の劣化を防止することができる。   By placing the index file information behind each directory information as in the embodiment of the present invention, for example, when writing additional write directory information by adding a new block, it is necessary to add additional information in the middle of the index file. Therefore, the area to be written with the index file information moves accordingly, and the writing process is not repeatedly performed in the same area, so that the deterioration of the recording medium can be prevented.

また、上述した方法によれば、非常に迅速に情報の読み書きができることになるため、例えば、処理の途中に停電等の外乱が発生したとしてもその影響を受けることが少なくて済み、それだけ記録媒体に記録された情報が破壊されることを回避することができる。   In addition, according to the above-described method, information can be read and written very quickly. For example, even if a disturbance such as a power failure occurs during the process, it is less affected, and the recording medium. It is possible to avoid the information recorded in the information being destroyed.

本発明の実施形態を説明したが、この実施形態は、例として提示したものであり、発明の範囲を限定することを意図していない。この実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。この実施形態やその変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although an embodiment of the present invention has been described, this embodiment is presented as an example and is not intended to limit the scope of the invention. This embodiment can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. This embodiment and its modifications are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1 医療情報記録装置
10 書込部
10a 受信部
10b 書込制御部
10c メディア管理部
10d データ生成部
10e 索引ファイル構築部
10f プリセット適用部
10g 送信部
11 読込部
11a 受信部
11b 読込制御部
11c メディア管理部
11d プリセット適用部
11e 送信部
A ブロック
B ブロック

DESCRIPTION OF SYMBOLS 1 Medical information recording device 10 Writing part 10a Reception part 10b Write control part 10c Media management part 10d Data generation part 10e Index file construction part 10f Preset application part 10g Transmission part 11 Reading part 11a Reception part 11b Reading control part 11c Media management Part 11d preset application part 11e transmission part A block B block

Claims (13)

医用画像を記録媒体に記録させる際の規格に適合した画像データと前記画像データに関するディレクトリ情報とを生成するデータ生成部と、
前記医用画像に対応する前記ディレクトリ情報を備える索引データを管理するとともに、前記記録媒体への前記索引データの記録方式を保持するメディア管理部と、
前記記録媒体から取得される前記索引データ内の前記ディレクトリ情報と前記データ生成部において生成される前記ディレクトリ情報とから、前記記録媒体への追記ディレクトリ情報を確定する索引データ構築部と、
前記追記ディレクトリ情報の書き込みを制御し、前記追記ディレクトリ情報を書込対象領域となるブロック内に予め設けられ半固定長の前記ブロックを構築するパディング領域に前記パディング領域を構成するパディングレコードを削除した上で格納する書込制御部と、
を備えることを特徴とする医療情報記録装置。
A data generation unit that generates image data conforming to a standard for recording a medical image on a recording medium and directory information related to the image data;
A media management unit for managing index data including the directory information corresponding to the medical image, and holding a recording method of the index data on the recording medium;
An index data construction unit for determining additional directory information on the recording medium from the directory information in the index data acquired from the recording medium and the directory information generated by the data generation unit;
The writing of the additional writing directory information was controlled, and the padding record constituting the padding area was deleted from the padding area in which the additional writing directory information was provided in advance in the block serving as the writing target area and the semi-fixed length block was constructed . A write controller to store above ,
A medical information recording apparatus comprising:
DICOM規格に適合した画像データと前記画像データに関する複数の階層のディレクトリ情報とを記録媒体に記録するために生成するデータ生成部と、
前記画像データに関する前記ディレクトリ情報と前記ディレクトリ情報の間のオフセット値に関する情報を含む索引データを管理するメディア管理部と、
前記記録媒体への追記ディレクトリ情報の記録を行う際に、前記追記ディレクトリ情報の書込対象領域となるブロック内に予め設けられ半固定長の前記ブロックを構築するパディング領域のサイズが前記追記ディレクトリ情報を追加可能なサイズであるか否かを判断する索引データ構築部と、
前記索引データ構築部の判断結果に基づいて、前記パディング領域のサイズが前記追記ディレクトリ情報を追加可能なサイズである場合には、前記パディング領域を構成するパディングレコードを削除した上で前記パディング領域に書込み、追加できないサイズである場合には、新たな前記ブロックを構築した上で前記追記ディレクトリ情報を書込む処理を行う書込制御部と、
を備えることを特徴とする医療情報記録装置。
A data generation unit that generates image data that conforms to the DICOM standard and directory information of a plurality of hierarchies related to the image data on a recording medium;
A media management unit that manages index data including information about an offset value between the directory information and the directory information regarding the image data;
When the additional directory information is recorded on the recording medium, the size of the padding area that is provided in advance in the block that is the writing target area of the additional directory information and constructs the semi-fixed-length block is the additional directory information. Index data construction unit that determines whether or not the size can be added,
Based on the determination result of the index data construction unit, if the size of the padding area is a size to which the additional directory information can be added, the padding area constituting the padding area is deleted and then the padding area is deleted. If it is a size that cannot be written and added , a write control unit that performs processing to write the additional directory information after constructing a new block ;
A medical information recording apparatus comprising:
前記書込制御部は、前記追記ディレクトリ情報と同階層のディレクトリ情報が記録されている前記ブロックに前記追記ディレクトリ情報を追記することを特徴とする請求項1または請求項2に記載の医療情報記録装置。   The medical information recording according to claim 1 or 2, wherein the writing control unit additionally writes the additional directory information in the block in which directory information of the same hierarchy as the additional directory information is recorded. apparatus. 前記ブロックは、記録される前記ディレクトリ情報に合わせたサイズを持ち、前記ディレクトリ情報とともに、前記追記ディレクトリ情報の書込対象領域を確保するパディング領域とを備えることを特徴とする請求項1ないし請求項3のいずれかに記載の医療情報記録装置。 2. The block according to claim 1, wherein the block has a size that matches the directory information to be recorded, and includes a padding area that secures a writing target area of the additional directory information together with the directory information. 4. The medical information recording device according to any one of 3. 前記索引データは、前記ディレクトリ情報の他、1つの索引データ情報を具備し、前記索引データ情報は、全ての前記ディレクトリ情報の後ろに配置されることを特徴とする請求項1ないし請求項4のいずれかに記載の医療情報記録装置。   5. The index data according to claim 1, wherein the index data includes one index data information in addition to the directory information, and the index data information is arranged after all the directory information. The medical information recording device according to any one of the above. 前記索引データ情報には、各前記ブロックのサイズに関する情報と、複数の階層に分かれて記録されている前記ディレクトリ情報のうち、各階層における最後の前記ディレクトリ情報のオフセット情報とが記録されていることを特徴とする請求項5に記載の医療情報記録装置。   In the index data information, information on the size of each block and offset information of the last directory information in each hierarchy among the directory information recorded in a plurality of hierarchies are recorded. The medical information recording apparatus according to claim 5. 前記ディレクトリ情報には、同階層の次のディレクトリ情報に関するオフセット情報と、1階層下のディレクトリ情報に関するオフセット情報のいずれか、或いは、いずれもが記録されることを特徴とする請求項1ないし請求項6のいずれかに記載の医療情報記録装置。   2. The directory information is recorded with one or both of offset information relating to next directory information in the same hierarchy and offset information relating to directory information one level below. 7. The medical information recording device according to any one of 6. 前記記録媒体への前記索引データの記録方式として、前記追記ディレクトリ情報を基に書込対象領域を検索する互換モード、索引データ情報を基に書込対象領域を検索する高速モード、または、前記互換モード、或いは、前記高速モードのいずれも採用しない通常モードの少なくとも1つの記録方式を採用することを特徴とする請求項1ないし請求項7のいずれかに記載の医療情報記録装置。 As a method for recording the index data on the recording medium, a compatible mode for searching a writing target area based on the additional directory information, a high-speed mode for searching a writing target area based on index data information, or the compatibility The medical information recording apparatus according to any one of claims 1 to 7, wherein at least one recording method of a normal mode that does not employ either the mode or the high-speed mode is employed. 前記医療情報記録装置は、さらに記録媒体に記録されている索引データを読み込む読込部を備え、前記読込部を構成する読込制御部は、索引データ情報内に格納される情報を基に前記索引データを読み込むことを特徴とする請求項1ないし請求項8のいずれかに記載の医療情報記録装置。 The medical information recording apparatus further includes a reading unit that reads index data recorded on a recording medium, and the reading control unit configuring the reading unit is configured to read the index data based on information stored in index data information. The medical information recording apparatus according to claim 1, wherein the medical information recording apparatus according to claim 1 is read. 記録媒体への追記が求められる医用画像の画像データに関する追記ディレクトリ情報の容量と、前記追記ディレクトリ情報の書込対象領域となるブロック内のパディング領域の容量とを比較するステップと、
比較の結果、前記追記ディレクトリ情報の容量が前記パディング領域の容量以下である場合に、前記パディング領域を構成するパディングレコードを削除するステップと、
削除された前記パディング領域に前記追記ディレクトリ情報を書き込むステップと、
前記追記ディレクトリ情報が書き込まれた前記ブロックの容量が変化しない分の前記パディングレコードを前記ブロックへ挿入するステップと、
前記ブロックに書き込まれた前記追記ディレクトリ情報に関する新たなオフセット情報を記録するステップと、
を備えることを特徴とする医療情報記録方法。
Comparing the capacity of additional recording directory information relating to image data of a medical image that is required to be additionally recorded on a recording medium, and the capacity of a padding area in a block that is a writing target area of the additional recording directory information;
As a result of the comparison, when the capacity of the additional directory information is less than or equal to the capacity of the padding area, deleting the padding record constituting the padding area;
Writing the additional directory information in the deleted padding area;
Inserting the padding record into the block so that the capacity of the block in which the additional directory information is written does not change;
Recording new offset information related to the additional directory information written in the block;
A medical information recording method comprising:
前記追記ディレクトリ情報の容量と、前記追記ディレクトリ情報の書込対象領域となるブロック内の前記パディング領域の容量とを比較した結果、前記追記ディレクトリ情報の容量が前記パディング領域の容量より大きな場合に、
前記追記ディレクトリ情報を書き込む新たなブロックを追加するステップと、
前記新たなブロックに前記追記ディレクトリ情報を書き込むステップと、
前記追記ディレクトリ情報が書き込まれた前記新たなブロックにおいて、その容量が変化しない分の前記パディングレコードを前記新たなブロックへ挿入するステップと、
前記新たなブロックに書き込まれた前記追記ディレクトリ情報に関する新たなオフセット情報を前記追記ディレクトリ情報を書き込むことができなかった前記ブロックのディレクトリ情報に記録するステップと、
を備えることを特徴とする請求項10に記載の医療情報記録方法。
As a result of comparing the capacity of the additional directory information and the capacity of the padding area in the block that is the writing target area of the additional directory information, when the capacity of the additional directory information is larger than the capacity of the padding area,
Adding a new block for writing the additional directory information;
Writing the additional directory information in the new block;
In the new block in which the postscript directory information is written, inserting the padding record for the capacity not changing into the new block;
Recording new offset information related to the additional directory information written in the new block in the directory information of the block where the additional directory information could not be written;
The medical information recording method according to claim 10, further comprising:
前記追記ディレクトリ情報の容量と前記パディング領域の容量とを比較する前に、前記追記ディレクトリ情報の書き込みに当たって、選択された記録方式を確認するステップと、
前記記録方式として通常モードが選択された場合に、前記記録媒体への追記が求められる前記追記ディレクトリ情報の前記書込対象領域となるブロックを検索するステップと、
を備えることを特徴とする請求項10または請求項11に記載の医療情報記録方法。
Before comparing the capacity of the additional directory information and the capacity of the padding area, confirming the recording method selected in writing the additional directory information;
Searching for a block to be the write target area of the additional write directory information that is required to be additionally written to the recording medium when the normal mode is selected as the recording method;
The medical information recording method according to claim 10 or 11, further comprising:
前記追記ディレクトリ情報の容量と前記パディング領域の容量とを比較する前に、前記追記ディレクトリ情報の書き込みに当たって、選択された記録方式を確認するステップと、
前記記録方式として高速モードが選択された場合に、ディレクトリ情報とともに索引ファイルを構成する索引ファイル情報に記録されているディレクトリ情報が記録されているブロックのうち、その階層における最後のブロックのディレクトリ情報のオフセット情報及び、当該ブロックのサイズに関する情報を確認し、これらの情報を基に直接前記書込対象領域へと移動するステップと、
を備えることを特徴とする請求項10または請求項11に記載の医療情報記録方法。
Before comparing the capacity of the additional directory information and the capacity of the padding area, confirming the recording method selected in writing the additional directory information;
When the high-speed mode is selected as the recording method, the directory information of the last block in the hierarchy among the blocks in which the directory information recorded in the index file information constituting the index file is recorded together with the directory information. Checking offset information and information regarding the size of the block, and moving directly to the write target area based on these information;
The medical information recording method according to claim 10 or 11, further comprising:
JP2012094600A 2012-04-18 2012-04-18 Medical information recording apparatus and medical information recording method Active JP6073567B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012094600A JP6073567B2 (en) 2012-04-18 2012-04-18 Medical information recording apparatus and medical information recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012094600A JP6073567B2 (en) 2012-04-18 2012-04-18 Medical information recording apparatus and medical information recording method

Publications (2)

Publication Number Publication Date
JP2013222489A JP2013222489A (en) 2013-10-28
JP6073567B2 true JP6073567B2 (en) 2017-02-01

Family

ID=49593349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012094600A Active JP6073567B2 (en) 2012-04-18 2012-04-18 Medical information recording apparatus and medical information recording method

Country Status (1)

Country Link
JP (1) JP6073567B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3859736A1 (en) * 2018-09-26 2021-08-04 FUJIFILM Corporation Recording device, readout device, recording method, recording program, readout method, readout program, and magnetic tape
WO2020183898A1 (en) 2019-03-13 2020-09-17 富士フイルム株式会社 Recording device, reading device, recording method, recording program, reading method, reading program, and magnetic tape
CN113835791A (en) * 2020-06-23 2021-12-24 北京字节跳动网络技术有限公司 Method and device for presenting hierarchical relation of view components

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2613961B2 (en) * 1990-08-27 1997-05-28 日本電気ソフトウェア株式会社 Index division rate change processing method
JP3630110B2 (en) * 1994-08-31 2005-03-16 ソニー株式会社 Disc-shaped recording medium
JP4016610B2 (en) * 2001-05-11 2007-12-05 ティアック株式会社 Recording medium having hierarchical directory structure, search device, search program, and search method
JP2004171311A (en) * 2002-11-20 2004-06-17 Sharp Corp Data management device, data management method, recording medium, data management program, and computer-readable recording medium storing data management program
JP5148136B2 (en) * 2007-03-06 2013-02-20 株式会社東芝 Medical image management system, medical image writing method, and medical image writing program
JP5344543B2 (en) * 2008-06-11 2013-11-20 任天堂株式会社 Data processing program and data processing apparatus

Also Published As

Publication number Publication date
JP2013222489A (en) 2013-10-28

Similar Documents

Publication Publication Date Title
JP5053690B2 (en) Image diagnosis support system and image diagnosis support program
JP5210529B2 (en) Medical image storage device
US7953944B2 (en) Dynamic data archiving with dynamically defined rules and dynamically defined parameter
WO2016125053A1 (en) Contextual creation of report content for radiology reporting
JP2007148660A (en) Medical report system and medical data conversion program
JP5329993B2 (en) Image display program, medical image diagnostic apparatus, and medical image processing apparatus
JP6073567B2 (en) Medical information recording apparatus and medical information recording method
JP2009223595A (en) System, program and method for supporting preparation of medical report
JP7221600B2 (en) Method and system for processing electronic medical records in the presence of discrepancies
US20080068673A1 (en) Digital image information system and method for providing an image object in a digital image information system
JP5930711B2 (en) MEDICAL IMAGE DISPLAY DEVICE, MEDICAL IMAGE DISPLAY METHOD, AND PROGRAM
JP2010284204A (en) Medical image display
JP5689922B2 (en) Medical image management system and image display device
JP2009195257A (en) Medical image management device and program
US9842121B2 (en) Medical information processing apparatus to apply image processing to received medical images
JP6021517B2 (en) Medical image processing system
JP4547896B2 (en) Medical image management system
JP2012194824A (en) Medical image display system and program therefor
JP2008217558A (en) Medical image management system, medical image writing-in method, and medical image writing-in program
JP2003284691A (en) Image diagnosis system
JP2005182179A (en) Image search system and program
JP5575360B2 (en) Medical image management apparatus and medical image management method
JP5657921B2 (en) Medical image management system and medical image diagnostic apparatus
JP4035429B2 (en) Image data storage method
JP2010205017A (en) Small-scale diagnostic system and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150330

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20150703

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160426

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20160527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160622

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170105

R150 Certificate of patent or registration of utility model

Ref document number: 6073567

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350