JP7828576B2 - Pharmacy support system and pharmacy support method - Google Patents
Pharmacy support system and pharmacy support methodInfo
- Publication number
- JP7828576B2 JP7828576B2 JP2021151144A JP2021151144A JP7828576B2 JP 7828576 B2 JP7828576 B2 JP 7828576B2 JP 2021151144 A JP2021151144 A JP 2021151144A JP 2021151144 A JP2021151144 A JP 2021151144A JP 7828576 B2 JP7828576 B2 JP 7828576B2
- Authority
- JP
- Japan
- Prior art keywords
- pharmacy
- prescription
- message
- data
- database
- 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
Links
Landscapes
- Medical Treatment And Welfare Office Work (AREA)
Description
特許法第30条第2項適用 令和2年10月14日にウェブサイト(https://www.yppp.info/、https://yppp.jp、https://www.kenko-salon.com/yppp、https://www.kenko-salon.com/)にて公開 令和2年10月14日にウェブサイト(https://yppp.jp、https://yppp.jp/client/login/login(提供システムにアクセスするためのアドレス))にて公開 令和2年11月14日にウェブサイト(https://pnb.jiho.jp/(Pharmacy News Break))にて公開Applicable to Article 30, Paragraph 2 of the Patent Act Published on October 14, 2020 on the website (https://www.yppp.info/, https://yppp.jp, https://www.kenko-salon.com/yppp, https://www.kenko-salon.com/) Published on October 14, 2020 on the website (https://yppp.jp, https://yppp.jp/client/login/login (address for accessing the provision system)) Published on November 14, 2020 on the website (https://pnb.jiho.jp/ (Pharmacy News Break))
本発明は、薬局支援システム及び薬局支援方法に関し、例えば、薬局と顧客(患者)との間の取引や薬品指導に関する業務を支援するシステムに適用し得る。 This invention relates to a pharmacy support system and a pharmacy support method, and can be applied, for example, to a system that supports operations related to transactions and medication guidance between a pharmacy and a customer (patient).
従来、調剤薬局の業務を支援(補助)するための情報システムとして、例えば、特許文献1の記載技術が存在する。 Conventionally, information systems for supporting (assisting) the operations of dispensing pharmacies exist, such as the technology described in Patent Document 1.
特許文献1では、薬品師と患者とのコミュニケーションにメッセージサービスシステムを利用することにより、薬品師が顧客から健康相談を受けたり、健康上の情報提供を行う際の手間を低減している。 Patent Document 1 describes how a messaging service system is used for communication between pharmacists and patients, thereby reducing the effort required for pharmacists to receive health consultations and provide health information from customers.
ところで、薬局における業務は患者の対応だけでは完結せず、患者とのやりとり等に基づく種々のレポート作成や会計処理等多岐にわたる。 By the way, the work at a pharmacy doesn't end with just dealing with patients; it encompasses a wide range of tasks, including creating various reports based on interactions with patients and handling accounting.
しかしながら、特許文献1の記載技術では、薬品師と患者とのコミュニケーションを効率的に行うことを実現してはいるが、薬局において患者に関連する業務はそれだけでは完結せず、患者とのやりとり等に基づく種々のレポート作成や会計処理等多岐にわたる。 However, while the technology described in Patent Document 1 enables efficient communication between pharmacists and patients, patient-related tasks in a pharmacy are not limited to this; they encompass a wide range of activities, including the creation of various reports based on interactions with patients and accounting procedures.
そのため、薬局において患者に関連する種々の業務を、より効率的に行うことができる薬局支援システム及び薬局支援方法が望まれている。 Therefore, there is a need for pharmacy support systems and methods that can perform various patient-related tasks more efficiently in pharmacies.
第1の本発明の薬局支援システムは、薬局に対応するメッセージサービスで用いられる薬局アカウントと、前記薬局の顧客に対応する前記メッセージサービスで用いられる顧客アカウントを管理するアカウント管理手段と、前記顧客に調剤した処方箋の内容を管理する処方箋管理手段と、前記処方箋ごとに、前記処方箋の内容に応じたタイミングで、前記薬局アカウントから前記顧客アカウントに対して、前記処方箋の内容に応じたシナリオに従った前記メッセージサービスを介したメッセージの送信、及び、前記メッセージサービスを介して前記顧客アカウントから前記薬局アカウントに送信された応答内容を受信するメッセージ処理手段と、前記メッセージ処理手段が受信した応答内容を管理する応答管理手段と、前記メッセージ処理手段が処理するメッセージを前記薬局に配置された薬局端末に供給する薬局端末処理手段と、前記メッセージ処理手段が送信するメッセージの内容を定義したシナリオデータを複数保持するシナリオデータ保持手段とを備え、前記メッセージ処理手段は、前記シナリオデータ保持手段が保持する前記シナリオデータから前記処方箋に対応する前記シナリオデータを保持し、保持した前記シナリオデータに従ったメッセージの送信を行い、前記メッセージ処理手段が送受信した内容の一部又は全部を記述した服薬情報のレポートを1以上生成し、生成した前記レポートを一括して出力する一括出力処理を行うレポート生成出力手段をさらに有し、前記シナリオデータには、前記顧客アカウントに対して前記処方箋に記載された薬剤の服用に関する問題の有無を質問する問題有無質問メッセージを送信して、前記問題有無質問メッセージに対する回答を受信する問題有無質問シナリオが1以上含まれており、前記レポート生成出力手段は、前記レポートに1以上の前記問題有無質問メッセージに対する回答を記述し、1以上の前記問題有無質問メッセージに対する回答が問題有りとなっている前記レポートについては前記一括出力処理の対象から除外することを特徴とする。 The first pharmacy support system of the present invention includes: a pharmacy account used in a messaging service corresponding to a pharmacy; an account management means for managing customer accounts used in the messaging service corresponding to customers of the pharmacy; a prescription management means for managing the contents of prescriptions dispensed to customers; a message processing means for sending a message from the pharmacy account to the customer account via the messaging service according to a scenario corresponding to the contents of the prescription, at a timing corresponding to the contents of the prescription, and receiving the response content sent from the customer account to the pharmacy account via the messaging service; a response management means for managing the response content received by the message processing means; a pharmacy terminal processing means for supplying the message processed by the message processing means to a pharmacy terminal located in the pharmacy; and a scenario data holding means for holding a plurality of scenario data defining the contents of the messages to be sent by the message processing means. The message processing means further comprises a report generation and output means which holds scenario data corresponding to the prescription from the scenario data held by the scenario data holding means, sends a message according to the held scenario data, generates one or more medication information reports describing some or all of the contents sent and received by the message processing means, and performs a batch output processing to output the generated reports in a batch, wherein the scenario data includes one or more problem presence/absence question scenarios which send a problem presence/absence question message to the customer account asking whether there are any problems regarding the taking of the medication described in the prescription and receive a response to the problem presence/absence question message, and the report generation and output means describes one or more responses to the problem presence/absence question messages in the report, and excludes reports in which one or more responses to the problem presence/absence question messages indicate a problem from the batch output processing .
第2の本発明は、薬局支援システムが行う薬局支援方法において、前記薬局支援システムは、アカウント管理手段、処方箋管理手段、メッセージ処理手段、応答管理手段、薬局端末処理手段、シナリオデータ保持手段及びレポート生成出力手段を備え、前記アカウント管理手段は、薬局に対応するメッセージサービスで用いられる薬局アカウントと、前記薬局の顧客に対応する前記メッセージサービスで用いられる顧客アカウントを管理し、前記処方箋管理手段は、前記顧客に調剤した処方箋の内容を管理し、前記メッセージ処理手段は、前記処方箋ごとに、前記処方箋の内容に応じたタイミングで、前記薬局アカウントから前記顧客アカウントに対して、前記処方箋の内容に応じたシナリオに従った前記メッセージサービスを介したメッセージの送信、及び、前記メッセージサービスを介して前記顧客アカウントから前記薬局アカウントに送信された応答内容を受信し、前記応答管理手段は、前記メッセージ処理手段が受信した応答内容を管理し、前記薬局端末処理手段は、前記メッセージ処理手段が処理するメッセージを前記薬局に配置された薬局端末に供給し、前記シナリオデータ保持手段は、前記メッセージ処理手段が送信するメッセージの内容を定義したシナリオデータを複数保持し、前記メッセージ処理手段は、前記シナリオデータ保持手段が保持する前記シナリオデータから前記処方箋に対応する前記シナリオデータを保持し、保持した前記シナリオデータに従ったメッセージの送信を行い、前記レポート生成出力手段は、前記メッセージ処理手段が送受信した内容の一部又は全部を記述した服薬情報のレポートを1以上生成し、生成した前記レポートを一括して出力する一括出力処理を行い、前記シナリオデータには、前記顧客アカウントに対して前記処方箋に記載された薬剤の服用に関する問題の有無を質問する問題有無質問メッセージを送信して、前記問題有無質問メッセージに対する回答を受信する問題有無質問シナリオが1以上含まれており、前記レポート生成出力手段は、前記レポートに1以上の前記問題有無質問メッセージに対する回答を記述し、1以上の前記問題有無質問メッセージに対する回答が問題有りとなっている前記レポートについては前記一括出力処理の対象から除外することを特徴とする。
The second aspect of the present invention relates to a pharmacy support method performed by a pharmacy support system, wherein the pharmacy support system comprises account management means, prescription management means, message processing means, response management means, pharmacy terminal processing means , scenario data holding means, and report generation output means , wherein the account management means manages pharmacy accounts used in a message service corresponding to a pharmacy and customer accounts used in the message service corresponding to the pharmacy's customers, the prescription management means manages the contents of prescriptions dispensed to the customers, the message processing means, for each prescription, sends a message from the pharmacy account to the customer account via the message service according to a scenario corresponding to the contents of the prescription at a timing corresponding to the contents of the prescription, and receives the contents of responses sent from the customer account to the pharmacy account via the message service, the response management means manages the contents of responses received by the message processing means, and the pharmacy terminal processing means supplies the messages processed by the message processing means to a pharmacy terminal located in the pharmacy. The scenario data holding means holds a plurality of scenario data defining the content of messages to be sent by the message processing means, the message processing means holds the scenario data corresponding to the prescription from the scenario data held by the scenario data holding means, and sends a message according to the held scenario data , the report generation output means generates one or more medication information reports describing some or all of the content sent and received by the message processing means, and performs batch output processing to output the generated reports in a batch, the scenario data includes one or more problem presence/absence question scenarios that send a problem presence/absence question message to the customer account asking whether there are any problems regarding the taking of the medication described in the prescription, and receive a response to the problem presence/absence question message, the report generation output means describes one or more responses to the problem presence/absence question messages in the report, and excludes reports in which one or more responses to the problem presence/absence question messages indicate a problem from the batch output processing .
本発明によれば、薬局の業務負担を軽減しつつ顧客の健康増進を図ることができる。 According to this invention, it is possible to improve the health of customers while reducing the workload of pharmacies.
(A)第1の実施形態
以下、本発明による薬局支援システム及び薬局支援方法の第1の実施形態を、図面を参照しながら詳述する。
(A) First Embodiment Hereinafter, a first embodiment of the pharmacy support system and pharmacy support method according to the present invention will be described in detail with reference to the drawings.
(A-1)第1の実施形態の構成
図1は、第1の実施形態に関連する各装置の接続構成を示すブロック図である。
(A-1) Configuration of the First Embodiment Figure 1 is a block diagram showing the connection configuration of each device related to the first embodiment.
薬局支援システム1は、調剤薬局の業務を支援することで、薬局のスタッフ(薬品師等)に対する業務負担を軽減すると共に、支援する薬局の顧客(患者)の健康増進を図るためのシステムである。 Pharmacy Support System 1 is a system designed to support the operations of dispensing pharmacies, thereby reducing the workload on pharmacy staff (pharmacists, etc.) and promoting the health of the customers (patients) of the supported pharmacies.
図1に示す薬局支援システム1には、Webアプリケーションサーバ10及びデータベースサーバ20を含む装置が配置されている。なお、図1において、括弧内の符号は、後述する第2の実施形態でのみ用いられる符号である。 The pharmacy support system 1 shown in Figure 1 includes a web application server 10 and a database server 20. Note that the symbols in parentheses in Figure 1 are used only in the second embodiment described later.
また、薬局支援システム1は、ネットワークNWを介して、薬局端末30、顧客端末40、及びメッセージサービスシステム50と接続している。ネットワークNWは、例えばインターネット等のIP網が該当する。また、薬局支援システム1に接続する各装置の数は限定されないものである。薬局支援システム1を利用する薬局や顧客の数は限定されないものである。 Furthermore, the pharmacy support system 1 is connected to the pharmacy terminal 30, customer terminal 40, and message service system 50 via a network (NW). The network (NW) is, for example, an IP network such as the Internet. The number of devices connected to the pharmacy support system 1 is not limited. The number of pharmacies and customers using the pharmacy support system 1 is also not limited.
メッセージサービスシステム50としては、例えば、LINE(登録商標)、Facebook(登録商標)、Skype(登録商標)等の種々のメッセージサービス(チャットサービス)のシステムを適用することができる。以下では、メッセージサービスシステム50としては、出願時点におけるバージョンのLINEのサービスを利用する例について説明する。 The message service system 50 can be any of the various messaging services (chat services) available, such as LINE®, Facebook®, or Skype®. Below, we will describe an example where the message service system 50 uses the version of LINE available at the time of filing.
Webアプリケーションサーバ10は、薬局支援システム1において各端末にWebベースでアプリケーション(アプリケーションサービス)を提供する装置である。そして、データベースサーバ20は、Webアプリケーションサーバ10で、種々のデータを管理する手段として配置されている。なお、図1に示す薬局支援システム1では、データセンタにWebアプリケーションサーバ10及びデータベースサーバ20が配置されているものとする。 The Web application server 10 is a device that provides web-based applications (application services) to each terminal in the pharmacy support system 1. The database server 20 is positioned within the Web application server 10 as a means of managing various data. In the pharmacy support system 1 shown in Figure 1, the Web application server 10 and the database server 20 are assumed to be located in a data center.
薬局端末30は、Webアプリケーションサーバ10によるサービス(業務支援)を受ける薬局に設置される端末である。薬局端末30としては、例えば、タブレットやPC等の端末を適用することができる。また、薬局端末30には、明細票等を印刷することができるプリンタ60が接続されているものとする。 The pharmacy terminal 30 is a terminal installed in a pharmacy that receives services (business support) from the Web application server 10. For example, a tablet or PC can be used as the pharmacy terminal 30. Furthermore, a printer 60 capable of printing detailed statements and other documents is assumed to be connected to the pharmacy terminal 30.
顧客端末40は、顧客が所持する端末である。顧客端末としては、例えば、スマートホンやタブレット等の携帯端末を適用することができる。 The customer terminal 40 is a device owned by the customer. For example, a mobile device such as a smartphone or tablet can be used as the customer terminal.
次に、薬局支援システム1を構成する各装置の内部構成について説明する。 Next, we will explain the internal configuration of each device that makes up Pharmacy Support System 1.
図2は、Webアプリケーションサーバ10の内部構成について示したブロック図である。 Figure 2 is a block diagram showing the internal configuration of the Web application server 10.
Webアプリケーションサーバ10の内部構成は、機能的には図2のように示すことができる。Webアプリケーションサーバ10としては、例えば、メモリ及びプロセッサを有するコンピュータ(例えば、PCやワークステーション等)を用いて構築することができる。 The internal configuration of the Web application server 10 can be functionally shown as in Figure 2. The Web application server 10 can be constructed using, for example, a computer with memory and a processor (e.g., a PC or workstation).
この実施形態では、Webアプリケーションサーバ10は、ポータル処理部11、処方箋予約処理部12、店頭サービス処理部13、対話処理部14、メッセージ処理部15、及びレポート処理部16を有している。 In this embodiment, the Web application server 10 includes a portal processing unit 11, a prescription reservation processing unit 12, a storefront service processing unit 13, a dialogue processing unit 14, a message processing unit 15, and a report processing unit 16.
Webアプリケーションサーバ10としては、例えば、種々のWebサーバ向けのミドルウェア(例えば、いわゆるApacheやnginx等)の環境上でプログラム(例えば、HTMLやPHP等を用いたプログラム)を実行することで実現することができる。 The web application server 10 can be implemented, for example, by executing a program (for example, a program using HTML or PHP) on an environment with middleware for various web servers (for example, so-called Apache or Nginx).
第1の実施形態では、Webアプリケーションサーバ10に組み込まれるプログラム(実施形態に係る薬局支援プログラム)には、図3に示すポータル処理部11、処方箋予約処理部12、店頭サービス処理部13、対話処理部14、メッセージ処理部15及びレポート処理部16のモジュールが含まれるものとする。なお、第1の実施形態の薬局支援プログラムに搭載するモジュールの組み合わせは上記の例に限定されないものである。Webアプリケーションサーバ10を構成する各モジュールの詳細については後述する。 In the first embodiment, the program incorporated into the Web application server 10 (the pharmacy support program according to the embodiment) includes the following modules: the portal processing unit 11, the prescription reservation processing unit 12, the in-store service processing unit 13, the dialogue processing unit 14, the message processing unit 15, and the report processing unit 16, as shown in Figure 3. Note that the combination of modules to be included in the pharmacy support program of the first embodiment is not limited to the example above. Details of each module constituting the Web application server 10 will be described later.
図3は、データベースサーバ20の内部構成について示したブロック図である。 Figure 3 is a block diagram showing the internal configuration of the database server 20.
データベースサーバ20は、Webアプリケーションサーバ10の処理で必要となる種々のデータを提供する装置である。 The database server 20 is a device that provides various data necessary for processing by the web application server 10.
データベースサーバ20は、データベースサーバ20としては、例えば、メモリ及びプロセッサを有するコンピュータ(例えば、PCやワークステーション等)を用いて構築することができる。 The database server 20 can be constructed using, for example, a computer with memory and a processor (e.g., a PC or workstation).
図3に示す通り、データベースサーバ20は、データベース処理部21、及びデータ記録部22を有している。 As shown in Figure 3, the database server 20 includes a database processing unit 21 and a data recording unit 22.
データ記録部22は、データベースサーバ20内での各処理で利用される各種データを記録するデータ記録手段である。図3に示す通り、データ記録部22には、少なくとも、薬局データベース2201、顧客データベース2202、MS顧客管理データベース2203、MS薬局管理データベース2204、処方箋予約データベース2205、処方箋データベース2206、処方箋薬データベース2207、薬品データベース2208、日付別テンプレートデータベース2209、薬品別テンプレートデータベース2210、配信管理データベース2211、及び回答管理データベース2212が記録されているものとする。データ記録部22に記録する各データの詳細構成については後述する。 The data recording unit 22 is a data recording means that records various data used in each process within the database server 20. As shown in Figure 3, the data recording unit 22 is assumed to record at least the following: pharmacy database 2201, customer database 2202, MS customer management database 2203, MS pharmacy management database 2204, prescription reservation database 2205, prescription database 2206, prescription drug database 2207, drug database 2208, date-specific template database 2209, drug-specific template database 2210, distribution management database 2211, and response management database 2212. The detailed configuration of each data recorded in the data recording unit 22 will be described later.
データベース処理部21は、データ記録部22に記録されたデータベースのデータ処理を行う。データベース処理部21は、例えば、種々のDBMS(Database Management System)を用いて構築することができる。したがって、データ記録部22に記録する各データベースは、データベース処理部21で対応するデータ構造で構成されている必要がある。データベース処理部21は、Webアプリケーションサーバ10の要求(命令)に応じて、データ記録部22に記録された各データベースのデータ処理(例えば、データの更新や読出しの処理)を行う。 The database processing unit 21 performs data processing on the databases recorded in the data recording unit 22. The database processing unit 21 can be constructed using, for example, various DBMS (Database Management Systems). Therefore, each database recorded in the data recording unit 22 must be configured with a data structure corresponding to that of the database processing unit 21. The database processing unit 21 performs data processing (for example, data updating or reading) on each database recorded in the data recording unit 22 in response to requests (commands) from the web application server 10.
次に、薬局端末30の内部構成について説明する。 Next, we will explain the internal configuration of the pharmacy terminal 30.
図4は、薬局端末30の内部構成の例について示したブロック図である。 Figure 4 is a block diagram showing an example of the internal configuration of the pharmacy terminal 30.
薬局端末30は、例えば、PC、タブレットPC等の種々の端末装置(コンピュータ;ハードウェア)を用いて構築することができる。図4では、薬局端末30のハードウェアとしてタブレットPCを適用した例について示している。 The pharmacy terminal 30 can be constructed using various terminal devices (computers; hardware), such as PCs and tablet PCs. Figure 4 shows an example where a tablet PC is used as the hardware for the pharmacy terminal 30.
図4に示すように、薬局端末30は、機能的には、タッチパネルディスプレイ31及びWebブラウザ43を有している。 As shown in Figure 4, the pharmacy terminal 30 functionally includes a touch panel display 31 and a web browser 43.
タッチパネルディスプレイ31は、薬局端末30を所持する薬局スタッフへの情報出力や、薬局スタッフからの入力(例えば、GUI画面を用いた入力)を受け付けるデバイス(ユーザインタフェースの機能を担うデバイス)である。第1の実施形態では、タブレットPCを用いて薬局端末30を構築する例について示しているが、薬局端末30においてユーザインタフェース(薬局スタッフからの入力手段及び薬局スタッフへの出力手段)を担うデバイスの種類は限定されないものである。 The touch panel display 31 is a device (a device that performs user interface functions) that outputs information to pharmacy staff holding the pharmacy terminal 30 and accepts input from pharmacy staff (for example, input using a GUI screen). While the first embodiment shows an example of constructing the pharmacy terminal 30 using a tablet PC, the type of device that performs the user interface (means for input from pharmacy staff and means for output to pharmacy staff) in the pharmacy terminal 30 is not limited.
Webブラウザ43としては、種々のWebブラウザを適用することができる。薬局端末30のWebブラウザ43は、Webアプリケーションサーバ10にアクセスして薬局向けのWebアプリケーションプログラムの提供を受けて実行することができる。なお、薬局端末30では、薬局向けのアプリケーションプログラムがWebベースではなく専用のアプリケーションとしてインストールされる構成としてもよい。ここでは、Webブラウザ43には、メッセージサービスシステム50(メッセージサービス)にアクセスしてログイン可能なプログラム(プラグイン)もインストールされているものとする。そして、Webブラウザ43の当該プラグインには、当該顧客端末40を利用するユーザのMSアカウントID及びパスワードが設定されているものとする。 Various web browsers can be applied as the web browser 43. The web browser 43 of the pharmacy terminal 30 can access the web application server 10 to receive and execute web application programs for pharmacies. Alternatively, the pharmacy terminal 30 may be configured to install the pharmacy application programs as dedicated applications rather than being web-based. Here, it is assumed that the web browser 43 also has a program (plugin) installed that allows access to and login to the message service system 50 (message service). Furthermore, it is assumed that the MS account ID and password of the user using the customer terminal 40 are set in this plugin of the web browser 43.
次に、顧客端末40の内部構成について説明する。 Next, we will explain the internal configuration of the customer terminal 40.
図5は、顧客端末40の内部構成の例について示した説明図である。 Figure 5 is an explanatory diagram showing an example of the internal configuration of the customer terminal 40.
顧客端末40は、例えば、スマートホン、PC、タブレットPC等の種々の端末装置(コンピュータ;ハードウェア)を用いて構築することができる。図5では、顧客端末40のハードウェアとしてスマートホンを適用した例について示している。 The customer terminal 40 can be constructed using various terminal devices (computers; hardware) such as smartphones, PCs, and tablet PCs. Figure 5 shows an example where a smartphone is used as the hardware for the customer terminal 40.
図5に示すように、顧客端末40は、機能的には、タッチパネルディスプレイ41、カメラ42、Webブラウザ43、及びメッセージサービスAP44を有している。 As shown in Figure 5, the customer terminal 40 functionally includes a touch panel display 41, a camera 42, a web browser 43, and a message service AP 44.
タッチパネルディスプレイ41は、顧客端末40を所持する顧客への情報出力や、顧客からの入力(例えば、GUI画面を用いた入力)を受け付けるデバイス(ユーザインタフェースの機能を担うデバイス)である。第1の実施形態では、スマートホンを用いて顧客端末40を構築する例について示しているが、顧客端末40においてユーザインタフェース(顧客からの入力手段及び顧客への出力手段)を担うデバイスの種類は限定されないものである。 The touch panel display 41 is a device (a device that performs user interface functions) that outputs information to the customer holding the customer terminal 40 and accepts input from the customer (for example, input using a GUI screen). While the first embodiment shows an example of constructing the customer terminal 40 using a smartphone, the type of device that performs the user interface (means for input from the customer and means for output to the customer) in the customer terminal 40 is not limited.
Webブラウザ43としては、種々のWebブラウザを適用することができる。顧客端末40のWebブラウザ43は、Webアプリケーションサーバ10にアクセスして顧客向けのWebアプリケーションプログラムの提供を受けて実行することができる。なお、顧客端末40では、顧客向けのアプリケーションプログラムがWebベースではなく専用のアプリケーションとしてインストールされる構成としてもよい。 Various web browsers can be applied as the web browser 43. The web browser 43 on the customer terminal 40 can access the web application server 10 to receive and execute customer-specific web application programs. Alternatively, the customer terminal 40 may be configured to install customer-specific application programs as dedicated applications rather than web-based applications.
カメラ42は、例えば、他のプログラム(Webブラウザ43やメッセージサービスAP44等)の呼出に応じて起動し、顧客の操作に応じて撮像(例えば、処方箋や二次元バーコードの撮像)を行って撮像した画像データを出力することができる。 Camera 42 can be activated, for example, in response to a call from another program (such as a web browser 43 or a message service AP 44), and can perform image capture (for example, capturing a prescription or a QR code) in response to customer operations, and output the captured image data.
メッセージサービスAP44は、メッセージサービスシステム50とメッセージの送受信を行うアプリケーションプログラムである。 Message service AP44 is an application program that sends and receives messages with the message service system 50.
次に、レセプトコンピュータ70の内部構成について説明する。 Next, we will explain the internal configuration of the medical billing computer 70.
図6は、レセプトコンピュータ70の内部構成の例について示した説明図である。 Figure 6 is an explanatory diagram showing an example of the internal configuration of the medical billing computer 70.
レセプトコンピュータ70は、例えば、PC等の種々の端末装置(コンピュータ;ハードウェア)を用いて構築することができる。図6では、レセプトコンピュータ70のハードウェアとしてPCを適用した例について示している。 The medical billing computer 70 can be constructed using various terminal devices (computers; hardware), such as a PC. Figure 6 shows an example where a PC is used as the hardware for the medical billing computer 70.
図6に示すように、レセプトコンピュータ70は、機能的には、タッチパネルディスプレイ41、タッチパネルディスプレイ71、及びレセプト処理プログラム72を有している。 As shown in Figure 6, the claims processing computer 70 functionally comprises a touch panel display 41, a touch panel display 71, and a claims processing program 72.
タッチパネルディスプレイ71は、レセプトコンピュータ70を所持する顧客への情報出力や、顧客からの入力(例えば、GUI画面を用いた入力)を受け付けるデバイス(ユーザインタフェースの機能を担うデバイス)である。レセプトコンピュータ70においてユーザインタフェース(顧客からの入力手段及び顧客への出力手段)を担うデバイスの種類は限定されないものである。 The touch panel display 71 is a device (a device that performs user interface functions) that outputs information to customers who possess the medical billing computer 70 and accepts input from customers (for example, input using a GUI screen). The type of device that performs the user interface (means of input from customers and means of output to customers) in the medical billing computer 70 is not limited.
調剤薬局におけるレセプトとは、患者への調剤(保険診療)に対する医療報酬について健康保険組合に請求する調剤明細書のことである。レセプト処理プログラム72は、処方箋の情報等に基づいて調剤明細書を作成するソフトウェアである。レセプト処理プログラム72としては、市販のパッケージソフトウェアであってもよく、具体的な構成は限定されないものである。 In a dispensing pharmacy, a "receipt" refers to a detailed dispensing statement submitted to the health insurance association for medical fees related to dispensing medication to a patient (insurance-covered medical treatment). The receipt processing program 72 is software that creates the detailed dispensing statement based on prescription information, etc. The receipt processing program 72 may be a commercially available package software, and its specific configuration is not limited.
アップロード処理部73は、レセプト処理プログラム72から出力される処方箋に関するデータ(以下、「処方箋データ」と呼ぶ)がレセプト処理プログラム72から供給されると、その処方箋データをWebアプリケーションサーバ10(処方箋予約処理部12)に供給する。処方箋予約処理部12は、供給された処方箋データに基づいて、データ記録部22(処方箋データベース2206)に各処方箋の詳細情報を登録する。 The upload processing unit 73 receives prescription data (hereinafter referred to as "prescription data") output from the claims processing program 72 and supplies that prescription data to the web application server 10 (prescription reservation processing unit 12). Based on the supplied prescription data, the prescription reservation processing unit 12 registers detailed information for each prescription in the data recording unit 22 (prescription database 2206).
通常、レセコンのパッケージソフトウェアでは、入力された処方箋の情報をテキストデータ(例えば、CSV形式等のデータ)として所定のフォルダに出力する機能(以下、「処方箋データ出力機能」と呼ぶ)に対応している。この実施形態においては、アップロード処理部73は、レセプト処理プログラム72の処方箋データ出力機能を利用して、処方箋データを取得し、Webアプリケーションサーバ10(処方箋予約処理部12)にアップロードする処理を行う。 Typically, prescription processing software packages include a function to output the entered prescription information as text data (e.g., data in CSV format) to a designated folder (hereinafter referred to as the "prescription data output function"). In this embodiment, the upload processing unit 73 uses the prescription data output function of the claims processing program 72 to acquire prescription data and upload it to the Web application server 10 (prescription reservation processing unit 12).
次に、Webアプリケーションサーバ10を構成する各モジュールの概要について説明する。 Next, we will describe the overview of each module that makes up the Web application server 10.
ポータル処理部11は、顧客端末40に対して、薬局に関する情報や検索サービス等のポータル機能を提供するモジュールである。ここでは、ポータル処理部11は、少なくとも、顧客が所持する処方箋に基づいた処方を受けるための薬局を検索するサービスを提供するものとする。ポータル処理部11は、顧客の操作(例えば、キーワードや現在位置)に応じた薬局の候補を顧客に提示する。その際、ポータル処理部11は、薬局の名称、連絡先だけでなく当該薬局のメッセージサービスシステム50上のアカウント(以下、「メッセージアカウント」または「MSアカウント」と呼ぶ)にアクセスするためのリンクボタンを提供する。 The portal processing unit 11 is a module that provides portal functions, such as information and search services related to pharmacies, to the customer terminal 40. Here, the portal processing unit 11 provides at least a service to search for pharmacies where the customer can obtain prescriptions based on their existing prescriptions. The portal processing unit 11 presents the customer with a list of pharmacy candidates based on their actions (e.g., keywords or current location). In doing so, the portal processing unit 11 provides not only the pharmacy's name and contact information, but also a link button to access the pharmacy's account on the message service system 50 (hereinafter referred to as the "message account" or "MS account").
処方箋予約処理部12は、顧客(顧客端末40)から処方箋に基づく調剤の予約(以下、「処方箋予約」と呼ぶ)を受け付ける処理を行うモジュールである。処方箋予約処理部12は、顧客端末40からWeb接続を受けて処方箋予約を受け付け可能なWeb画面(GUI画面)を提供するようにしてもよいが、ここでは、処方箋予約処理部12は、メッセージサービスシステム50を介したユーザインタフェースで、処方箋予約を受け付ける処理も可能であるものとする。 The prescription reservation processing unit 12 is a module that processes prescription-based dispensing reservations (hereinafter referred to as "prescription reservations") from customers (customer terminals 40). While the prescription reservation processing unit 12 may provide a web screen (GUI screen) that accepts prescription reservations via a web connection from the customer terminal 40, here it is assumed that the prescription reservation processing unit 12 can also process prescription reservations through a user interface via the message service system 50.
店頭サービス処理部13は、薬局端末30(Webブラウザ43)に対して、薬局内の業務で必要となるWeb画面(GUI画面)を提供して種々の情報提供や処理受付を行うモジュールである。 The in-store service processing unit 13 is a module that provides the pharmacy terminal 30 (Web browser 43) with web screens (GUI screens) necessary for pharmacy operations, and handles various information provision and processing requests.
メッセージ処理部15は、メッセージサービスシステム50とのインタフェースの機能を担っている。メッセージ処理部15は、各薬局のMSアカウントIDを用いて顧客のMSアカウントIDとメッセージ送受信する処理を行う。メッセージ処理部15は、メッセージサービスシステム50に接続したメッセージ交換等を行うためのAPI(Application Programming Interface)機能を用いて構成するようにしてもよい。 The message processing unit 15 is responsible for the interface function with the message service system 50. The message processing unit 15 performs message sending and receiving with the customer's MS account ID using each pharmacy's MS account ID. The message processing unit 15 may also be configured using an API (Application Programming Interface) function for message exchange and other functions connected to the message service system 50.
対話処理部14は、メッセージサービスシステム50を介して、顧客(顧客端末40)と対話をする処理(以下、「対話処理」と呼ぶ)を行う。例えば、対話処理部14は、処方箋に基づいて顧客に調剤(処方)した処方薬の内容(履歴)に基づいて、顧客(顧客端末40)との対話処理を行うようにしてもよい。 The dialogue processing unit 14 performs dialogue processing (hereinafter referred to as "dialogue processing") with the customer (customer terminal 40) via the message service system 50. For example, the dialogue processing unit 14 may perform dialogue processing with the customer (customer terminal 40) based on the contents (history) of the prescription drugs dispensed (prescribed) to the customer based on the prescription.
また、例えば、対話処理部14は、薬品師の操作(薬局端末30からの制御)に応じた任意のメッセージ送受信を、顧客(顧客端末40)との間で行うようにしてもよい。 Furthermore, for example, the dialogue processing unit 14 may be configured to send and receive arbitrary messages with the customer (customer terminal 40) in response to the pharmacist's actions (control from the pharmacy terminal 30).
対話処理部14は、設定された対話シナリオ(顧客との対話のシナリオ)を定義したデータ(以下、「対話シナリオデータ」と呼ぶ)に従って、顧客(顧客端末40)と対話処理を行う。 The dialogue processing unit 14 performs dialogue processing with the customer (customer terminal 40) according to data defining the configured dialogue scenario (a scenario for dialogue with the customer) (hereinafter referred to as "dialogue scenario data").
図7は、対話シナリオデータの構成概要について示した図である。 Figure 7 shows an overview of the structure of the dialogue scenario data.
この実施形態の対話シナリオデータには、対話シナリオにおいて顧客に送信するメインストリーム(本流)のメッセージを定義するデータ(以下、「メッセージデータ」と呼ぶ)と、顧客に対してメインストリームのメッセージ(メッセージデータ)に対応する入力(例えば、選択肢の選択やメッセージの返答)を要求して受け付ける処理を定義するデータ(以下、「入力要求データ」と呼ぶ)が含まれているものとする。 The dialogue scenario data in this embodiment includes data defining the mainstream message to be sent to the customer in the dialogue scenario (hereinafter referred to as "message data"), and data defining the process of requesting and receiving input from the customer corresponding to the mainstream message (message data) (for example, selection of options or response to the message) (hereinafter referred to as "input request data").
図7に示す対話シナリオデータは、7つのメッセージデータMD001~MD007と、6つの入力要求データOD001~OD006により構成されている。図7では、各データの接続関係(論理的な接続(リンク)の関係)を各データのシンボル間の線により図示している。 The dialogue scenario data shown in Figure 7 consists of seven message data (MD001-MD007) and six input request data (OD001-OD006). In Figure 7, the connection relationships (logical links) between each data are illustrated by lines between the symbols of each data.
対話シナリオデータでは、各メッセージデータの順序(送信順序)と、各入力要求データのリンク先となるメッセージデータが記述されているものとする。 The dialogue scenario data should include the order (transmission order) of each message data and the message data to which each input request data is linked.
対話シナリオデータにおいて、各メッセージデータの順序を定義する方法は限定されないものである。例えば、対話シナリオデータにおいて、各メッセージデータに順序番号を設定するカラムを設けるようにしてもよいし、各メッセージデータを順序に応じた並びで連結したリスト構造とするようにしてもよい。図7では、メッセージデータMD001~MD007の順序で、各メッセージデータが連結(例えば、ポインタや配列等の種々の連結方法により連結)された構造となっているものとする。例えば、図7では、メッセージデータMD001の次にメッセージデータMD002がリンクされており、メッセージデータMD002の次にメッセージデータMD003がリンクされており・・・、メッセージデータMD006の次にメッセージデータMD007がリンクされている。したがって、図7に示す対話シナリオデータにおいては、メッセージデータMD001~MD007の順にメッセージ送信処理が行われることを示している。 The method for defining the order of each message data in the dialogue scenario data is not limited. For example, the dialogue scenario data may include a column for assigning a sequence number to each message data, or it may be structured as a list in which each message data is linked in the order indicated. In Figure 7, the message data MD001 to MD007 are linked (for example, by various linking methods such as pointers or arrays). For example, in Figure 7, message data MD002 is linked after message data MD001, message data MD003 is linked after message data MD002, and so on, until message data MD007 is linked after message data MD006. Therefore, the dialogue scenario data shown in Figure 7 indicates that the message transmission process is performed in the order of message data MD001 to MD007.
また、対話シナリオデータでは、1又は複数の入力要求データがリンクされる。 Furthermore, dialogue scenario data contains links to one or more input request data.
ここでは、各メッセージデータには、顧客に送信するメッセージを記述する「メッセージ本文」と当該メッセージ本文の送信タイミングを示すデータが設定されているものとする。 Here, each message data entry is assumed to contain a "message body" that describes the message to be sent to the customer, and data indicating the timing of the message body's transmission.
各入力要求データは、選択肢の表記(例えば、「ある」、「ない」等の選択肢の表記)を記述する「表記選択肢」、当該選択肢が選択された場合(表記選択肢の選択肢が選択された場合)の挙動(例えば、「なにもせずに次の処理へ移行」や「所定のメッセージを返信する処理」等)を記述する「挙動」、当該選択肢が選択された場合に返信するテキストを記述する「返信テキスト」の項目のデータが含まれているものとする。この実施形態では、表記選択肢には、「ある」または「ない」のいずれかのみが入力可能であるものとして説明する。なお、表記選択肢の表記の形式や種類の数については限定されないものであるが、この実施形態では、上記の「ある」、「ない」の2つであるものとして以下の説明を行う。 Each input request data set includes data for the following fields: "Notation Option," which describes the notation of the option (e.g., "Yes," "No," etc.); "Behavior," which describes the action taken when that option is selected (e.g., "Proceed to the next process without doing anything" or "Reply a predetermined message"); and "Reply Text," which describes the text to be sent when that option is selected. In this embodiment, only "Yes" or "No" can be entered as the notation option. While the format and number of notations for the notation options are not limited, in this embodiment, the following explanation assumes only "Yes" and "No."
ここでは、入力要求データを構成する挙動の項目は、当該選択肢が選択された場合になにもせずに次の処理へ移行することを示す値(ここでは「なにもしない」と表記するがフラグ形式としてもよい)、又は当該選択肢が選択された場合に「返信テキスト」の項目に設定されたテキストを返信することを示す値(ここでは「テキストを返信」と表記するがフラグ形式としてもよい)のいずれかが設定可能であるものとして説明する。なお、入力要求データにおいて、挙動が「なにもしない」であった場合には、返信テキストの項目は空欄(例えば、「NULL」)としてもよい。 Here, the behavior field in the input request data can be set to either a value indicating that if the option is selected, the system will proceed to the next process without taking any action (referred to here as "Do nothing," but this can also be expressed as a flag), or a value indicating that if the option is selected, the text set in the "Reply Text" field will be sent back (referred to here as "Reply Text," but this can also be expressed as a flag). Note that if the behavior in the input request data is "Do nothing," the "Reply Text" field may be left blank (for example, "NULL").
例えば、メッセージデータMD001には、入力要求データはリンクされていないため、設定されたタイミングで、メッセージ本文に設定されたテキスト(いつもご利用ありがとうございます・・・)を顧客のアカウントに送信し、次のメッセージデータMD002の処理に移行することを示している。 For example, since message data MD001 does not have any linked input request data, it indicates that, at the set timing, the text set in the message body (Thank you for your continued patronage...) will be sent to the customer's account, and the process will proceed to the next message data MD002.
そして、メッセージデータMD002には、2つの入力要求データOD001、OD002がリンクされているため、設定されたタイミングで、メッセージ本文に設定されたテキスト(いつもご利用ありがとうございます。お薬の服用状況をお聞かせください。)を送信すると共に、第1の入力要求データOD001に設定された表記選択肢(ない)又は第2の入力要求データOD002に設定された表記選択肢(ある)を顧客に提示していずれかの選択肢(「はい」又は「いいえ」のいずれか)を選択入力(例えば、LINEアプリケーション上の選択入力)を受付け、選択された選択肢に応じた「挙動」の処理を実行した後に、次のメッセージデータMD003の処理に移行することを示している。 Furthermore, since message data MD002 is linked to two input request data OD001 and OD002, it indicates that at the set timing, the text set in the message body (Thank you for your continued patronage. Please tell us about your medication status.) will be sent, and at the same time, the customer will be presented with either the notation option set in the first input request data OD001 (none) or the notation option set in the second input request data OD002 (yes), and the selection input (either "yes" or "no") will be accepted (for example, via selection input on the LINE application). After executing the "behavior" according to the selected option, the process will proceed to the next message data MD003.
たとえば、第1の入力要求データOD001には、表記選択肢「ない」、挙動「なにもしない」、返信テキスト「空欄」が設定されているため、当該選択肢「ない」が選択された場合には、なにもせずに次のメッセージデータMD004の処理に移行することを示している。また、第1の入力要求データOD001には、表記選択肢「ある」、挙動「テキストを返信」、返信テキスト「どのような症状が、いつ頃からありますか?」が設定されているため、当該選択肢「ある」が選択された場合には、返信テキスト「どのような症状が、いつ頃からありますか?」を顧客に送信すると共に顧客からのテキスト入力(返信)を受け付けて、入力(返信)されたテキストを顧客からの回答として保持した後に、次のメッセージデータMD004の処理に移行することを示している。 For example, the first input request data OD001 has the notation option "None," the behavior "Do nothing," and the reply text "Blank." Therefore, if the option "None" is selected, the system proceeds to the next message data MD004 without taking any action. Also, the first input request data OD001 has the notation option "Yes," the behavior "Reply with text," and the reply text "What symptoms are you experiencing, and since when?". Therefore, if the option "Yes" is selected, the system sends the reply text "What symptoms are you experiencing, and since when?" to the customer, receives text input (reply) from the customer, retains the input (reply) text as the customer's response, and then proceeds to the next message data MD004.
なお、この実施形態では、1つのメッセージデータに対して、2つの入力要求データがリンク可能であるものとして説明する。言い換えると、この実施形態の対話シナリオデータでは、入力要求データがリンクされていないメッセージデータ(回答を要求せずに一方的に送信するだけのメッセージデータ;以下、「質問無しメッセージデータ」と呼ぶ)と、2つの入力要求データがリンクされたメッセージデータ(2つの選択肢が設定されたメッセージデータ;以下、「質問有りメッセージデータ」と呼ぶ)の2種類だけが存在するものとして説明する。 In this embodiment, it is assumed that two input request data can be linked to one message data. In other words, in this embodiment, the dialogue scenario data consists of only two types: message data that is not linked to input request data (message data that is sent unilaterally without requesting a response; hereinafter referred to as "message data without questions") and message data to which two input request data are linked (message data with two options set; hereinafter referred to as "message data with questions").
また、図7に示すように、各メッセージデータには、送信するメッセージのテキスト(以下、「送信テキスト」と呼ぶ)の他に、送信テキスト(メッセージ)を配信する日付を決定するためのデータ(以下、「配信タイミング決定情報」と呼ぶ)が設定されている。 Furthermore, as shown in Figure 7, each message data contains not only the text of the message to be sent (hereinafter referred to as "sending text"), but also data for determining the date on which the sending text (message) will be delivered (hereinafter referred to as "delivery timing determination information").
配信タイミング決定情報には、処方箋づき処方された薬品の服用期間内の日(例えば、服用期間の初日、最終日、中間日等)を指定するための情報(以下、「配信日属性」と呼ぶ)が含まれている。ここでは、配信日属性には、服用期間の初日を示す「初日」、服用期間の最終日を示す「最終日」、初日と最終日の間の日を示す「中間日」のいずれかが設定されるものとして説明する。例えば、対話処理部14では、服用期間内に中間日が1日だけ設定されている場合は、中間日は、初日と最終日の丁度中間となる日に設定(例えば、服用期間が15日間であれば、中間となる8日目に設定)してもよい。また、例えば、対話処理部14では、服用期間内に中間日が複数日設定されている場合は、初日と最終日の間でそれぞれの中間日が等間隔となるように設定するようにしてもよい。 The information used to determine the delivery timing includes information (hereinafter referred to as "delivery date attribute") for specifying the days within the medication period prescribed by the user (e.g., the first day, last day, and intermediate days of the medication period). Here, the delivery date attribute is assumed to be set to either "first day" (indicating the first day of the medication period), "last day" (indicating the last day of the medication period), or "intermediate day" (indicating the day between the first and last days). For example, if only one intermediate day is set within the medication period, the dialogue processing unit 14 may set the intermediate day to be exactly halfway between the first and last days (for example, if the medication period is 15 days, it may be set to the 8th day, which is the halfway point). Alternatively, if multiple intermediate days are set within the medication period, the dialogue processing unit 14 may set them so that each intermediate day is equally spaced between the first and last days.
図7に示すように、対話シナリオデータでは、各メッセージデータに、配信日属性に加えて、当該メッセージデータに設定された中間日の順序(以下、「中間日順序」と呼ぶ)が設定されるものとする。例えば、中間日が1つだけ設定されている対話シナリオデータには、中間日順序として1だけが設定され、中間日が2つ設定されている対話シナリオデータには中間日順序として1又は2が設定するようにしてもよい。 As shown in Figure 7, in the dialogue scenario data, each message data is assigned a delivery date attribute, as well as the order of the intermediate dates set for that message data (hereinafter referred to as the "intermediate date order"). For example, a dialogue scenario data with only one intermediate date may be assigned only the intermediate date order 1, while a dialogue scenario data with two intermediate dates may be assigned either 1 or 2 as the intermediate date order.
対話シナリオデータにおいて、先頭から1又は複数のメッセージデータには、配信日属性に初日が設定され、後端から1又は複数のメッセージデータには配信日属性に最終日が設定され、それ以外のメッセージデータ(初日と最終日の間のメッセージデータ)の配信日属性に中間日が設定される。 In the dialogue scenario data, the first or more message data at the beginning will have the first day set as the delivery date attribute, the last or more message data at the end will have the last day set as the delivery date attribute, and the remaining message data (message data between the first and last days) will have an intermediate day set as the delivery date attribute.
この実施形態においては、対話シナリオデータにおいて、初日及び最終日には質問無しメッセージデータのみが設定され、質問有りメッセージデータは中間日にのみ設定されるものとして説明する。なお、顧客に対して同じ日に大量の質問有りメッセージデータを送信することは所定数以下とすることが望ましい(顧客の負担となるため)。そのため、この実施形態では、対話シナリオデータにおいて1つの中間日に設定する質問有りメッセージデータは3つ以下に制限されるものとして説明する。 In this embodiment, the dialogue scenario data is described as having only message data without questions set on the first and last days, and message data with questions set only on intermediate days. It is desirable to limit the number of message data with questions sent to the customer on the same day to a predetermined number (as this would be burdensome for the customer). Therefore, in this embodiment, the number of message data with questions set on a single intermediate day in the dialogue scenario data is limited to three or fewer.
例えば、図7に示す対話シナリオデータでは、先頭のメッセージデータMD001の配信日属性が初日に設定され、末尾のメッセージデータMD007には最終日が設定され、その間のメッセージデータMD002~MD006の配信日属性に中間日が設定されている。図7に示す対話シナリオデータでは、中間日は1つだけであるため、メッセージデータMD002~MD006の中間日順序には1が設定されている。 For example, in the dialogue scenario data shown in Figure 7, the delivery date attribute of the first message data MD001 is set to the first day, the last message data MD007 is set to the final day, and the delivery date attributes of the message data MD002 to MD006 are set to intermediate days. In the dialogue scenario data shown in Figure 7, there is only one intermediate day, so the intermediate day order of message data MD002 to MD006 is set to 1.
なお、例えば、図7に示す対話シナリオデータにおいて、中間日が2つ設定されているとした場合、メッセージデータMD006、MD007の間に配信日属性を「中間日」とし中間日順序を2とするメッセージデータが設定されるようにしてもよい。 For example, if two intermediate days are set in the dialogue scenario data shown in Figure 7, a message data with the delivery date attribute set to "intermediate day" and the intermediate day order set to 2 may be set between message data MD006 and MD007.
以上のように、対話シナリオデータでは、質問有りメッセージデータの構造を固定(入力要求データのリンク数を2つに制限する等)することで、シナリオの構成を木構造(複数分岐の構造)とせずにウォーターフロー型の簡易な構造とし、登録(例えば、店舗の薬品師による登録)を容易としつつ、顧客にとってわかりやすい対話内容としている。薬品に関して顧客(患者)に質問することの形式は概ね定型的とすることができるため、複雑な木構造とするよりも上記のように固定的な形式とすることで、登録を容易としつつ顧客(患者)も応答しやすい形式とすることができる。 As described above, in the dialogue scenario data, by fixing the structure of the question-containing message data (for example, limiting the number of links in the input request data to two), the scenario structure is simplified into a waterflow type rather than a tree structure (a structure with multiple branches). This facilitates registration (for example, registration by a pharmacist at a store) while ensuring the dialogue content is easy for the customer to understand. Since the format of questions asked to the customer (patient) regarding medication can generally be standardized, adopting a fixed format as described above, rather than a complex tree structure, makes registration easier and the format more user-friendly for the customer (patient).
この実施形態では、データ記録部22では、日付別テンプレートデータベース2209及び薬品別テンプレートデータベース2210に上記の対話シナリオデータが対話シナリオのテンプレートとして記録されるものとする。以下では、対話シナリオデータを単に「テンプレート」とも呼ぶものとする。 In this embodiment, the data recording unit 22 records the above-mentioned dialogue scenario data as dialogue scenario templates in the date-specific template database 2209 and the drug-specific template database 2210. Hereafter, the dialogue scenario data will also be simply referred to as "templates."
この実施形態では、日付別テンプレートデータベース2209は、対象となる処方箋に基づく服用期間(以下、「対象期間」と呼ぶ)に応じたテンプレート(対話シナリオデータ)が記録されるものとする。例えば、日付別テンプレートデータベース2209では、処方箋に基づく服用期間が5日以下である場合、6日~45日の間である場合、46日以上90日以下である場合・・・等のパターンに対応するテンプレートを保持するようにしてもよい。また、日付別テンプレートデータベース2209では、服用期間の設定されていない処方箋(例えば、頓服薬や外用薬のみが処方された処方箋)に応じたテンプレートを保持(例えば、服用期間が0日のテンプレートとして保持)するようにしてもよい。 In this embodiment, the date-based template database 2209 records templates (dialogue scenario data) corresponding to the duration of medication use based on the prescription (hereinafter referred to as the "target period"). For example, the date-based template database 2209 may store templates corresponding to patterns such as when the duration of medication use based on the prescription is 5 days or less, between 6 and 45 days, between 46 and 90 days, etc. Furthermore, the date-based template database 2209 may also store templates corresponding to prescriptions without a set duration of use (for example, prescriptions containing only as-needed medication or topical medications) (for example, a template with a duration of use of 0 days).
また、この実施形態では、薬品別テンプレートデータベース2210には、薬品(処方薬)に応じたテンプレート(対話シナリオデータ)が記録されるものとする。この実施形態では、薬品別テンプレートデータベース2210には、薬品データベース2208に登録されている薬品のうち、一部の薬品についてのみテンプレートが登録されているものとして説明する。具体的には、この実施形態では、薬品データベース2208には、所定の条件に該当する薬品(以下、「テンプレート登録該当薬品」と呼ぶ)についてのみ当該薬品に適合したメッセージや質問が含まれるテンプレートが登録されるものとする。この実施形態の例では、いわゆるハイリスクの薬品(服用に際して比較的副作用等のリスクが高い薬品)についてのみテンプレート登録該当薬品として薬品別テンプレートデータベース2210にテンプレートが登録されているものとする。言い換えると、この実施形態では、薬品データベース2208には、テンプレート登録該当薬品のみについて対話シナリオデータが登録されているものとする。 Furthermore, in this embodiment, the drug-specific template database 2210 records templates (dialogue scenario data) corresponding to drugs (prescription drugs). In this embodiment, the drug-specific template database 2210 is described as containing templates only for some of the drugs registered in the drug database 2208. Specifically, in this embodiment, the drug database 2208 contains templates that include messages and questions suitable for drugs that meet predetermined conditions (hereinafter referred to as "template-registered drugs"). In this example, templates are registered in the drug-specific template database 2210 only for so-called high-risk drugs (drugs with a relatively high risk of side effects, etc., when taken). In other words, in this embodiment, the drug database 2208 contains dialogue scenario data only for template-registered drugs.
ここでは、対話処理部14は、処方箋に応じた服用期間(例えば、処方箋に含まれる薬品のうち最も服用期間の長いもの服用期間)や処方箋に含まれる薬品に応じたテンプレートを組み合わせて実際に顧客との対話の内容(送受信するメッセージの内容)を決定するようにしてもよい。対話処理部14は、処方箋にテンプレート登録該当薬品(薬品別テンプレートデータベース2210にテンプレートが登録されている薬品)が含まれる場合、当該薬品のテンプレートの質問(中日に設定された質問有りメッセージデータ)を優先的に配信(日付別テンプレートデータベース2209のテンプレートよりも優先して配信)するものとして説明する。言い換えると、この実施形態では、対話処理部14は、中間日ごとに、薬品別テンプレートと日付別テンプレートのいずれかを選択して適用するようにしてもよい。 Here, the dialogue processing unit 14 may determine the actual content of the conversation with the customer (the content of the messages sent and received) by combining the duration of medication prescribed (for example, the duration of medication with the longest duration among the medications included in the prescription) and templates corresponding to the medications included in the prescription. The dialogue processing unit 14 will be described as prioritizing the delivery of questions from the template of the medication (message data with questions set for the intermediate day) when the prescription includes a medication for which a template is registered (a medication for which a template is registered in the medication-specific template database 2210). In other words, in this embodiment, the dialogue processing unit 14 may select and apply either a medication-specific template or a date-specific template for each intermediate day.
日付別テンプレートデータベース2209及び薬品別テンプレートデータベース2210の内部構成の詳細については後述する。 Details of the internal structure of the date-based template database 2209 and the drug-based template database 2210 will be described later.
次に、レポート処理部16の概要について説明する。 Next, we will explain the overview of the report processing unit 16.
レポート処理部16は、対話処理部14が行った対話処理の内容を反映させた、服薬(処方箋に基づいて調剤した内容に基づく服薬)に関するレポートを作成する。 The report processing unit 16 creates a report on medication (medication based on the prescription and dispensing content) that reflects the content of the dialogue processing performed by the dialogue processing unit 14.
レポート処理部16が作成するレポートの内容は限定されないものであるが、この実施形態では、いわゆる「トレーシングレポート」(服薬情報提供書)のフォーマットに従ったレポートを作成して出力(例えば、印刷可能なデータとして出力)するようにしてもよい。 The content of the report generated by the report processing unit 16 is not limited, but in this embodiment, it may be configured to generate and output a report in the format of a so-called "tracing report" (medication information sheet) (for example, output as printable data).
トレーシングレポート(服薬情報提供書)とは、薬局(保険薬局)で患者から薬剤師が聞き取った副作用やアドヒアランス(患者が積極的に治療方針の決定に参加し、その決定に従って治療を受けること)に関する情報など、薬剤師から医師に情報提供すべきと考えられる事項を伝えるためのレポートである。 A tracing report (medication information sheet) is a report that a pharmacist at a pharmacy (community pharmacy) has gathered from a patient to convey information that the pharmacist believes should be provided to the physician, such as information on side effects and adherence (the patient's active participation in treatment decision-making and following those decisions).
言い換えると、対話処理部14が処理する対話シナリオデータは、このトレーシングレポートに関連する内容(例えば、副作用やアドヒアランスに関する情報)を顧客(患者)から聴き取りするための内容となっているものとする。 In other words, the dialogue scenario data processed by the dialogue processing unit 14 consists of information related to this tracing report (for example, information on side effects and adherence) that is gathered from the customer (patient).
次に、データ記録部22を構成する各データベース(データベース)の構成例について説明する。以下では、説明を簡易とするため、データ記録部22を構成する各データベース(データベース)をテーブル形式で図示するが、実際には種々のデータベースのデータ構造を用いることができる。 Next, we will describe examples of the configurations of each database that constitutes the data recording unit 22. For simplicity, the databases constituting the data recording unit 22 are shown in table format below; however, various database data structures can actually be used.
図8は、薬局データベース2201の構成例について示した説明図である。 Figure 8 is an explanatory diagram showing an example of the structure of the pharmacy database 2201.
薬局データベース2201は、各薬局に関するデータを管理するためのデータベースである。 Pharmacy Database 2201 is a database for managing data related to each pharmacy.
図8に示す薬局データベース2201では、薬局ごとに、薬局を識別管理するための「薬局ID」、「薬局名」、「住所」、「電話番号」を含む項目の情報が登録されている。 In the pharmacy database 2201 shown in Figure 8, information including "pharmacy ID," "pharmacy name," "address," and "telephone number" is registered for each pharmacy to identify and manage the pharmacy.
図9は、顧客データベース2202の構成例について示した説明図である。 Figure 9 is an explanatory diagram showing an example configuration of the customer database 2202.
顧客データベース2202は、各顧客(ユーザ)に関するデータを管理するためのデータベースである。 The customer database 2202 is a database for managing data related to each customer (user).
図9に示す顧客データベース2202では、顧客ごとに、顧客を識別管理するための「顧客ID」、「氏名」、「生年月日」、「性別」、及び「電話番号」を含む項目の情報が登録されている。 In the customer database 2202 shown in Figure 9, information including "Customer ID," "Name," "Date of Birth," "Gender," and "Telephone Number" is registered for each customer to identify and manage them.
図10は、MS顧客管理データベース2203の構成例について示した説明図である。 Figure 10 is an explanatory diagram showing an example configuration of the MS Customer Management Database 2203.
MS顧客管理データベース2203は、各顧客(ユーザ)のMSアカウントIDを管理するためのデータベースである。 The MS Customer Management Database 2203 is a database for managing the MS Account ID of each customer (user).
図10に示すMS顧客管理データベース2203では、顧客ごとに、「顧客ID」、及び「MSアカウントID」を含む項目の情報が登録されている。 In the MS Customer Management Database 2203 shown in Figure 10, information including "Customer ID" and "MS Account ID" is registered for each customer.
図11は、MS薬局管理データベース2204の構成例について示した説明図である。 Figure 11 is an explanatory diagram showing an example of the configuration of the MS pharmacy management database 2204.
MS薬局管理データベース2204は、各薬局のMSアカウントIDを管理するためのデータベースである。 The MS Pharmacy Management Database 2204 is a database for managing the MS account IDs of each pharmacy.
図11に示すMS薬局管理データベース2204では、薬局ごとに、「薬局ID」、及び「MSアカウントID」を含む項目の情報が登録されている。 In the MS pharmacy management database 2204 shown in Figure 11, information including the "Pharmacy ID" and "MS Account ID" is registered for each pharmacy.
図12は、薬品データベース2208の構成例について示した説明図である。 Figure 12 is an explanatory diagram showing an example of the configuration of the drug database 2208.
薬品データベース2208は、処方箋により調剤する薬品(医薬品)を管理するためのデータベースである。 Drug Database 2208 is a database for managing medications (pharmaceuticals) dispensed according to prescriptions.
図12に示す薬品データベース2208では、薬品ごとに、薬品を識別するための「薬品ID」、「薬品名」、薬品のコード番号(例えば、薬価基準収載医薬品コード番号等)を管理するための「薬品コード」を含む項目の情報が登録されている。 In the drug database 2208 shown in Figure 12, information is registered for each drug, including items such as a "drug ID" for identifying the drug, a "drug name," and a "drug code" for managing the drug's code number (e.g., the drug price standard listed drug code number).
図13は、処方箋予約データベース2205の構成例について示した説明図である。 Figure 13 is an explanatory diagram showing an example of the configuration of the prescription reservation database 2205.
処方箋予約データベース2205は、処方箋予約処理部12の処理で顧客から受け付けた処方箋予約を管理するためのデータベースである。 The prescription reservation database 2205 is a database for managing prescription reservations received from customers through the processing of the prescription reservation processing unit 12.
図13に示す処方箋予約データベース2205では、処方箋予約ごとに、処方箋予約を識別するための「処方箋予約ID」、処方箋予約の宛先となる「薬局ID」、当該処方箋予約を行った顧客の「氏名」、当該処方箋予約を行った顧客の「生年月日」、当該処方箋予約について受け付けた「予約時間」、当該処方箋の処方にあたってジェネリック薬での処方を希望するか否かを示す「ジェネリック」(1:ジェネリックを希望する、0:ジェネリックを希望しない)、及び当該処方箋予約の処方箋を撮像した画像(以下、「処方箋画像」と呼ぶ)のデータを示す「処方箋画像データ」の情報が登録されている。 In the prescription reservation database 2205 shown in Figure 13, each prescription reservation registers the following information: a "prescription reservation ID" to identify the reservation, a "pharmacy ID" to which the reservation is addressed, the "name" of the customer who made the reservation, the "date of birth" of the customer who made the reservation, the "reservation time" when the reservation was received, "generic" (1: generics desired, 0: generics not desired) indicating whether the customer wishes to be prescribed generic drugs for the reservation, and "prescription image data" showing the image of the prescription for that reservation (hereinafter referred to as "prescription image").
処方箋データの項目には、処方箋画像データ自体又は処方箋画像データのファイルへアクセスするリンク情報を登録するようにしてもよい。また、第1の実施形態では、処方箋予約データベース2205で処方箋画像データを直接管理する構成としているが、具体的なデータベース(テーブル)の構造は限定されないものであり、複数のデータベース(テーブル)を用いて管理するようにしてもよい。 The prescription data fields may include either the prescription image data itself or link information to access the prescription image data file. Furthermore, while the first embodiment directly manages prescription image data in the prescription reservation database 2205, the specific database (table) structure is not limited, and management may be carried out using multiple databases (tables).
図14は、処方箋データベース2206の構成例について示した説明図である。 Figure 14 is an explanatory diagram showing an example of the configuration of the prescription database 2206.
処方箋データベース2206は、店頭サービス処理部13の処理で処方箋に基づいて処方を行った際の記録を管理するためのデータベースである。 The prescription database 2206 is a database for managing records of prescriptions issued based on prescriptions processed by the over-the-counter service processing unit 13.
図14に示す処方箋データベース2206では、処方箋ごとに、処方箋を識別するための「処方箋ID」、当該処方箋に基づく調剤を行った薬局の「薬局ID」、当該処方箋に基づく調剤を行った先の「顧客ID」、及び当該処方箋に基づく調剤を行った日付を示す「調剤年月日」、「服薬開始日」、「服薬終了日」、「医療機関名」、「処方医」、「担当薬剤師」を含む項目の情報が登録されている。 In the prescription database 2206 shown in Figure 14, each prescription is registered with information including a "prescription ID" to identify the prescription, a "pharmacy ID" of the pharmacy that dispensed the medication based on that prescription, a "customer ID" of the recipient of the medication, and information such as the "dispensing date," "medication start date," "medication end date," "medication institution name," "prescribing physician," and "attending pharmacist."
図15は、処方箋薬データベース2207の構成例について示した説明図である。 Figure 15 is an explanatory diagram showing an example of the structure of the prescription drug database 2207.
処方箋薬データベース2207は、処方箋データベース2206で管理される各処方箋で処方された各処方箋薬を管理するためのデータベースである。例えば、処方箋データベース2206上で管理される任意の処方箋が、2つの処方薬を処方する内容であった場合、処方箋薬データベース2207では、当該処方箋に対応する2つの処方箋薬のデータ(2つのレコードのデータ)がそれぞれ別個に登録されることになる。 The prescription drug database 2207 is a database for managing each prescription drug prescribed under each prescription managed in the prescription drug database 2206. For example, if any prescription managed in the prescription drug database 2206 prescribes two drugs, the prescription drug database 2207 will register the data for those two drugs (two separate records) separately.
図15に示す処方箋薬データベース2207では、処方箋薬ごとに、処方箋薬を識別するための「処方箋薬ID」、当該処方箋薬に対応する処方箋を識別するための「処方箋ID」、「薬品コード」、「薬品名」、当該処方薬の一日当たりの処方量を示す「1日量」、当該処方薬の処方量(処方された合計量)を示す「調剤量」、当該処方箋薬の服用間隔(単位は時間)を示す「服用間隔」、当該処方箋薬の服用間隔をテキストベース(例えば、「朝食後」、「朝食後、夕食後」等の文字列)で示した「服用間隔テキスト」、当該処方箋薬の服用を開始すべき日を示す「服用開始日」、当該処方箋薬を服用する全期間の中間にあたる日を示す「服用中日」、当該処方箋薬を服用する最終日を示す「服用終了日」、当該処方箋薬の服用開始日のタイミングをメッセージサービスシステム50で顧客に通知するか否かを示す「服用開始時通知可否」、当該処方箋薬の服用中日のタイミングをメッセージシステムで顧客に通知するか否かを示す「服用中通知可否」、当該処方箋薬の服用最終日のタイミングをメッセージサービスシステム50で顧客に通知するか否かを示す「服用終了時通知可否」を含む項目の情報が登録されている。 In the prescription drug database 2207 shown in Figure 15, each prescription drug has the following fields: "Prescription Drug ID" to identify the prescription drug, "Prescription ID" to identify the prescription corresponding to the prescription drug, "Drug Code", "Drug Name", "Daily Dose" indicating the daily prescribed amount of the prescription drug, "Dispensing Amount" indicating the prescribed amount (total prescribed amount) of the prescription drug, "Dosage Interval" indicating the interval between doses of the prescription drug (in hours), "Dosage Interval Text" indicating the dosage interval of the prescription drug in text format (e.g., strings such as "After breakfast", "After breakfast, after dinner"), and the day on which the prescription drug should be started. The system registers information including the following items: "Start Date of Medication," "Mid-Term Medication Days" (indicating the midpoint of the entire period of medication use), "End Date of Medication" (indicating the final day of medication use), "Notification at Start of Medication" (indicating whether or not the customer will be notified via the message service system 50 at the start date of medication use), "Notification during Medication" (indicating whether or not the customer will be notified via the message service system 50 at the mid-term medication use), and "Notification at End of Medication" (indicating whether or not the customer will be notified via the message service system 50 at the final day of medication use).
図16、図17は、日付別テンプレートデータベース2209の構成例について示している。 Figures 16 and 17 show an example configuration of the date-based template database 2209.
図16は、日付別テンプレートデータベース2209の対話シナリオデータ(テンプレート)を構成するメッセージデータを管理するデータベース(以下、「日付別テンプレートデータベース」と呼ぶ)の構成例について示した図である。 Figure 16 shows an example of the configuration of the database (hereinafter referred to as the "date-specific template database") that manages the message data constituting the dialogue scenario data (templates) of the date-specific template database 2209.
図16では、1行で、1つのメッセージデータを構成している。図16において、各メッセージデータは、「テンプレートID」、「ルートID]、「親ID」、「本文テキスト」、「配信日属性」、「配信形式」、「中間日順序」、「対象期間下限」、「対象期間上限」を含む項目のデータが設定されている。 In Figure 16, one line represents one message data entry. In Figure 16, each message data entry includes the following fields: "Template ID," "Root ID," "Parent ID," "Body Text," "Delivery Date Attribute," "Delivery Format," "Intermediate Date Order," "Lower Limit of Target Period," and "Upper Limit of Target Period."
図16において、「テンプレートID」は、メッセージデータは、当該メッセージデータを識別する識別子を示している。また、図16において、「ルートID」は、当該メッセージデータが所属する対話シナリオデータのルート(先頭)となるメッセージデータの識別子(テンプレートID)を示している。さらに、図16において、「親ID」は、当該メッセージデータの直前にリンクされたメッセージデータ(対話シナリオデータ上で親となるメッセージデータ)の識別子(テンプレートID)を示している。さらにまた、図16において、「本文テキスト」は、顧客に送信するメッセージのテキストを示している。 In Figure 16, the "Template ID" indicates the identifier that identifies the message data. Furthermore, in Figure 16, the "Root ID" indicates the identifier (Template ID) of the root (first) message data in the dialogue scenario data to which the message data belongs. Additionally, in Figure 16, the "Parent ID" indicates the identifier (Template ID) of the message data linked immediately before the message data (the parent message data in the dialogue scenario data). Finally, in Figure 16, the "Body Text" indicates the text of the message sent to the customer.
また、図16において、「配信形式」の項目は、当該メッセージデータが「質問有りメッセージデータ」又は「質問無しメッセージデータ」のいずれであるかを示している。ここでは、配信形式が1に設定されている場合は質問無しメッセージデータであることを示し、配信形式が2に設定されている場合は質問有りメッセージデータであることを示している。さらに、図16において、「対象期間下限」と「対象期間上限」は、それぞれ、当該メッセージデータが所属する対話シナリオデータの対象期間(処方箋に基づく服用期間の対象期間)の下限と上限を表している。例えば、対象期間が6日~45日である場合、図16に示すように、対象期間下限に6が設定され対象期間上限に45が設定される。 Furthermore, in Figure 16, the "Delivery Format" column indicates whether the message data is a "message data with a question" or a "message data without a question." Here, if the delivery format is set to 1, it indicates a message data without a question, and if the delivery format is set to 2, it indicates a message data with a question. Additionally, in Figure 16, the "Lower Limit of Target Period" and "Upper Limit of Target Period" represent the lower and upper limits of the target period (the period of medication prescribed by the doctor) for the dialogue scenario data to which the message data belongs. For example, if the target period is 6 to 45 days, as shown in Figure 16, the lower limit of the target period is set to 6 and the upper limit of the target period is set to 45.
図17は、日付別テンプレートデータベース2209の対話シナリオデータ(テンプレート)を構成する入力要求データを管理するデータベース(以下、「日付別選択肢データベース」と呼ぶ)の構成例を示している。 Figure 17 shows an example of the configuration of the database (hereinafter referred to as the "date-specific choice database") that manages the input request data that constitutes the dialogue scenario data (templates) of the date-specific template database 2209.
図17では、1行で、1つの入力要求データを構成している。図17において、各入力要求データは、「選択肢ID」、「リンク先ID」、「不応期選択肢」、「挙動」、「返信テキスト」を含む項目のデータが設定されている。 In Figure 17, each line represents one input request data. In Figure 17, each input request data includes data for items such as "Option ID," "Link ID," "Responsive Option," "Behavior," and "Reply Text."
図17において、「選択肢ID」は、当該入力要求データを識別する識別子を示している。また、図17において、「リンク先ID」は、当該入力要求データのリンク先となるメッセージデータの識別子(テンプレートID)を示している。 In Figure 17, "Option ID" indicates an identifier that identifies the input request data. Also in Figure 17, "Link Destination ID" indicates the identifier (template ID) of the message data to which the input request data is linked.
図16に示すように、日付別テンプレートデータベースでは、ルートID及び親IDにより、メッセージデータが直列に接続されたリスト構造が成立している。なお、日付別テンプレートデータベースにおいて複数のメッセージデータをリスト構造とする手段は限定されないものであり、配列構造等の種々のデータ構造を適用するようにしてもよい。 As shown in Figure 16, in the date-based template database, a list structure is established where message data is sequentially linked by root ID and parent ID. Note that the means of creating a list structure for multiple message data in the date-based template database are not limited; various data structures such as array structures may be applied.
なお、図16に示すテンプレートIDが、TD001~TD007のメッセージデータは、図7に示す対話シナリオデータの構成例(メッセージデータMD001~MD007で構成される対話シナリオデータ)を示している。また、図17に示す、選択肢IDがOD001~OD006の入力要求データは、図7に示す対話シナリオデータの構成例(入力要求データOD001~OD006の構成例)を示している。 Furthermore, the message data with template IDs TD001 to TD007 shown in Figure 16 represents an example of the dialogue scenario data configuration shown in Figure 7 (dialogue scenario data composed of message data MD001 to MD007). Similarly, the input request data with option IDs OD001 to OD006 shown in Figure 17 represents an example of the dialogue scenario data configuration shown in Figure 7 (an example of the input request data OD001 to OD006).
図18、図19は、薬品別テンプレートデータベース2210の構成例について示している。 Figures 18 and 19 show an example of the configuration of the drug-specific template database 2210.
図18は、薬品別テンプレートデータベース2210の対話シナリオデータ(テンプレート)を構成するメッセージデータを管理するデータベース(以下、「薬品別テンプレートデータベース」と呼ぶ)の構成例について示した図である。また、図19は、薬品別テンプレートデータベース2210の対話シナリオデータ(テンプレート)を構成する入力要求データを管理するデータベース(以下、「薬品別選択肢データベース」と呼ぶ)の構成例について示した図である。 Figure 18 shows an example of the configuration of the database that manages the message data constituting the dialogue scenario data (templates) of the drug-specific template database 2210 (hereinafter referred to as the "drug-specific template database"). Figure 19 shows an example of the configuration of the database that manages the input request data constituting the dialogue scenario data (templates) of the drug-specific template database 2210 (hereinafter referred to as the "drug-specific choice database").
薬品別テンプレートデータベースの構造は、基本的には、図16に示す日付別テンプレートデータベースと同様であるが、対象期間(対象期間下限、対象期間上限)が、薬品の識別しである「薬品コード」に置き換わっている点で異なっている。なお、薬品別テンプレートデータベースにおいて、薬品コードは、他の識別し(例えば、薬品ID等)に置き換えるようにしてもよい。また、薬品別選択肢データベースの構造は、基本的には、図17に示す日付別選択肢データベースと同様である。 The structure of the drug-specific template database is basically the same as the date-based template database shown in Figure 16, but differs in that the target period (lower limit and upper limit of the target period) is replaced with the "drug code," which is the drug identifier. Note that in the drug-specific template database, the drug code may be replaced with another identifier (e.g., drug ID). Furthermore, the structure of the drug-specific choice database is basically the same as the date-based choice database shown in Figure 17.
図20は、配信管理データベース2211の構成例について示した図である。 Figure 20 shows an example configuration of the distribution management database 2211.
配信管理データベース2211は、対話処理部14がメッセージデータに基づいてメッセージ配信(対話処理)する際の管理(メッセージ配信の予約や履歴等の管理)を行うためのデータベースである。 The distribution management database 2211 is a database used to manage the message distribution (dialogue processing) performed by the dialogue processing unit 14 based on message data (managing message distribution reservations, history, etc.).
図20に示す配信管理データベース2211では、1行で1つのメッセージデータの配信を管理するデータ(以下、「配信管理データ」と呼ぶ)となっている。 In the distribution management database 2211 shown in Figure 20, each line represents data that manages the distribution of one message data (hereinafter referred to as "distribution management data").
配信管理データベース2211では、各配信管理データは、当該配信管理データを識別する識別子としての「配信ID」、対応する処方箋を示す「処方箋ID」、対応するメッセージデータを示す「テンプレートID」、対応するメッセージデータの処理を行う日付を示す「配信日」、配信先(配信先の顧客のLINEID等)を示す配信先、配信形式(質問の有無)を示す「配信形式」、及び配信済又は未配信等のステータスを示す「ステータス」を含む項目で構成されている。 In the distribution management database 2211, each distribution management data entry consists of items including: a "distribution ID" as an identifier to identify the distribution management data; a "prescription ID" indicating the corresponding prescription; a "template ID" indicating the corresponding message data; a "distribution date" indicating the date on which the corresponding message data is processed; a "distribution destination" indicating the recipient (e.g., the LINE ID of the recipient customer); a "distribution format" indicating the distribution format (whether or not there is a question); and a "status" indicating the status, such as whether it has been delivered or not.
図20に示す「ステータス」には、配信済である場合には「1」が設定され未配信である場合には「0」が設定されるものとする。 In Figure 20, the "Status" column will show "1" if the message has been delivered and "0" if it has not been delivered.
対話処理部14は、処方箋ごと(処方箋ID)ごとに、適用する対話シナリオデータを選択し、選択した対話シナリオデータに従った対話処理を行うように、配信管理データベース2211に配信管理データを設定する。そして、対話処理部14は、配信管理データベース2211に登録した各配信管理データについて、設定された配信タイミング(配信日に設定された日付)に、テンプレートIDに対応するメッセージデータ(テキスト本文)及びリンクされた入力要求データに基づく入力要求(例えば、選択肢の選択要求やテキスト入力の要求)を、配信先のID宛てに送信する処理を行う。 The dialogue processing unit 14 selects the appropriate dialogue scenario data for each prescription (prescription ID) and sets the distribution management data in the distribution management database 2211 to perform dialogue processing according to the selected dialogue scenario data. Then, for each distribution management data registered in the distribution management database 2211, the dialogue processing unit 14 sends the message data (text body) corresponding to the template ID and the input request based on the linked input request data (for example, a request to select options or a request for text input) to the recipient ID at the set distribution timing (the date set as the distribution date).
この実施形態では、日付別テンプレートデータベース2209と薬品別テンプレートデータベース2210とで、テンプレートIDの体系を変化させることで、配信管理データベース2211及び回答管理データベース2212においてリンク先のデータベース(日付別テンプレートデータベース2209又は薬品別テンプレートデータベース2210のいずれかのデータベース)を識別するように表記しているが、リンク先のデータベースを識別する方法は上記の方法に限定されないものである。例えば、この実施形態では、日付別テンプレートデータベース2209においてテンプレートIDが「TD」から始まり、選択肢IDが「OD」から始まるように表記している。また、例えば、この実施形態では、薬品別テンプレートデータベース2210において、テンプレートIDが「TM」から始まり、選択肢IDが「OM」から始まる。 In this embodiment, the template ID system is changed between the date-based template database 2209 and the drug-based template database 2210 to identify the linked database (either the date-based template database 2209 or the drug-based template database 2212) in the distribution management database 2211 and the response management database 2212. However, the method for identifying the linked database is not limited to the above method. For example, in this embodiment, the template ID in the date-based template database 2209 starts with "TD" and the option ID starts with "OD". Also, for example, in this embodiment, the template ID in the drug-based template database 2210 starts with "TM" and the option ID starts with "OM".
図21は、回答管理データベース2212の構成例について示した図である。 Figure 21 shows an example of the configuration of the response management database 2212.
回答管理データベース2212は、対話処理部14が、質問有りメッセージデータにリンクされた入力要求データに基づく入力要求(例えば、選択肢の選択要求やテキスト入力の要求)を送信した後に、顧客(顧客端末40)からの入力(例えば、選択肢の選択やテキスト入力)があった場合のその入力された内容(質問有りメッセージデータに対する回答)を管理するデータベースである。 The response management database 2212 is a database that manages the content of input (responses to the question message data) received from the customer (customer terminal 40) after the dialogue processing unit 14 has sent an input request (e.g., a request to select an option or a request for text input) based on input request data linked to the question message data.
図21に示す回答管理データベース2212では、1行で1つの質問有りメッセージデータに対する回答を管理するデータ(以下、「回答管理データ」と呼ぶ)となっている。 In the response management database 2212 shown in Figure 21, each row manages the response to a single question-containing message data (hereinafter referred to as "response management data").
回答管理データベース2212では、各回答管理データは、当該回答管理データを識別する識別子としての「回答ID」、対応する配信管理データを示す「配信ID」、対応するメッセージデータを示す「テンプレートID」、当該質問有りメッセージデータに対して選択された選択肢に対応する入力要求データを示す「選択肢ID」、及び選択された選択肢に対応する入力要求データで返信テキストがあった場合(テキスト返信の挙動に対する回答)があった場合のテキスト(顧客が入力したテキスト)を示す「回答テキスト」を含む項目で構成されている。 In the response management database 2212, each response management data item consists of fields including: "Response ID" as an identifier to identify the response management data; "Distribution ID" indicating the corresponding distribution management data; "Template ID" indicating the corresponding message data; "Option ID" indicating the input request data corresponding to the selected option for the question-containing message data; and "Response Text" indicating the text (text entered by the customer) if there was a reply text (a response to the behavior of text replies) in the input request data corresponding to the selected option.
つまり、対話処理部14は、質問有りメッセージデータごとに、質問に対して選択された選択肢(入力要求データ)を示す選択肢IDと、質問有りメッセージデータの質問に対して顧客が回答入力したテキストを示す「回答テキスト」を、回答管理データとして記録する。 In other words, the dialogue processing unit 14 records, for each question-containing message data, the option ID indicating the selected option (input request data) in response to the question, and the "response text" indicating the text entered by the customer in response to the question in the question-containing message data, as response management data.
(A-2)第1の実施形態の動作
次に、以上のような構成を有する第1の実施形態の薬局支援システム1の動作(実施形態に係る薬局支援方法)の例を説明する。
(A-2) Operation of the First Embodiment Next, an example of the operation of the pharmacy support system 1 of the first embodiment having the above configuration (pharmacy support method according to the embodiment) will be described.
ここでは、薬局支援システム1のWebアプリケーションサーバ10が、図14のシナリオに沿って動作した場合の例について説明する。 This section describes an example of how the Web application server 10 of the pharmacy support system 1 operates according to the scenario shown in Figure 14.
まず、図14のシナリオの概要について説明する。 First, let's explain the outline of the scenario in Figure 14.
まず、Webアプリケーションサーバ10が、ポータル機能(ポータル処理部11の機能)を経由し、メッセージサービスシステム50を用いて、「山田 太郎」という名前で、MSアカウントIDが「taro_ms」である顧客(顧客端末40)から、AAA薬局(店舗IDが「1」の薬局)に対する処方箋予約を受け付けたものとする(S101)。 First, the Web application server 10 receives a prescription reservation for AAA Pharmacy (the pharmacy with store ID "1") from a customer (customer terminal 40) named "Taro Yamada" with MS account ID "taro_ms" via the portal function (function of the portal processing unit 11) and the message service system 50 (S101).
次に、当該顧客が当該薬局(AAA薬局)に来局し、当該顧客に対して処方箋予約された処方箋に基づく調剤(処方箋に基づく処方薬の引き渡し)が行われ、店頭サービス処理部13の機能により、当該顧客の顧客情報の登録が行われたものとする(S102)。 Next, the customer visits the pharmacy (AAA Pharmacy), and the prescription is dispensed to the customer based on the reserved prescription (delivery of the prescribed medication based on the prescription). The customer information is then registered by the functions of the in-store service processing unit 13 (S102).
次に、メッセージサービスシステム50上で、当該顧客のMSアカウントIDと、AAA薬局のMSアカウントIDとが関連付け(例えば、LINEサービスにおけるお友達登録)する処理が行われたものとする(S103)。これにより、AAA薬局側のMSアカウントIDから当該顧客のMSアカウントIDへのメッセージ送信(例えば、対話処理に伴うメッセージ送受信)が可能となる。なお、ステップS101~S103の処理については特許文献1と同様の処理を適用することができるため、ここでは詳細説明を省略する。 Next, it is assumed that the message service system 50 performs a process to associate the customer's MS account ID with the AAA Pharmacy's MS account ID (for example, adding them as friends on the LINE service) (S103). This enables the sending of messages from the AAA Pharmacy's MS account ID to the customer's MS account ID (for example, sending and receiving messages during dialogue processing). Note that the processing in steps S101 to S103 can be the same as that described in Patent Document 1, so a detailed explanation is omitted here.
また、当該薬局(AAA薬局)では、調剤にあたって、レセプトコンピュータ70(レセプト処理プログラム72)に、処方箋の内容が入力され、調剤報酬明細書又は調剤報酬明細書を出力可能なデータが保持されたものとする。そして、レセプトコンピュータ70では、アップロード処理部73により、処方箋データが保持され、Webアプリケーションサーバ10(処方箋予約処理部12)側にアップロードされ、当該処方箋の内容が処方箋データベース2206及び処方箋薬データベース2207に登録されたものとする(S104)。 Furthermore, at the pharmacy (AAA Pharmacy), when dispensing medication, the contents of the prescription are entered into the claims computer 70 (claim processing program 72), and data capable of outputting a dispensing fee statement or dispensing fee statement is stored. Then, the claims computer 70, via the upload processing unit 73, stores the prescription data, uploads it to the Web application server 10 (prescription reservation processing unit 12), and the contents of the prescription are registered in the prescription database 2206 and the prescription drug database 2207 (S104).
処方箋予約処理部12では、処方箋データの送信元を認識することにより、いずれの薬局からの処方箋であるかを認識し、さらに処方箋データの内容に基づいて顧客(患者)の情報(例えば、氏名、生年月日等)が把握できるので、いずれの顧客IDの処方箋であるかを認識できる。そして、処方箋予約処理部12では、アップロードにより認識した処方箋の情報を処方箋データベース2206及び処方箋薬データベース2207へ登録する。この実施形態では、上記のように、レセプトコンピュータ70(レセプト処理プログラム72)に入力された内容に基づいてWebアプリケーションサーバ10(処方箋予約処理部12)側で処方箋の内容を登録することで、薬局において2重に処方箋の内容を入力する必要がなくなる。なお、Webアプリケーションサーバ10(処方箋予約処理部12)において、処方箋データベース2206及び処方箋薬データベース2207に処方箋の内容を入力する方式は上記の方式に限定されないものであり種々の方式(例えば、処方箋の内容を薬局の薬剤師等に直接入力させる方式や、処方箋に付されたバーコード等の記録データに基づいて入力する方式)を適用することができる。 The prescription reservation processing unit 12 recognizes the source of the prescription data, thereby recognizing which pharmacy the prescription originated from. Furthermore, based on the content of the prescription data, it can grasp customer (patient) information (e.g., name, date of birth, etc.), allowing it to recognize which customer ID the prescription belongs to. The prescription reservation processing unit 12 then registers the prescription information recognized by the upload into the prescription database 2206 and the prescription drug database 2207. In this embodiment, as described above, by registering the prescription content on the Web application server 10 (prescription reservation processing unit 12) side based on the content entered into the claims computer 70 (claims processing program 72), the need for pharmacies to enter the prescription content twice is eliminated. Furthermore, the method for inputting prescription details into the prescription database 2206 and prescription drug database 2207 in the Web application server 10 (prescription reservation processing unit 12) is not limited to the method described above. Various methods can be applied (for example, a method in which pharmacists at pharmacies directly input the prescription details, or a method in which the details are input based on recorded data such as barcodes attached to the prescription).
その後、対話処理部14では、新たにステップS103で登録された処方箋に応じて適用する対話シナリオデータを選択し、選択した対話シナリオデータに従った対話処理を行うように、配信管理データベース2211に配信管理データを設定する(S105)。 Subsequently, the dialogue processing unit 14 selects dialogue scenario data to be applied according to the prescription newly registered in step S103, and sets the distribution management data in the distribution management database 2211 so that dialogue processing is performed according to the selected dialogue scenario data (S105).
そして、対話処理部14は、配信管理データベース2211に登録した各配信管理データについて、設定された配信タイミング(配信日に設定された日付)に、テンプレートIDに対応するメッセージデータ(テキスト本文)及びリンクされた入力要求データに基づく入力要求(例えば、選択肢の選択要求やテキスト入力の要求)を、配信先のID宛てに送信する処理を行い、顧客から入力された内容を回答管理データベース2212に登録する(S106)。 The dialogue processing unit 14 then performs the following processing for each distribution management data registered in the distribution management database 2211: at the set distribution timing (the date set as the distribution date), it sends message data (text body) corresponding to the template ID and input requests based on linked input request data (for example, a request to select options or a request for text input) to the recipient ID. The content entered by the customer is then registered in the response management database 2212 (S106).
その後、当該薬局のスタッフ(薬剤師)の操作に応じて、レポート処理部16により、当該処方箋(ステップS104で登録された処方箋)に対応するトレーシングレポートが生成され出力されたものとする(S107)。 Subsequently, in response to the operation of the pharmacy staff (pharmacist), the report processing unit 16 generates and outputs a tracing report corresponding to the prescription (the prescription registered in step S104) (S107).
以下では、上記のシナリオの各ステップのそれぞれについて具体例を説明する。 The following sections provide specific examples for each step of the scenario described above.
まず、ステップS101~S103の動作については、特許文献1の説明と同様の処理を適用してもよいため、詳しい説明を省略する。 First, regarding the operations in steps S101 to S103, since the same processing as described in Patent Document 1 may be applied, a detailed explanation will be omitted.
ここでは、ステップS101~S103の処理により、AAA薬局(薬局ID:1の薬局)において、顧客データベース2202及びMS顧客管理データベース2203に、それぞれ図9、図10に示す顧客ID:1の顧客が登録され、処方箋予約データベース2205に図13に示す処方箋予約ID:1の処方箋予約が登録されたものとして説明する。 Here, we will explain assuming that, as a result of the processing in steps S101 to S103, at AAA Pharmacy (pharmacy ID: 1), the customer with customer ID: 1, as shown in Figures 9 and 10, is registered in the customer database 2202 and the MS customer management database 2203, respectively, and that the prescription reservation with prescription reservation ID: 1, as shown in Figure 13, is registered in the prescription reservation database 2205.
次に、上記のステップS104の処理の具体例について説明する。 Next, a specific example of the process in step S104 described above will be explained.
[S104:処方箋データのアップロード及び登録]
ここでは、「処方箋予約ID:1」の処方箋予約に従って、AAA薬局にて調剤がなされ、AAA薬局のレセプトコンピュータ70で当該調剤に伴う処方箋の内容が入力されたものとする。そうすると、レセプトコンピュータ70では、レセプト処理プログラム72により当該処方箋の処方箋データが生成され、アップロード処理部73によりWebアプリケーションサーバ10(処方箋予約処理部12)にアップロードされる。そうすると、処方箋予約処理部12により、当該処方箋データに基づき、当該処方箋の内容が処方箋データベース2206及び処方箋薬データベース2207に登録される。
[S104: Uploading and registering prescription data]
Here, we assume that, according to the prescription reservation for "Prescription Reservation ID: 1", dispensing is performed at AAA Pharmacy, and the contents of the prescription associated with that dispensing are entered into AAA Pharmacy's claims computer 70. Then, the claims computer 70 generates prescription data for that prescription using the claims processing program 72, and the upload processing unit 73 uploads it to the Web application server 10 (prescription reservation processing unit 12). Then, the prescription reservation processing unit 12 registers the contents of the prescription in the prescription database 2206 and the prescription drug database 2207 based on the prescription data.
ここでは、新たに処方箋データベース2206(処方箋薬データベース2207)に、処方箋ID:1のデータが登録されたものとして説明する。また、このとき処方箋薬データベース2207に、処方箋ID:1に対応する処方箋約として、処方箋約ID:1、2のデータが登録されたものとする。 This explanation assumes that data with prescription ID: 1 has been newly registered in prescription database 2206 (prescription drug database 2207). Furthermore, it is assumed that, at this time, data with prescription agreement IDs: 1 and 2 have been registered in prescription drug database 2207 as corresponding prescription agreements for prescription ID: 1.
[S105:対話シナリオデータに基づくメッセージの配信予約処理]
ここでは、対話処理部14は、処方箋データベース2206から、当該処方箋(処方箋ID:1の処方箋)の内容を取得し、その処方内容(例えば、服薬期間や処方薬の内容等)に基づいて、当該処方箋の顧客(患者)との対話に用いる対話シナリオデータを選択する。ここでは、対話処理部14は、服薬期間(服薬開始日と服薬終了日との間の期間)に対応する対話シナリオデータを、図16に示す日付別テンプレートデータベース2209から選択したものとする。ここでは、対話処理部14は、服薬期間に対応する対話シナリオデータとしてルートID(先頭のメッセージデータ)をTD001とする対話シナリオデータ(つまり図7のような構造の対話シナリオデータ)を選択したものとして説明する。なお、ここでは、処方箋ID:1の処方箋には、テンプレート登録該当薬品が含まれていなかったものとする。
[S105: Message delivery reservation processing based on dialogue scenario data]
Here, the dialogue processing unit 14 retrieves the contents of the prescription (prescription ID: 1) from the prescription database 2206 and selects dialogue scenario data to be used for dialogue with the customer (patient) of the prescription based on the prescription contents (for example, the medication period and the contents of the prescribed drugs). Here, it is assumed that the dialogue processing unit 14 has selected dialogue scenario data corresponding to the medication period (the period between the start date and the end date of medication) from the date-specific template database 2209 shown in Figure 16. Here, it is explained that the dialogue processing unit 14 has selected dialogue scenario data with root ID (first message data) TD001 (i.e., dialogue scenario data with the structure shown in Figure 7) as the dialogue scenario data corresponding to the medication period. Here, it is assumed that the prescription ID: 1 did not contain any registered drugs in the template.
そして、対話処理部14は、選択した対話シナリオデータの各メッセージデータを配信管理データベース2211に登録したものとする。その結果、配信管理データベース2211には、図20における配信IDが1~7の配信データが登録されたものとする。 The dialogue processing unit 14 then registers each message data of the selected dialogue scenario data in the distribution management database 2211. As a result, the distribution management database 2211 contains distribution data with distribution IDs 1 to 7 as shown in Figure 20.
[S106:配信予約処理に従ったメッセージ送受信及び回答記録処理]
ここでは、対話処理部14は、図20に示すような配信データ(配信IDが1~7の配信データ)について、配信処理を行うことになる。対話処理部14は、配信先ごとの配信データを把握し、各配信先について配信IDの小さい配信データから順に配信処理を行うものとする。また、対話処理部14は、配信形式が2となっている配信データが有った場合は、質問に対する回答の入力を待ってから次の配信データの処理に移行するものとする。さらに、対話処理部14は、1つの配信先で、配信日が同日に設定されている配信データについては、回答入力の間以外は間隔を空けずに配信処理を行うものとする。例えば、図20の例では、配信IDが2~6の配信データの配信日は同日に設定されているので、これらの配信データの処理については回答入力の間以外連続して処理するようにしてもよい。さらに、対話処理部14は、1日の中で配信処理を開始する時間について所定の時間(例えば、午後1時等顧客が回答しやすい時間帯)に設定するようにしてもよい。例えば、対話処理部14は、配信IDが2の配信データについて、2021年8月8日の0時に配信処理を行うのではなく、予め設定された所定の時間(例えば、13時)になったタイミングで配信処理を行うようにしてもよい。
[S106: Message sending and receiving and response recording processing according to the delivery reservation process]
Here, the dialogue processing unit 14 will perform distribution processing on the distribution data (distribution data with distribution IDs 1 to 7) as shown in Figure 20. The dialogue processing unit 14 will grasp the distribution data for each distribution destination and perform distribution processing for each distribution destination in order from the distribution data with the smallest distribution ID. In addition, if there is distribution data with distribution format 2, the dialogue processing unit 14 will wait for the input of the answer to the question before moving on to processing the next distribution data. Furthermore, for distribution data set to the same day at a single distribution destination, the dialogue processing unit 14 will perform distribution processing without any intervals except during the time between answer inputs. For example, in the example in Figure 20, the distribution dates for distribution data with distribution IDs 2 to 6 are set to the same day, so the processing of this distribution data may be done continuously except during the time between answer inputs. Furthermore, the dialogue processing unit 14 may set the time to start distribution processing within a day to a predetermined time (for example, 1 p.m., a time when customers are likely to answer). For example, the dialogue processing unit 14 may perform the distribution processing for distribution data with distribution ID 2 at a predetermined time (for example, 13:00) rather than at 0:00 on August 8, 2021.
そして、対話処理部14は、配信形式が2の配信データの処理にあたっては、顧客からの回答について、回答データとして回答管理データベース2212に記録する。 Furthermore, when processing data with distribution format 2, the dialogue processing unit 14 records the customer's response as response data in the response management database 2212.
図20では、配信IDが3~5の配信データについては配信形式が2となっており、それぞれの配信データに対応する回答データが図21における回答IDが1~3のデータであるものとする。 In Figure 20, the distribution data with distribution IDs 3 to 5 is set to distribution format 2, and the corresponding response data in Figure 21 is assumed to be the data with response IDs 1 to 3.
図25は、処方箋ID:1の処方箋に対応する配信データ(図20における配信IDが1~7の配信データ)に従って配信した結果(顧客端末40との対話処理)の例について示した図である。 Figure 25 shows an example of the results of distribution (interaction processing with customer terminal 40) according to the distribution data corresponding to prescription ID: 1 (distribution data with distribution IDs 1 to 7 in Figure 20).
図25では、顧客端末40側で表示されるメッセージサービスAP43の表示画面(タッチパネルディスプレイ41に表示される画面)の例について示している。また、図25では、薬局側(Webアプリケーションサーバ10側)から送信されるメッセージを左側からの吹き出しで表示し、顧客側からの入力内容(選択内容を含む)については右側に表示している。さらに、図25では、入力要求データに基づく選択肢(「ある」又は「ない」の選択肢)については点線で囲って図示し、顧客により選択された選択肢の内容(「ある」又は「ない」)については右側からの吹き出しで図示している。図25の例では、全ての選択肢について「ない」が選択されているので返信テキストの入力はなされていない。 Figure 25 shows an example of the display screen of the message service AP 43 (the screen displayed on the touch panel display 41) shown on the customer terminal 40. In Figure 25, messages sent from the pharmacy side (Web application server 10 side) are displayed in a speech bubble from the left, while customer input (including selections) is displayed on the right. Furthermore, in Figure 25, the options based on the input request data ("Yes" or "No") are enclosed in a dotted line, and the content of the selected option ("Yes" or "No") is shown in a speech bubble from the right. In the example in Figure 25, "No" is selected for all options, so no reply text has been entered.
図25のような対話処理が行われた場合、回答管理データベース2212の内容は図21(回答IDが1~3の回答データ)のような内容となる。 When the dialogue process shown in Figure 25 is performed, the contents of the response management database 2212 will be as shown in Figure 21 (response data with response IDs 1 to 3).
[S107:トレーシングレポート作成処理]
ここでは、AAA薬局の薬剤師Aが薬局端末30を操作し、処方箋データベース2206において処方箋ID:1の処方箋が選択され、当該処方箋についてトレーシングレポートの出力処理の操作が行われたものとする。
[S107: Tracing report creation process]
Here, it is assumed that pharmacist A of AAA Pharmacy operates the pharmacy terminal 30, selects prescription ID: 1 in the prescription database 2206, and performs the operation to output a tracing report for that prescription.
この場合、レポート処理部16は、まず処方箋ID:1の処方箋の内容を処方箋データベース2206から取得し、さらに当該処方箋の顧客(患者)の情報を顧客データベース2202等から取得する。 In this case, the report processing unit 16 first retrieves the contents of prescription ID: 1 from the prescription database 2206, and then retrieves customer (patient) information for that prescription from the customer database 2202, etc.
また、レポート処理部16は、配信管理データベース2211から、処方箋ID:1でかつ配信形式が2となっている配信データを抽出し、収集した配信データに対応する回答データを回答管理データベース2212から抽出する。また、レポート処理部16は、薬局端末30でログインしているユーザ(薬局に応じたユーザ)の情報に基づいて、薬局データベース2201から、トレーシングレポートを作成する薬局(保険薬局)の情報(例えば、保険薬局名、薬局所在地、電話番号等)を取得する。 Furthermore, the report processing unit 16 extracts distribution data with prescription ID: 1 and distribution format 2 from the distribution management database 2211, and extracts corresponding response data from the response management database 2212. The report processing unit 16 also obtains information about the pharmacy (insurance pharmacy) for which the tracing report is to be created (e.g., insurance pharmacy name, pharmacy address, telephone number, etc.) from the pharmacy database 2201, based on the user information (user corresponding to the pharmacy) logged in on the pharmacy terminal 30.
そうすると、レポート処理部16は、図21における回答IDが1~3の回答データを抽出することができる。 As a result, the report processing unit 16 can extract the response data with response IDs 1 to 3 in Figure 21.
以上のような処理により、レポート処理部16は、トレーシングレポートの作成に必要な情報を収集し、収集した情報を入力したトレーシングレポートを表示するとともに、表示したトレーシングレポートの各情報を編集可能な操作画面(以下、「レポート編集画面」と呼ぶ)を薬局端末30(Webブラウザ32)に表示させる。 Through the above processing, the report processing unit 16 collects the information necessary for creating the tracing report, displays the tracing report with the collected information entered, and displays an editable operation screen (hereinafter referred to as the "report editing screen") on the pharmacy terminal 30 (Web browser 32) that allows editing of each piece of information in the displayed tracing report.
図24はレポート編集画面の構成例について示した図である。 Figure 24 shows an example of the report editing screen configuration.
図24に示すレポート編集画面のうち、ヘッダ部分(例えば、医療機関名、処方日、患者名、生年月日、調剤日、性別等)の情報については、処方箋データベース2206、顧客データベース2202、薬局データベース2201等の情報に基づいて自動入力することができる。 In the report editing screen shown in Figure 24, the header section (for example, medical institution name, prescription date, patient name, date of birth, dispensing date, gender, etc.) can be automatically entered based on information from the prescription database 2206, customer database 2202, pharmacy database 2201, etc.
図24では、処方箋データベース2206、顧客データベース2202、薬局データベース2201等の情報に基づいて入力可能な情報については自動入力されている。 In Figure 24, information that can be entered based on data from the prescription database 2206, customer database 2202, pharmacy database 2201, etc., is automatically entered.
また、レポート処理部16は、取得した回答データ(回答IDが1~3の回答データ)に基づいて、当該顧客(患者)との対話処理における質問とその回答についてテキストデータを生成してレポート編集画面(「提供情報・提案内容」の項目)に自動入力する。 Furthermore, the report processing unit 16 generates text data about the questions and answers in the dialogue process with the customer (patient) based on the acquired response data (response data with response IDs 1 to 3), and automatically inputs it into the report editing screen (the "Provided Information/Proposed Content" section).
図24では、フィールドF101の部分(「提供情報・提案内容」の項目)に、回答データに基づくテキストが自動入力(貼り付け)されている。 In Figure 24, the text based on the response data is automatically entered (pasted) into field F101 (the "Information Provided/Proposed Content" item).
レポート処理部16は、レポート編集画面を表示する際、上記のように収集した情報に基づいて自動的に入力可能な項目については自動的に入力を行う。そして、レポート処理部16は、レポート編集画面において、自動入力処理を行った後は、全ての項目について自由な編集を受け付けることができる。レポート処理部16は、薬剤師の操作に応じて、レポート編集画面に表示されたトレーシングレポートについて種々の方法により出力(例えば、印刷処理やPDF等による出力処理)を行うことができる。 When displaying the report editing screen, the report processing unit 16 automatically inputs items that can be automatically entered based on the information collected as described above. After the automatic input process is complete, the report processing unit 16 allows all items to be freely edited on the report editing screen. Depending on the pharmacist's actions, the report processing unit 16 can output the tracing report displayed on the report editing screen in various ways (e.g., printing or outputting as a PDF).
これにより、薬剤師は、上記のような簡易な操作でトレーシングレポートを取得することができるので、あとは医療機関に当該トレーシングレポートを提出するだけでトレーシングレポートに関する処理が完了することになる。 This allows pharmacists to obtain tracing reports with the simple operations described above. All they need to do is submit these tracing reports to the medical institution, and the process related to the tracing reports will be complete.
[処方箋薬にテンプレート登録該当薬品が含まれる場合の例]
次に、1つの処方箋に関する対話処理に、日付別テンプレートと薬品別テンプレートの両方が適用される例について説明する。
[Example of a case where a prescription drug includes a drug that is registered in the template]
Next, we will describe an example where both date-based templates and drug-based templates are applied to the dialogue processing for a single prescription.
図14、図15、図18、図19に示す通り、処方箋ID:2の処方箋には、テンプレート登録該当薬品(薬剤C)が含まれている。図18、図19に示すように、薬品別テンプレートデータベース2210には、薬剤CについてTM001をルートID(テンプレートID)とする薬品別テンプレートが登録されている。 As shown in Figures 14, 15, 18, and 19, prescription ID: 2 includes a registered drug (drug C). As shown in Figures 18 and 19, the drug-specific template database 2210 has a registered drug-specific template for drug C with TM001 as the root ID (template ID).
したがって、処方箋ID:2の処方箋について対話シナリオデータに基づくメッセージの配信予約処理(上記のステップS105の処理)を行う場合には、対話処理部14は、日付別テンプレート(TD001をルートIDとするテンプレート)と、薬品別テンプレート(TD001をルートIDとするテンプレート)を適用することになる。 Therefore, when performing message delivery reservation processing based on dialogue scenario data for prescription ID: 2 (processing in step S105 above), the dialogue processing unit 14 will apply a date-specific template (template with TD001 as the root ID) and a drug-specific template (template with TD001 as the root ID).
上記の通り、この実施形態において、対話処理部14は、処方箋にテンプレート登録該当薬品が含まれる場合、当該薬品のテンプレートの質問を優先的に配信するものとする。例えば、対話処理部14は、図20に示す配信管理データベース2211の通り、初日及び最終日については日付別テンプレート(TD001をルートIDとするテンプレート)のメッセージデータを適用し、中間日については薬品別テンプレート(TM001をルートIDとするテンプレート)から抜き出して適用するようにしてもよい。このとき、対話処理部14は、日付別テンプレートにおける各中間日(各中間日順序)のメッセージデータを、薬品別テンプレートにおいて対応する中間日(各中間日順序)のメッセージデータに置き換えて配信予約(配信管理データベース2211に反映)させるようにしてもよい。例えば、対話処理部14は、日付別テンプレートにおいて中間日順序がNのメッセージデータを、薬品別テンプレートにおける中間日順序がNのメッセージデータ(日付別テンプレートと中間日順序が一致するメッセージデータ)に置き換えて配信予約するようにしてもよい。具体的には、例えば、対話処理部14は、図20に示す通り、日付別テンプレートにおける中間日順序:1のメッセージデータ(TD002~TD006のメッセージデータ)を、薬品別テンプレートにおける中間日順序:1のメッセージデータ(TM002~TM006)のメッセージデータに置き換えて配信予約を行うようにしてもよい。また、処方箋に複数のテンプレート登録該当薬品が含まれる場合、対話処理部14は、中間日ごとにいずれかのテンプレート登録該当薬品を選択(例えば、ランダムに選択する等任意の方法で選択)し、配信予約に反映するようにしてもよい。 As described above, in this embodiment, if the prescription includes a drug that is registered in the template, the dialogue processing unit 14 will prioritize delivering questions from the template for that drug. For example, as shown in the distribution management database 2211 in Figure 20, the dialogue processing unit 14 may apply message data from the date-specific template (template with TD001 as the root ID) for the first and last days, and extract and apply data from the drug-specific template (template with TM001 as the root ID) for the intermediate days. In this case, the dialogue processing unit 14 may replace the message data for each intermediate day (each intermediate day in sequence) in the date-specific template with the message data for the corresponding intermediate day (each intermediate day in sequence) in the drug-specific template and make a distribution reservation (reflected in the distribution management database 2211). For example, the dialogue processing unit 14 may replace the message data with intermediate day sequence N in the date-specific template with message data with intermediate day sequence N in the drug-specific template (message data whose intermediate day sequence matches that of the date-specific template) and make a distribution reservation. Specifically, for example, as shown in Figure 20, the dialogue processing unit 14 may replace the message data for intermediate day order: 1 in the date-specific template (message data for TD002 to TD006) with the message data for intermediate day order: 1 in the drug-specific template (message data for TM002 to TM006) and then perform the delivery reservation. Furthermore, if a prescription contains multiple drug-registered drugs, the dialogue processing unit 14 may select one of the drug-registered drugs for each intermediate day (for example, by random selection or any other method) and reflect this in the delivery reservation.
以上のように、この実施形態では、対話処理部14は、中間日ごとに日付別テンプレート又は薬品別テンプレートのいずれかを選択して配信予約を行うものとして説明する。 As described above, in this embodiment, the dialogue processing unit 14 selects either a date-specific template or a drug-specific template for each intermediate day to schedule the delivery.
この場合、処方箋ID:2に対応する配信データは、図20に示す配信IDが8~14の配信データとなる。 In this case, the distribution data corresponding to prescription ID: 2 will be the distribution data with distribution IDs 8 to 14, as shown in Figure 20.
図25は、処方箋ID:2の処方箋に対応する配信データ(図20における配信IDが8~14の配信データ)に従って配信した結果(顧客端末40との対話処理)の例について示した図である。図25は、図23と同様の形式で記載されている。 Figure 25 shows an example of the results of distribution (interaction processing with customer terminal 40) according to the distribution data corresponding to prescription ID: 2 (distribution data with distribution IDs 8 to 14 in Figure 20). Figure 25 is written in the same format as Figure 23.
図26は、処方箋ID:2の処方箋について、レポート処理部16がトレーシングレポートを出力しようとした場合に、薬局端末30(タッチパネルディスプレイ31)側で表示されるレポート編集画面の例について示した図である。 Figure 26 shows an example of the report editing screen displayed on the pharmacy terminal 30 (touch panel display 31) when the report processing unit 16 attempts to output a tracing report for prescription ID: 2.
図26に示すフィールドF101には、図21に回答管理データベース2212(回答ID:4~6の回答データ)の内容に従ったテキストデータが自動入力されている。例えば、回答ID:4の回答データは、テンプレートID:TM003、選択肢ID:OM002、回答テキスト:「初日から目のかすみがある」となっているので、図26に示すフィールドF101には、薬品別テンプレートデータベース2210の内容(図19、図20の内容)に基づき、「Q.目のかすみがありますか?A.ある 初日から目のかすみがある」というテキストが自動入力されている。同様に、図26に示すフィールドF101には、回答ID:5の回答データに基づき「Q.眠気がありますか?A.ある 初日から眠気が強い」というテキストが自動入力され、回答ID:6の回答データに基づき「Q.息切れがありますか?A.ある 初日から息切れがある」というテキストが自動入力されている。 In Figure 26, field F101 is automatically populated with text data corresponding to the content of the response management database 2212 (response data for response IDs 4-6) shown in Figure 21. For example, the response data for response ID 4 has template ID TM003, option ID OM002, and response text: "I have blurred vision from the first day." Therefore, in field F101 shown in Figure 26, the text "Q. Do you have blurred vision? A. Yes. I have blurred vision from the first day" is automatically populated based on the content of the drug-specific template database 2210 (contents of Figures 19 and 20). Similarly, in field F101 shown in Figure 26, the text "Q. Do you feel sleepy? A. Yes. I have felt very sleepy from the first day" is automatically populated based on the response data for response ID 5, and the text "Q. Do you experience shortness of breath? A. Yes. I have experienced shortness of breath from the first day" is automatically populated based on the response data for response ID 6.
図26は、レポート処理部16が自動入力を行ったままの状態(初期状態)について示しているが、上記の通り、レポート編集画面では、薬剤師により更なる編集を受け付けることができる。 Figure 26 shows the state after the report processing unit 16 has performed automatic input (initial state). However, as described above, the report editing screen allows for further editing by the pharmacist.
図27は、レポート編集画面において、初期状態からさらに編集を受けた状態の例について示した図である。 Figure 27 shows an example of a report editing screen that has undergone further editing from its initial state.
当該レポート編集画面では、薬剤師の操作により、フィールドF101に、当該患者の副作用に関する情報(医師への情報)として「副作用発現の可能性あり、早期受信し、医師に相談するように指導した。」という文字列が追加されている。 On the report editing screen, the pharmacist added the following text to field F101 as information regarding the patient's side effects (information for the physician): "There is a possibility of side effects occurring; the patient was instructed to seek medical attention early and consult with a physician."
また、図27のレポート編集画面では、副作用に関するチェックボックスCB101に追加チェックが入れられている。レポート編集画面では、例えば、図27に示すように、自動入力された初期状態から薬剤師により自由な編集を受け付けることが可能となっている。 Furthermore, in the report editing screen shown in Figure 27, a checkbox CB101 related to side effects has been added. The report editing screen allows pharmacists to freely edit the automatically filled-in initial state, as shown in Figure 27.
図26、図27に示すように、レポート編集画面では、チェックボックス形式の項目(例えば、図27に示すトレーシングレポートにおける、「服薬状況」、「残薬調整に関する情報提供」、「副作用」等の各チェックボックス)の操作(チェックボックスのオン/オフの操作)を受け付けることが可能とするようにしてもよい。 As shown in Figures 26 and 27, the report editing screen may be configured to allow operation (on/off operation) of checkbox-type items (for example, the checkboxes for "Medication Status," "Information Provision Regarding Remaining Medication Adjustment," and "Side Effects" in the tracing report shown in Figure 27).
(A-3)第1の実施形態の効果
第1の実施形態によれば、以下のような効果を奏することができる。
(A-3) Effects of the First Embodiment According to the first embodiment, the following effects can be achieved.
第1の実施形態の薬局支援システム1では、処方箋の内容によって定まる服薬期間に応じて、日付別テンプレート(日付別テンプレートデータベース2209)に基づく対話処理を行うことができる。これにより、実施形態の薬局支援システム1では、服薬期間の長さに応じた対話シナリオデータに基づく対話処理を薬剤師の操作によらず自動的に行うことができる。 In the first embodiment of the pharmacy support system 1, dialogue processing can be performed based on date-specific templates (date-specific template database 2209) according to the medication period determined by the prescription content. This allows the pharmacy support system 1 of the embodiment to automatically perform dialogue processing based on dialogue scenario data corresponding to the length of the medication period, without requiring any operation from the pharmacist.
また、第1の実施形態の薬局支援システム1では、処方薬に応じた薬品別テンプレート(薬品別テンプレートデータベース2210)を考慮して日付別テンプレートの内容を変更した対話処理を行っている。これにより、第1の実施形態の薬局支援システム1では、処方薬にテンプレート登録該当薬品が含まれる場合に、テンプレート登録該当薬品の性質に応じた質問(質問有りメッセージデータ)を顧客(患者)に対して行うことができる。これにより、患者にとっては、服用する薬品による副作用に伴う健康被害を未然に防ぐ等のリスク低減を実現することができる。 Furthermore, in the pharmacy support system 1 of the first embodiment, dialogue processing is performed by modifying the content of the date-specific template, taking into account drug-specific templates (drug-specific template database 2210) corresponding to the prescribed drug. As a result, in the pharmacy support system 1 of the first embodiment, when the prescribed drug includes a drug registered in the template, questions (question message data) can be asked of the customer (patient) according to the properties of the drug registered in the template. This allows patients to reduce risks, such as preventing health damage caused by side effects from the medications they take.
さらに、第1の実施形態の薬局支援システム1では、対話処理の内容に基づいてトレーシングレポートの内容について自動入力している。これにより、実施形態の薬局支援システム1では、薬剤師によるトレーシングレポートの入力作業を軽減させることができる。 Furthermore, in the pharmacy support system 1 of the first embodiment, the contents of the tracing report are automatically entered based on the content of the dialogue processing. This reduces the workload for pharmacists in entering tracing reports.
(B)他の実施形態
本発明は、上記の各実施形態に限定されるものではなく、以下に例示するような変形実施形態も挙げることができる。
(B) Other Embodiments The present invention is not limited to the embodiments described above, and modified embodiments such as those exemplified below can also be cited.
(B-1)上記の実施形態の薬局支援システム1では、Webアプリケーションサーバ10とデータベースサーバ20とを別個のコンピュータを用いて構成しているが、1台のコンピュータで構成するようにしてもよい。また、Webアプリケーションサーバ10とデータベースサーバ20をさらに細分化したコンピュータで構成するようにしてもよい。すなわち、薬局支援システム1を構成するコンピュータの数は限定されないものである。 (B-1) In the pharmacy support system 1 of the above embodiment, the web application server 10 and the database server 20 are configured using separate computers, but they may also be configured using a single computer. Furthermore, the web application server 10 and the database server 20 may be configured using even more subdivided computers. In other words, the number of computers constituting the pharmacy support system 1 is not limited.
(B-2)上記の実施形態の薬局支援システム1は、Webベースで構成されているが、クライアントサーバの構成(薬局端末30及び顧客端末40に専用アプリケーションをインストールして実現する構成)としてもよい。すなわち、上記の実施形態においてWebアプリケーションとして薬局端末30及び顧客端末40に配布しているプログラムと同様の動作を行う専用のアプリケーションを、薬局端末30及び顧客端末40にインストールするようにしてもよい。 (B-2) Although the pharmacy support system 1 in the above embodiment is configured as a web-based system, it may also be configured as a client-server system (a configuration implemented by installing a dedicated application on the pharmacy terminal 30 and the customer terminal 40). That is, a dedicated application that performs the same operations as the program distributed to the pharmacy terminal 30 and the customer terminal 40 as a web application in the above embodiment may be installed on the pharmacy terminal 30 and the customer terminal 40.
(B-3)上記の実施形態において、レポート処理部16が、薬剤師の操作に応じて選択された処方箋ごとにトレーシングレポートを出力する例について説明したが、複数の処方箋について一括してトレーシングレポートを出力(例えば、プリンタ60からの印刷出力や、PDFファイルの生成出力)することで、薬剤師によるトレーシングレポートの出力操作を簡略化(効率化)するようにしてもよい。このとき、レポート処理部16は、所定の条件に該当する処方箋(以下、「自動出力該当処方箋」と呼ぶ)について一括して、トレーシングレポートを自動出力(薬剤師からの編集を受けずに自動入力可能な内容のみで出力)するようにしてもよい。例えば、対話処理において、全ての質問有りメッセージデータに対して表記選択肢が「ない」の選択肢が選択されている処方箋(以下、「問題無し処方箋」と呼ぶ)を自動出力該当処方箋とし、一部又は全部の質問有りメッセージデータに対して表記選択肢が「あり」の選択肢が選択されている処方箋(以下、「問題有り処方箋」と呼ぶ)を自動出力該当処方箋としないようにしてもよい。 (B-3) In the above embodiment, an example was described in which the report processing unit 16 outputs a tracing report for each prescription selected in response to the pharmacist's operation. However, the pharmacist's operation to output tracing reports may be simplified (made more efficient) by outputting tracing reports for multiple prescriptions at once (for example, by printing from the printer 60 or generating a PDF file). In this case, the report processing unit 16 may automatically output tracing reports for prescriptions that meet predetermined conditions (hereinafter referred to as "automatically output eligible prescriptions") (outputting only content that can be automatically entered without editing by the pharmacist). For example, in the dialogue processing, prescriptions in which the "none" option is selected for all question message data (hereinafter referred to as "problem-free prescriptions") may be designated as automatically output eligible prescriptions, while prescriptions in which the "yes" option is selected for some or all question message data (hereinafter referred to as "problem prescriptions") may not be designated as automatically output eligible prescriptions.
例えば、レポート処理部16は、処方箋(処方箋ID)ごとに、配信管理データベース2211及び回答管理データベース2212のデータを参照することで、問題無し処方箋を抽出することができる。例えば、図21に示す回答管理データベース2212において、処方箋ID:1に関連する回答データを参照すると、全ての質問有りメッセージデータについて表記選択肢が「なし」の選択肢が選択されている。したがって、レポート処理部16は、処方箋ID:1については「問題無し処方箋」と判断できる。一方、図21に示す回答管理データベース2212において、処方箋ID:2に関連する回答データを参照すると、表記選択肢が「あり」の選択肢が選択された質問有りメッセージデータが含まれている。したがって、レポート処理部16は、処方箋ID:2については「問題無し処方箋」ではない(「問題有り処方箋」である)と判断できる。 For example, the report processing unit 16 can extract prescriptions without problems by referring to the data in the distribution management database 2211 and the response management database 2212 for each prescription (prescription ID). For instance, in the response management database 2212 shown in Figure 21, referring to the response data related to prescription ID: 1 reveals that the "none" option is selected for all message data with questions. Therefore, the report processing unit 16 can determine that prescription ID: 1 is a "prescription without problems." On the other hand, in the response management database 2212 shown in Figure 21, referring to the response data related to prescription ID: 2 reveals that message data with questions includes those where the "yes" option is selected. Therefore, the report processing unit 16 can determine that prescription ID: 2 is not a "prescription without problems" (it is a "prescription with problems").
(B-4)上記の実施形態において、対話処理部14が日付別テンプレートデータベース2209及び薬品別テンプレートデータベース2210に登録されたテンプレート(対話シナリオデータ)を用いて、顧客(患者)と行う対話処理の内容を決定する処理について説明したが。対話処理部14が、日付別テンプレートデータベース2209及び薬品別テンプレートデータベース2210に登録するテンプレートの編集機能に対応するようにしてもよい。例えば、対話処理部14は、薬局端末30に対してテンプレートを編集する操作画面(以下、「テンプレート編集画面」と呼ぶ)を提示して、薬剤師等の操作に応じてテンプレートの編集(例えば、新たなテンプレートの登録、既存のテンプレートの変更等)を受け付けるようにしてもよい。 (B-4) In the above embodiment, the process by which the dialogue processing unit 14 determines the content of the dialogue process to be performed with the customer (patient) using templates (dialogue scenario data) registered in the date-based template database 2209 and the drug-based template database 2210 was described. The dialogue processing unit 14 may also be configured to support editing functions for templates registered in the date-based template database 2209 and the drug-based template database 2210. For example, the dialogue processing unit 14 may present an operation screen for editing templates (hereinafter referred to as the "template editing screen") to the pharmacy terminal 30 and accept template editing (e.g., registration of a new template, modification of an existing template, etc.) in response to operations by a pharmacist or other user.
図28は、テンプレート編集画面の構成例について示した図である。 Figure 28 shows an example of the template editing screen configuration.
テンプレート編集画面では、質問無しメッセージデータの入力を受け付けるための質問無しメッセージデータ入力オブジェクトOB101と、質問有りメッセージデータ(付随する入力要求データを含む)の入力を受け付けるための質問有りメッセージデータ入力オブジェクトOB102が含まれている。 The template editing screen includes an input object OB101 for accepting message data without questions, and an input object OB102 for accepting message data with questions (including accompanying input request data).
質問無しメッセージデータ入力オブジェクトOB101には、テキスト本文の入力を受け付けるためのフィールドF201が配置されている。1つのオブジェクトOB101では、1つの質問無しメッセージデータの入力を受け付けることができる。 The no-question message data input object OB101 contains a field F201 for receiving text input. One object OB101 can accept input for one no-question message.
一方、質問有りメッセージデータ入力オブジェクトOB102には、テキスト本文の入力を受け付けるためのフィールドF201と、入力要求データの入力を受け付けるための2つのサブオブジェクトSOB1、SOB2が配置されている。 On the other hand, the message data input object OB102, which contains a question, has a field F201 for receiving text input and two sub-objects SOB1 and SOB2 for receiving input request data.
サブオブジェクトSOB1、SOB2には、それぞれ表記選択肢の入力を受け付けるためのフィールドF301、挙動の入力を受け付けるためのフィールドF302、及び返信テキストの入力を受け付けるためのフィールドF303が配置されている。フィールドF301では「はい」又は「いいえ」を選択式で入力受付可能とするようにしてもよい。フィールドF302では「なにもしない」又は「テキストを返信」を選択式で入力受付可能とするようにしてもよい。したがって、質問有りメッセージデータ入力オブジェクトOB102では、1つの質問有りメッセージデータと、それに付随する2つの入力要求データの入力を受け付けることができる。 The sub-objects SOB1 and SOB2 each contain a field F301 for receiving input for notation options, a field F302 for receiving input for behavior, and a field F303 for receiving input for reply text. Field F301 may be configured to accept input as a selection of "Yes" or "No." Field F302 may be configured to accept input as a selection of "Do nothing" or "Reply with text." Therefore, the question message data input object OB102 can accept input for one question message data and two associated input request data.
テンプレート編集画面では、上下に複数のオブジェクト(質問有り/質問有りメッセージデータ入力オブジェクト)を並べて表示し、それぞれのオブジェクトについて編集を受け付けることが可能である。テンプレート編集画面では、並べて表示された複数のオブジェクトをまとめて1つのテンプレート(対話シナリオデータ)を表現している。テンプレート編集画面では、上端のオブジェクトがルートIDとなるメッセージデータを示しており、上端から下方向に各メッセージデータのオブジェクトが並べて配置されている。 The template editing screen displays multiple objects (objects with questions/message data input objects with questions) side-by-side, and allows editing of each object. The template editing screen represents a single template (dialogue scenario data) composed of these multiple objects. In the template editing screen, the object at the top represents the message data with the root ID, and the objects for each message data are arranged downwards from the top.
これにより、テンプレート編集画面では、視覚的に、メッセージデータ及び入力要求データにより構成されるテンプレート(対話シナリオデータ)を表示している。 As a result, the template editing screen visually displays the template (dialogue scenario data) composed of message data and input request data.
また、図28に示すテンプレート編集画面では、それぞれのオブジェクト(質問有り/質問有りメッセージデータ入力オブジェクト)に、直前に新たな質問無しメッセージデータ入力オブジェクトの挿入を受け付けるためのボタンB101、直前に新たな質問有りメッセージデータ入力オブジェクトの挿入を受け付けるためのボタンB102、及び当該オブジェクトの削除を受け付けるためのボタンB103が配置されている。さらに、図28に示すテンプレート編集画面では、下端に新たな質問無しメッセージデータ入力オブジェクトの追加を受け付けるためのボタンB201、及び下端に新たな質問有りメッセージデータ入力オブジェクトの追加を受け付けるためのボタンB202が配置されている。 Furthermore, in the template editing screen shown in Figure 28, each object (a message data input object with a question/a message data input object with a question) has buttons B101 to accept the insertion of a new message data input object without a question, B102 to accept the insertion of a new message data input object with a question, and B103 to accept the deletion of the object. Additionally, in the template editing screen shown in Figure 28, buttons B201 to accept the addition of a new message data input object without a question and B202 to accept the addition of a new message data input object with a question are located at the bottom.
図28に示すテンプレート編集画面では、これらのボタンにより、テンプレートの任意の位置におけるメッセージデータ(質問有り/質問無しメッセージ)の追加削除を受け付けることができる。 In the template editing screen shown in Figure 28, these buttons allow you to add or delete message data (messages with/without questions) at any point in the template.
(B-5)第1の実施形態の薬局支援システム1において、特許文献1において第2の実施形態として記載された構成と同様に、Webアプリケーションサーバ10のメッセージ処理部15が、薬局支援システム1側のMSアカウントID(特許文献1の例では「YS_MS」という代表ID)を用いて、各顧客のMSアカウントID(顧客端末40)とメッセージ送受信を行う構成としてもよい。 (B-5) In the pharmacy support system 1 of the first embodiment, similar to the configuration described as the second embodiment in Patent Document 1, the message processing unit 15 of the Web application server 10 may be configured to send and receive messages with each customer's MS account ID (customer terminal 40) using the MS account ID of the pharmacy support system 1 (in the example of Patent Document 1, a representative ID called "YS_MS").
1…薬局支援システム、10…Webアプリケーションサーバ、11…ポータル処理部、12…処方箋予約処理部、13…店頭サービス処理部、14…対話処理部、15…メッセージ処理部、16…レポート処理部、20…データベースサーバ、21…データベース処理部、22…データ記録部、30…薬局端末、31…タッチパネルディスプレイ、32…Webブラウザ、40…顧客端末、41…タッチパネルディスプレイ、42…カメラ、43…Webブラウザ、50…メッセージサービスシステム、60…プリンタ、70…レセプトコンピュータ、71…タッチパネルディスプレイ、72…レセプト処理プログラム、73…アップロード処理部、2201…薬局データベース、2202…顧客データベース、2203…MS顧客管理データベース、2204…MS薬局管理データベース、2205…処方箋予約データベース、2206…処方箋データベース、2207…処方箋薬データベース、2208…薬品データベース、2209…日付別テンプレートデータベース、2210…薬品別テンプレートデータベース、2211…配信管理データベース、2212…回答管理データベース。 1...Pharmacy support system, 10...Web application server, 11...Portal processing unit, 12...Prescription reservation processing unit, 13...In-store service processing unit, 14...Dialogue processing unit, 15...Message processing unit, 16...Report processing unit, 20...Database server, 21...Database processing unit, 22...Data recording unit, 30...Pharmacy terminal, 31...Touch panel display, 32...Web browser, 40...Customer terminal, 41...Touch panel display, 42...Camera, 43...Web browser, 50...Message service system, 60...Printer, 70...Receipt computer Data, 71...Touch panel display, 72...Claim processing program, 73...Upload processing unit, 2201...Pharmacy database, 2202...Customer database, 2203...MS customer management database, 2204...MS pharmacy management database, 2205...Prescription reservation database, 2206...Prescription database, 2207...Prescription drug database, 2208...Drug database, 2209...Date-based template database, 2210...Drug-based template database, 2211...Distribution management database, 2212...Response management database.
Claims (2)
前記顧客に調剤した処方箋の内容を管理する処方箋管理手段と、
前記処方箋ごとに、前記処方箋の内容に応じたタイミングで、前記薬局アカウントから前記顧客アカウントに対して、前記処方箋の内容に応じたシナリオに従った前記メッセージサービスを介したメッセージの送信、及び、前記メッセージサービスを介して前記顧客アカウントから前記薬局アカウントに送信された応答内容を受信するメッセージ処理手段と、
前記メッセージ処理手段が受信した応答内容を管理する応答管理手段と、
前記メッセージ処理手段が処理するメッセージを前記薬局に配置された薬局端末に供給する薬局端末処理手段と、
前記メッセージ処理手段が送信するメッセージの内容を定義したシナリオデータを複数保持するシナリオデータ保持手段とを備え、
前記メッセージ処理手段は、前記シナリオデータ保持手段が保持する前記シナリオデータから前記処方箋に対応する前記シナリオデータを保持し、保持した前記シナリオデータに従ったメッセージの送信を行い、
前記メッセージ処理手段が送受信した内容の一部又は全部を記述した服薬情報のレポートを1以上生成し、生成した前記レポートを一括して出力する一括出力処理を行うレポート生成出力手段をさらに有し、
前記シナリオデータには、前記顧客アカウントに対して前記処方箋に記載された薬剤の服用に関する問題の有無を質問する問題有無質問メッセージを送信して、前記問題有無質問メッセージに対する回答を受信する問題有無質問シナリオが1以上含まれており、
前記レポート生成出力手段は、前記レポートに1以上の前記問題有無質問メッセージに対する回答を記述し、1以上の前記問題有無質問メッセージに対する回答が問題有りとなっている前記レポートについては前記一括出力処理の対象から除外する
ことを特徴とする薬局支援システム。 An account management means for managing a pharmacy account used in a messaging service for pharmacies, and customer accounts used in the messaging service for customers of the pharmacy,
A prescription management means for managing the contents of prescriptions dispensed to the aforementioned customer,
For each of the aforementioned prescriptions, a message processing means sends a message from the pharmacy account to the customer account via the messaging service according to a scenario corresponding to the content of the prescription, at a timing corresponding to the content of the prescription, and receives the response content sent from the customer account to the pharmacy account via the messaging service.
The message processing means manages the content of the response received,
A pharmacy terminal processing means that supplies the message processed by the message processing means to a pharmacy terminal located in the pharmacy,
The system includes a scenario data holding means that holds multiple scenario data defining the content of messages transmitted by the message processing means,
The message processing means holds the scenario data corresponding to the prescription from the scenario data held by the scenario data holding means, and sends a message according to the held scenario data.
The system further includes a report generation and output means that generates one or more medication information reports describing some or all of the content transmitted and received by the message processing means, and performs a batch output processing to output the generated reports in a batch.
The scenario data includes one or more scenarios in which a question message is sent to the customer account asking whether there are any problems with taking the medication described in the prescription, and a response to the question message is received.
The report generation output means includes in the report the answers to one or more of the problem presence/absence question messages, and excludes reports in which one or more of the answers to the problem presence/absence question messages indicate a problem from the batch output processing.
A pharmacy support system characterized by the following features.
前記薬局支援システムは、アカウント管理手段、処方箋管理手段、メッセージ処理手段、応答管理手段、薬局端末処理手段、シナリオデータ保持手段及びレポート生成出力手段を備え、
前記アカウント管理手段は、薬局に対応するメッセージサービスで用いられる薬局アカウントと、前記薬局の顧客に対応する前記メッセージサービスで用いられる顧客アカウントを管理し、
前記処方箋管理手段は、前記顧客に調剤した処方箋の内容を管理し、
前記メッセージ処理手段は、前記処方箋ごとに、前記処方箋の内容に応じたタイミングで、前記薬局アカウントから前記顧客アカウントに対して、前記処方箋の内容に応じたシナリオに従った前記メッセージサービスを介したメッセージの送信、及び、前記メッセージサービスを介して前記顧客アカウントから前記薬局アカウントに送信された応答内容を受信し、
前記応答管理手段は、前記メッセージ処理手段が受信した応答内容を管理し、
前記薬局端末処理手段は、前記メッセージ処理手段が処理するメッセージを前記薬局に配置された薬局端末に供給し、
前記シナリオデータ保持手段は、前記メッセージ処理手段が送信するメッセージの内容を定義したシナリオデータを複数保持し、
前記メッセージ処理手段は、前記シナリオデータ保持手段が保持する前記シナリオデータから前記処方箋に対応する前記シナリオデータを保持し、保持した前記シナリオデータに従ったメッセージの送信を行い、
前記レポート生成出力手段は、前記メッセージ処理手段が送受信した内容の一部又は全部を記述した服薬情報のレポートを1以上生成し、生成した前記レポートを一括して出力する一括出力処理を行い、
前記シナリオデータには、前記顧客アカウントに対して前記処方箋に記載された薬剤の服用に関する問題の有無を質問する問題有無質問メッセージを送信して、前記問題有無質問メッセージに対する回答を受信する問題有無質問シナリオが1以上含まれており、
前記レポート生成出力手段は、前記レポートに1以上の前記問題有無質問メッセージに対する回答を記述し、1以上の前記問題有無質問メッセージに対する回答が問題有りとなっている前記レポートについては前記一括出力処理の対象から除外する
ことを特徴とする薬局支援方法。 In the pharmacy support methods implemented by the pharmacy support system,
The pharmacy support system comprises account management means, prescription management means, message processing means, response management means, pharmacy terminal processing means , scenario data storage means , and report generation output means .
The account management means manages pharmacy accounts used in the messaging service corresponding to the pharmacy and customer accounts used in the messaging service corresponding to the pharmacy's customers.
The prescription management means manages the contents of the prescriptions dispensed to the customer,
The message processing means, for each prescription, sends a message from the pharmacy account to the customer account via the message service according to a scenario corresponding to the content of the prescription, at a timing corresponding to the content of the prescription, and receives the response content sent from the customer account to the pharmacy account via the message service.
The response management means manages the content of the response received by the message processing means,
The pharmacy terminal processing means supplies the message processed by the message processing means to the pharmacy terminal located in the pharmacy.
The scenario data holding means holds a plurality of scenario data that define the content of the message to be sent by the message processing means,
The message processing means holds the scenario data corresponding to the prescription from the scenario data held by the scenario data holding means, and sends a message according to the held scenario data .
The report generation output means generates one or more medication information reports that describe part or all of the content sent and received by the message processing means, and performs a batch output process to output the generated reports all at once.
The scenario data includes one or more scenarios in which a question message is sent to the customer account asking whether there are any problems with taking the medication described in the prescription, and a response to the question message is received.
The report generation output means includes in the report the answers to one or more of the problem presence/absence question messages, and excludes reports in which one or more of the answers to the problem presence/absence question messages indicate a problem from the batch output processing.
A pharmacy support method characterized by the following features.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021151144A JP7828576B2 (en) | 2021-09-16 | 2021-09-16 | Pharmacy support system and pharmacy support method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021151144A JP7828576B2 (en) | 2021-09-16 | 2021-09-16 | Pharmacy support system and pharmacy support method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023043480A JP2023043480A (en) | 2023-03-29 |
| JP7828576B2 true JP7828576B2 (en) | 2026-03-12 |
Family
ID=85725496
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021151144A Active JP7828576B2 (en) | 2021-09-16 | 2021-09-16 | Pharmacy support system and pharmacy support method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7828576B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020149110A (en) | 2019-03-11 | 2020-09-17 | 株式会社スカイリンクス | Pharmacy support system and pharmacy support method |
| JP2021041138A (en) | 2019-09-09 | 2021-03-18 | メドピア株式会社 | Information processing equipment and programs |
-
2021
- 2021-09-16 JP JP2021151144A patent/JP7828576B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020149110A (en) | 2019-03-11 | 2020-09-17 | 株式会社スカイリンクス | Pharmacy support system and pharmacy support method |
| JP2021041138A (en) | 2019-09-09 | 2021-03-18 | メドピア株式会社 | Information processing equipment and programs |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023043480A (en) | 2023-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12340329B2 (en) | Multi-platform prescription routing system | |
| US6757898B1 (en) | Electronic provider—patient interface system | |
| US20180150650A1 (en) | System and method for controlling permissions for selected recipients by owners of data | |
| US20140278466A1 (en) | Pharmacy workflow | |
| CA2853201C (en) | System and method facilitating patient registration across multiple practice groups | |
| US20040220829A1 (en) | Distributed system and method for managing communication among healthcare providers, patients and third parties | |
| US20120253868A1 (en) | Healthcare information communication system | |
| US20140108043A1 (en) | Configurable health history form builder | |
| US20150286790A1 (en) | System and method for secure messaging | |
| US12308115B2 (en) | Automated data aggregation with file analysis and predictive modeling | |
| JP7605452B2 (en) | COMMUNICATION SUPPORT DEVICE, COMMUNICATION SUPPORT METHOD, AND COMPUTER PROGRAM | |
| JP7058419B2 (en) | Pharmacy support system and pharmacy support method | |
| JP7828576B2 (en) | Pharmacy support system and pharmacy support method | |
| US20190139636A1 (en) | Computerized assistance of medication regimen reviews | |
| CA2909525A1 (en) | Method and system for communication between users, in particular between doctors/dentists and patients | |
| US20190295713A1 (en) | Health Care Information Management Platform | |
| Rule et al. | Primary care physicians’ experiences with inbox triage | |
| JP2020087081A (en) | Schedule reservation server and schedule reservation method | |
| CN116525059A (en) | Information processing method, system and storage medium for hospital pharmacy | |
| Devi et al. | User interactive hospital management system by using web application | |
| JP7311122B2 (en) | Pharmacy support system and pharmacy support method | |
| Chandransangran et al. | Swift Remedy Pharmaceutical Management System for Clinic Mediviron Seapark | |
| JP7626994B2 (en) | Information processing device, program, and information processing method | |
| Chronopoulos | Development of a hospital Enterprise Resource Planning (ERP) system | |
| US20260100271A1 (en) | Automated data aggregation with file analysis and predictive modeling |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A80 | Written request to apply exceptions to lack of novelty of invention |
Free format text: JAPANESE INTERMEDIATE CODE: A80 Effective date: 20211007 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240911 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250611 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250617 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20250814 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20251010 |
|
| 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: 20260120 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20260218 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7828576 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |