System for registering pharmaceutical use history

The system accurately records drug use history, including location, by using RF chips and oscillators to synchronize clocks and phases, addressing the challenge of registering drug use outside the home.

JP2025153364APending Publication Date: 2025-10-10THE CHUGOKU ELECTRIC POWER CO INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024055812
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

Existing systems fail to accurately register drug use history, including location information, especially when drugs are used outside the home.

Method used

A system comprising a location identification means, drug storage means, and a drug receiving means, which includes a distance calculation and time correction mechanism using RF chips and oscillators to synchronize clocks and phases, enabling precise location tracking and drug usage recording.

Benefits of technology

Enables accurate registration of drug use history, including location and time, even when drugs are used outside the home, ensuring compliance with prescribed dosages and frequencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025153364000001_ABST
    Figure 2025153364000001_ABST
Patent Text Reader

Abstract

To provide a system for registering a pharmaceutical use history including information on locations where a user used a pharmaceutical.SOLUTION: The present invention relates to a system including at least one computer device, the system including: position specifying means configured to specify the position of a user terminal operated by a user; and pharmaceutical storage means configured to store the specified position, pharmaceutical used by the user, and a time at which the user used the pharmaceutical.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a system and a method. [Background technology]

[0002] Pharmaceuticals are used for purposes such as treating illnesses and injuries, and maintaining good health. Each pharmaceutical has a set appropriate dosage and frequency, i.e., an appropriate interval between doses. For example, it is important to take asthma medications and arrhythmia medications at the appropriate time, as they need to maintain a constant blood concentration.

[0003] Additionally, medicines may be used outside the user's home. Summary of the Invention [Problem to be solved by the invention]

[0004] At least one object of the present invention is to provide a system for registering a drug use history, including information about the location where a user has used the drug. [Means for solving the problem]

[0005] The object of the present invention is to [1] A system comprising at least one computer device, the system comprising: a location identification means for identifying the location of a user terminal operated by a user; and a drug storage means for storing the identified location, the drug used by the user, and the time when the user used the drug; [2] The system according to [1], further comprising a drug receiving means for receiving input of drugs to be used or used by the user via a user terminal operated by the user, and the drug storage means stores the inputted drugs as drugs used by the user; [3] The system according to [2], wherein the medicine storage means stores the time when the medicine is input as the time when the user uses the medicine; [4] The system according to any one of [1] to [3], comprising a prescription storage means for storing a medicine prescribed to a user in association with user identification information, and a determination means for determining whether a medicine input received by the medicine receiving means corresponds to the medicine prescribed to the user stored in the prescription storage means; [5] A system according to any one of [1] to [4], comprising a plurality of first devices, a user terminal comprising a second device, a distance calculation means for calculating a distance between each of the plurality of first devices and the second device based on information or signal propagation time between each of the plurality of first devices and the second device, and a location identification means for identifying the location of the second device based on the calculated distance between each of the plurality of first devices and the second device; [6] The system according to [5], wherein the distance calculation means calculates the distance based on the time difference between the internal clock of the first device and the internal clock of the second device; [7] The system according to [5] or [6], further comprising: a time difference calculation unit that calculates a time difference between the first device and the second device by performing communication between the first device and the second device; and a time correction unit that corrects the time on the second device based on the calculated time difference; [8] The system according to any one of [5] to [7], comprising: a phase shift calculation means for calculating a phase shift between the clocks of the first device and the second device by performing communication between the first device and the second device; and a phase correction means for correcting the phase of the second device based on the calculated phase shift; [9] The system according to any one of [1] to [8], further comprising an output means for outputting the medicine used by the user, the time when the user used the medicine, and the location where the user used the medicine, corresponding to the user identification information of 1, in response to a request from a third-party terminal operated by a third party;

[10] A method executed in a system including at least one computer device, the method comprising: a location determination step of determining the location of a user terminal operated by a user; and a drug storage step of storing the determined location, the drug used by the user, and the time when the user used the drug; This can be achieved by: [Effects of the Invention]

[0006] According to the present invention, it is possible to provide a system for registering a drug use history including information on the location where the user used the drug. [Brief explanation of the drawings]

[0007] [Figure 1] 1 is a block diagram showing a configuration of a system according to an embodiment of the present invention; [Figure 2] FIG. 2 is a block diagram showing a hardware configuration of a first device according to an embodiment of the present invention. [Figure 3] FIG. 2 is a block diagram showing a hardware configuration of a second device according to an embodiment of the present invention. [Figure 4] 2 is a block diagram showing a hardware configuration of a user terminal according to an embodiment of the present invention; FIG. [Figure 5] FIG. 2 is a block diagram showing a hardware configuration of a server device according to an embodiment of the present invention. [Figure 6] FIG. 2 is a flowchart showing a prescription registration process according to an embodiment of the present invention. [Figure 7] FIG. 10 is a flowchart showing a distance calculation process according to an embodiment of the present invention. [Figure 8] FIG. 10 is a flowchart showing a location specification process according to an embodiment of the present invention. [Figure 9] FIG. 10 is a flowchart showing a usage history registration process according to an embodiment of the present invention. [Figure 10] FIG. 10 is a flowchart showing an output process according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0008] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. The following description of the effects of the present invention is one aspect of the effects of the embodiments of the present invention and is not limited to those described herein. The order of the processes constituting the flowcharts described below is random as long as no contradictions or inconsistencies occur in the process content. Furthermore, it is also possible to omit some of the processes constituting the flowcharts or add new processes to the processes constituting the flowcharts as long as no contradictions or inconsistencies occur in the process content. Furthermore, the device that executes each process constituting the flowcharts can be changed to another device as long as this does not violate the spirit of the present invention. In this case, the process content can be changed so as not to cause contradictions or inconsistencies in the process content.

[0009] [System Configuration] Fig. 1 is a block diagram showing the configuration of a system according to an embodiment of the present invention. The system 10 shown in Fig. 1 is composed of four first devices 1 (1a to 1d), a second device 2, a user terminal 3, a server device 4, a pharmacy terminal 5, and a third-party terminal 6. As shown in the figure, the second device 2 is provided in the user terminal 3.

[0010] The number of first devices 1 included in the system of the present invention is not particularly limited and can be designed as appropriate. The system of the present invention may include a plurality of first devices 1. It is preferable that the system of the present invention includes at least four first devices 1.

[0011] Furthermore, the number of second devices 2 included in the system of the present invention is not particularly limited and can be designed as appropriate. The system of the present invention may include multiple second devices 2. One user terminal 3 may be provided with two or more second devices 2. The system of the present invention may also include multiple user terminals 3.

[0012] The first device 1 and the second device 2 can be directly connected for communication. The first device 1 can be connected for communication with the server device 4 via a communication network 7. The second device 2 can be connected for communication with the server device 4 via the communication network 7. The user terminal 3, the server device 4, the pharmacy terminal 5, and the third-party terminal 6 may be connected for communication with each other via the communication network 7.

[0013] The system of the present invention may include at least one computer device. For example, the system of the present invention may include a user terminal 3.

[0014] The first device 1 is a reference device for synchronizing the clocks of the second devices 2, and one first device 1 can function as a first device for multiple second devices 2.

[0015] The second device 2 can be connected to the first device 1 and the server device 4. In this system, the time of the second device 2 is synchronized based on the time clocked by the first device 1, and the phase of the signal generated by the oscillator in the second device 2 is synchronized based on the phase of the signal generated by the oscillator in the first device 1.

[0016] The first device 1 of the present invention will be described. Fig. 2 is a diagram showing the hardware configuration of the first device according to an embodiment of the present invention. The first device 1 includes a control unit 11, an RF chip 12, and an oscillator 13. The RF chip 12 includes a clock 12a and a phase detector 12b. In addition to the control unit 11, the RF chip 12, the oscillator 13, the clock 12a, and the phase detector 12b, the first device 1 may include other components as necessary.

[0017] The control unit 11 is not particularly limited, but for example, a microcomputer (microcontroller) can be used. The control unit 11 performs program execution processing based on the program and data. The RF chip 12 performs processing for receiving and transmitting wireless signals. The data received by the RF chip 12 is subjected to arithmetic processing by the control unit 11.

[0018] Oscillator 13 oscillates at a predetermined frequency and outputs a signal that provides operational timing for each component of the device. An atomic oscillator or a crystal oscillator can be used as oscillator 13. Clock 12a uses the output signal from oscillator 13 as a source of oscillation to clock and output the time. The time clocked by clock 12a is controlled by control unit 11 to be transmitted to second device 2 via RF chip 12. Phase detector 12b detects the phase of the carrier wave constituting the information received from second device 2, and detects the phase of the signal oscillated by oscillator 13 in first device 1.

[0019] The installation location of the first device 1 is not particularly limited. The first device 1 may be installed outdoors or indoors. When the first device 1 is installed outdoors, the first device 1 may be installed, for example, on a transmission tower supporting an overhead power line or on a smart meter installed in a building where a user resides. As described below, the location of the user terminal 3 is identified based on the distance between multiple first devices 1 and the second devices 2 provided in the user terminal 3. Therefore, multiple first devices 1 may be arranged in a grid pattern to cover an area in which the location of the user terminal 3 (second device 2) can be identified. It is preferable that the location of the first device 1 is identified in advance and the first device 1 is installed in a fixed location. Location information corresponding to the installation location of the first device 1 (hereinafter also referred to as location information of the first device 1) may be stored in advance in a storage unit of the server device 4, for example. The location information of the first device 1 may be represented by latitude, longitude, and altitude, or by XYZ coordinates in a predetermined coordinate space.

[0020] Identification information (for example, a first device ID) for identifying the first device 1 may be set for each of the multiple first devices 1. Location information of the first device 1 may be stored in the server device 4 in association with the identification information of the first device.

[0021] The second device 2 of the present invention will now be described. Fig. 3 is a block diagram showing the hardware configuration of the second device according to an embodiment of the present invention. The second device 2 includes a control unit 21, an RF chip 22, and an oscillator 23, which are connected to each other via a bus. The RF chip 22 includes a clock 22a and a phase detector 22b. In addition to the control unit 21, the RF chip 22, the oscillator 23, the clock 22a, and the phase detector 22b, the second device 2 may include other components as necessary.

[0022] The control unit 21 is not particularly limited, but for example, a microcomputer can be used. The control unit 21 performs program execution processing based on the program and data. The RF chip 22 performs processing for receiving and transmitting wireless signals. The data received by the RF chip 22 is subjected to arithmetic processing by the control unit 21.

[0023] Oscillator 23 oscillates at a predetermined frequency and outputs a signal that provides operational timing for each component of the device. Oscillator 23 may be, for example, a crystal oscillator. Clock 22a uses the output signal from oscillator 23 as a source oscillation to clock and output the time. Control unit 21 controls clock 22a to transmit the time clocked by clock 22a to first device 1 via RF chip 22. Phase detector 22b detects the phase of the carrier wave constituting the information received from first device 1, and detects the phase of the signal oscillated by oscillator 23 of second device 2.

[0024] For the second device 2, identification information for identifying the second device 2 (for example, a second device ID) may be set.

[0025] The communication between the second device 2 and the server device 4 may be via a smart meter installed in a nearby building. The communication between the second device 2 and the server device 4 may be via an optical fiber installed on a transmission tower.

[0026] Next, the user terminal of the present invention will be described. The user terminal 3 may be a terminal operated by a user who uses the system 10. The user may be a patient who uses a medicine. The user terminal 3 is preferably one that is carried by the user. By carrying the user terminal 3, it becomes easy to register the medicine use history even when the user uses the medicine at a place other than the user's home. In addition, as described below, it becomes easy for the user to register the location where the medicine was used.

[0027] In the system 10, identification information (e.g., a user ID) that identifies a user may be set for each user. When one user terminal 3 is equipped with one second device 2, it can be said that one user and one second device 2 are in a corresponding relationship. The identification information of the second device 2 corresponding to the user may be stored in the server device 4 in association with the user's identification information.

[0028] The method by which a user uses a pharmaceutical product is not particularly limited. For example, the method by which a user uses a pharmaceutical product may be by taking it orally, by injection, by application, by eye drop, by inhalation, etc. The pharmaceutical product may be a pharmaceutical product prescribed by a doctor, or may be an over-the-counter drug sold at a drugstore or the like.

[0029] 4 is a block diagram showing the hardware configuration of a user terminal according to an embodiment of the present invention. The user terminal 3 includes a control unit 31, a RAM 32, a storage unit 33, an input unit 34, a display unit 35, and a communication interface 36, all of which are connected via an internal bus.

[0030] The control unit 31 is composed of a CPU and a ROM. The control unit 31 executes programs stored in the storage unit 33 and controls the user terminal 3. The RAM 32 is the work area of ​​the control unit 31. The storage unit 33 is a memory area for saving programs and data. In other words, the storage unit 33 functions as a recording medium that stores programs. The control unit 31 performs arithmetic processing based on the programs and data read from the RAM 32 and the data input via the input unit 34.

[0031] The display unit 35 has a display screen. The control unit 31 outputs a video signal for displaying an image on the display screen according to the result of the arithmetic processing. Here, the display screen of the display unit 35 may be a touch panel equipped with a touch sensor. In this case, the touch panel functions as the input unit 34.

[0032] The communication interface 36 can be connected to the communication network 7 wirelessly or via a wire, and can transmit and receive data to and from other computer devices via the communication network 7. Data received via the communication interface 36 is loaded into the RAM 32, and the control unit 31 performs arithmetic processing.

[0033] Next, the server device of the present invention will be described. Fig. 5 is a block diagram showing the hardware configuration of a server device according to an embodiment of the present invention. The server device 4 includes at least a control unit 41, a RAM 42, a storage unit 43, and a communication interface 44, which are connected to each other via an internal bus.

[0034] The control unit 41 is composed of a CPU and a ROM, and executes programs stored in the storage unit 43 to control the server device 4. The control unit 41 also has an internal timer that measures time. The RAM 42 is the work area of ​​the control unit 41. The storage unit 43 is a memory area for saving programs and data. The control unit 41 reads the programs and data from the RAM 42 and performs program execution processing based on information received from the first device 1, the second device 2, the user terminal 3, the pharmacy terminal 5, or the third-party terminal 6.

[0035] The server device 4 may function in a distributed manner across multiple computer devices. For example, a distributed ledger technology such as a blockchain may be used instead of the server device 4. Alternatively, for example, a distributed ledger technology such as a blockchain may be used in combination with the server device 4.

[0036] The program may also be stored in a recording medium such as a CD-ROM. In this case, the program stored in the recording medium may be installed in user terminal 3, server device 4, pharmacy terminal 5, and / or third-party terminal 6 to execute a predetermined function.

[0037] Alternatively, the program may be distributed from a computer device external to system 10. In this case, the program distributed from the computer device external to system 10 may be installed in user terminal 3, server device 4, pharmacy terminal 5, and / or third-party terminal 6 to execute a predetermined function.

[0038] Next, the pharmacy terminal of the present invention will be described. The pharmacy terminal 5 may be provided in a pharmacy. The pharmacy terminal 5 may be operated by a pharmacy staff member. The pharmacy staff member may be a pharmacist, a pharmacy clerk, or the like. Here, it is assumed that the pharmacy staff member is a pharmacist. As will be described later, the pharmacist can register prescription information relating to the prescription of the patient who is the user in the system 10. Note that a "prescription" refers to a document that lists the name, usage, dosage, etc. of a medicine prescribed by a doctor.

[0039] Pharmacy terminal 5 is not particularly limited as long as it has the functions of a computer device. Pharmacy terminal 5 may include a control unit (such as a CPU), RAM, a storage unit, etc. Regarding the hardware configuration of pharmacy terminal 5, the description of the hardware configuration of user terminal 3 may be adopted to the extent necessary.

[0040] Furthermore, the system 10 may include a medical institution terminal instead of the pharmacy terminal 5. The medical institution terminal may be provided in a medical institution such as a hospital. The medical institution terminal may be operated by a medical institution staff member. The medical institution staff member may be a doctor, a nurse, an office worker, or the like. In this case, the medical institution staff member may register prescription information related to the prescription of the patient who is the user in the system 10.

[0041] Next, the third-party terminal of the present invention will be described. The third-party terminal 6 may be operated by a third party. The third party may be, for example, a family member or relative of the user, a manager who manages the health condition of the user at a facility such as a medical institution or a nursing home, or a person in charge at a pharmaceutical company. The third party can check the user's drug use history.

[0042] The third party terminal 6 is not particularly limited as long as it has the functions of a computer device. The third party terminal 6 may include a control unit (such as a CPU), RAM, a storage unit, etc. Regarding the hardware configuration of the third party terminal 6, the description of the hardware configuration of the user terminal 3 may be adopted to the extent necessary.

[0043] A dedicated application (hereinafter referred to as a dedicated app) for using system 10 may be installed on user terminal 3, pharmacy terminal 5, and / or third-party terminal 6. In cases where system 1 can be used from a web browser or the like without using a dedicated app, a dedicated app may not be installed on user terminal 3, pharmacy terminal 5, and / or third-party terminal 6.

[0044] Hereinafter, a description will be given of an embodiment in which, using the system of the present invention, a pharmacist registers a prescription, a user registers a drug use history, and a third party checks the drug use history.

[0045] It is preferable that a user of the system 10 registers in advance on the system 10 and is assigned user identification information (e.g., a user ID) that identifies the user. When registering, the user may input user information about the user via the user terminal 3 and transmit it to the server device 4. The user information may include the user's name, address, telephone number, gender, age, date of birth, etc. The user information is stored in the server device 4 in association with the user identification information. As described above, the server device 4 also stores identification information of the second device 2 provided on the user terminal 3 operated by the user in association with the user identification information.

[0046] Furthermore, it is preferable that a third party who checks the user's drug usage history is registered in advance on the system 10 and given third-party identification information (e.g., a third-party ID) that identifies the third party. When registering the third party, the third party may input third-party information about the third party using the third-party terminal 6 and transmit it to the server device 4. The third-party information may include the third party's name, address, telephone number, gender, age, date of birth, affiliation, etc. The third-party information is stored in the server device 4 in association with the third-party identification information.

[0047] [Prescription registration process] First, a prescription registration process according to an embodiment of the present invention will be described. When a user is prescribed a drug by a doctor at a medical institution, the user brings the prescription to a pharmacy and has a pharmacist dispense the drug. At this time, the pharmacist can register the drug prescribed to the user in the system 10. Note that if the prescribed drug and the drug provided to the user differ, such as when the drug listed on the prescription is changed to a generic drug, the pharmacist may register the drug provided to the user as the drug prescribed to the user.

[0048] FIG. 6 is a diagram showing a flowchart of prescription registration processing according to an embodiment of the present invention. The pharmacy terminal 5 accepts input of user identification information and prescription information related to a prescription (step S101). The pharmacy terminal 5 transmits the input user identification information and prescription information to the server device 4 (step S102). The server device 4 receives the transmitted user identification information and prescription information (step S103). The server device 4 stores the received user identification information and prescription information (step S104). Steps S101 to S104 complete the prescription registration processing.

[0049] The input of the user identification information and prescription information in step S101 may be performed using a dedicated input form or the like on the system 10. The user identification information may be communicated to the pharmacist by the user's declaration to the pharmacist, or may be pre-printed on the prescription.

[0050] The method for inputting the user identification information and prescription information is not particularly limited and can be designed as appropriate. For example, the user identification information and prescription information may be input by the pharmacist typing letters or numbers into the pharmacy terminal 5, by the pharmacist selecting the content to input from predetermined options, or by the pharmacist scanning a prescription printed on paper.

[0051] The prescription information in step S101 includes information about the medicine prescribed to the user. The information about the medicine may include the name, quantity, usage, dosage, etc. of the medicine. The prescription information may also include, for example, the user's name and age, the prescription issue date and usage period, the name and location of the hospital or clinic, or the doctor's address, etc. The prescription information may also include, for example, the date and time the prescription was received by the pharmacist at the pharmacy, the name of the pharmacy, the name of the pharmacist, etc.

[0052] In step S104, the prescription information is stored in association with the user identification information, thereby enabling the medicines prescribed to the user to be stored in association with the user identification information.

[0053] The prescription registration process may be performed by the user, the doctor, or a third party, as long as the system 10 can store the medicines prescribed to the user in association with the user identification information.

[0054] The prescription information registered in this manner may be available for users, third parties, etc. to check as prescription history in the system 10.

[0055] Furthermore, in the system 10, not only medicines prescribed by a doctor but also over-the-counter medicines can be registered as medicines to be used (hereinafter also referred to as "medicines to be used"). For example, a user or a third party can input user identification information and medicine information on the medicine to be registered into a terminal operated by the user, and send it to the server device 4, whereby the server device 4 can store the user identification information and the medicine to be used in association with each other.

[0056] When a user uses or has used a drug, the system 10 can register the drug use history. An example of registering a drug use history after a user has used a drug will be described below. The system 10 makes it possible to register information about the drug used by the user, the time when the user used the drug, and the location where the drug was used as the drug use history.

[0057] After logging in to the system 10 using the user terminal 3, the user may display an input form for registering the drug usage history and register the usage history. When logging in to the system 10, the user may input user identification information and a password into the user terminal 3 and send a login request.

[0058] When the server device 4 receives a login request from the user terminal 3, it may acquire location information of the user terminal 3. The method for acquiring the location information of the user terminal 3 is not particularly limited and can be designed as appropriate.

[0059] For example, the server device 4 may transmit to the user terminal 3 a signal instructing the user terminal 3 to transmit location information of the user terminal 3 acquired by a Global Navigation Satellite System (GNSS) such as a GPS provided in the user terminal 3. The user terminal 3 may transmit the location information of the user terminal 3 to the server device 4.

[0060] Alternatively, for example, the server device 4 may transmit a signal to the second device 2 stored in association with the user identification information, instructing the second device 2 to transmit information for identifying the location of the second device 2. The information for identifying the location of the second device 2 may be the distance between each of the multiple first devices 1 and the second device 2. According to the system 10, the distance between each of the multiple first devices 1 and the second device 2 can be calculated through communication between each of the multiple first devices 1 and the second device 2. Furthermore, the server device 4 can identify the location of the second device 2 based on the calculated distances. Because the second device 2 is provided in the user terminal 3, the location of the second device 2 can be considered the location of the user terminal 3.

[0061] The distance between the first device 1 and the second device 2 is calculated based on the propagation time of communication between the first device 1 and the second device 2, so the smaller the time and phase difference between the internal clocks of the first device 1 and the second device 2, the more accurately the distance can be calculated. Below, we will explain an example of calculating the distance between the first device 1 and the second device 2 after synchronizing the internal clocks of the first device 1 and the second device 2.

[0062] [Distance calculation process] 7 is a diagram showing a flowchart of distance calculation processing according to an embodiment of the present invention. The order of the processes constituting the flowchart is random as long as no contradiction or inconsistency occurs in the process content.

[0063] First, information or a signal is transmitted from the first device 1 to the second device 2 (step S201). There are no particular limitations on the information or signal transmitted from the first device 1 to the second device 2. The first device 1 clocks the time when the information or signal was transmitted in step S201 and measures the phase at the time of transmission (step S202). Then, the clocked time and the measured phase are stored in the memory of the control unit 11 (step S203).

[0064] Next, second device 2 receives the information or signal from first device 1 (step S204). Second device 2 clocks the time when the information or signal was received in step S204 and measures the phase at the time of reception (step S205). Then, the clocked time and the measured phase are stored in memory within control unit 21 (step S206).

[0065] Next, second device 2 transmits information or a signal to first device 1 (step S207). There are no particular limitations on the information or signal transmitted from second device 2 to first device 1. Second device 2 clocks the time when the information or signal was transmitted in step S207 and measures the phase at the time of transmission (step S208). Then, the clocked time and the measured phase are stored in memory within control unit 21 (step S209).

[0066] First device 1 receives the information or signal transmitted in step S207 (step S210). First device 1 clocks the time when the information or signal was received in step S210 and measures the phase at the time of reception (step S211). Then, the clocked time and the measured phase are stored in memory within control unit 11 (step S212). When step S212 is completed, the process proceeds to step S213.

[0067] The first device 1 transmits to the second device 2 via the RF chip 12 the information stored in step S203 regarding the time when the signal was transmitted in step S201 and the phase at the time of transmission, and the information stored in step S212 regarding the time when the signal was received in step S210 and the phase at the time of reception (step S213).

[0068] Then, the second device 2 receives information regarding the time and phase at the time of transmission when the first device 1 transmitted the information or signal in step S201, and information regarding the time and phase at the time of reception when the first device 1 received the information or signal in step S210 (step S214).

[0069] Next, control unit 21 of second device 2 calculates the phase shift between the phase of the signal generated by oscillator 13 of first device 1 and the phase of the signal generated by oscillator 23 of second device 2 (step S215). The phase shift can be calculated based on the phase difference between the phase of the carrier wave constituting the information or signal transmitted from first device 1 to second device 2 and the phase of the signal oscillated by oscillator 23 of second device 2 when the information or signal is received by second device 2, and the phase difference between the phase of the carrier wave constituting the information or signal transmitted from second device 2 to first device 1 and the phase of the signal oscillated by oscillator 13 of first device 1 when the information or signal is received by first device 1.

[0070] The phase of the carrier wave constituting the information or signal transmitted from first device 1 to second device 2 is the phase of the information or signal transmitted in step S201. Information regarding this phase is transmitted from first device 1 to second device 2 in step S213. The phase of the signal oscillated by oscillator 23 of second device 2 when the information or signal is received at second device 2 is the phase of the information or signal received in step S204. Information regarding this phase is measured by second device 2 in step S205 and stored in step S206. The phase of the carrier wave constituting the information or signal transmitted from second device 2 to first device 1 is, for example, the phase of the information or signal transmitted in step S207. Information regarding this phase is stored by second device 2 in step S209. The phase of the signal oscillated by oscillator 13 of first device 1 when the information or signal is received at first device 1 is, for example, the phase of the information or signal received in step S210. The information about the phase is measured in step S211 and transmitted from the first device 1 to the second device 2 in step S213.

[0071] Here, the phase of the carrier wave constituting the information or signal transmitted from the first device 1 to the second device 2 is a concept that includes not only the phase of the carrier wave constituting the information or signal transmitted from the first device 1 to the second device 2, but also the phase of the carrier wave constituting the signal obtained by mixing down this information or signal. Similarly, the phase of the carrier wave constituting the information or signal transmitted from the second device 2 to the first device 1 is a concept that includes not only the phase of the carrier wave constituting the information or signal transmitted from the second device 2 to the first device 1, but also the phase of the carrier wave constituting the signal obtained by mixing down this information or signal.

[0072] The phase difference between the phase of the carrier wave constituting the information or signal transmitted from the first device 1 to the second device 2 and the phase of the signal oscillated by the oscillator 23 of the second device 2 when the information or signal is received by the second device 2 is defined as ΔΦ Sand the phase difference between the phase of the carrier wave constituting the information or signal transmitted from the second device 2 to the first device 1 and the phase of the signal oscillated by the oscillator 13 of the first device 1 when the information or signal is received by the first device 1 is defined as ΔΦ M Then, the phase difference ΔΦ S and phase difference ΔΦ M From the arithmetic mean of P That is, equation (1): ΔΦ P =1 / 2×(ΔΦ S +ΔΦ M ) the phase difference ΔΦ P can be calculated.

[0073] The phase difference between the first device 1 and the second device 2 is ΔΦ C Then, equation (2): ΔΦ M =ΔΦ P +(-ΔΦ C ) holds, so the phase shift ΔΦ C is the phase difference ΔΦ P from the phase difference ΔΦ M That is, it can be calculated by subtracting ΔΦ C =1 / 2×(ΔΦ S -ΔΦ M ) causes a phase shift ΔΦ C In step S215, the phase shift between the first device 1 and the second device 2 is calculated using equation (2).

[0074] Here, the phase shift ΔΦ C The phase shift ΔΦ is calculated using equation (2). C However, it may be further subtracted by 2π or 4π, i.e., 2nπ. n can be 0 or a positive integer. Therefore, the propagation time T P Based on the time difference between the first device 1 and the second device 2, it is possible to determine whether n is 0, 1, or 2 (i.e., the phase difference ΔΦ obtained from equation (2)). CIt is also possible to determine whether the value obtained by further subtracting 2nπ from the phase shift is the original phase shift, or whether the value without the subtraction is the original phase shift.

[0075] The signal transmitted from the first device 1 to the second device 2 and the signal transmitted from the second device 2 to the first device 1 may start with an output value other than 0 at the start of transmission, but with an arbitrary value. In such a case, the phase and transmission time at the start of transmission are measured, and the phase shift ΔΦ C It is necessary to correct ΔΦ by always keeping the phase constant at the start of transmission and transmitting at a predetermined time, and then measuring the phase at the start of transmission and the transmission time. C This makes it possible to omit processing such as correcting the

[0076] In the second device 2, the calculated phase shift ΔΦ C Based on this, the phase of the signal generated by oscillator 23 of second device 2 is corrected so as to be synchronized with the signal generated by oscillator 13 of first device 1 (step S216). The phase correction in step S216 is controlled and executed by control unit 21. The phase shift of oscillator 23 of second device 2 occurs due to the influence of the environment surrounding second device 2. By periodically performing synchronization processing in this manner, clock 22a of second device 2 can be made to keep time with high accuracy.

[0077] Next, the first device 1 calculates the time difference between the first device 1 and the second device 2 based on the time when the information or signal was transmitted from the first device 1 to the second device 2, the time when the information or signal was transmitted from the second device 2 to the first device 1, the time when the information or signal was transmitted from the first device 1 and received and clocked by the second device 2, and the time when the information or signal was transmitted from the second device 2 and received and clocked by the first device 1 (step S217).

[0078] The time when information or a signal is transmitted from the first device 1 to the second device 2 is the time when the information is transmitted in step S201. Information about this time is transmitted from the first device 1 to the second device 2 in step S213. The time when information or a signal is transmitted from the second device 2 to the first device 1 is the time when the information or signal is transmitted in step S207. The information about this time is stored by the second device 2 in step S209. Next, the time when the information or signal is transmitted from the first device 1 and received and clocked by the second device 2 is the time when the information is received in step S204. The information about this time is clocked by the second device 2 in step S205 and stored in step S206. The time when the information or signal is transmitted from the second device 2 and received and clocked by the first device 1 is the time when the information or signal is received in step S210. The information about this time is clocked in step S211 and transmitted from the first device 1 to the second device 2 in step S213.

[0079] The time when the information or signal is transmitted from the first device 1 to the second device 2 is T M and the time when the information or signal is transmitted from the second device 2 to the first device 1 is defined as T S The time when the information or signal transmitted from the first device 1 is received by the second device 2 and clocked is defined as T MS Furthermore, the time when the information or signal is transmitted from the second device 2 and received by the first device 1 is defined as T SM Then, the time difference between the first device 1 and the second device 2 is expressed by the formula (3): T L =1 / 2×((T SM -T S )-(T MS -T M )) In step S217, the time difference between the first device 1 and the second device 2 is calculated using equation (3). Based on the calculated time difference, the second device 2 corrects the time on the second device 2 so that it is synchronized with the time on the first device 1 (step S218).

[0080] Next, the distance between the first device 1 and the second device 2 is calculated (step S219). In step S219, the distance between the first device 1 and the second device 2 can be calculated by calculating the propagation time of the information or signal between the first device 1 and the second device 2 based on the substantial difference between the time when the first device 1 transmits the information or signal and the time when the second device 2 receives the information or signal, and multiplying the propagation time by the propagation speed of the information or signal (for example, the speed of light). The difference between the time when the information or signal is transmitted by the first device 1 and the time when the information or signal is received by the second device 2 can be calculated, for example, based on the time when the information or signal is transmitted from the first device 1 to the second device 2 in step S201 (the time when the information or signal is transmitted from the first device 1 to the second device 2 in step S213) and the time when the information or signal is received from the first device 1 at the second device 2 in step S204, which is the time stored in memory in step S206, and the time difference calculated in step S217.

[0081] Furthermore, in step S219, the distance between the first device 1 and the second device 2 can be calculated by calculating the propagation time of the information or signal between the first device 1 and the second device 2 based on the substantial difference between the time when the information or signal is transmitted by the second device 2 and the time when the information or signal is received by the first device 1, and multiplying this propagation time by the propagation speed of the information or signal (e.g., the speed of light). The difference between the time when the information or signal is transmitted by the second device 2 and the time when the information or signal is received by the first device 1 can be calculated based on, for example, the time when the information or signal is transmitted from the second device 2 to the first device 1 in step S207, which is stored in memory in step S209, the time when the information or signal is received by the first device 1 in step S210 (transmitted from the first device 1 to the second device 2 in step S213), and the time difference calculated in step S217.

[0082] The distance between the first device 1 and the second device 2 calculated in step S219 is stored in memory in the control unit 21 of the second device 2 in association with, for example, time information relating to the calculated time and the like, and identification information capable of identifying the first device 1 (or position information of the first device 1) (step S220). By executing step S220, the distance calculation process is completed.

[0083] By performing the processes of steps S201 to S220, it is possible not only to correct the time difference and phase difference between the first device 1 and the second device 2, but also to calculate the distance between the first device 1 and the second device 2. Note that although step S218 corrects the time difference between the first device 1 and the second device 2, it is not necessary to correct the time difference, and it is also possible to calculate the distance between the first device 1 and the second device 2 without correcting the time difference based on the time difference calculated in step S217. Also, although step S216 corrects the phase difference between the first device 1 and the second device 2, it is not necessary to correct the phase difference, and it is also possible to calculate the distance between the first device 1 and the second device 2 without correcting the phase difference.

[0084] Furthermore, by executing the processing from steps S201 to S220, the time difference and phase difference between the first device 1 and the second device 2 are corrected and the distance between the first device 1 and the second device 2 is calculated, but it is also possible to execute the processing for correcting the time difference between the first device 1 and the second device 2, the processing for correcting the phase difference between the first device 1 and the second device 2, and the processing for calculating the distance between the first device 1 and the second device 2 separately.

[0085] The above-described process of calculating the distance between the first device 1 and the second device 2 can calculate the distance between one second device 2 and each of multiple first devices 1. When specifying the position of the second device 2, as will be described later, the distance between the first device 1 and the second device 2 is specified for as many first devices 1 as necessary to specify the position. However, even when calculating the distance between one second device 2 and each of multiple first devices 1, the time offset correction process and the phase offset correction process can be performed only with one first device 1, and the time offset correction process and the phase offset correction process can be omitted when communicating with other first devices 1.

[0086] Here, the second device 2 calculates the distance between the first device 1 and the second device 2, but the first device 1 may calculate the distance between the first device 1 and the second device 2 by processing similar to step S219 instead of the second device 2. When the distance is calculated by the first device 1, the distance between the first device 1 and the second device 2 is stored in the memory of the control unit 11 in association with time information regarding the calculated time, etc., and identification information capable of identifying the second device 2.

[0087] Alternatively, the server device 4, instead of the second device 2, may calculate the distance between the first device 1 and the second device 2 by processing similar to step S219. When the server device 4 calculates the distance, the information necessary for the calculation is received from the first device 1 and / or the second device 2. When the server device 4 calculates the distance, the distance between the first device 1 and the second device 2 is stored in the storage unit 43 of the server device 4 in association with time information regarding the calculated time, etc., identification information that can identify the first device 1 or location information of the first device 1, and identification information that can identify the second device 2.

[0088] [Location identification processing] Next, a description will be given of a position determination process according to an embodiment of the present invention. Determining the position of a second device 2 is premised on the fact that the distances between one second device 2 and each of multiple first devices 1 have been calculated in the distance calculation process. For example, if one second device 2 and multiple first devices 1 are located at the same height, that is, if these devices exist on the same XY plane, the position of the second device 2 (e.g., the XY coordinates of the second device 2) can be determined based on the distances between the one second device 2 and each of the three first devices 1 and the positions of the three first devices 1. Therefore, if one second device 2 and multiple first devices 1 are located at the same height, the number of data points for the distances between the first device 1 and the second device 2 required to determine the position is three.

[0089] Furthermore, for example, if one second device 2 and at least one of the multiple first devices 1 are at different heights and do not exist on the same plane, the position of the second device 2 (for example, the XYZ coordinates or latitude, longitude, and altitude of the second device 2) can be identified based on the distances between the one second device 2 and four first devices 1 and the positions of the four first devices 1. Therefore, if one second device 2 and at least one of the multiple first devices 1 are at different heights and do not exist on the same plane, the number of data points for the distance between the first device 1 and the second device 2 required to identify the position is four.

[0090] 8 is a diagram showing a flowchart of a position identification process according to an embodiment of the present invention. The order of the processes constituting the flowchart is random as long as no contradiction or inconsistency occurs in the process contents.

[0091] 8 can be executed by, for example, the first device 1, the second device 2, or the server device 4. Information relating to the distance between each of the multiple first devices 1 and the second device 2 (the distance calculated in step S219) may be transmitted in advance to a device that executes the position specifying process in association with time information relating to the calculated time, identification information of the first device 1 or location information of the first device 1, and identification information of the second device 2, and may be used in the position specifying process. Here, an example in which the server device 4 executes the position specifying process will be described.

[0092] In the position identification process, the position of the second device 2 is identified based on the distance between each of the multiple first devices 1 and the second device 2 and the positions of these first devices 1 (step S301). The positions of the first devices 1 may be stored in advance in the server device 4. The calculation process for identifying the position of the second device 2 is not particularly limited.

[0093] The identified position of second device 2 is stored in storage unit 43 of server device 4 in association with time information on the calculated time (time information on the time when the distance was calculated or time information on the time when the position was identified), identification information of first device 1 or position information of first device 1, and identification information of second device 2 (step S302). Steps S301 and S302 complete the position identification process.

[0094] It is preferable that the distances between each of the multiple first devices 1 and the second device, which are used to identify the position of the second device 2 in step S301, are calculated at the same time or close to each other (for example, calculated when the propagation times of information or signals between each of the multiple first devices and the second device are measured at the same time or close to each other). Here, close times are not particularly limited, but are preferably times within a predetermined time range from time 1. By using the distances between each of the multiple first devices 1 and the second device calculated at the same time or close to each other, it is possible to identify the position at that time more accurately.

[0095] The position of the second device 2 identified in step S301 may be represented by latitude, longitude, and altitude, or may be represented by XYZ coordinates in a predetermined coordinate space. By identifying the position of the second device 2, the position of the user terminal 3 is identified.

[0096] When the first device 1 or the second device 2 performs the location determination process, in step S302, the determined location of the second device 2 may be stored in the memory within the control unit 11 of the first device 1 or the memory within the control unit 21 of the second device 2.

[0097] Since the location of the user terminal 3 is considered to be the location of the user, the server device 4 may store the acquired location information of the user terminal 3 as the location where the medicine was used in the use history registration process described later. Next, the use history registration process according to an embodiment of the present invention will be described.

[0098] [Usage history registration process] 9 is a diagram showing a flowchart of a use history registration process according to an embodiment of the present invention. The user terminal 3 accepts input of drug information related to drugs used by the user (step S401). The user terminal 3 transmits the input drug information to the server device 4 (step S402). The server device 4 receives the transmitted drug information (step S403). The server device 4 determines whether the drug used by the user corresponds to a registered drug (step S404).

[0099] If it is determined that the medicine used by the user corresponds to the registered medicine (YES in step S404), the server device 4 stores the medicine information used by the user, the time when the user used the medicine, and the place where the user used the medicine (step S405). In this case, the use history registration process ends with steps S401 to S405.

[0100] On the other hand, if it is determined that the drug used by the user does not correspond to the registered drug (NO in step S404), the server device 4 transmits the determination result to the user terminal 3 (step S406). The user terminal 3 receives the transmitted determination result (step S407). The user terminal 3 outputs the received determination result (step S408). Thereafter, the process returns to step S401 again, and accepts input of drug information. In this case, steps S401 to S408 complete the use history registration process.

[0101] The pharmaceutical information in step S401 is not particularly limited as long as it is information that can identify the pharmaceutical used by the user. The pharmaceutical information may be the name, code, etc. of the pharmaceutical. The pharmaceutical name may include the brand name, standard, generic name, etc. of the pharmaceutical, and is preferably one that can uniquely identify the pharmaceutical. The pharmaceutical code may include the YJ code, JAN code, etc., and is preferably one that can uniquely identify the pharmaceutical.

[0102] The method for inputting the drug information in step S401 is not particularly limited and can be designed as appropriate. For example, the drug information may be input using letters or numbers, or may be input as an image captured by a camera or the like provided in the user terminal 3.

[0103] In step S401, the amount of medicine used by the user may be input as medicine information.

[0104] In step S402, the time when the user terminal 3 accepted the input of the drug information in step S401 may be transmitted together with the drug information.

[0105] In step S404, if the pharmaceutical corresponding to the pharmaceutical information input in step S401 matches any of the pharmaceuticals prescribed to the user that were stored by the server device 4 in step S104 of the prescription registration process, the server device 4 may determine that the input pharmaceutical corresponds to the pharmaceutical prescribed to the user.

[0106] If the drug information input in step S401 is the name of a drug, it may be determined in step S404 that the input drug name matches the name of a drug registered as prescription history. "When the drug names are the same" refers to cases where the drug names are considered to be the same, and may include cases where the entire drug name is the same and cases where only part of the drug name is the same.

[0107] If the drug information input in step S401 is a drug code, it may be determined in step S404 that the input drug code matches a code corresponding to the drug registered as a prescription history. In this case, it is preferable that the drug code be previously stored in association with the drug name in the storage unit 43 of the server device 4.

[0108] In step S404, the determination may be made for prescriptions that satisfy a predetermined condition among the prescription information registered as the prescription history. For example, the determination may be made for prescriptions whose issuance date or the date and time the pharmacist received the prescription is within a predetermined period from the date and time the server device 4 received the drug information in step S403. The predetermined period may be, for example, within three months, within one month, or within two weeks. Alternatively, the determination may be made for prescriptions whose date and time the server device 4 received the drug information in step S403 is within the period during which the prescribed drug remains if the drug is used according to the usage and dosage.

[0109] In addition, in step S404, it may be determined whether the number of times the drug is used in one day is the number of times in accordance with the usage instructions and / or whether the amount of the drug used per time is the amount in accordance with the dosage. For example, if it is determined that the input drug matches the drug prescribed in one prescription, the server device 4 may determine whether the usage instructions and / or dosage of the prescription match the usage instructions and / or dosage input in step S401. Note that the usage instructions input in step S401 may be identified from the number of times drug information is input by the user terminal 3, the time interval between inputs of drug information by the user terminal 3, etc.

[0110] In addition, if the medicine used by the user is an over-the-counter medicine, in step S404, the server device 4 may determine that the input medicine corresponds to a registered medicine if the medicine corresponding to the medicine information input in step S401 matches any of the medicines scheduled for use that the server device 4 has stored in association with the user identification information.

[0111] In step S405, the server device 4 can store the drug corresponding to the drug information input in step S401 as the drug used by the user. The server device 4 may also store the amount of the drug used by the user in association with the drug used by the user.

[0112] Furthermore, in step S405, the server device 4 may store the time when the input of the drug is accepted as the time when the user uses the drug. Here, the "time when the input of the drug is accepted" may be the time when the user terminal 3 accepts the input of the drug information in step S401, the time when the user terminal 3 transmits the drug information in step S402, or the time when the server device 4 receives the drug information in step S403.

[0113] Alternatively, the user may be able to input the time when the drug was taken by himself / herself. For example, the time when the drug was taken may be input in step S401. In this case, the server device 4 may store the "time when the drug was taken" input to the user terminal 3 as the time when the user took the drug in step S405.

[0114] In step S405, the server device 4 may store the location of the second device 2 identified in step S302 of the location identification process as the location where the user used the medicine. As described above, the location of the second device 2 is the location of the user terminal 3 when the user logs in to the system 10.

[0115] The location of the user terminal 3 acquired by the server device 4 and stored as the usage history in step S405 may be the location of the user terminal 3 at a time different from when the user logs in to the system 10. For example, it may be the location of the user terminal 3 when the user terminal 3 transmits the pharmaceutical information in step S402.

[0116] By registering the location identified by system 10 as the place where the medicine was used, the user is saved the trouble of inputting the location where the medicine was used, making it easier to register the location where the medicine was used.

[0117] Alternatively, the user may be able to input the location where the drug was used by himself / herself. For example, the location where the drug was used may be input in step S401. In this case, the server device 4 may store the "location where the drug was used" input to the user terminal 3 as the location where the user used the drug in step S405.

[0118] By allowing the user to input the location where the medicine was used, the location where the medicine was used can be correctly registered even if the medicine was used in a location different from the location of the user terminal 3.

[0119] If the location of the second device 2 is expressed by latitude, longitude, and altitude, or xyz coordinates, the server device 4 may identify the address corresponding to the location of the second device 2 and store it as the location where the user used the medicine.

[0120] The determination result in step S406 is that the input medicine is not determined to match the medicine prescribed in the prescription registered as prescription history.

[0121] The manner in which the determination result is output in step S408 is not particularly limited and can be designed as appropriate. The output should be executed in a manner that allows the user to understand the determination result. For example, a message indicating that the inputted drug does not match the prescribed drug may be displayed on the display screen of the user terminal 3, or an error sound may be output from the speaker of the user terminal 3.

[0122] If there is an error in the drug information entered in step S401, the user can re-enter the drug information that was actually used. In this case, the process returns to step S401.

[0123] On the other hand, if there is no error in the drug information entered in step S401, the user may be able to newly register the drug corresponding to the drug information entered in step S401 as a drug that the user plans to use. For example, when a registration request to register the drug corresponding to the drug information entered in step S401 as a drug planned to be used is transmitted from the user terminal 3 to the server device 4, the server device 4 may store the drug corresponding to the drug information entered in step S401 in association with the user identification information. Furthermore, the server device 4 may execute step S405 after registering the drug planned to be used.

[0124] Alternatively, in the usage history registration process, the processes related to the determinations in steps S404 to S407 may not be executed. For example, in step S401, a list of medicines stored in the server device 4 as prescription history and / or medicines scheduled for use may be displayed on the display screen of the user terminal 3. The user can select the medicines they have used from the displayed medicines.

[0125] [Output Processing] Next, the output process according to the embodiment of the present invention will be described. The drug usage history registered as described above can be checked by a third party in the system 10. In the system 10, it is preferable that a range of usage history that can be checked by each third party is set. The range of usage history that can be checked by each third party may be stored in the server device 4 in association with third party identification information.

[0126] For example, if the third party is a family member of the user, the server device 4 may be configured to be able to check the usage history of the user. The server device 4 may store the third party identification information and the user identification number of the user who is a family member of the third party in association with each other.

[0127] Alternatively, for example, if a third party is an administrator who manages the health conditions of multiple users at a facility, the server device 4 may be configured to be able to check the usage history of users managed at the facility. The server device 4 may store the third-party identification information and the user identification number of the user managed at the facility to which the third party belongs, in association with each other.

[0128] Alternatively, for example, if the third party is a person in charge of a pharmaceutical company, the server device 4 may be configured to be able to check the usage history of medicines sold by the pharmaceutical company. The server device 4 may store the third party identification information and the medicines sold by the pharmaceutical company to which the third party belongs in association with each other.

[0129] FIG. 10 is a flowchart of output processing according to an embodiment of the present invention. The third party terminal 6 accepts input of search conditions for searching for use history (step S501). The third party terminal 6 transmits the input search conditions and a search request for searching for use history to the server device 4 (step S502). The server device 4 receives the transmitted search conditions and search request (step S503). The server device 4 searches for users or use history that meet the received conditions (step S504). The server device 4 transmits the drug use history of users that meet the conditions to the third party terminal 6 (step S505). The third party terminal 6 receives the transmitted drug use history of users that meet the conditions (step S506). The third party terminal 6 outputs the received drug use history of users that meet the conditions (step S507). Steps S501 to S507 complete the output processing.

[0130] The search conditions in step S501 are not particularly limited and can be designed as appropriate. The search conditions may include user identification information, the time when the drug was used, the name of the drug used, the name of the facility where the user is managed, the user's address, the name of the local government to which the user belongs, the user's age, the user's gender, etc.

[0131] In step S501, the third party may be able to input search criteria within a range that is set as a range that the third party can confirm. For example, in step S501, a list of search criteria that fall within the range that the third party can confirm may be displayed on the display screen of the third-party terminal 6, and a condition selected from the displayed conditions may be input as the search criteria. Alternatively, for example, if search criteria that fall outside the range that the third party can confirm are entered and a search request is transmitted, an error message may be displayed on the display screen of the third-party terminal 6.

[0132] With search conditions input to third party terminal 6, a search request may be transmitted in step S502 in response to pressing a search button or the like displayed on the input screen.

[0133] In step S504, a search is made for users or usage histories that match the input conditions from among the users (user identification information) and / or medicines stored in the server device 4 as usage histories in step S405 of the usage history registration process.

[0134] The output method in step S507 is not particularly limited and can be designed as appropriate. For example, a usage history may be displayed on a display screen. The usage history may include the medicines used by the user, the time when the user used the medicines, and / or the place where the user used the medicines.

[0135] Furthermore, the manner in which the usage history is output in step S507 is not particularly limited and can be designed as appropriate. For example, when user identification information is input as a search criterion, the drug usage history of the user corresponding to the user identification information may be displayed as a list. Alternatively, when the name of a facility is input as a search criterion, a list of user identification information for users managed at the facility may be displayed, and the drug usage history of the user corresponding to the user identification information selected by a third party from the displayed user identification information may be displayed as a list. Alternatively, when the name of a drug is input as a search criterion, a list of user identification information for users who have used the drug may be displayed, and the drug usage history of the user corresponding to the user identification information selected by a third party from the displayed user identification information may be displayed as a list. When the usage history is output, personally identifiable information, such as the user's name, may not be output.

[0136] The user, the pharmacy staff, and / or the medical institution staff may also be able to check the user's drug usage history. In this case, the user terminal 3, the pharmacy terminal 5, and / or the medical institution terminal can perform the same processing as the third-party terminal 6.

[0137] Furthermore, when a third party checks a user's drug use history, a confirmation history of the third party checking the user's use history may be stored in the system 10. The confirmation history may store, in association with third party identification information, the time when the third party received the use history, the user identification information of the user corresponding to the use history output by the third party, search conditions entered by the third party, and the like.

[0138] Furthermore, the confirmation history may store location information of the third-party terminal 6 when the third party checks the usage history of the user. In this case, the third-party terminal 6 may be equipped with the second device 2. Regarding the manner in which the system 10 acquires and stores the location information of the third-party terminal 6, the description of the user terminal 3 may be adopted to the extent necessary.

[0139] In this way, a system having at least one computer device can be provided that is equipped with a location identification means for identifying the location of a user terminal operated by a user, and a drug storage means for storing the identified location, the drug used by the user, and the time the user used the drug, thereby providing a system that registers the drug usage history, including information regarding the location where the user used the drug.

[0140] By registering the drug use history, including information on the location where the drug was taken, it becomes possible to understand trends, such as whether the user tends to take the drug at a different time when taking the drug while out. If such trends can be understood, it becomes possible to think of ways to maintain appropriate drug use times, such as creating a daily schedule so that the drug can be taken at home, or setting an alarm for the time when the drug should be taken while out.

[0141] In this way, the system is equipped with a pharmaceutical acceptance means that accepts input of pharmaceuticals that the user uses or has used via a user terminal operated by the user, and the pharmaceutical storage means stores the accepted input of pharmaceuticals as pharmaceuticals that the user has used, allowing the user to enter pharmaceuticals to be registered in the usage history.

[0142] Furthermore, by having the drug storage means store the time at which the drug input is accepted as the time at which the user used the drug, the user can register the time at which the drug was used without having to input the time at which the drug was used.

[0143] In this way, the system is equipped with a prescription storage means that stores the medicines prescribed to the user in association with user identification information, and a determination means that determines whether the medicines input by the medicine receiving means correspond to the medicines prescribed to the user that are stored in the prescription storage means, making it possible to determine whether the input medicines correspond to the prescribed medicines.

[0144] Furthermore, in this way, the system includes a plurality of first devices, the user terminal includes a second device, and includes a distance calculation means for calculating the distance between each of the plurality of first devices and the second device based on the propagation time of information or signals between each of the plurality of first devices and the second device, and the location determination means determines the location of the second device based on the calculated distance between each of the plurality of first devices and the second device, thereby making it possible to determine the location of the user terminal based on the distance between the first device and the second device.

[0145] Furthermore, since the distance calculation means calculates the distance based on the time difference between the internal clock of the first device and the internal clock of the second device, a more accurate distance can be calculated.

[0146] Furthermore, by having the system communicate between the first device and the second device in this way, and being equipped with a time difference calculation means that calculates the time difference between the first device and the second device, and a time correction means that corrects the time on the second device based on the calculated time difference, the time on the second device can be synchronized with the time on the first device.

[0147] Furthermore, by having the system communicate between one first device and one second device, and including a phase shift calculation means for calculating the phase shift of the clocks between one first device and one second device, and a phase correction means for correcting the phase in the second device based on the calculated phase shift, the phase of the second device can be synchronized with the phase of the first device.

[0148] In addition, in this way, the system is equipped with an output means that outputs the medicine used by the user, the time the user used the medicine, and the location where the user used the medicine, corresponding to one user identification information, in response to a request from a third-party terminal operated by a third party, allowing a third party to check the user's medicine usage history. [Explanation of symbols]

[0149] 1 1st device 2 Second device 3. User terminal 4. Server equipment 5 Pharmacy terminals 6. Third-Party Devices 7. Communication Networks 10 Systems 11 Control section 12 RF chips 12a Clock 12b Phase Detector 13 Oscillators 21 Control section 22 RF chips 22a Clock 22b Phase Detector 23 Oscillator 31 Control Unit 32 RAM 33 Storage Department 34 Input section 35 Display section 36 Communication Interface 41 Control Unit 42 RAM 43 Storage Department 44 Communication Interface

Claims

1. 1. A system comprising at least one computer device, a location identification means for identifying the location of a user terminal operated by a user; a medicine storage means for storing the identified location, the medicine used by the user, and the time when the user used the medicine; A system comprising:

2. A drug reception means for receiving input of drugs that a user uses or has used by the user through a user terminal operated by the user; Equipped with 2. The system according to claim 1, wherein the medicine storage means stores the inputted medicine as a medicine used by the user.

3. 3. The system according to claim 2, wherein the medicine storage means stores the time when the medicine is input as the time when the user takes the medicine.

4. a prescription storage means for storing medicines prescribed to a user in association with user identification information; a determination means for determining whether the medicine input by the medicine receiving means corresponds to the medicine prescribed to the user and stored in the prescription storage means; The system according to any one of claims 1 to 3, comprising:

5. a plurality of first devices; The user terminal includes a second device, distance calculation means for calculating a distance between each of the plurality of first devices and the second device based on information or signal propagation time between each of the plurality of first devices and the second device; Equipped with The system according to any one of claims 1 to 3, wherein the position specifying means specifies the position of the second device based on the calculated distances between each of the plurality of first devices and the second device.

6. 6. The system according to claim 5, wherein the distance calculation means calculates the distance based on the time difference between an internal clock of the first device and an internal clock of the second device.

7. a time difference calculation means for calculating a time difference between one first device and one second device by performing communication between the first device and the second device; a time correction means for correcting the time in the second device based on the calculated time difference; The system of claim 5 , comprising:

8. a phase shift calculation means for calculating a phase shift between clocks of one first device and one second device by performing communication between the first device and the second device; a phase correction means for correcting the phase in the second device based on the calculated phase shift; The system of claim 7, comprising:

9. An output means for outputting, in response to a request from a third-party terminal operated by a third party, the medicine used by the user, the time when the user used the medicine, and the place where the user used the medicine, which correspond to one piece of user identification information. The system according to any one of claims 1 to 3, comprising:

10. 1. A method executed in a system comprising at least one computer device, comprising: a location identification step of identifying the location of a user terminal operated by a user; A medicine storage step for storing the identified location, the medicine used by the user, and the time when the user used the medicine. A method comprising: