[go: up one dir, main page]

JP2010211488A - Program, device, and method for recording electronic medical chart information - Google Patents

Program, device, and method for recording electronic medical chart information Download PDF

Info

Publication number
JP2010211488A
JP2010211488A JP2009056595A JP2009056595A JP2010211488A JP 2010211488 A JP2010211488 A JP 2010211488A JP 2009056595 A JP2009056595 A JP 2009056595A JP 2009056595 A JP2009056595 A JP 2009056595A JP 2010211488 A JP2010211488 A JP 2010211488A
Authority
JP
Japan
Prior art keywords
sentence example
electronic medical
medical record
sentence
line feed
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.)
Granted
Application number
JP2009056595A
Other languages
Japanese (ja)
Other versions
JP5326685B2 (en
Inventor
Kiyoshi Takeuchi
清志 竹内
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2009056595A priority Critical patent/JP5326685B2/en
Publication of JP2010211488A publication Critical patent/JP2010211488A/en
Application granted granted Critical
Publication of JP5326685B2 publication Critical patent/JP5326685B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

【課題】挿入対象である文例の体裁を壊すことなく、電子カルテに挿入することを課題とする。
【解決手段】電子カルテ情報記録装置は、受診者に関する情報として入力領域に挿入する文例に改行コードが含まれるか否かを判定する。そして、電子カルテ情報記録装置は、挿入対象の文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字を計数する。その後、電子カルテ情報記録装置は、計数された文字数分の領域を挿入対象の文例の改行コードの後ろに挿入し、文字数分の領域が挿入された文例を入力領域の挿入位置に挿入する。
【選択図】図1
An object of the present invention is to insert an electronic medical record without destroying the appearance of a sentence example to be inserted.
An electronic medical record information recording apparatus determines whether or not a line feed code is included in a sentence example to be inserted into an input area as information related to a patient. When it is determined that there is a line feed code in the sentence example to be inserted, the electronic medical record information recording apparatus counts characters existing between the insertion position where the sentence example is inserted and the line where the insertion position exists. . Thereafter, the electronic medical record information recording apparatus inserts the area for the counted number of characters after the line feed code of the sentence example to be inserted, and inserts the sentence example in which the area for the number of characters is inserted at the insertion position of the input area.
[Selection] Figure 1

Description

本発明は、受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテシステムとしてのコンピュータに実行させる電子カルテ情報記録プログラム、電子カルテ情報記録装置および電子カルテ情報記録方法に関する。   The present invention provides an electronic medical record information recording program and electronic medical record information to be executed by a computer as an electronic medical record system that displays a screen having an input area for inputting information related to a medical examinee and receives and records information relating to the medical examinee The present invention relates to a recording apparatus and an electronic medical record information recording method.

従来より、例えば、電子カルテなどのシステムのように、近年に電子化されたシステムでは、ペンをキーボードやマウスに持ち替えたストレスはまだまだ多く、更なる改善が求められている。また、ペンを用いていた人間にとっては、長い文書をキーボードで入力すること自体がストレスになっている。   Conventionally, in systems that have been digitized in recent years, such as a system such as an electronic medical record, there is still a lot of stress when the pen is replaced with a keyboard or a mouse, and further improvement is required. Also, for a person who uses a pen, inputting a long document with a keyboard itself is a stress.

そこで、長い文書をキーボードでストレスなく入力することを目的とした技術として、IME(Input Method Editor)や文例参照機能などがある。IMEとは、ワープロ入力などで一般的に使われている補助機能であり、平仮名−漢字変換を実施することができ、文例参照機能とは、入力された文字列が含まれる文例をユーザに表示して選択させることで、長い文書を直接入力させる手間を省くことができる。また、これらを組み合わせた電子カルテシステムなども開発されている。   Therefore, there are IME (Input Method Editor) and a sentence example reference function as a technique for inputting a long document without stress using a keyboard. IME is an auxiliary function that is commonly used for word processor input, etc., and can perform hiragana-kanji conversion. The sentence reference function displays a sentence example that includes the input character string to the user. Thus, it is possible to save the trouble of inputting a long document directly. In addition, an electronic medical record system combining these has been developed.

また、近い時間帯に実施された同一利用者による検索の検索条件を同義語に対する検索条件であるとみなして、検索処理を実行する技術があり、この技術を上記した文例参照機能に組み合わせることも考えられる。   In addition, there is a technique for executing a search process by regarding a search condition for a search performed by the same user performed in a close time period as a search condition for a synonym, and this technique may be combined with the above-described sentence example reference function. Conceivable.

特開平11−312168号公報JP 11-31168 A

しかしながら、上記した従来の技術を用いて検索された文例などを電子カルテに挿入した場合に、文例の体裁が壊れて挿入されてしまう場合があるという課題があった。   However, there has been a problem that when a sentence example or the like searched using the above-described conventional technique is inserted into an electronic medical record, the appearance of the sentence example may be broken and inserted.

例えば、図13−1に示した文例を電子カルテに挿入(展開)する場合、文例の挿入位置が行頭であれば、図13−1に示した体裁のまま挿入されることとなり、問題はない。ところが、文章中や空白を3つ入力した後に挿入する場合など、図13−2に示すように、2行目以降(血圧(高)、血圧(低))が1行目とずれてしまい、図13−1に示した文例の体裁が壊れて挿入されてしまう。   For example, when the sentence example shown in FIG. 13-1 is inserted (expanded) in the electronic medical record, if the insertion position of the sentence example is at the beginning of the line, the sentence is inserted in the form shown in FIG. 13-1, and there is no problem. . However, as shown in FIG. 13-2, when the text is inserted after inserting three blanks in the text, the second and subsequent lines (blood pressure (high), blood pressure (low)) are shifted from the first line, The format of the sentence example shown in FIG. 13-1 is broken and inserted.

そこで、開示の技術は、上記に鑑みてなされたものであって、挿入対象である文例の体裁を壊すことなく、電子カルテに挿入することが可能である電子カルテ情報記録プログラム、電子カルテ情報記録装置および電子カルテ情報記録方法を提供することを目的とする。   Therefore, the disclosed technology has been made in view of the above, and an electronic medical record information recording program and an electronic medical record information recording that can be inserted into an electronic medical record without destroying the appearance of a sentence example to be inserted An object is to provide an apparatus and an electronic medical record information recording method.

本願の開示する電子カルテ情報記録プログラムは、一つの態様において、受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテシステムとしてのコンピュータに実行させる電子カルテ情報記録プログラムであって、前記受診者に関する情報として前記入力領域に挿入する文例に改行コードが含まれるか否かを判定する改行コード判定手順と、前記改行コード判定手順により文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行の行頭との間に存在する文字を計数する文字数計数手順と、前記文字数計数手順により計数された文字数分の領域を前記文例の改行コードの後ろに挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入する文例挿入手順と、をコンピュータに実行させる。   In one aspect, an electronic medical record information recording program disclosed in the present application displays a screen having an input area for inputting information related to a medical examinee, and a computer as an electronic medical record system that receives and records input of information related to the medical examinee An electronic medical record information recording program to be executed by a line feed code determination procedure for determining whether or not a line feed code is included in a sentence example to be inserted into the input area as information on the examinee, and a sentence example by the line feed code determination procedure When it is determined that there is a line feed code, the character number counting procedure for counting characters existing between the insertion position where the sentence example is inserted and the beginning of the line where the insertion position exists, and the character number counting procedure Insert the area for the number of characters after the line feed code in the above example, and the area for the number of characters is inserted. To execute a phrase insertion procedure for inserting a sentence example the insertion position of the input area, to the computer.

本願の開示する電子カルテ情報記録プログラムの一つの態様によれば、挿入対象である文例の体裁を壊すことなく、電子カルテに挿入することが可能であるという効果を奏する。   According to one aspect of the electronic medical record information recording program disclosed in the present application, there is an effect that the electronic medical record information can be inserted into the electronic medical record without destroying the appearance of the sentence example to be inserted.

図1は、実施例1に係る電子カルテ記録装置を説明するための図である。FIG. 1 is a diagram for explaining the electronic medical chart recording apparatus according to the first embodiment. 図2は、実施例1に係る電子カルテ情報記録装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating the configuration of the electronic medical record information recording apparatus according to the first embodiment. 図3は、文例DBに記憶される情報の例を示す図である。FIG. 3 is a diagram illustrating an example of information stored in the sentence example DB. 図4は、バッファが抽出文例ワークテーブルとして機能した場合に記憶する情報の例を示す図である。FIG. 4 is a diagram illustrating an example of information stored when the buffer functions as an extracted sentence example work table. 図5は、フォントサイズDBに記憶される情報の例を示す図である。FIG. 5 is a diagram illustrating an example of information stored in the font size DB. 図6は、電子カルテへの文例挿入例を示す図である。FIG. 6 is a diagram showing an example of sentence example insertion in the electronic medical record. 図7は、電子カルテ起動処理の流れを示すフローチャートである。FIG. 7 is a flowchart showing the flow of the electronic medical chart starting process. 図8は、文例挿入処理の流れを示すフローチャートである。FIG. 8 is a flowchart showing the flow of sentence example insertion processing. 図9は、実施例2に係る文例DBに記憶される情報の例を示す図である。FIG. 9 is a diagram illustrating an example of information stored in the sentence example DB according to the second embodiment. 図10は、実施例2に係るバッファが記憶する情報の例を示す図である。FIG. 10 is a diagram illustrating an example of information stored in the buffer according to the second embodiment. 図11は、実施例2に係るバッファが文例を圧縮して記憶した場合の例を示す図である。FIG. 11 is a diagram illustrating an example of a case where the buffer according to the second embodiment compresses and stores the sentence example. 図12は、電子カルテ情報記録プログラムを実行するコンピュータシステムの例を示す図である。FIG. 12 is a diagram illustrating an example of a computer system that executes an electronic medical record information recording program. 図13−1は、挿入する文例の例を示す図である。FIG. 13A is a diagram illustrating an example of a sentence example to be inserted. 図13−2は、従来技術を用いて文例を挿入した場合の例を示す図である。FIG. 13B is a diagram illustrating an example in which a sentence example is inserted using the conventional technique.

以下に、本願の開示する電子カルテ情報記録プログラム、電子カルテ情報記録装置および電子カルテ情報記録方法の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。   Embodiments of an electronic medical record information recording program, an electronic medical record information recording apparatus, and an electronic medical record information recording method disclosed in the present application will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

本実施例で説明する電子カルテ情報記録装置は、受診者に関する情報を入力する入力領域を有する画面をディスプレイなどに表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテシステムとしてのコンピュータ装置である。この電子カルテ情報記録装置は、受診者に関する情報である電子カルテを自装置内で記憶していてもよく、外部で一括管理するサーバなどから定期的に受信して記憶していてもよく、サーバで記憶されて電子カルテにアクセスして、サーバ上で情報入力などを行うようにしてもよい。   The electronic medical record information recording apparatus described in the present embodiment displays a screen having an input area for inputting information relating to the examinee on a display or the like, and a computer as an electronic medical record system that accepts and records input of information relating to the examinee Device. This electronic medical record information recording device may store the electronic medical record, which is information relating to the examinee, within the device itself, or may be periodically received and stored from a server or the like that is collectively managed externally. The information may be input on the server by accessing the electronic medical record and stored on the server.

そして、このような実施例1に係る電子カルテ情報記録装置は、受診者に関する情報として文例を入力領域に挿入する場合に、当該文例に改行コードが含まれるか否かを判定する。続いて、電子カルテ情報記録装置は、挿入対象の文例に改行コードが存在すると判定された場合に、文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字数を計数する。そして、電子カルテ情報記録装置は、計数された文字数分の領域を文例の改行コードの後ろに挿入し、文字数分の領域が挿入された文例を入力領域の挿入位置に挿入する。その結果、実施例1に係る電子カルテ情報記録装置は、挿入対象である文例の体裁を壊すことなく、電子カルテに挿入することができる。   The electronic medical record information recording apparatus according to the first embodiment determines whether or not a line feed code is included in the sentence example when the sentence example is inserted into the input area as information regarding the examinee. Subsequently, when it is determined that there is a line feed code in the sentence example to be inserted, the electronic medical record information recording apparatus counts the number of characters existing between the insertion position where the sentence example is inserted and the line where the insertion position exists. . Then, the electronic medical record information recording apparatus inserts the region for the counted number of characters after the line feed code of the sentence example, and inserts the sentence example with the region for the number of characters inserted at the insertion position of the input region. As a result, the electronic medical record information recording apparatus according to the first embodiment can be inserted into the electronic medical record without destroying the appearance of the sentence example to be inserted.

例えば、電子カルテ情報記録装置は、図1の(a)に示すように、電子カルテの「検査結果:」の次に「バイタル」を検索キーとして得られた複数の文章(文)からなる文例テンプレート(図1の(z))を挿入する場合について説明する。この例の場合、電子カルテ情報記録装置は、「検査結果:」の次に入力された「バイタル」の位置に文例テンプレート(図1の(z))を挿入することになるので、挿入位置は「検査結果:」の次となる。なお、図1は、実施例1に係る電子カルテ記録装置を説明するための図である。   For example, as shown in FIG. 1A, the electronic medical record information recording apparatus is a sentence example composed of a plurality of sentences (sentences) obtained by using “vital” as a search key next to “inspection result:” of the electronic medical record. A case of inserting a template ((z) in FIG. 1) will be described. In the case of this example, the electronic medical record information recording apparatus inserts the sentence example template ((z) in FIG. 1) at the position of “Vital” input next to “Inspection result:”. Next to “Test Result:”. FIG. 1 is a diagram for explaining the electronic medical chart recording apparatus according to the first embodiment.

そうすると、電子カルテ情報記録装置は、まず、文例テンプレート(図1の(z))に改行コードが含まれているか否かを判定し、ここでは、改行コードが「3つ」含まれていると判定する。次に、電子カルテ情報記録装置は、文例テンプレート(図1の(z))を挿入する挿入位置『「検査結果:」の次』と当該挿入位置が存在する行との間に存在する文字数として、「検、査、結、果、:」の「5文字」を計数する。なお、挿入位置と当該挿入位置が存在する行との間に空白が存在する場合には、空白も1文字として計数する。   Then, the electronic medical record information recording apparatus first determines whether or not a line feed code is included in the sentence example template ((z) in FIG. 1). Here, it is assumed that “three” line feed codes are included. judge. Next, the electronic medical record information recording apparatus sets the number of characters existing between the insertion position “next to“ test result: ”” for inserting the sentence example template ((z) in FIG. 1) and the line where the insertion position exists. , “5 characters” of “inspection, inspection, result, result,:” are counted. If there is a blank between the insertion position and the line where the insertion position exists, the blank is counted as one character.

続いて、電子カルテ情報記録装置は、計数された「5文字」数分の領域(例えば、空白)を文例テンプレート(図1の(z))における1行目の最後の「C」の後ろ、2行目の最後の「g」の後ろ、3行目の最後の「g」の後ろにそれぞれ挿入する。そして、電子カルテ情報記録装置は、「5文字」数分の領域が挿入された文例テンプレートを入力領域の挿入位置『「検査結果:」の次』に挿入する。   Subsequently, the electronic medical record information recording apparatus uses the counted number of “5 characters” (for example, blanks) after the last “C” in the first line in the example template ((z) in FIG. 1), Insert after the last “g” in the second row and after the last “g” in the third row, respectively. Then, the electronic medical record information recording apparatus inserts the sentence example template in which the area corresponding to the number of “5 characters” is inserted into the insertion position “next to“ test result: ”” in the input area.

この結果、電子カルテ情報記録装置は、文例テンプレートにおける「体温、血圧(高)、血圧(低)、脈拍」のそれぞれがずれることなく、図1の(b)に示すように、テンプレートの体裁を保ったまま、電子カルテに挿入することができる。このように、電子カルテ情報記録装置は、文例の挿入位置が文章の途中など行頭でなくでも、挿入対象である文例の体裁を壊すことなく、電子カルテに挿入することができる。   As a result, the electronic medical record information recording apparatus does not shift each of “body temperature, blood pressure (high), blood pressure (low), pulse” in the example template, as shown in FIG. It can be inserted into the electronic medical record while keeping it. As described above, the electronic medical record information recording apparatus can insert the example into the electronic chart without destroying the appearance of the example sentence to be inserted even if the insertion position of the example sentence is not at the beginning of the line such as in the middle of the sentence.

[電子カルテ情報記録装置の構成]
次に、図2を用いて、実施例1に係る電子カルテ情報記録装置の構成について説明する。図2は、実施例1に係る電子カルテ情報記録装置の構成を示すブロック図である。
[Configuration of electronic medical record information recording device]
Next, the configuration of the electronic medical record information recording apparatus according to the first embodiment will be described with reference to FIG. FIG. 2 is a block diagram illustrating the configuration of the electronic medical record information recording apparatus according to the first embodiment.

図2に示すように、この電子カルテ情報記録装置10は、通信制御I/F部11と、入力部12と、表示出力部13と、記憶部20と、制御部30とを有する。   As illustrated in FIG. 2, the electronic medical record information recording apparatus 10 includes a communication control I / F unit 11, an input unit 12, a display output unit 13, a storage unit 20, and a control unit 30.

通信制御I/F部11は、他の外部装置との間でやり取りする各種情報に関する通信を制御する。具体的に例をあげれば、通信制御I/F部11は、電子カルテを一括して管理する電子カルテ管理サーバやバックアップサーバなどとの間でやり取りされる各種データなどの送受信を行う。   The communication control I / F unit 11 controls communication related to various types of information exchanged with other external devices. As a specific example, the communication control I / F unit 11 transmits and receives various data exchanged with an electronic medical record management server or a backup server that collectively manages the electronic medical record.

入力部12は、キーボードやマウス、マイクなどを有して各種の情報の入力を受付ける。具体的に例を挙げれば、入力部12は、当該電子カルテ情報記録装置10を使用するユーザから文字列(例えば、バイタルなど)を受け付けて、受け付けた文字列を後述する制御部30に出力する。なお、後述するモニタも、マウスと協働してポインティングディバイス機能を実現する。   The input unit 12 includes a keyboard, a mouse, a microphone, and the like, and receives input of various types of information. For example, the input unit 12 receives a character string (for example, vitals) from a user who uses the electronic medical record information recording apparatus 10 and outputs the received character string to the control unit 30 described later. . The monitor described later also realizes a pointing device function in cooperation with the mouse.

表示出力部13は、モニタ(若しくはディスプレイ、タッチパネル)やスピーカを有し、各種の情報を出力する。具体的に例を挙げると、表示出力部13は、後述する制御部30により検索された文例一覧を受け付けて表示する。また、表示出力部13は、入力部12と連動して動作し、表示する文例一覧から入力部(例えば、マウスなど)により選択された文例を制御部30に出力する。   The display output unit 13 includes a monitor (or display, touch panel) and a speaker, and outputs various types of information. As a specific example, the display output unit 13 receives and displays a list of sentence examples searched by the control unit 30 described later. The display output unit 13 operates in conjunction with the input unit 12 and outputs to the control unit 30 a sentence example selected by the input unit (for example, a mouse) from a list of sentence examples to be displayed.

記憶部20は、制御部30による各種処理に必要なデータおよびプログラム(例えば、IMEプログラムなど)、通信に必要なアドレス情報やルーティング情報などを格納するとともに、特に、電子カルテ情報DB21と、文例DB22と、バッファ23と、フォントサイズDB24とを有する。   The storage unit 20 stores data and programs (for example, an IME program) necessary for various processes by the control unit 30, address information and routing information necessary for communication, and in particular, an electronic medical record information DB 21 and a sentence example DB 22. And a buffer 23 and a font size DB 24.

電子カルテ情報DB21は、受診者に関する情報の入力を受け付けて記録する電子カルテを記憶する。具体的には、電子カルテ情報DB21は、後述する制御部30の電子カルテ実行部31により通信制御I/F部11を介して外部の電子カルテ管理サーバから取得された電子カルテを記憶する。また、電子カルテ情報DB21は、記憶する電子カルテが更新されるたびに、更新内容を電子カルテ管理サーバに送信することで、電子カルテ管理サーバと同期をとることもできる。   The electronic medical record information DB 21 stores an electronic medical record that receives and records input of information regarding the examinee. Specifically, the electronic medical record information DB 21 stores an electronic medical record acquired from an external electronic medical record management server via the communication control I / F unit 11 by an electronic medical record executing unit 31 of the control unit 30 described later. The electronic medical record information DB 21 can also synchronize with the electronic medical record management server by transmitting the update contents to the electronic medical record management server each time the stored electronic medical record is updated.

文例DB22は、文例を検索するための文字列を示す検索キーと、当該検索キーにより検索される文例とが対応付けられた文例を記憶する。具体的には、文例DB22は、図3に示すように、「検索キー、文例」として「バイタル、テンプレート(体温、血圧(高)、血圧(低)、脈拍)」や「バイタル、定期検査の結果、バイタルは安定している」などと記憶する。また、文例DB22は、「検索キー、文例」として「顔面スコア、テンプレート(安静時非対称〜)」、「顔面スコア、内視鏡検査の結果、胃潰瘍の疑いは認められなかった」などを記憶する。なお、図3は、文例DBに記憶される情報の例を示す図である。   The sentence example DB 22 stores a sentence example in which a search key indicating a character string for searching a sentence example is associated with a sentence example searched by the search key. Specifically, as illustrated in FIG. 3, the sentence example DB 22 includes “Vital, Template (body temperature, blood pressure (high), blood pressure (low), pulse)” and “Vital, periodic examination” as “search key, sentence example”. As a result, the vitals are stable. " Further, the sentence example DB 22 stores “Face score, template (asymmetry at rest)”, “Face score, endoscopy result, no suspicion of stomach ulcer found” as “search key, sentence example”, etc. . FIG. 3 is a diagram illustrating an example of information stored in the sentence example DB.

バッファ23は、文例検索のために入力部12を介して入力された検索キー候補を一時的に記憶する領域であり、また、後述する制御部30により文例に対して各種処理を実施する際の一時領域である。例えば、バッファ23は、図4に示すように、文例DB22から検索された文例のみを記憶して、制御部30が検索された文例に対して各種処理を実行するための抽出文例ワークテーブルとして機能する。なお、図4は、バッファが抽出文例ワークテーブルとして機能した場合に記憶する情報の例を示す図である。   The buffer 23 is an area for temporarily storing search key candidates input via the input unit 12 for sentence example search, and is used when various processes are performed on the sentence examples by the control unit 30 described later. It is a temporary area. For example, as shown in FIG. 4, the buffer 23 stores only a sentence example retrieved from the sentence example DB 22 and functions as an extracted sentence example work table for the control unit 30 to execute various processes on the retrieved sentence example. To do. FIG. 4 is a diagram illustrating an example of information stored when the buffer functions as an extracted sentence example work table.

フォントサイズDB24は、フォントごとに、空白に必要なドット数を示す標準設定空白文字の長さを記憶する。例えば、フォントサイズDB24は、図5に示すように、「フォント、フォントサイズ」として「○○ゴシック、10」などを記憶する。この場合、フォントが○○ゴシックの場合、空白1文字に10ドット必要であるということになる。なお、図5は、フォントサイズDBに記憶される情報の例を示す図である。   The font size DB 24 stores the length of a standard set blank character indicating the number of dots necessary for the blank for each font. For example, as shown in FIG. 5, the font size DB 24 stores “XX Gothic, 10” and the like as “font, font size”. In this case, if the font is XX Gothic, 10 dots are required for one blank character. FIG. 5 is a diagram illustrating an example of information stored in the font size DB.

制御部30は、OS(Operating System)などの制御プログラム、各種の処理手順などを規定したプログラムおよび所要データを格納するための内部メモリを有するとともに、特に、電子カルテ実行部31と、文例検索部32と、改行コード判定部33と、文字数計数部34と、文例挿入部35とを備え、これらによって種々の処理を実行する。   The control unit 30 has an internal memory for storing a control program such as an OS (Operating System), a program defining various processing procedures, and necessary data, and in particular, an electronic medical record execution unit 31 and a sentence example search unit. 32, a line feed code determination unit 33, a character count unit 34, and a sentence example insertion unit 35, which perform various processes.

電子カルテ実行部31は、電子カルテ情報記録装置10の利用者の指示操作により電子カルテシステムを起動する。具体的に例を挙げると、電子カルテ実行部31は、利用者の電子カルテ起動指示が入力部12により受け付けられると、電子カルテシステムのログイン要求(ユーザ名、パスワードなど)を表示出力部13に表示出力する。そして、電子カルテ実行部31は、利用者から「ユーザ名、パスワード」の入力を受け付けて、ユーザ認証を実施する。   The electronic medical record executing unit 31 activates the electronic medical record system by an instruction operation of the user of the electronic medical record information recording apparatus 10. To give a specific example, the electronic medical chart executing unit 31 receives a login request (user name, password, etc.) of the electronic medical record system to the display output unit 13 when a user's electronic medical chart activation instruction is accepted by the input unit 12. Display output. Then, the electronic medical record executing unit 31 receives an input of “user name and password” from the user and performs user authentication.

その後、電子カルテ実行部31は、ユーザ認証により利用者を正当なユーザと判定すると、電子カルテDB21に記憶される電子カルテを読み出して、表示出力部13に表示出力し、電子カルテ実行完了を文例検索部32に通知する。また、電子カルテ実行部31は、利用者を正当なユーザと判定すると、外部の電子カルテ管理サーバと通信を確立して、電子カルテ管理サーバから電子カルテを受信し、受信した電子カルテを表示出力部13に表示出力するようにしてもよい。   Thereafter, when the electronic medical record execution unit 31 determines that the user is a valid user by user authentication, the electronic medical record execution unit 31 reads out the electronic medical record stored in the electronic medical record DB 21, displays it on the display output unit 13, and indicates completion of the electronic medical record execution. The search unit 32 is notified. When the electronic medical chart execution unit 31 determines that the user is a valid user, the electronic medical chart management unit 31 establishes communication with an external electronic medical record management server, receives the electronic medical record from the electronic medical record management server, and displays and outputs the received electronic medical record The display may be output to the unit 13.

文例検索部32は、表示出力部13に表示出力される電子カルテ上に入力部12を介して入力された文字列を検索キーとする文例を文例DB22から抽出する。上記した例で説明すると、電子カルテ実行部31から電子カルテ実行完了を受け付けた文例検索部32は、入力部12を介して「バイタル」が入力された場合に、「バイタル」を検索キーとする「テンプレート(体温、血圧(高)、血圧(低)、脈拍)」と「バイタル、定期検査の結果、バイタルは安定している」とを文例DB22から抽出する。   The sentence example search unit 32 extracts a sentence example from the sentence example DB 22 using the character string input via the input unit 12 on the electronic medical record displayed and output on the display output unit 13 as a search key. In the example described above, the sentence search unit 32 that has received the completion of the electronic medical record execution from the electronic medical record execution unit 31 uses “Vital” as a search key when “Vital” is input via the input unit 12. “Template (body temperature, blood pressure (high), blood pressure (low), pulse)” and “Vital, as a result of periodic inspection, vital is stable” are extracted from the sentence DB 22.

また、文例検索部32は、文例DB22から抽出した「テンプレート(体温、血圧(高)、血圧(低)、脈拍)」と「定期検査の結果、バイタルは安定している」とを表示出力部13に表示出力するとともに、バッファ23に格納する。そして、文例検索部32は、抽出して表示出力した2つの文例のうち、どちらの文例を電子カルテへの挿入対象とするのかを示す文例選択を利用者より入力部12を介して受け付ける。その後、文例検索部32は、選択された文例を表示出力部13に表示出力するとともに、バッファ23に格納し、その結果を改行コード判定部33に通知する。   Further, the sentence example search unit 32 displays “template (body temperature, blood pressure (high), blood pressure (low), pulse)” extracted from the sentence example DB 22 and “the vitality is stable as a result of the periodic examination”. 13 is displayed and output and stored in the buffer 23. Then, the sentence example search unit 32 receives from the user via the input unit 12 a sentence example selection that indicates which of the two sentence examples extracted, displayed and output is to be inserted into the electronic medical record. Thereafter, the sentence example search unit 32 displays and outputs the selected sentence example to the display output unit 13, stores the selected sentence example in the buffer 23, and notifies the line feed code determination unit 33 of the result.

改行コード判定部33は、受診者に関する情報として文例を電子カルテの所定の入力領域に挿入する場合に、当該文例に改行コードが含まれるか否かを判定する。上記した例で具体的に説明すると、改行コード判定部33は、文例検索部32により文例選択完了が通知されると、バッファ23に記憶される文例(利用者により選択された文例)を読み出して、当該文例に改行コードが含まれるか否かを判定する。   The line feed code determination unit 33 determines whether or not a line feed code is included in the sentence example when the sentence example is inserted into the predetermined input area of the electronic medical record as information on the examinee. Specifically, in the above example, the line feed code determination unit 33 reads out the sentence example (sentence example selected by the user) stored in the buffer 23 when the sentence example search unit 32 notifies the sentence example selection completion. Then, it is determined whether or not the sentence example includes a line feed code.

すなわち、改行コード判定部33は、バッファ23に記憶される文例が「テンプレート(体温、血圧(高)、血圧(低)、脈拍)」(図3参照)である場合には、文例に改行コード(3つ)ありと判定する。また、改行コード判定部33は、バッファ23に記憶される文例が「定期検査の結果、バイタルは安定している」(図3参照)である場合には、文例に改行コードなしと判定する。そして、改行コード判定部33は、バッファ23に記憶される文例に改行コードが含まれていると判定した場合には、その判定結果を文字数計数部34に通知し、バッファ23に記憶される文例に改行コードが含まれていないと判定した場合には、その判定結果を文例挿入部35に通知する。   That is, when the sentence example stored in the buffer 23 is “template (body temperature, blood pressure (high), blood pressure (low), pulse)” (see FIG. 3), the line feed code determination unit 33 adds a line feed code to the sentence example. (3) It is determined that there is. In addition, the line feed code determination unit 33 determines that there is no line feed code in the sentence example when the sentence example stored in the buffer 23 is “Vital is stable as a result of periodic inspection” (see FIG. 3). When the line feed code determination unit 33 determines that the line break code is included in the sentence example stored in the buffer 23, the line break code determination unit 33 notifies the character count unit 34 of the determination result and the sentence example stored in the buffer 23. When it is determined that no line feed code is included in the message, the determination result is notified to the sentence example insertion unit 35.

文字数計数部34は、改行コード判定部33により文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字数を計数する。例えば、図1を例にして説明すると、改行コード判定部33から文例に改行コードが存在すると通知された文字数計数部34は、文例を挿入する挿入位置『「検査結果:」の次』と当該挿入位置が存在する行との間に存在する文字数として、「検、査、結、果、:」の「5文字」を計数する。なお、文字数計数部34は、挿入位置と当該挿入位置が存在する行との間に空白が存在する場合には、空白も1文字として計数する。そして、文字数計数部34は、計数した文字数「5文字」を文例挿入部35に通知する。   When the line feed code determination unit 33 determines that there is a line feed code in the sentence example, the character number counting unit 34 counts the number of characters existing between the insertion position where the sentence example is inserted and the line where the insertion position exists. . For example, referring to FIG. 1, the number-of-characters counting unit 34 notified from the line feed code determination unit 33 that a line break code exists in the sentence example, inserts the sentence example “next to“ test result: ”” and the As the number of characters existing between the line where the insertion position exists, “5 characters” of “check, check, result, result:” are counted. Note that, when there is a blank between the insertion position and the line in which the insertion position exists, the character count counter 34 counts the blank as one character. Then, the character count unit 34 notifies the sentence example insertion unit 35 of the counted number of characters “5 characters”.

さらに、文字数計数部34は、当該文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字にプロポーショナルフォントが含まれるか否かを判定し、その結果を計数した文字数「5文字」とあわせて文例挿入部35に通知することもできる。   Furthermore, the character number counting unit 34 determines whether or not a proportional font is included in the character existing between the insertion position where the sentence example is inserted and the line where the insertion position exists, and the character number “ The sentence insertion unit 35 can be notified together with “5 characters”.

文例挿入部35は、文字数計数部34により計数された文字数分の領域を文例の改行コードの後ろに挿入し、文字数分の領域が挿入された文例を入力領域の挿入位置に挿入する。例えば、文例挿入部35は、文字数計数部34により計数された文字数分の領域として当該文字数分の「空白」を文例の改行コードの後ろに挿入して、電子カルテに文例を挿入する。   The sentence example insertion unit 35 inserts an area for the number of characters counted by the character number counting unit 34 after the line feed code of the sentence example, and inserts a sentence example in which the area for the number of characters is inserted at the insertion position of the input area. For example, the sentence example insertion unit 35 inserts “blank” for the number of characters as an area for the number of characters counted by the character number counting unit 34 after the line feed code of the example sentence, and inserts the sentence example in the electronic medical record.

例えば、図1を例にして説明すると、文例挿入部35は、文字数計数部34により計数された「5文字」数分の領域として「5文字分の空白」を、バッファ23に記憶される文例(利用者により選択された文例)の改行コードの後ろに挿入する。すわなち、文例挿入部35は、図1の(z)に示す文例において、1行目の最後の「C」の後ろ、2行目の最後の「g」の後ろ、3行目の最後の「g」の後ろにそれぞれ「5文字分の空白」を挿入する。そして、文例挿入部35は、「5文字」数分の「空白」が挿入された文例を入力領域の挿入位置『「検査結果:」の次』に挿入する。   For example, referring to FIG. 1 as an example, the sentence example insertion unit 35 stores “spaces for five characters” in the buffer 23 as “five characters” counted by the character number counting unit 34. Insert it after the line feed code in the example sentence selected by the user. That is, in the sentence example shown in FIG. 1 (z), the sentence example insertion unit 35 is behind the last “C” on the first line, after the last “g” on the second line, and at the end of the third line. Each of “5” is inserted after “g”. Then, the sentence example insertion unit 35 inserts the sentence example in which “5 characters” of “blank spaces” are inserted at the insertion position “next to“ test result: ”” in the input area.

また、文例挿入部35は、文字数計数部34によりプロポーショナルフォントが含まれていると通知を受けた場合には、文字数計数部34により通知された文字数全てをドット数に変換するとともに、電子カルテで現在使用されているフォントをエディタや電子カルテなどから取得する。そして、文例挿入部35は、得られたフォントで空白1文字に必要なドット数を示す標準設定空白文字の長さをフォントサイズDB24から取得し、「挿入する空白の数=通知された文字数を変換して得られたドット数/フォントサイズDB24から取得した空白1文字に必要なドット数(標準設定空白文字の長さ)」を算出する。このようにして、文例挿入部35は、算出された数の空白を改行コードの後ろに挿入して、電子カルテに文例を挿入する。このとき、文例挿入部35は、空白で埋めきれない(空白を入れても埋めきれずに残ってしまう)ドットについては、当該ドットに合うようなフォントサイズに調整した空白を挿入する。   When the character number counting unit 34 receives a notification that the proportional font is included, the sentence example inserting unit 35 converts all the number of characters notified by the character number counting unit 34 into the number of dots, Get the currently used font from an editor or electronic medical record. Then, the sentence example insertion unit 35 obtains the length of the standard setting blank character indicating the number of dots required for one blank character in the obtained font from the font size DB 24, and “the number of blanks to be inserted = the number of notified characters”. The number of dots obtained by conversion / the number of dots required for one blank character acquired from the font size DB 24 (standard blank character length) "is calculated. In this way, the sentence example insertion unit 35 inserts the calculated number of spaces after the line feed code and inserts the sentence example into the electronic medical record. At this time, the sentence example insertion unit 35 inserts a blank adjusted to a font size suitable for the dot for a dot that cannot be filled with a blank (a blank is left without being filled).

例えば、文例挿入部35は、文字数計数部34により通知された文字数全てをドット数に変換(例えば、文字ごとの各フォントサイズに対応するドット数を記録したテーブルを参照することで、必要なドット数を取得することが考えられる)した結果が「42ドット」であり、電子カルテで現在使用されているフォントが「○○ゴシック」であったとする。また、文例挿入部35は、「○○ゴシック」での空白1文字に必要なドット数「10ドット」をフォントサイズDB24から取得したとする。この場合、文例挿入部35は、「通知された文字数を変換して得られたドット数(42)/フォントサイズDB24から取得した空白1文字に必要なドット数(10)」を計算し、「挿入する空白の数=4.2」と算出する。ところが、「挿入する空白の数=4.2」であることから、実際に挿入する空白の数は「4」となり「0.2ドット」残ることとなる。そこで、この残った「0.2ドット」分については、「0.2ドット」で1文字のフォントがある場合には、そのフォントの空白を挿入したり、文字サイズなどを変更することで「0.2ドット」分のフォントサイズを作り、作ったフォントサイズ分の空白を挿入したりする。このようして、文例挿入部35は、「4」個の空白と、上記した手法で得られた「0.2ドット」分の空白とを文例の改行コードの後ろに挿入して、電子カルテに文例を挿入する。   For example, the sentence example insertion unit 35 converts all the number of characters notified by the character number counting unit 34 into the number of dots (for example, by referring to a table in which the number of dots corresponding to each font size for each character is recorded, It is assumed that the result obtained is “42 dots” and the font currently used in the electronic medical record is “XX Gothic”. In addition, it is assumed that the sentence example insertion unit 35 acquires from the font size DB 24 the number of dots “10 dots” necessary for one blank character in “XX Gothic”. In this case, the sentence example insertion unit 35 calculates “the number of dots obtained by converting the notified number of characters (42) / the number of dots required for one blank character obtained from the font size DB 24” (10). The number of blanks to be inserted = 4.2 ”is calculated. However, since “the number of blanks to be inserted = 4.2”, the number of blanks to be actually inserted is “4”, and “0.2 dots” remains. Therefore, for the remaining “0.2 dots”, if there is a font of “0.2 dots” and one character, it is possible to insert a blank of the font or change the character size or the like. For example, a font size of “0.2 dots” is created, and a blank for the created font size is inserted. In this way, the sentence example insertion unit 35 inserts “4” blanks and “0.2 dot” blanks obtained by the above-described method after the line feed code of the sentence example, and thus the electronic medical record. Insert example sentences into.

また、別の手法としては、電子カルテで使用されているフォントにとらわれず、文例に挿入する空白のみ、「通知された文字数を変換して得られたドット数(42)」であまりの出ないフォントサイズのフォントを使用するようにしてもよい。例えば、電子カルテで使用されているフォントが「○○ゴシック」である一方で、「△△ゴシック」での空白1文字に必要なドット数が「7ドット」であるとフォントサイズDB24に記憶されていたとする。この場合、文例挿入部35は、「通知された文字数を変換して得られたドット数(42)/「△△ゴシック」での空白1文字に必要なドット数(7)」を計算し、「挿入する空白の数=6」と算出する。そして、文例挿入部35は、△△ゴシックでの空白「6個」を文例の改行コードの後ろに挿入して、電子カルテに文例を挿入し、その後の文字入力は現在電子カルテで使用されているフォントで行う。つまり、文例挿入部35は、挿入する空白のみに「△△ゴシック」を用い、その他の文字入力については「○○ゴシック」を用いて行うように制御する。   Another method is not limited to the font used in the electronic medical record, only the white space to be inserted into the sentence, and the “number of dots obtained by converting the notified number of characters (42)” does not appear much. You may make it use the font of a font size. For example, the font used in the electronic medical record is “XX Gothic”, but the number of dots required for one blank character in “ΔΔ Gothic” is “7 dots”, and is stored in the font size DB 24. Suppose that In this case, the sentence example insertion unit 35 calculates “the number of dots obtained by converting the notified number of characters (42) / the number of dots required for one blank character in“ ΔΔ Gothic ”(7)”, It is calculated that “the number of blanks to insert = 6”. Then, the sentence example insertion unit 35 inserts “six” spaces in Δ △ Gothic after the line feed code of the sentence example, inserts the sentence example into the electronic medical record, and the subsequent character input is used in the electronic medical record. Do this with the font that you have. That is, the sentence example insertion unit 35 controls to use “ΔΔ Gothic” only for the blank to be inserted, and to use “XX Gothic” for other character input.

一方、文例挿入部35は、バッファ23に記憶される文例に改行コードが含まれていないと判定された結果を改行コード判定部33から通知されると、バッファ23に記憶される文例(利用者により選択された文例)に対して、上記した処理を実施することなく、電子カルテの入力領域の挿入位置に挿入する。   On the other hand, the sentence example insertion unit 35, when notified from the line feed code determination unit 33 of a result determined that the sentence example stored in the buffer 23 does not include a line feed code, the sentence example (user) stored in the buffer 23 Is inserted at the insertion position of the input area of the electronic medical record without performing the above-described processing.

[領域挿入操作例]
次に、図6を用いて、具体的な例を挙げて、上記した文例の空白などの領域を挿入する処理を説明する。図6は、電子カルテへの文例挿入例を示す図である。
[Area insertion operation example]
Next, with reference to FIG. 6, a process for inserting an area such as a blank in the above sentence example will be described with a specific example. FIG. 6 is a diagram showing an example of sentence example insertion in the electronic medical record.

具体的には、図6の(a)に示した「バイタル」を検索キーとする「文例」を電子カルテの指定位置に挿入する場合について説明する。例えば、図6の(1)に示すように、行の先頭位置に文例テンプレート(図6の(z))を代入する場合、改行コード判定部33は、挿入対象となる文例に改行コードが存在すると判定する。そして、文字数計数部34は、文例の挿入位置が行の先頭であることから、文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字数を「0」と計数する。すると、文例挿入部35は、利用者により選択された文例テンプレート(図6の(z))をそのまま、挿入位置(行の先頭)に挿入する。   Specifically, a case will be described in which a “sentence example” having “vital” shown in FIG. 6A as a search key is inserted at a designated position in the electronic medical record. For example, as shown in (1) of FIG. 6, when a sentence example template ((z) of FIG. 6) is substituted at the head position of the line, the line feed code determination unit 33 has a line feed code in the sentence example to be inserted. Judge that. Then, since the insertion position of the sentence example is the head of the line, the character number counting unit 34 counts “0” as the number of characters existing between the insertion position where the sentence example is inserted and the line where the insertion position exists. Then, the sentence example insertion unit 35 inserts the sentence example template ((z) in FIG. 6) selected by the user as it is at the insertion position (the beginning of the line).

また、例えば、図6の(2)に示すように、「検索結果:」の次の位置に文例(図6の(y))を代入する場合、改行コード判定部33は、挿入対象となる文例に改行コードが存在しないと判定する。すると、文例挿入部35は、利用者により選択された文例(図6の(y))をそのまま、「検索結果:」の次の位置に挿入する。   For example, as shown in (2) of FIG. 6, when a sentence example ((y) of FIG. 6) is substituted for a position next to “search result:”, the line feed code determination unit 33 becomes an insertion target. It is determined that there is no line feed code in the sentence example. Then, the sentence example insertion unit 35 inserts the sentence example ((y) in FIG. 6) selected by the user as it is at the position next to “search result:”.

また、例えば、図6の(3)に示すように、「検索結果:」の次の位置に文例テンプレート(図6の(z))を代入する場合、改行コード判定部33は、挿入対象となる文例に改行コードが存在すると判定する。そして、文字数計数部34は、文例テンプレート(図6の(z))を挿入する挿入位置『「検査結果:」の次』と当該挿入位置が存在する行との間に存在する文字数として、「検、査、結、果、:」の「5文字」を計数する。すると、文例挿入部35は、文例テンプレート(図6の(z))における1行目の最後の「C」の後ろ、2行目の最後の「g」の後ろ、3行目の最後の「g」の後ろそれぞれに「5文字数分の空白」を挿入する。そして、文例挿入部35は、「5文字数分の空白」が挿入された文例テンプレートを入力領域の挿入位置『「検査結果:」の次』に挿入する。   Further, for example, as shown in (3) of FIG. 6, when a sentence example template ((z) of FIG. 6) is substituted for the position next to “search result:”, the line feed code determination unit 33 It is determined that there is a line feed code in the sentence example. The number-of-characters counting unit 34 sets the number of characters existing between the insertion position “next to the“ test result: ”” for inserting the sentence example template ((z) in FIG. 6) and the line where the insertion position exists as “ “5 characters” of “Check, Review, Result, Result:” are counted. Then, the sentence example insertion unit 35 follows the last “C” on the first line, the last “g” on the second line, the last “g” on the third line in the sentence example template ((z) in FIG. 6). Insert “5 blank spaces” after each “g”. Then, the sentence example insertion unit 35 inserts the sentence example template in which “5 spaces” is inserted at the insertion position “next to“ test result: ”” in the input area.

また、例えば、図6の(4)に示すように、行の先頭から所定数の空白が入力された位置に文例テンプレート(図6の(z))を代入する場合、改行コード判定部33は、挿入対象となる文例に改行コードが存在すると判定する。そして、文字数計数部34は、文例テンプレート(図6の(z))を挿入する挿入位置『所定数の空白の次』と当該挿入位置が存在する行との間に存在する文字数として、「所定数の空白(例えば、7)」を計数する。すると、文例挿入部35は、文例テンプレート(図6の(z))における1行目の最後の「C」の後ろ、2行目の最後の「g」の後ろ、3行目の最後の「g」の後ろそれぞれに「7個分の空白」を挿入する。そして、文例挿入部35は、「7個分の空白」が挿入された文例テンプレートを入力領域の挿入位置『「所定数の空白」の次』に挿入する。   Also, for example, as shown in (4) of FIG. 6, when a sentence template ((z) of FIG. 6) is substituted at a position where a predetermined number of blanks are input from the beginning of the line, the line feed code determination unit 33 It is determined that a line feed code exists in the sentence example to be inserted. The number-of-characters counting unit 34 sets “predetermined number of characters between the insertion position“ next to the predetermined number of blanks ”for inserting the sentence example template ((z) in FIG. 6) and the line where the insertion position exists. The number of blanks (eg 7) "is counted. Then, the sentence example insertion unit 35 follows the last “C” on the first line, the last “g” on the second line, the last “g” on the third line in the sentence example template ((z) in FIG. 6). Insert “7 spaces” after each “g”. Then, the sentence example insertion unit 35 inserts the sentence example template in which “seven blank spaces” are inserted at the insertion position “next to“ a predetermined number of blank spaces ”in the input area.

[処理の流れ]
次に、図7と図8を用いて、実施例1に係る電子カルテ情報記録装置における処理の流れを説明する。図7は、電子カルテ起動処理の流れを示すフローチャートであり、図8は、文例挿入処理の流れを示すフローチャートである。
[Process flow]
Next, a processing flow in the electronic medical record information recording apparatus according to the first embodiment will be described with reference to FIGS. FIG. 7 is a flowchart showing the flow of the electronic medical record starting process, and FIG. 8 is a flowchart showing the flow of the sentence example inserting process.

(電子カルテ起動処理の流れ)
まず、図7を用いて、電子カルテ起動処理の流れを説明する。図7に示すように、電子カルテ情報記録装置10は、利用者から電子カルテ起動指示を受け付けて、利用者ログイン処理を実施し(ステップS101)、利用者ログインが許可された利用者から患者IDなどを受け付けて、患者の電子カルテを起動する(ステップS102)。
(Flow of electronic chart start processing)
First, the flow of the electronic medical chart starting process will be described with reference to FIG. As illustrated in FIG. 7, the electronic medical record information recording apparatus 10 receives an electronic medical record activation instruction from a user, performs a user login process (step S101), and receives a patient ID from a user who is permitted to log in. And the patient's electronic medical record is activated (step S102).

続いて、電子カルテ情報記録装置10は、起動した電子カルテのカルテエディタを起動して表示出力部13に表示出力し(ステップS103)、さらに、IME(Input Method Editor)と連携して医療文例検索機能を起動する。このとき、電子カルテ情報記録装置10は、選択中のIME文字変換候補、IME変換未確定文字列より前の文字列、各文字のフォントなどを取得する。   Subsequently, the electronic medical record information recording device 10 activates the medical record editor of the activated electronic medical record and displays it on the display output unit 13 (step S103), and further searches for medical sentence examples in cooperation with IME (Input Method Editor). Activate the function. At this time, the electronic medical record information recording apparatus 10 acquires the selected IME character conversion candidate, the character string before the IME conversion unconfirmed character string, the font of each character, and the like.

その後、電子カルテ情報記録装置10は、電子カルテを更新したカルテエディタを保存し(ステップS104)、利用者の操作を受け付けて患者のカルテを閉じた後(ステップS105)、利用者の操作による利用者ログアウトを受け付けて処理を終了する(ステップS106)。   Thereafter, the electronic medical record information recording apparatus 10 saves the medical chart editor in which the electronic medical record is updated (step S104), accepts the user's operation and closes the patient's medical record (step S105), and uses it by the user's operation. The user logout is accepted and the process ends (step S106).

(文例挿入処理の流れ)
次に、図8を用いて、文例挿入処理の流れを説明する。なお、この処理は、図7のステップS104で実行される処理である。
(Flow of sentence example insertion processing)
Next, the flow of sentence example insertion processing will be described with reference to FIG. This process is a process executed in step S104 of FIG.

図8に示すように、電子カルテ情報記録装置10は、電子カルテが起動されて入力されたパラメータを検索キーとしてセットして(ステップS201)、文例DB22を検索する(ステップS202)。例えば、電子カルテ情報記録装置10は、選択中のIME文字変換候補(例えば、バイタル)を文例部分一致検索キーにセットし、検索キーの完全一致かつ文例の部分一致により、検索キーに対応する文例を検索する。   As shown in FIG. 8, the electronic medical record information recording apparatus 10 sets a parameter input when the electronic medical record is activated as a search key (step S201), and searches the sentence example DB 22 (step S202). For example, the electronic medical record information recording apparatus 10 sets the selected IME character conversion candidate (for example, vital) to the sentence example partial match search key, and the sentence example corresponding to the search key by the complete match of the search key and the partial match of the sentence example. Search for.

そして、電子カルテ情報記録装置10は、該当文例が存在する場合(ステップS203肯定)、検索された該当文例をバッファ23(抽出文例ワークテーブル)に格納する(ステップS204)。その後、電子カルテ情報記録装置10は、該当文例が存在しなくなった場合(ステップS203否定)、検索して格納しておいた文例をバッファ23から読み出して文例一覧を表示出力部13に表示出力する(ステップS205)。   Then, when there is a corresponding sentence example (Yes at Step S203), the electronic medical record information recording apparatus 10 stores the retrieved corresponding sentence example in the buffer 23 (extracted sentence example work table) (Step S204). Thereafter, when there is no corresponding sentence example (No in step S203), the electronic medical record information recording apparatus 10 reads out the sentence example stored by searching from the buffer 23 and outputs the sentence example list to the display output unit 13. (Step S205).

続いて、電子カルテ情報記録装置10は、表示出力部13に表示出力した文例一覧から所望の文例が利用者により選択されると(ステップS206肯定)、選択された文例のタイプを判断して(ステップS207)、文例に改行コードが含まれるか否かを判定する(ステップS208)。一方、電子カルテ情報記録装置10は、表示出力部13に表示出力した文例一覧から所望の文例が利用者により選択されない場合には(ステップS206否定)、ステップS205に戻って以降の処理を実行する。   Subsequently, when the user selects a desired sentence example from the list of sentence examples displayed and output on the display output unit 13 (Yes in step S206), the electronic medical record information recording apparatus 10 determines the type of the selected sentence example ( In step S207, it is determined whether or not a line feed code is included in the sentence example (step S208). On the other hand, if the desired sentence example is not selected by the user from the sentence example list displayed and output on the display output unit 13 (No at Step S206), the electronic medical record information recording apparatus 10 returns to Step S205 and executes the subsequent processing. .

そして、電子カルテ情報記録装置10は、選択された文例に改行コードが含まれると判定した場合(ステップS208肯定)、文例の挿入(展開)位置を判断して(ステップS209)、挿入位置が行の先頭であるか否かを判定する(ステップS210)。   When it is determined that the selected sentence example includes a line feed code (Yes at Step S208), the electronic medical record information recording apparatus 10 determines the insertion (development) position of the sentence example (Step S209), and the insertion position is It is determined whether or not it is the head of the number (step S210).

続いて、電子カルテ情報記録装置10は、選択された文例の挿入位置が行の先頭でない場合(ステップS210否定)、入力されたパラメータ(検索キー、IME変換未確定文字列)より前に存在する文字列を計数(確認)し(ステップS211)、計数した文字列が全て空白であるか否かを判定する(ステップS212)。   Subsequently, the electronic medical record information recording apparatus 10 exists before the input parameters (search key, IME conversion unconfirmed character string) when the insertion position of the selected sentence example is not the head of the line (No in step S210). The character strings are counted (confirmed) (step S211), and it is determined whether or not the counted character strings are all blank (step S212).

そして、計数した文字列が全て空白である場合(ステップS212肯定)、電子カルテ情報記録装置10は、文例中の2行目以降の先頭にも、計数した分の空白を挿入して、指定された電子カルテの挿入位置に文例を挿入する(ステップS213)。   If the counted character strings are all blank (Yes at step S212), the electronic medical record information recording apparatus 10 is specified by inserting the counted blanks at the beginning of the second and subsequent lines in the sentence. A sentence example is inserted at the insertion position of the electronic medical record (step S213).

一方、計数した文字列が全て空白でない場合(ステップS212否定)、電子カルテ情報記録装置10は、計数した文字列の中にプロポーショナルフォントが含まれているか否かを判定する(ステップS214とステップS215)。   On the other hand, when the counted character strings are not all blank (No at Step S212), the electronic medical record information recording apparatus 10 determines whether or not the counted character strings include a proportional font (Steps S214 and S215). ).

そして、電子カルテ情報記録装置10は、計数した文字列の中にプロポーショナルフォントが含まれていると判定した場合(ステップS215肯定)、例えば、計数した文字数全てをドット数に直すなど、計数した文字列の長さを確認する(ステップS216)。ここで、電子カルテ情報記録装置10は、電子カルテで使用されているフォントを電子カルテやエディタなどから取得する。   If the electronic medical record information recording apparatus 10 determines that a proportional font is included in the counted character string (Yes in step S215), for example, the counted character number is changed to the dot number. The length of the column is confirmed (step S216). Here, the electronic medical record information recording apparatus 10 acquires a font used in the electronic medical record from an electronic medical record, an editor, or the like.

続いて、電子カルテ情報記録装置10は、取得したフォントで空白1文字に必要なドット数を示す標準設定空白文字の長さをフォントサイズDB24から取得し、計数した文字列の長さと比較する(ステップS217)。ここで、電子カルテ情報記録装置10は、「計数された文字数の長さ(ドット数)/空白1文字に必要なドット数(標準空白文字の長さ)=n余りm」を算出する。   Subsequently, the electronic medical record information recording apparatus 10 acquires the standard setting blank character length indicating the number of dots required for one blank character in the acquired font from the font size DB 24 and compares it with the counted character string length ( Step S217). Here, the electronic medical record information recording apparatus 10 calculates “the number of counted characters (the number of dots) / the number of dots necessary for one blank character (the length of a standard blank character) = n remainder m”.

その後、電子カルテ情報記録装置10は、文例中の2行目以降に挿入する空白文字列を作成する(ステップS218)。上記した例で説明すると、電子カルテ情報記録装置10は、空白文字列として、「標準設定空白文字×n+標準設定空白文字をmフォントサイズにセット」と決定する。つまり、電子カルテ情報記録装置10は、「n」個の空白文字と、フォントサイズDB24に記憶される標準設定空白文字をmドットのフォントサイズに変更した空白とを文例中の2行目以降に挿入する空白文字列として作成する。   Thereafter, the electronic medical record information recording apparatus 10 creates a blank character string to be inserted after the second line in the sentence example (step S218). In the example described above, the electronic medical record information recording apparatus 10 determines “standard set blank character × n + standard set blank character to m font size” as a blank character string. That is, the electronic medical record information recording apparatus 10 displays “n” blank characters and a blank obtained by changing the standard set blank character stored in the font size DB 24 to an m-dot font size in the second and subsequent lines in the sentence. Create as a blank string to insert.

そうして、電子カルテ情報記録装置10は、作成した空白文字列を文例中の2行目以降の先頭に挿入し、指定された電子カルテの挿入位置に空白文字が挿入された文例を挿入する(ステップS219)。   Then, the electronic medical record information recording apparatus 10 inserts the created blank character string at the beginning of the second and subsequent lines in the sentence example, and inserts the sentence example in which the blank character is inserted at the specified electronic medical record insertion position. (Step S219).

また、電子カルテ情報記録装置10は、選択された文例に改行コードが含まれていないと判定した場合(ステップS208否定)、選択された文例の挿入位置が行の先頭である場合(ステップS210肯定)、計数した文字列の中にプロポーショナルフォントが含まれていない場合(ステップS215否定)、指定された電子カルテの挿入位置に選択された文例をそのまま挿入する(ステップS220)。   Further, when the electronic medical record information recording apparatus 10 determines that the selected sentence example does not include a line feed code (No at Step S208), the electronic sentence information recording apparatus 10 determines that the insertion position of the selected sentence example is at the beginning of the line (Yes at Step S210). ), If a proportional font is not included in the counted character string (No at step S215), the selected sentence example is inserted as it is at the insertion position of the designated electronic medical record (step S220).

[実施例1による効果]
このように、実施例1によれば、行の先頭に空白がある場合は、文例全ての行に、同一の空白を挿入し、テンプレートの形を崩さずに展開することができる。また、行の先頭に文字列が入っている場合は、文字タイプやフォントサイズがあるので、文字列の長さに見合った長さの空白を、文例各行の前方に詰めた形でカーソル位置から改行後展開することができる。こうする事で、文例の形を崩さずにエディタ展開が可能となる。但し、当該行の文字列が、プロポーショナルフォント以外の文字(全ての文字で文字幅が固定)の場合は、行の先頭に空白が入っている場合と同様、改行せず、該当文字を空白に変換し、2行目以降の文例の先頭に埋める形で展開することができる。
[Effects of Example 1]
As described above, according to the first embodiment, when there is a blank at the beginning of a line, the same blank can be inserted into all lines of the sentence example, and the template can be expanded without breaking the shape. Also, if there is a character string at the beginning of the line, there is a character type and font size. Can be expanded after a line break. By doing this, it is possible to expand the editor without breaking the form of the sentence. However, if the character string in the line is a character other than a proportional font (the character width is fixed for all characters), the line is not broken and the character is left blank, as is the case with a blank at the beginning of the line. It can be converted and expanded in a form that fills the beginning of the sentence examples in the second and subsequent lines.

つまり、実施例1に係る電子カルテ情報記録装置10は、対象文例行の一行目を挿入する挿入位置から行頭までに存在する文字数分の空白を、対象文例行の二行目の第1文字の前に挿入することにより、対象文例行の一行目の第1文字と二行目以降の第1文字の位置を自動的に揃えることができる。その結果、対象文例の挿入位置が文章の途中など行頭でなくでも、挿入対象である文例の体裁を壊すことなく、電子カルテに挿入することができる。   That is, the electronic medical record information recording apparatus 10 according to the first embodiment uses as many blanks as the number of characters existing from the insertion position where the first line of the target sentence example line is inserted to the beginning of the line to the first line of the second line of the target sentence example line. By inserting it before the character, it is possible to automatically align the first character on the first line of the target sentence example line and the first character on the second and subsequent lines. As a result, even if the insertion position of the target sentence example is not at the beginning of the line such as in the middle of the sentence, it can be inserted into the electronic medical record without breaking the appearance of the sentence example that is the insertion target.

ところで、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下に異なる実施例を説明する。   By the way, although the Example of this invention was described so far, this invention may be implemented with a various different form other than the Example mentioned above. Therefore, different embodiments will be described below.

(文例DBの格納例)
例えば、図3に文例DB22に格納される情報の例として、検索キーに対応付けた文例の例を示したが、これに限定されるものではない。例えば、利用者ID(医者などの電子カルテ利用者を識別する識別子)、患者ID(患者を一意に識別する識別子)などに対応付けて文例を記憶するようにしてもよい。
(Storing example sentence DB)
For example, as an example of information stored in the sentence example DB 22 in FIG. 3, an example of a sentence example associated with a search key is shown, but the present invention is not limited to this. For example, sentence examples may be stored in association with user IDs (identifiers for identifying electronic medical records such as doctors), patient IDs (identifiers for uniquely identifying patients), and the like.

例を挙げると、図9に示すように、文例DB22は、利用者を一意に識別する「利用者ID」に対応付けて「文例」を記憶してもよい。この場合、電子カルテ情報記録装置10は、利用者ログイン処理時に入力された「利用者ID」をキーとして、文例DB22から文例を抽出して表示出力部13に表示出力する。そうすると、「利用者ID」に対応する文例全てが、電子カルテへの挿入対象文例となるので、電子カルテ情報記録装置10は、図10に示すように、「利用者ID」に対応する文例全てをバッファ23に格納することとなる。また、電子カルテ情報記録装置10は、「利用者ID」に対応する文例全てがバッファ23に格納する場合に、図11に示すように、各文例を圧縮した形で格納することもできる。そうすることにより、バッファ23の使用領域を削減することができたり、容量の小さいバッファを用いることもできたり、コスト削減に繋がる。   For example, as illustrated in FIG. 9, the sentence example DB 22 may store a “sentence example” in association with a “user ID” that uniquely identifies a user. In this case, the electronic medical record information recording apparatus 10 extracts a sentence example from the sentence example DB 22 using the “user ID” input at the time of user login processing as a key, and outputs the extracted sentence example to the display output unit 13. Then, since all sentence examples corresponding to “user ID” become examples of sentences to be inserted into the electronic medical record, the electronic medical record information recording apparatus 10 has all sentence examples corresponding to “user ID” as shown in FIG. Is stored in the buffer 23. Further, when all the sentence examples corresponding to the “user ID” are stored in the buffer 23, the electronic medical record information recording apparatus 10 can also store each sentence example in a compressed form as shown in FIG. By doing so, the use area of the buffer 23 can be reduced, or a buffer with a small capacity can be used, which leads to cost reduction.

(改行コードの判定手法)
また、実施例1では、挿入対象文例に「改行コード」が含まれるか否かを判定し、「改行コード」の後ろに「空白」を挿入する例について説明したが、これに限定されるものではない。例えば、電子カルテ情報記録装置10は、挿入対象文例に「改行コード+文字コード」となる箇所が存在するか否かを判定するようにしてもよい。この場合、電子カルテ情報記録装置10は、文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字数分の空白を、「改行コード+文字コード」における「改行コード」と「文字コード」との間、すなわち、「改行コード+(文字数分の空白)+文字コード」とした上で電子カルテに挿入する。そうすることにより、上記した手法を用いて、「1文章+改行コード」しかない文例(すなわち、2行目がない文例)を電子カルテに挿入した場合に、「改行コード」が2行目に挿入された状態になることを防止することができる。つまり、文例の「1文章+改行コード」という体裁を保ったまま、電子カルテに挿入することができる。
(New line code judgment method)
Further, in the first embodiment, an example has been described in which it is determined whether or not a “line feed code” is included in the example sentence to be inserted, and “blank” is inserted after the “line feed code”. is not. For example, the electronic medical record information recording apparatus 10 may determine whether or not there is a portion “new line code + character code” in the example sentence to be inserted. In this case, the electronic medical record information recording apparatus 10 sets the blanks for the number of characters existing between the insertion position where the sentence example is inserted and the line where the insertion position exists as “line feed code + character code” as “line feed code”. Between “character code”, that is, “line feed code + (space corresponding to the number of characters) + character code” is inserted into the electronic medical chart. By doing so, when a sentence example having only “1 sentence + line feed code” (that is, a sentence example without the second line) is inserted into the electronic medical record using the above-described method, the “line feed code” is set to the second line. The inserted state can be prevented. That is, it can be inserted into the electronic medical record while maintaining the appearance of “1 sentence + line feed code” in the sentence example.

(挿入例)
また、実施例1では、文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字数分の空白を、文例の改行コードの後ろに挿入する例について説明したが、これに限定されるものではない。例えば、計数された文字数分のビット数を挿入するようにしてもよい。
(Insert example)
In the first embodiment, an example has been described in which spaces corresponding to the number of characters existing between the insertion position where the sentence example is inserted and the line where the insertion position exists are inserted after the line feed code of the sentence example. It is not limited. For example, the number of bits corresponding to the counted number of characters may be inserted.

(システム)
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
(system)
Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution / integration of each device is not limited to that shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. Further, all or a part of each processing function performed in each device may be realized by a CPU and a program that is analyzed and executed by the CPU, or may be realized as hardware by wired logic.

この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報(例えば、図3、図4、図9〜図11など)については、特記する場合を除いて任意に変更することができる。   In addition, the processing procedure, control procedure, specific name, and information including various data and parameters (for example, FIG. 3, FIG. 4, FIG. 9 to FIG. It can be changed arbitrarily unless you want to.

(プログラム)
ところで、上記の実施例で説明した各種の処理は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータシステムで実行することによって実現することができる。そこで、以下では、上記の実施例と同様の機能を有するプログラムを実行するコンピュータシステムを他の実施例として説明する。
(program)
By the way, the various processes described in the above embodiments can be realized by executing a program prepared in advance on a computer system such as a personal computer or a workstation. Therefore, hereinafter, a computer system that executes a program having the same function as that of the above embodiment will be described as another embodiment.

図12は、電子カルテ情報記録プログラムを実行するコンピュータシステムの例を示す図である。図11に示すように、コンピュータシステム100は、RAM101と、HDD102と、ROM103と、CPU104とから構成される。ここで、ROM103には、上記の実施例と同様の機能を発揮するプログラム、つまり、図12に示すように電子カルテ実行プログラム103aと、文例検索プログラム103bと、改行コード判定プログラム103cと、文字数計数プログラム103dと、文例挿入プログラム103eとがあらかじめ記憶されている。   FIG. 12 is a diagram illustrating an example of a computer system that executes an electronic medical record information recording program. As shown in FIG. 11, the computer system 100 includes a RAM 101, an HDD 102, a ROM 103, and a CPU 104. Here, the ROM 103 has a program that exhibits the same function as that of the above embodiment, that is, as shown in FIG. 12, an electronic medical record execution program 103a, a sentence example search program 103b, a line feed code determination program 103c, and a character count. A program 103d and a sentence example insertion program 103e are stored in advance.

そして、CPU104には、これらのプログラム103a〜103eを読み出して実行することで、図12に示すように、電子カルテ実行プロセス104aと、文例検索プロセス104bと、改行コード判定プロセス104cと、文字数計数プロセス104dと、文例挿入プロセス104eとなる。なお、電子カルテ実行プロセス104aは、図2に示した、電子カルテ実行部31に対応し、同様に、文例検索プロセス104bは、文例検索部32に対応する。同様に、改行コード判定プロセス104cは、改行コード判定部33に対応し、文字数計数プロセス104dは、文字数計数部34に対応し、文例挿入プロセス104eは、文例挿入部35に対応する。   Then, the CPU 104 reads and executes these programs 103a to 103e, so that as shown in FIG. 12, an electronic medical record execution process 104a, a sentence example search process 104b, a line feed code determination process 104c, and a character count process 104d becomes a sentence example insertion process 104e. The electronic medical record execution process 104a corresponds to the electronic medical record execution unit 31 shown in FIG. 2, and similarly, the sentence example search process 104b corresponds to the sentence example search unit 32. Similarly, the line feed code determination process 104c corresponds to the line feed code determination unit 33, the character number counting process 104d corresponds to the character number counting unit 34, and the sentence example insertion process 104e corresponds to the sentence example insertion unit 35.

また、HDD102には、受診者に関する情報の入力を受け付けて記録する電子カルテを記憶する電子カルテテーブル102aと、文例を検索するための文字列を示す検索キーと、当該検索キーにより検索される文例とが対応付けられた文例を記憶する文例テーブル102bとが設けられる。また、HDD102には、文例や文字列などを一時的に記憶するバッファテーブル102cと、フォントごとに空白に必要なドット数を示す標準設定空白文字の長さを記憶するフォントサイズテーブル102dとが設けられる。   In addition, the HDD 102 stores an electronic medical record table 102a that stores an electronic medical record that receives and records information related to the examinee, a search key that indicates a character string for searching a text example, and a text example that is searched by the search key. And a sentence example table 102b for storing a sentence example associated with. Further, the HDD 102 is provided with a buffer table 102c that temporarily stores sentence examples and character strings, and a font size table 102d that stores the length of standard blank characters indicating the number of dots required for blanks for each font. It is done.

なお、電子カルテテーブル102aは、図2に示した電子カルテDB21に対応し、同様に、文例テーブル102bは、文例DB22に対応し、バッファテーブル102cは、バッファ23に対応し、フォントサイズテーブル102dは、フォントサイズDB24に対応する。   The electronic medical record table 102a corresponds to the electronic medical record DB 21 shown in FIG. 2. Similarly, the sentence example table 102b corresponds to the sentence example DB 22, the buffer table 102c corresponds to the buffer 23, and the font size table 102d Corresponds to the font size DB 24.

ところで、上記したプログラム103a〜103eは、必ずしもROM103に記憶させておく必要はなく、例えば、コンピュータシステム100に挿入されるフレキシブルディスク(FD)、CD−ROM、MOディスク、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」の他に、コンピュータシステム100の内外に備えられるハードディスクドライブ(HDD)などの「固定用の物理媒体」、さらに、公衆回線、インターネット、LAN、WANなどを介してコンピュータシステム100に接続される「他のコンピュータシステム」に記憶させておき、コンピュータシステム100がこれらからプログラムを読み出して実行するようにしてもよい。   By the way, the above-described programs 103a to 103e are not necessarily stored in the ROM 103. For example, a flexible disk (FD), a CD-ROM, an MO disk, a DVD disk, a magneto-optical disk inserted into the computer system 100, In addition to “portable physical media” such as IC cards, “fixed physical media” such as hard disk drives (HDDs) provided inside and outside the computer system 100, public lines, the Internet, LAN, WAN, etc. The program may be stored in “another computer system” connected to the computer system 100 via the computer system 100 so that the computer system 100 reads and executes the program.

以上の各実施例を含む実施形態に関し、さらに以下の付記を開示する。   The following supplementary notes are further disclosed with respect to the embodiments including the above examples.

(付記1)コンピュータを、受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテシステムとして実行させる電子カルテ情報記録プログラムであって、
前記受診者に関する情報として前記入力領域に挿入する文例に改行コードが含まれるか否かを判定する改行コード判定手順と、
前記改行コード判定手順により文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行の行頭との間に存在する文字を計数する文字数計数手順と、
前記文字数計数手順により計数された文字数分の領域を前記文例の改行コードの後ろに挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入する文例挿入手順と、
をコンピュータに実行させることを特徴とする電子カルテ情報記録プログラム。
(Appendix 1) An electronic medical record information recording program for causing a computer to display a screen having an input area for inputting information related to a medical examinee, and to be executed as an electronic medical record system for receiving and recording information regarding the medical examinee,
A line feed code determination procedure for determining whether or not a line feed code is included in the sentence example to be inserted into the input area as information on the examinee,
A character count counting procedure for counting characters existing between the insertion position at which the sentence example is inserted and the beginning of the line in which the insertion position exists when it is determined by the line feed code determination procedure that a line break code exists in the sentence example; ,
A sentence example insertion procedure for inserting an area for the number of characters counted by the character count counting procedure after a line feed code of the sentence example, and inserting a sentence example in which the area for the number of characters is inserted at an insertion position of the input area;
An electronic medical record information recording program for causing a computer to execute

(付記2)前記改行コード判定手順は、さらに、前記入力領域に挿入する文例において、改行コードの後ろに文字コードが続く箇所を検出し、
前記文例挿入手順は、前記改行コード判定手順により検出された改行コードの後ろに文字コードが続く箇所における改行コードと文字コードとの間に、前記文字数計数手順により計数された文字数分の領域を挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入することを特徴とする付記1に記載の電子カルテ情報記録プログラム。
(Supplementary Note 2) The line feed code determination procedure further detects a part where a character code follows a line feed code in the sentence example to be inserted into the input area,
In the sentence example insertion procedure, an area for the number of characters counted by the number-of-characters counting procedure is inserted between a line feed code and a character code at a position where a character code follows a line feed code detected by the line feed code determination procedure. The electronic medical record information recording program according to appendix 1, wherein a sentence example in which an area for the number of characters is inserted is inserted at an insertion position of the input area.

(付記3)前記文例挿入手順は、前記文字数計数手順により計数された文字数分の領域として、前記計数された文字数分の空白を挿入することを特徴とする付記1または2に記載の電子カルテ情報記録プログラム。 (Supplementary note 3) The electronic medical record information according to supplementary note 1 or 2, wherein the sentence example insertion procedure inserts a blank space for the counted number of characters as an area for the number of characters counted by the character count counting procedure. Recording program.

(付記4)前記電子カルテシステムで使用されるフォントに対応付けて、当該フォントで空白1文字に必要なフォントサイズを記憶するフォントサイズ記憶手段をさらに備え、
前記文字数計数手順は、前記文例を挿入する挿入位置と当該挿入位置が存在する行との間に存在する文字を計数し、さらに、計数した文字にプロポーショナルフォントが含まれるか否かを判定し、
前記文例挿入手順は、前記文字数計数手順により計数した文字にプロポーショナルフォントが含まれると判定された場合、前記文字数計数手順により計数された文字数分のフォントサイズと、前記電子カルテシステムにおいて現地点で使用されているフォントに対応付けて前記フォントサイズ記憶手段に記憶されるフォントサイズとに基づいて、前記文例に挿入する空白の数を算出し、算出した数の空白を前記文例に挿入することを特徴とする付記1または2に記載の電子カルテ情報記録プログラム。
(Additional remark 4) It further associates with the font used with the said electronic medical chart system, and further comprises the font size memory | storage means to memorize | store the font size required for one space character with the said font,
The number-of-characters counting step counts characters existing between an insertion position where the sentence example is inserted and a line where the insertion position exists, and further determines whether the counted character includes a proportional font,
When it is determined that the proportional font is included in the characters counted by the character count procedure, the sentence insertion procedure uses the font size for the number of characters counted by the character count procedure, and is used at the local point in the electronic medical chart system. The number of blanks to be inserted into the sentence example is calculated based on the font size stored in the font size storage unit in association with the font that has been set, and the calculated number of blanks is inserted into the sentence example. The electronic medical record information recording program according to appendix 1 or 2.

(付記5)受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテ情報装置であって、
前記受診者に関する情報として前記入力領域に挿入する文例に改行コードが含まれるか否かを判定する改行コード判定手段と、
前記改行コード判定手段により文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行の行頭との間に存在する文字を計数する文字数計数手段と、
前記文字数計数手段により計数された文字数分の領域を前記文例の改行コードの後ろに挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入する文例挿入手段と、
を備えたことを特徴とする電子カルテ情報記録装置。
(Appendix 5) An electronic medical record information device for displaying a screen having an input area for inputting information related to a medical examinee and receiving and recording input of information related to the medical examinee,
A line feed code determination means for determining whether or not a line feed code is included in a sentence example to be inserted into the input area as information on the examinee;
A character number counting unit that counts characters existing between an insertion position at which the sentence example is inserted and the beginning of a line where the insertion position exists when the line break code determination unit determines that a line break code exists in the sentence example; ,
A sentence example inserting means for inserting an area for the number of characters counted by the character number counting means after a line feed code of the sentence example, and inserting a sentence example in which the area for the number of characters is inserted at an insertion position of the input area;
An electronic medical record information recording apparatus comprising:

(付記6)受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテシステムとしてのコンピュータに適した電子カルテ情報記録方法であって、
前記受診者に関する情報として前記入力領域に挿入する文例に改行コードが含まれるか否かを判定する改行コード判定ステップと、
前記改行コード判定ステップにより文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行の行頭との間に存在する文字を計数する文字数計数ステップと、
前記文字数計数ステップにより計数された文字数分の領域を前記文例の改行コードの後ろに挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入する文例挿入ステップと、
を含んだことを特徴とする電子カルテ情報記録方法。
(Appendix 6) An electronic medical record information recording method suitable for a computer as an electronic medical record system for displaying a screen having an input area for inputting information related to a patient and receiving and recording information regarding the patient,
A line feed code determination step for determining whether or not a line feed code is included in the sentence example to be inserted into the input area as information on the examinee;
A character number counting step for counting characters existing between an insertion position at which the sentence example is inserted and the beginning of a line in which the insertion position exists when it is determined by the line feed code determination step that a line break code exists in the sentence example; ,
Inserting an area for the number of characters counted by the character count step after the line feed code of the example sentence, inserting a sentence example in which the area for the number of characters is inserted at the insertion position of the input area, and
An electronic medical record information recording method comprising:

10 電子カルテ情報記録装置
11 通信制御I/F部
12 入力部
13 表示出力部
20 記憶部
21 電子カルテ情報DB
22 文例DB
23 バッファ
24 フォントサイズDB
30 制御部
31 電子カルテ実行部
32 文例検索部
33 改行コード判定部
34 文字数計数部
35 文例挿入部
100 コンピュータシステム
101 RAM
102 HDD
102a 電子カルテテーブル
102b 文例テーブル
102c バッファテーブル
103 ROM
103a 電子カルテ実行プログラム
103b 文例検索プログラム
103c 改行コード判定プログラム
103d 文字数計数プログラム
103e 文例挿入プログラム
104 CPU
104a 電子カルテ実行プロセス
104b 文例検索プロセス
104c 改行コード判定プロセス
104d 文字数計数プロセス
104e 文例挿入プロセス
DESCRIPTION OF SYMBOLS 10 Electronic medical record information recording apparatus 11 Communication control I / F part 12 Input part 13 Display output part 20 Storage part 21 Electronic medical record information DB
22 Example DB
23 Buffer 24 Font size DB
30 Control Unit 31 Electronic Medical Record Execution Unit 32 Sentence Example Search Unit 33 Line Feed Code Determination Unit 34 Character Count Counter 35 Sentence Insertion Unit 100 Computer System 101 RAM
102 HDD
102a Electronic medical record table 102b Example sentence table 102c Buffer table 103 ROM
103a Electronic medical record execution program 103b Sentence example search program 103c Line feed code determination program 103d Character count program 103e Sentence insertion program 104 CPU
104a Electronic medical record execution process 104b Example sentence search process 104c Line feed code determination process 104d Character number counting process 104e Example sentence insertion process

Claims (5)

コンピュータを、受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテシステムとして実行させる電子カルテ情報記録プログラムであって、
前記受診者に関する情報として前記入力領域に挿入する文例に改行コードが含まれるか否かを判定する改行コード判定手順と、
前記改行コード判定手順により文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行の行頭との間に存在する文字を計数する文字数計数手順と、
前記文字数計数手順により計数された文字数分の領域を前記文例の改行コードの後ろに挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入する文例挿入手順と、
をコンピュータに実行させることを特徴とする電子カルテ情報記録プログラム。
An electronic medical record information recording program for causing a computer to display a screen having an input area for inputting information related to a patient and to be executed as an electronic medical record system for receiving and recording information regarding the patient,
A line feed code determination procedure for determining whether or not a line feed code is included in the sentence example to be inserted into the input area as information on the examinee,
A character count counting procedure for counting characters existing between the insertion position at which the sentence example is inserted and the beginning of the line in which the insertion position exists when it is determined by the line feed code determination procedure that a line break code exists in the sentence example; ,
A sentence example insertion procedure for inserting an area for the number of characters counted by the character count counting procedure after a line feed code of the sentence example, and inserting a sentence example in which the area for the number of characters is inserted at an insertion position of the input area;
An electronic medical record information recording program for causing a computer to execute
前記改行コード判定手順は、さらに、前記入力領域に挿入する文例において、改行コードの後ろに文字コードが続く箇所を検出し、
前記文例挿入手順は、前記改行コード判定手順により検出された改行コードの後ろに文字コードが続く箇所における改行コードと文字コードとの間に、前記文字数計数手順により計数された文字数分の領域を挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入することを特徴とする請求項1に記載の電子カルテ情報記録プログラム。
The line feed code determination procedure further detects a portion where a character code follows the line feed code in the sentence example to be inserted into the input area,
In the sentence example insertion procedure, an area for the number of characters counted by the number-of-characters counting procedure is inserted between a line feed code and a character code at a position where a character code follows a line feed code detected by the line feed code determination procedure. 2. The electronic medical record information recording program according to claim 1, wherein a sentence example in which an area for the number of characters is inserted is inserted at an insertion position of the input area.
前記文例挿入手順は、前記文字数計数手順により計数された文字数分の領域として、前記計数された文字数分の空白を挿入することを特徴とする請求項1または2に記載の電子カルテ情報記録プログラム。   3. The electronic medical record information recording program according to claim 1, wherein the sentence example insertion procedure inserts a blank space corresponding to the counted number of characters as an area corresponding to the number of characters counted by the character count counting procedure. 受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテ情報装置であって、
前記受診者に関する情報として前記入力領域に挿入する文例に改行コードが含まれるか否かを判定する改行コード判定手段と、
前記改行コード判定手段により文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行の行頭との間に存在する文字を計数する文字数計数手段と、
前記文字数計数手段により計数された文字数分の領域を前記文例の改行コードの後ろに挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入する文例挿入手段と、
を備えたことを特徴とする電子カルテ情報記録装置。
An electronic medical record information device for displaying a screen having an input area for inputting information related to a medical examinee, and accepting and recording input of information related to the medical examinee,
A line feed code determination means for determining whether or not a line feed code is included in a sentence example to be inserted into the input area as information on the examinee;
A character number counting unit that counts characters existing between an insertion position at which the sentence example is inserted and the beginning of a line where the insertion position exists when the line break code determination unit determines that a line break code exists in the sentence example; ,
A sentence example inserting means for inserting an area for the number of characters counted by the character number counting means after a line feed code of the sentence example, and inserting a sentence example in which the area for the number of characters is inserted at an insertion position of the input area;
An electronic medical record information recording apparatus comprising:
受診者に関する情報を入力する入力領域を有する画面を表示し、該受診者に関する情報の入力を受け付けて記録する電子カルテシステムとしてのコンピュータに適した電子カルテ情報記録方法であって、
前記受診者に関する情報として前記入力領域に挿入する文例に改行コードが含まれるか否かを判定する改行コード判定ステップと、
前記改行コード判定ステップにより文例に改行コードが存在すると判定された場合に、当該文例を挿入する挿入位置と当該挿入位置が存在する行の行頭との間に存在する文字を計数する文字数計数ステップと、
前記文字数計数ステップにより計数された文字数分の領域を前記文例の改行コードの後ろに挿入し、前記文字数分の領域が挿入された文例を前記入力領域の挿入位置に挿入する文例挿入ステップと、
を含んだことを特徴とする電子カルテ情報記録方法。
An electronic medical record information recording method suitable for a computer as an electronic medical record system that displays a screen having an input area for inputting information related to a medical examinee and accepts and records input of information related to the medical examinee,
A line feed code determination step for determining whether or not a line feed code is included in the sentence example to be inserted into the input area as information on the examinee;
A character number counting step for counting characters existing between an insertion position at which the sentence example is inserted and the beginning of a line in which the insertion position exists when it is determined by the line feed code determination step that a line break code exists in the sentence example; ,
Inserting an area for the number of characters counted by the character count step after the line feed code of the example sentence, inserting a sentence example in which the area for the number of characters is inserted at the insertion position of the input area, and
An electronic medical record information recording method comprising:
JP2009056595A 2009-03-10 2009-03-10 Electronic medical record information recording program, electronic medical record information recording apparatus, and electronic medical record information recording method Expired - Fee Related JP5326685B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009056595A JP5326685B2 (en) 2009-03-10 2009-03-10 Electronic medical record information recording program, electronic medical record information recording apparatus, and electronic medical record information recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009056595A JP5326685B2 (en) 2009-03-10 2009-03-10 Electronic medical record information recording program, electronic medical record information recording apparatus, and electronic medical record information recording method

Publications (2)

Publication Number Publication Date
JP2010211488A true JP2010211488A (en) 2010-09-24
JP5326685B2 JP5326685B2 (en) 2013-10-30

Family

ID=42971579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009056595A Expired - Fee Related JP5326685B2 (en) 2009-03-10 2009-03-10 Electronic medical record information recording program, electronic medical record information recording apparatus, and electronic medical record information recording method

Country Status (1)

Country Link
JP (1) JP5326685B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012190286A (en) * 2011-03-10 2012-10-04 Fujitsu Ltd Program, information processing device, and information processing method
JP2016536659A (en) * 2013-09-30 2016-11-24 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. System and method for content-based medical macro sorting and retrieval system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10162004A (en) * 1996-11-26 1998-06-19 Okayama Nippon Denki Software Kk Character string display device
JP2000259740A (en) * 1999-03-10 2000-09-22 Fujitsu Ltd Medical record electronic recording device, medical record electronic record system, program storage medium
JP2001155099A (en) * 1999-11-30 2001-06-08 Yokogawa Electric Corp Medical finding management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10162004A (en) * 1996-11-26 1998-06-19 Okayama Nippon Denki Software Kk Character string display device
JP2000259740A (en) * 1999-03-10 2000-09-22 Fujitsu Ltd Medical record electronic recording device, medical record electronic record system, program storage medium
JP2001155099A (en) * 1999-11-30 2001-06-08 Yokogawa Electric Corp Medical finding management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012190286A (en) * 2011-03-10 2012-10-04 Fujitsu Ltd Program, information processing device, and information processing method
JP2016536659A (en) * 2013-09-30 2016-11-24 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. System and method for content-based medical macro sorting and retrieval system

Also Published As

Publication number Publication date
JP5326685B2 (en) 2013-10-30

Similar Documents

Publication Publication Date Title
EP2523126A2 (en) Information processing apparatus, information processing method, program, and information processing system
JP4502615B2 (en) Similar sentence search device, similar sentence search method, and program
JP2011002997A (en) Medical information system
JP6679954B2 (en) Attribute assignment control program, information processing apparatus, and attribute assignment control method
JP5326685B2 (en) Electronic medical record information recording program, electronic medical record information recording apparatus, and electronic medical record information recording method
JP5151412B2 (en) Notation fluctuation analyzer
JP2019032704A (en) Table data structuring system and table data structuring method
JP5199801B2 (en) Medical support system
JP2019121164A (en) Document creating apparatus, document creating method, database construction apparatus, database construction method, and program
JP2009277015A (en) Input support program, input support apparatus and input support method
JP2009015395A (en) Dictionary construction support device and dictionary construction support program
JPWO2008018287A1 (en) Search device and search database generation device
JP5487764B2 (en) Medical information input program, medical information input device, medical information input method, template generation program, template generation method, and template generation device
JP4734400B2 (en) Document search apparatus and program
JP2008176630A (en) Document data processing device
JP4646328B2 (en) Related information extraction apparatus and method
JP4845523B2 (en) Character processing apparatus, method, program, and recording medium
JP2009245232A (en) Dedicated rule editor for generating rule definition of problem extraction from free description sentence of medical observation document
JP4637129B2 (en) Input string prediction device and input string prediction program
JP5068356B2 (en) Blog body identification device and blog body identification method
JP2014209317A (en) Language analysis method and system
JP2025034291A (en) Input support system and medical record input support system
JP2012200546A (en) Medical examination information input device, program and medical examination information input method
JP4415768B2 (en) Address table generation support method, apparatus and program
JP2001109740A (en) Chinese document creation device and Chinese document creation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130306

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130603

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: 20130625

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130708

R150 Certificate of patent or registration of utility model

Ref document number: 5326685

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees