This application is based upon and claims the benefit of priority of the prior Japanese Patent Application 2016-091475, filed on Apr. 28, 2016, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to an estimation device, an estimation method, and an estimation program.
For example, there is a case in which an operator provides service in in-home medical care, at-home nursing, or the like, by visiting a work target at home who receives a service. The work target may be, for example, a patient, a person requiring long-term care, or the like. For example, in the in-home medical care, a visiting doctor and a visiting nurse visit patients at home and provide visiting medical service and nursing. In the at-home nursing, a caregiver visits a person requiring long-term care at home and provides a nursing care. In this case, the operator may visit the work target, for example, a multiple number of times, and perform the work on a continuing basis. Then, in planning a work schedule and the like, service provision time is estimated by the operator based on the operator's experience.
In this regard, a technology is known by which an efficient repair work sequence is planned (for example, Japanese Laid-open Patent Publication No. 2006-227751). In addition, a technology is known by which makes identification of a problem area easier, and makes the significance of work improvement is clear by quantitatively evaluating the effect of improved work process (for example, Japanese Laid-open Patent Publication No. 2006-260156).
As described above, for example, there is a case in which a certain type of work is continuously performed for a work target over a multiple number of times. In this case, for example, it is presumed that it takes about the same amount of time to perform the work if the condition of the work target does not widely change. However, when some kind of change in condition occurs after the work was performed on the work target last time, kind of service to be provided when the work is performed next time may change. In this case, for example, while the operator attempts to estimate service provision time for making a plan for the work, the accuracy of the estimated service provision time may be reduced due to a change in the kind of service. An object of an embodiment is to estimate service provision time for work with high accuracy.
According to an aspect of the invention, an estimation method causing a computer to execute a process, the process includes: extracting at least one event that occurs with respect to a work target in a time period from first performance of specific work to second performance of the specific work performed after the first performance, out of the plurality of events which includes at least one session of the specific work performed for the work target, stored in a storage unit that associates the plurality of events with date and times in which the plurality of events occurred respectively; and estimating service provision time of the specific work at the time of the second performance, based on the at least one event.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
Some of the embodiments of the technology discussed herein are described below in detail with reference to drawings. The same symbol is assigned to corresponding elements in different drawings. In the following description, visiting medical service and the like in in-home medical care are described as examples of work, but the embodiments are not limited thereto. The work may also be, for example, another work such as visiting nursing service and the like in at-home nursing. In addition, for example, in the same visiting medical service work, kind of service may be varied. For example, in one visiting medical service, a physician's history taking and blood pressure measurement may be performed, and in another visiting medical service, blood collection may be performed in addition to a physician's history taking and blood pressure measurement. In addition, the description below refers to a patient as an example of a work target. However, the embodiments are not limited to such an example. A work target may include, for example, a patient, a person requiring long-term care, and other targets, as long as such person is a target to receive service by the operator.
Thus, when a related event 102 occurs, the operator may perform a service different from the usual service, and as a result, medical service time may change. For example, in
In this manner, for example, when the related event 102 occurred in the work target, service to be performed in the next work may change, and as a result, the service provision time may change. In this case, while the operator attempts to estimate service provision time for making a plan for the work, the accuracy of the estimated service provision time may be reduced. Thus, as a result of the reduced estimation accuracy of the service provision time, for example, although only five requests for work may be accepted, a schedule for more work may be planned. Conversely, for example, while it is actually possible to perform work for 10 requests, a schedule may be planned in which work for only eight requests is to be performed. A technology is therefore desired by which service provision time for work may be estimated with high accuracy.
In an embodiment described below, for example, when service provision time is estimated, it is determined whether or not a related event 102 has occurred in a work target in a time period between the work to be estimated and the same type of work immediately preceding the work being estimated. Then, if the related event 102 has occurred, service provision time for the work to be estimated will be estimated based on the related event 102. Accuracy of estimating service provision time may be thereby improved. This thereby enables, for example, number of requests for work and the like performed in a day to be set appropriately, and opportunity loss of work to be reduced. In addition, for example, accuracy of determining whether or not a sudden work request for an emergency patient or the like may be accepted may also be improved, enabling a work request to be accepted with confidence. The embodiments are described below with reference to drawings.
In the example of
In an example, when an ID card of the work target is read by a terminal at the time of occurrence of an event, the terminal notifies the information to the server 202, and information on an entry may be registered in the server 202. In this case, for example, the event date and time may be the time at which the ID card of the work target was read by the terminal. In addition, the service provision time may be, for example, time from the time at which the operator caused the terminal to read the ID card at the start of the work to the time at which the operator caused the terminal to read the ID card at the end of the work.
In Step 501 (hereinafter, Step is represented by “S”, and for example, Step 501 is referred to as S501), for example, the control unit 301 sets the value of a variable j at “0”, and initializes the variable j. In
In S503, the control unit 301 adds 1 to the variable i, updates the value of the variable i, and determines whether or not the updated variable i is the number of sessions of work W or less. The control unit 301 may obtain the number of sessions of work W, for example, by counting entries in each of which a work target is the certain work target and an event is the certain type of work, out of the entries registered in the event information 400. Hereinafter, an entry in which a work target is the certain work target, and an event is the certain type of work out of the entries of the event information 400 may be referred to as an entry of the certain type of work performed for the certain work target or an entry of the certain type of work for the certain work target. Then, in the processing of S503, for example, the control unit 301 determines whether or not there is an unprocessed entry out of the entries of the certain type of work performed for the certain work target, which are registered in the event information 400. When the variable i is the number of sessions of work W or less (YES in S503), the flow proceeds to S504.
In S504, the control unit 301 determines whether or not there is an entry of a related event 102 for the certain work target in a time period between an entry of a certain type of work w (i-1) and an entry of the certain type of work w (i) that are performed for the certain work target, with reference to the event information 400. For example, entries of the event information 400 may be arranged in ascending/descending order (data lower in the order has a later date and time), and the control unit 301 may assign the value of the variable i, in order from 1, to entries of the certain type of work for the certain work target starting from the entries having an older date and time. Then, the entry of the certain type of work w (i-1) indicates an entry of the i-1th certain type of work out of the sessions of certain type of work for the certain work target registered in the event information 400, and the entry of the certain type of work w (i) may indicate an entry of the i-th certain type of work.
When there is an entry of a related event 102 for the certain work target in the time period between the entry of the certain type of work w (i-1) and the entry of the certain type of work w (i) for the certain work target (YES in S504), the flow returns to S503. On the other hand, when there is no entry of the related event 102 in the time period between the entry of the certain type of work w (i-1) and the entry of the certain type of work w (i) for the certain work target (NO in S504), the flow proceeds to S505. In this case, the entry of the certain type of work w (i) becomes, for example, an entry of standard work.
In S505, the control unit 301 adds 1 to the variable j and updates the value of the variable j. As described above, in
In addition, in S503, when the variable i is not the number of sessions of work W or less (NO in S503), and the control unit 301 has executed processing for all entries of the certain type of work for the certain work target, which are registered in the event information 400, the flow proceeds to S507. In S507, the control unit 301 obtains a representative value representing service provision time of the standard work, from the respective service provision time of the extracted standard work s (j), and registers the representative value in the standard service provision time information 600. For example, the control unit 301 may calculate an average value that has been obtained by averaging the service provision time of each of the sessions of standard work (j), as the representative value. The representative value is not limited to the average value, and for example, may be another statistical value such as a maximum value, a minimum value, a median value, or a mode value. Then, the control unit 301 registers an entry including the certain work target, the certain type of work, and the obtained representative value in the standard service provision time information 600, and the operational flow ends.
As described above, the control unit 301 is able to estimate, for example, standard service provision time of the standard work through the operational flow of
Extraction of an entry of a related event 102 from the event information 400 is next described below.
In S701, for example, the control unit 301 sets the value of the variable j at “0”, and initializes the variable j. In
In S702, the control unit 301 sets the variable i at “1”. The variable i is, for example, a variable used for counting the number of entries of the sessions of certain type of work for the certain work target, which are registered in the event information 400.
In S703, the control unit 301 adds 1 to the variable i, updates the value of the variable i, and determines whether or not the updated variable i is the number of sessions of work W or less. The control unit 301 may obtain the number of sessions of work W, for example, by counting the number of entries in each of which a work target is the certain work target, and an event is the certain type of work out of the entries registered in the event information 400. When the variable i is the number of sessions of work W or less (YES in S703), the flow proceeds to S704.
In S704, the control unit 301 determines whether or not there is an unprocessed entry of a related event 102 for the certain work target in a time period between an entry of the certain type of work w (i-1) and an entry of the certain type of work w (i) that are performed for the certain work target, with reference to the event information 400. For example, the entries of the event information 400 may be arranged in ascending/descending order (data lower in the order has a later date and time), and the control unit 301 may assign the value of the variable i, in order from 1, to entries of the certain type of work for the certain work target starting from the entries having an older date and time. Then, the entry of the certain type of work w (i-1) indicates an entry of the i-1-th certain type of work out of the sessions of certain type of work for the certain work target registered in the event information 400, and the entry of the certain type of work w (i) may indicate an entry of the i-th certain type of work.
When there is no unprocessed entry of a related event 102 for the certain work target in the time period between the entry of the certain type of work w (i-1) and the entry of the certain type of work w (i) for the certain work target (NO in S704), the flow returns to S703. In contrast, when there is an unprocessed entry of a related event 102 for the certain work target in the time period between the entry of the certain type of work w (i-1) and the entry of the certain type of work w (i) for the certain work target (YES in S704), the flow proceeds to S705.
In S705, the control unit 301 adds 1 to the variable j and updates the value of the variable j. As described above, in
S706, the control unit 301 may assign the value of the variable j to the related event 102. The control unit 301 extracts information on an entry corresponding to the j-th related event 102 from the event information 400 as a related event r (j) and registers the information in the related event information 800 corresponding to the certain type of work performed for the certain work target, and the flow returns to S704. In addition, in S703, when the variable i is not the number of sessions of work W or less (NO in S703), the operational flow ends.
As described above, for example, the control unit 301 is able to extract a related event 102 for a certain work target, which has occurred between a multiple number of sessions of certain type of work performed for the certain work target, to the related event information 800, according to the operational flow of
In the operational flow of
Analysis processing of a difference time between standard service provision time and service provision time for work when a related event 102 has occurred is next described below.
In S901, for example, the control unit 301 sets the values of the variable j and the variable flg at “0”, and initializes the variable j and the variable flg. In
In S903, for example, the control unit 301 extracts work w corresponding to the related event r (j). For example, the control unit 301 obtains an event date and time of the related event r (j) from the related event information 800. In addition, the control unit 301 may extract a certain type of work for the certain work target, which has been performed immediately after the event date and time of the related event r (j), from the event information 400 as the certain type of work w.
In S904, the control unit 301 determines whether or not the value of the variable flg is 0. When the value of the variable flg is 0 (YES in S904), the flow proceeds to S905. In S905, the control unit 301 sets the value of the variable flg as “j”. The variable flg is, for example, a flag indicating that a set of related events 102 that have occurred before the certain type of work w is being extracted. For example, that the value of the variable flg is 0 may indicate that a set of related events 102 is not being extracted, and that the value of the variable flg is “j” may indicate that the a set of related events 102 is being extracted. In S905, when the control unit 301 sets the value of the variable flg as “j”, the flow returns to S902.
In addition, in S904, when the value of the variable flg is not 0 (NO in S904), the flow proceeds to S906. In S906, the control unit 301 determines whether or not the certain type of work w that has been extracted for the related event r (j) in S903 of the current loop from S902 to S906 is matched with a certain type of work w′ that has been extracted for the related event r (j-1) in S903 of the previous loop. When the respective sessions of work match, it indicates that the related event r (j) and the related event r (j-1) are included in the set of related events 102 generated in a time period between the performance of the certain type of work w for the certain work target extracted in S903, and the immediately preceding performance of the certain type of work for the certain work target.
In S906, when the certain type of work w with respect to the related event r (j) is matched with the certain type of work w′ with respect to the previous related event r (j-1) (YES in S906), the flow returns to S902. On the other hand, when the certain type of work w with respect to the related event r (j) does not match with the certain type of work w′ with respect to the previous related event r (j-1) (NO in S906), the flow proceeds to S907.
In S907, the control unit 301 extracts the service provision time of the certain type of work w from the “service provision time” of the event information 400. In S908, the control unit 301 extracts a difference between the extracted service provision time of the certain type of work w and the standard service provision time associated with the certain type of work w in the standard service provision time information 600. In S909, the control unit 301 subtracts 1 from the value of j. In S910, the control unit 301 stores, for example, an entry including a pair of the set of related events from the related event r (fig) to the related event r (j) and the difference time in the related event difference time information 1000. Note that, for example, “flg=j” is set in S905, and the value of fig is the value of j at the start of extraction of the set of related events 102. Therefore, the set of related events from the related event r (fig) to the related event r (j) is a set of related events 102 for the certain work target, which have occurred in a time period between the performance of the certain type of work w for the certain work target between the previous performance of the certain type of work for the certain work target.
Subsequently, in S911 of the operational flow of
In addition, in S902, when the value of the variable j is not the number of related events R or less (NO in S902) after 1 has been added to the variable j and the variable has been updated, the flow proceeds to S912. In S912, the control unit 301 performs regression analysis using a pair of set of related events and the difference time registered in each of the entries registered in the related event difference time information 1000.
When the regression analysis is performed, a related event 102 assigned to a partial regression coefficient used for the regression analysis may be set arbitrarily as long as the related event 102 is not correlative with and is independent of the influence on the service provision time. In addition, the number of partial regression coefficients may be set arbitrarily. For example, a coefficient may be assigned to each of the related events 102 registered in the “related event” of the related event information 800. In addition, for example, a coefficient does not have to be assigned to a related event that has a low probability to affect the service provision time out of the related events 102 registered in the related event information 800. Alternatively, a single coefficient may be assigned to some of related events 102 similar to each other. The number of partial regression coefficients may be set, for example, according to the processing speed of a computer used for the regression analysis and the estimation accuracy of the service provision time and the like, desired depending on a usage situation of the embodiment.
In the equation of the regression analysis illustrated in “theoretical value of the difference time” of
In addition, for example, the control unit 301 may determine values of the coefficients a to f by performing the regression analysis using a multiple number of equations of regression analysis, which have been generated from
As described above, the control unit 301 may obtain a coefficient (parameter) of the regression analysis for each of the related events 102, through the operational flow of
In the above-described operational flow of
Processing for estimating service provision time is described next with reference to
In S1401, for example, the control unit 301 determines whether or not there is an unprocessed entry in which service provision time is yet to be estimated in the request information 1300. When an unprocessed entry is registered in the request information 1300 (YES in S1401), one unprocessed entry is selected, and the flow proceeds to 1402.
In S1402, the control unit 301 obtains standard service provision time corresponding to a pair of a work target (hereinafter, referred to as a certain work target in the operational flow) and a specified type of work (hereinafter, referred to as a certain type of work in the operational flow) specified in the selected entry, from the standard service provision time information 600. In S1403, the control unit 301 sets the obtained standard service provision time to the “service provision time” of the selected entry. In S1404, the control unit 301 determines whether or not there is a related event 102 related to the certain type of work performed for the certain work target that has been specified in the selected entry. For example, the control unit 301 may determine whether or not a related event 102 has occurred for the certain work target in a time period between the performance of certain type of work that has been specified in the selected entry and the immediately preceding performance of the same type of work performed for the work target of the entry, with reference to the event information 400. Then, when a related event 102 has not occurred (NO in S1404), the flow returns to S1401. Conversely, when a related event 102 has occurred (YES in S1404), the flow proceeds to S1405.
In S1405, for example, the control unit 301 extracts a related event 102 related to the certain type of work performed for the certain work target that has been specified by the selected entry. For example, the control unit 301 may extract an event that has occurred in the certain work target, in a time period between the performance of certain type of work performed for the certain work target that has been specified in the selected entry and immediately preceding performance of the same type of work performed for the certain work target, from the event information 400, as the related event 102. In S1406, the control unit 301 obtains a partial regression coefficient corresponding to the extracted related event 102 and the value from the coefficient information 1200. Note that, for example, in another embodiment, in S1406, the control unit 301 may further extract only a related event 102 in which the coefficient is a certain threshold value or greater, and execute subsequent processing using the coefficient of the extracted related event 102.
In S1407, the control unit 301 estimates a difference time that is a deviation from the standard service provision time caused by the related events 102, for example, using the obtained coefficient and the value. For example, the control unit 301 may calculate the difference time by substituting the number of times of performance of each of the related events 102 that have been extracted in S1405 and the value of the coefficient that has been obtained in S1406 corresponding to the related event 102, into the equation of the regression analysis used in S912. Note that, in the equation of the regression analysis, for example, 0 may be substituted for a coefficient of a related event 102 that has not been extracted in S1405.
In S1408, the control unit 301 sets an estimated time that has been obtained by adding the difference time that had been estimated in S1407 to the service provision time that had been set in S1403, as “service provision time” of the entry that has been selected in the request information 1300, and the flow returns to S1401.
In the operational flow of
As described above, in the embodiment, the control unit 301 estimates service provision time of the certain type of work in the second performance, based on a related event 102 that has occurred in a time period from the first performance of the certain type of work for the certain work target to the second performance in which the certain type of work is performed next. Therefore, the control unit 301 is able to estimate the service provision time of the certain type of work at the time of the second performance considering influence of the related event 102 that has occurred in the time period from the first performance to the second performance of the certain type of work. This thereby enables the estimation accuracy of the service provision time to be improved.
Here, the related event 102 may be, for example, a further work other than the certain type of work that has been performed for the work target, and the control unit 301 is able to estimate service provision time considering the influence of the further work other than the certain type of work that has been performed for the work target at the time of estimation of the service provision time for the certain type of work.
In addition, in the embodiment, the control unit 301 obtains standard service provision time for the certain type of work from service provision time for the certain type of work related to which no event has occurred in a time period since the immediately preceding certain type of work performed for the work target, out of at least one certain type of work that has been performed for the work target. Therefore, standard service provision time for the certain type of work that is not affected by the related event 102 may be estimated.
In addition, the control unit 301 extracts a certain type of work related to which a related event 102 has occurred in the time period from the immediately preceding certain type of work performed, out of at least one certain type of work that has been performed for the work target. Then, the control unit 301 analyzes a relationship between, a difference time between service provision time of the extracted certain type of work and the standard service provision time, and the related event 102 related to the extracted certain type of work, so as to calculate a value of a coefficient (parameter) corresponding to the related event 102. This thereby enables the control unit 301 to estimate the service provision time of the certain type of work, according to the occurrence of the related event 102 using the coefficient (parameter), with high accuracy.
In addition, in the embodiment, the control unit 301 estimates service provision time using a related event 102 for which the value of the coefficient (parameter) is a certain threshold value or greater, out of related events 102 that has occurred in the time period from the immediately preceding certain type of work performed for the certain work target. This thereby enables, for example, calculation with respect to a related event 102 that has limited influence on the service provision time to be omitted.
As described above, the embodiment enables the accuracy of estimating service provision time to be improved.
In the above-described processing, an example is described in which calculation of a value of a coefficient for a related event 102 and estimation of service provision time using the value of the coefficient are performed in the estimation device 201. However, the embodiment is not limited thereto, and for example, a part of the above-described processing may be executed in a device other than the estimation device 201. For example, the processing up to the above-described calculation of the value of the coefficient associated with the related event 102 may be executed in another device.
The embodiments of the technology discussed herein are described above as examples, but the embodiments are not limited to such examples. For example, the above-described operational flow is only an example, and the embodiments are not limited to such an example. Where possible, the operational flow may be executed with the processing order changed, may include separate and further processing, or a part thereof may be omitted. For example, order of the processing of S701 and the processing of S702 of
The processor 1501 provides all or a part of the function of the above-described control unit 301, for example, by executing a program in which a procedure of the above-described operational flow is described, using the memory 1502. For example, the processor 1501 operates as the extraction unit 311, the estimation unit 312, the obtaining unit 313, and the calculation unit 314, for example, by reading and executing the program stored in the storage device 1503. In addition, the storage unit 302 includes, for example, the memory 1502, the storage device 1503, and a removable storage medium 1505. The storage device 1503 of the estimation device 201 may store, for example, the event information 400, the standard service provision time information 600, the related event information 800, the related event difference time information 1000, the coefficient information 1200, and the request information 1300.
The memory 1502 is, for example, a semiconductor memory, and may include a RAM area and a ROM area. The storage device 1503 is, for example, a hard disk, a semiconductor memory such as a flash memory, or an external storage device. “RAM” is an abbreviation of a random access memory. In addition, “ROM” is an abbreviation of a read only memory.
The reader 1504 accesses the removable storage medium 1505 in accordance with an instruction of the processor 1501. The removable storage medium 1505 is implemented, for example, by a semiconductor device (USB memory or the like), a medium for input and output of information magnetically (magnetic disk or the like), a medium for input and output of information optically (CD-ROM, DVD, and the like), or the like. “USB” is an abbreviation of a universal serial bus. “CD” is an abbreviation of a compact disc. “DVD” is an abbreviation of a digital versatile disk.
The communication interface 1506 transmits and receives data through a network 1520 in accordance with an instruction of the processor 1501. The input/output interface 1507 may be, for example, an interface between an input device and an output device. The input device may be, for example, a device that accepts an instruction from the user such as a keyboard and a mouse. The output device may be, for example, a display device such as a display and an audio device such as a speaker.
Each program according to the embodiment is provided to the estimation device 201, for example, in the following forms.
(1) The program is pre-installed into the storage device 1503.
(2) The program is provided through the removable storage medium 1505.
(3) The program is provided from a server 1530 such as a program server.
The hardware configuration of the computer 1500 for implementing the estimation device 201 described above with reference to
The embodiments of the technology discussed herein are described above. However, it ought to be understood that the technology discussed herein is not limited to the above-describe embodiments and includes various modifications and alternatives of the above-described embodiments. For example, it will be understood that various embodiments can be made by modifying the configuration elements without departing from the spirit and scope thereof. In addition, it will be understood that various embodiments can be made by combining the plurality of configuration elements disclosed in the above-described embodiments as appropriate. In addition, those skilled in the art will appreciate that various embodiments may be implemented by deleting or replacing some of the configuration elements from the configuration elements all described in the embodiments, or adding some configuration elements to the configuration elements described in the embodiments.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2016-091475 | Apr 2016 | JP | national |