Electronic device, input control method, and program
The electronic device corrects numerical input errors within predefined ranges, ensuring smooth arithmetic processing by using a correction processing unit and guidance display, addressing the limitations of existing input techniques.
Patent Information
- Application Number
- JP2024100528
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2040-09-16
AI Technical Summary
Existing techniques for inputting numerical values do not adequately address error checking and reduce the burden of user input operations, particularly in professional calculations, leading to potential errors that disrupt arithmetic processing.
An electronic device with a correction processing unit that adjusts numerical inputs outside preset ranges, accompanied by a guidance display for confirmation, ensuring smooth continuation of calculations.
Enables accurate and seamless arithmetic processing by correcting input errors based on predefined ranges, enhancing user experience and reliability in professional calculations.
Smart Images

Figure 0007700932000001 
Figure 0007700932000002 
Figure 0007700932000003
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic device, an input control method, and a program.
Background Art
[0002] There has been proposed a technique in which a numeric keypad is window-displayed on a display screen, and numeric string control and error checking are performed on the input numerical value according to the attribute of the data. (For example, Patent Document 1)
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] There is a demand for a technique that can not only perform error checking on input errors of numerical values but also reduce the burden required for user input operations, including the technique described in Patent Document 1.
[0005] The present invention has been made in view of the above circumstances, and an object thereof is to provide an electronic device, an input control method, and a program that can allow input errors of numerical values and continue arithmetic processing smoothly.
Means for Solving the Problems
[0006] One aspect of the present invention corresponds to a variable in a calculation formula to be performed by the user When the input numerical value is outside the range set for the variable to be associated in advance a correction processing unit that corrects the numerical value, and the numerical value corrected by the correction processing unit and a presenting means for presenting a guidance display asking for confirmation of the corrected numerical value; is provided.
Effects of the Invention
[0007] According to the present invention, it is possible to allow input errors of numerical values and continue the arithmetic processing smoothly.
Brief Description of Drawings
[0008]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Embodiments for Carrying Out the Invention
[0009] Hereinafter, an embodiment when the present invention is applied to a calculator for professional technical calculations (hereinafter referred to as "professional calculator") used by medical staff will be described in detail with reference to the drawings. [Configuration] FIG. 1 is a front view showing the external configuration of the professional calculator 10 according to the present embodiment. The professional calculator 10 includes a display unit 11 and a key input unit 12 on the front of the main body.
[0010] The display unit 11 is composed of, for example, a monochrome reflective liquid crystal display panel, and adopts a two-stage configuration including an upper dot matrix display unit 11A and a lower Japanese character-shaped segment display unit 11B. From the left end side to approximately the center of the dot matrix display unit 11A, it functions as a status display unit that displays a guide message prompting the input of numerical values of individual variables during professional technical calculations related to medical treatment. At the same time, the right end side of the dot matrix display unit 11A functions as a sub-display unit that displays the unit of the input numerical value. The Japanese character-shaped segment display unit 11B includes, for example, a 10-digit Japanese character-shaped segment and a decimal point segment, and displays the input numerical value, the numerical value of the calculation result, etc. The Japanese character-shaped segment display unit 11B functions as a main display unit that displays the numerical value of the input variable, the numerical value as the calculation result, etc. during professional technical calculations related to medical treatment.
[0011] The key input unit 12 is provided with a numerical value / operation symbol key group 12A for inputting numerical values, mathematical formulas, or instructing the execution of calculations for basic calculations including four arithmetic operations. In addition, it is provided with a medical calculation key group 12B for specifying the calculation formula for medical calculations, and an "input / next" key 12C for instructing the input of the numerical value of the variable in the specified calculation formula and the transition to the next calculation step.
[0012] The numerical value / operation symbol key group 12A arranges keys such as "0" to "9" (numerical value) keys, "+", "-", "×", "÷" (four arithmetic symbols) keys, "+ / -" (positive / negative inversion) key, "→" key, "C" (clear) key, "AC" (all clear) key, and "=" (execute) key.
[0013] As the medical calculation key group 12B, there are provided a "CCr_male / female" key for calculating CCr (Creatinine Clearance) in renal function calculation (the clearance of creatinine in serum, which represents the ability of the kidneys to excrete the body's waste products), a "GFR_male / female" key for calculating the estimated glomerular filtration rate eGFR in renal function calculation, a "%" key for converting the numerical value of the calculated result into a percentage (%), a "days" key for calculating the number of days of the course of a disease or the like, a "powder dispensing" key for calculating the number of divided packages in powder dispensing inspection calculation, a "BMI" key for calculating the Body Mass Index (BMI) and the standard weight, a "body surface area" key for calculating the body surface area according to, for example, the Fujimoto formula or the DuBois formula, and a "divide / weigh" key for calculating the component amount and weighing in titer calculation.
[0014] Regarding the "CCr_male / female" key and the "GFR_male / female" key, the calculation formulas are different for males and females respectively. Therefore, after specifying the calculation with the relevant key, a key operation for selecting the gender is subsequently required. In the operations described later in this embodiment, for the sake of simplicity of explanation, the illustration and description of the key operation for gender selection shall be omitted.
[0015] Figure 2 is a block diagram showing the functional configuration of the electronic circuit of the professional calculator 10.
[0016] The electronic circuit of this scientific calculator 10 is mainly composed of a CPU 21 as a processor, and is configured by connecting a ROM 22, a RAM 23, a display driving unit 24, a display unit 11, and a key input unit 12.
[0017] The key input unit 12 outputs a key operation signal corresponding to the operations of the various keys described above to the CPU 21.
[0018] The ROM 22 is composed of an electrically rewritable ROM, for example, a flash memory, and stores various operation programs and fixed data executed by the CPU 21. It stores a normal calculation program 22A, a professional field calculation program 22B, and an input range table 22C.
[0019] The general calculation program 22A is a program for performing normal numerical calculations using the numerical and arithmetic symbol key group 12A.
[0020] The professional field calculation program 22B is a program for performing calculations in a calculation formula corresponding to a key operation on the medical calculation key group 12B of the key input unit 12.
[0021] The input range table 22C is a table that stores the input ranges of various variables arbitrarily input and set by the user of the professional calculator 10 through presetting described later.
[0022] The RAM 23 is a work memory that expands and holds various programs, data, etc. read from the ROM 22.
[0023] The CPU 21 appropriately reads necessary programs, data, etc. from the ROM 22 according to a key operation at the key input unit 12, expands and holds them in the RAM 23, executes a calculation operation, and outputs display data of each calculation process to the display drive unit 24.
[0024] The display drive unit 24 drives the display unit 11 based on the display data given from the CPU 21, and displays each calculation process of normal calculation and professional field calculation.
[0025] [Operation] Next, the operation of this embodiment will be described. The following operations basically show the content in which the CPU 21 reads and executes the professional field calculation program 22B stored in the ROM 22. Note that, originally, for things such as weight and height, the upper and lower limit values of the variable ranges for men and women should be set after selecting the gender. However, in this operation example, for the sake of simplifying the explanation, the key operation for selecting the gender and the differences in settings based thereon will be omitted from the explanation.
[0026] First, prior to the actual calculation, the operation of presetting the input ranges of various variables will be described. FIG. 3 is a diagram illustrating a series of key operations and corresponding displays in a processing mode related to the preset input ranges of various variables.
[0027] In FIG. 3(1), when the "INPUT / NEXT" key 12C is long-pressed following the "AC" key of the key input unit 12, the operation shifts to the preset processing mode. At this time, on the display unit 11, both the status display unit and the display by the dot matrix display unit 11A, and the main display unit by the Japanese character-shaped segment display unit 11B are temporarily not displayed.
[0028] Thereafter, at the point when a certain period of time, for example, 1 [second] has elapsed, in FIG. 3(2), on the dot matrix display unit 11A of the display unit 11, a guide display "SET WEIGHT LIMIT?" prompting the input of the numerical value that is the upper limit of the weight is performed as the status display unit, and at the same time, the unit "Kg" is displayed as the sub-display unit. At the same time, on the Japanese character-shaped segment display unit 11B of the display unit 11, the numerical value "80" representing the reference weight (for example, the average value, etc.) is initially displayed as the main display unit.
[0029] In response to this initial display, when the numerical value "99.5" is input by the numerical / arithmetic symbol key group 12A of the key input unit 12 in FIG. 3(3), the input numerical value "99.5" is displayed instead of the initially displayed numerical value as the main display unit.
[0030] In FIG. 3(4), when the "INPUT / NEXT" key 12C of the key input unit 12 is operated to instruct the setting of the input numerical value and the transition to the next numerical input, the numerical value "99.5" input at that time is stored and set in the input range table 22C of the ROM 22 as the upper limit value of the weight. Thereafter, the process shifts to the next numerical input, and a guide display "SET WEIGHT LIMIT?" prompting the input of the numerical value that is the lower limit of the weight is performed as the status display unit, and at the same time, the unit "Kg" is displayed as the sub-display unit. At the same time, the numerical value "50" representing the reference weight (for example, the average value, etc.) is initially displayed as the main display unit.
[0031] When the numerical value "35" is input in FIG. 3(5) for this initial display, the input numerical value "35" is displayed instead of the numerical value in the initial display.
[0032] In FIG. 3(6), when the "Input·Next" key 12C is operated to instruct the setting of the input numerical value and the transition to the next numerical value input, the numerical value "35" that is being input at that time is stored and set as the lower limit value of the weight in the input range table 22C of the ROM22. Thereafter, the process proceeds to the next numerical value input, and a guide display "Set Extension Upper Limit?" that prompts the input of the numerical value that is the upper limit of the extension is performed as the status display section, and at the same time, the unit "cm" is displayed as the sub-display section. At this time, simultaneously, in the Japanese-character-shaped segment display section 11B of the display section 11, a numerical value "175" representing the reference height (for example, the average value, etc.) is initially displayed as the main display section.
[0033] Similarly hereinafter, every time a numerical value that is the upper or lower limit range is input and the "Input·Next" key 12C is operated, the input numerical value is stored and set in the input range table 22C, and the guide display that prompts the input of the next numerical value and the display of the numerical value as the initial display of the reference value, etc. are repeatedly continued.
[0034] Then, in FIG. 3(7), when the "Input·Next" key 12C is operated to finish storing and setting all the upper limit values and lower limit values indicating the input ranges of various variables, a guide display "Setting Completed. Please press [AC]" is performed as the status display section, while no unit, etc. is displayed as the sub-display section. At the same time, a character string "End" indicating that no further numerical value input is required is displayed in the lower three-digit Japanese-character-shaped segment display section 11B as the main display section.
[0035] In this state, when the "AC" key of the dot matrix display section 11A is operated as per the guide display, the process mode for the preliminary setting of the input ranges of various variables is exited, and the normal calculation mode is restored.
[0036] Since the input ranges for a plurality of variables can be arbitrarily preset, by setting the input ranges corresponding to the usage environment, correction processing for more appropriate input numerical values can be executed.
[0037] Thus, since the ROM 22 is composed of an electrically rewritable ROM such as a flash memory, the upper and lower limit values of the input ranges of various variables stored and set in the input range table 22C of the ROM 22 can be arbitrarily rewritten at appropriate timings, and until the process mode of the same preset is shifted next and the content is rewritten, regardless of the on / off state of the power supply of the professional calculator 10, their stored contents are retained.
[0038] [First operation example] The first operation example will be described with reference to FIGS. 4 and 5. FIG. 4 is a diagram illustrating a part of the key operations and the corresponding displays in the process of calculating creatinine clearance. FIG. 5 is a flowchart showing the processing content of the professional field calculation.
[0039] When the "AC" key of the numerical / operation symbol key group 12A and the "CCr_male / female" key of the medical calculation key group 12B of the key input unit 12 are continuously operated, the processing of the professional field calculation shown in FIG. 5 is started. All the processing contents shown in FIG. 5 are executed by the CPU 21 reading the professional field calculation program 22B of the ROM 22, expanding it, and storing it in the RAM 23.
[0040] Incidentally, the creatinine clearance CCr is obtained by the following formula (140 - age [years]) * weight [kg] / (72 * SCr) (for males) (where SCr: serum creatinine concentration [mg / mL]) and is described in the professional field calculation program 22B. By inputting the respective numerical values corresponding to age, weight, and SCr as variables, the calculation formula is executed.
[0041] Initially, based on the operations of the "AC" key and the "CCr_gender" key, the corresponding calculation formula is read from the professional field calculation program 22B, and a guidance display prompting the input of age, which is the first variable in the calculation formula, is executed (step S101). After that, it waits for the "Input·Next" key 12C to be operated after the numerical input (step S102).
[0042] In FIG. 4(1), when the "AC" key and the "CCr_gender" key are operated as key operations, in the dot matrix display section 11A of the display section 11, "Age?" is displayed as the left - end status display section, and the unit "years old" is displayed as the right - end sub - display section. At the same time, in the Japanese - character - shaped segment display section 11B, the state "0 (zero)" where no numerical value corresponding to the variable has been input yet is displayed as the main display section.
[0043] In FIG. 4(2), corresponding to the display on the display section 11, when the numerical value "60" for the age variable is input, the input numerical value "60" is directly displayed as the main display section.
[0044] After that, in FIG. 4(3), when the "Input·Next" key 12C is operated, it is determined in step S102 that the key has been operated (YES in step S102), and the numerical value of the variable input at that time is acquired (step S103).
[0045] Using this acquired numerical value as the input variable, the allowable range of the corresponding variable preset in the input range table 22C is acquired (step S104). After the acquisition, it is determined whether the input variable is within the allowable range, that is, whether there is no input error or the like in the input variable and whether it is necessary to execute correction for the input variable (step S105).
[0046] If it is determined that the input variable is within the allowable range and there is no need to execute correction for the input variable (YES in step S105), next, it is determined whether the input of the variable has ended based on whether there are other variables to be input into the calculation formula at that time (step S109).
[0047] If it is determined that there are other variables to be input into the calculation formula and the input of the variables has not been completed, for example, in the calculation formula of creatinine clearance CCr, if it is determined that the input of the weight variable is required after the input of the age variable (NO in step S109), after executing the guide display prompting the input of the next variable (step S110), the process returns to the process from step S102.
[0048] In FIG. 4(3), "Weight?" is displayed as the status display part, "Kg" as the unit is displayed as the sub-display part, and "0 (zero)", the state where the numerical value corresponding to the variable has not been input yet, is displayed as the main display part.
[0049] In FIG. 4(4), when the numerical value "755" for the weight variable is input corresponding to the display on the display unit 11, the input numerical value "755" is directly displayed as the main display part. The numerical value "755" input at this time is not common sense as the weight of a real person and is considered to be the result of forgetting to input the decimal point of "75.5".
[0050] After that, in FIG. 4(5), when the "Input·Next" key 12C is operated, it is determined that the key has been operated (YES in step S102), and the numerical value "755" of the variable input at that time is acquired (step S103).
[0051] Using the acquired numerical value as the input variable, the allowable range of the corresponding variable preset in the input range table 22C is acquired (step S104). After acquisition, it is determined whether the input variable is within the allowable range, that is, whether the input variable is accompanied by an input error or the like and whether it is necessary to execute correction for the input variable (step S105).
[0052] If it is determined that the input variable "755" is not within the allowable range and it is necessary to execute correction for the input variable (NO in step S105), next, correction processing is performed. For example, when the input variable exceeds the preset range, an arithmetic process of making it "1 / 10" is executed (step S106).
[0053] After the correction process, a guide display that asks for confirmation of the corrected variable and prompts for the corresponding input is executed as the status display section (step S107).
[0054] In FIG. 4(5), the corrected variable "75.5" is displayed on the main display section, the unit "Kg" is displayed on the sub-display section, and on the status display section "Do you want to correct? Yes: [Input · Next] No: [AC]" As such, if it is determined that the corrected variable is to be confirmed and the process is to proceed directly to the next variable input in the calculation formula, the "Input · Next" key 12C is operated. On the other hand, if it is determined that the corrected variable is to be denied and the corrected numerical value is to be cancelled and the numerical input is to be done again, the "AC" key is operated, and the guide display is executed (step S108).
[0055] If it is determined that the "Input · Next" key 12C for confirming the corrected variable has been operated from the state of FIG. 4(5) (YES in step S108), the process proceeds to step S109 and the input of the next variable is continued as it is.
[0056] Also, in step S108, if the "AC" key is operated and it is determined that the corrected variable is to be denied (No in step S108), after clearing the corrected variable and setting the numerical value displayed on the main display section to "0 (zero)" (step S111), the process returns to the process from step S102 to enter the re-input state.
[0057] In this way, when the numerical value input as a variable is outside the preset range, the correction process is automatically executed according to the direction of deviation. After obtaining confirmation for the corrected variable, the input of the necessary numerical values for the variables in the calculation formula is sequentially continued.
[0058] After that, for the calculation formula of creatinine clearance, the same processing is executed for the numerical values with respect to the variable of SCr. When confirmation is taken as necessary for the variables within the allowable range, it is determined that the input of all necessary variables has been completed in step S109 (YES in step S109). At that time, the professional field calculation selected at that time is executed, the calculation result is displayed on the display unit 11, and the process of FIG. 5 is terminated.
[0059] In this way, regarding input errors of variables, the necessary correction processing is automatically executed from the deviated direction with reference to the pre-set range of the variables, and after confirmation of the correction result, the variable input of the calculation formula is continued. Therefore, the calculation in the professional field can be executed smoothly and reliably.
[0060] [Second operation example] The second operation example will be described with reference to FIGS. 6 and 7. FIG. 6 is a diagram exemplifying a part of the key operations and the corresponding displays in the process of calculating creatinine clearance. FIG. 7 is a flowchart showing the processing contents of the professional field calculation.
[0061] When the "AC" key of the numerical / arithmetic symbol key group 12A of the key input unit 12 and the "CCr_male / female" key of the medical calculation key group 12B are operated continuously, the processing of the professional field calculation shown in FIG. 5 is started. All the processing contents shown in FIG. 7 are executed after the CPU 21 reads out the professional field calculation program 22B of the ROM 22 and expands and stores it in the RAM 23.
[0062] For creatinine clearance CCr, as variables, the respective numerical values corresponding to age [years], weight [kg], and SCr (serum creatinine concentration [mg / mL]) are input, and the calculation formula can be executed.
[0063] Initially, based on the operations of the "AC" key and the "CCr_gender" key, the corresponding calculation formula is read from the professional field calculation program 22B, and after executing a guidance display prompting the input of age, which is the first variable in the calculation formula (step S201), it waits for the "Input·Next" key 12C to be operated after the numerical input (step S202).
[0064] In FIG. 6(1), when the "AC" key and the "CCr_gender" key are operated as key operations, in the dot matrix display section 11A of the display section 11, "Age?" is displayed as the status display section on the left end side, and the unit "years old" is displayed as the sub-display section on the right end. At the same time, in the Japanese character-shaped segment display section 11B, "0 (zero)", which is a state where no numerical value corresponding to the variable has been input yet, is displayed as the main display section.
[0065] In FIG. 6(2), corresponding to the display on the display section 11, when the numerical value "60" for the age variable is input, the input numerical value "60" is directly displayed as the main display section.
[0066] After that, in FIG. 6(3), when the "Input·Next" key 12C is operated, it is determined in step S202 that the key has been operated (YES in step S202), and the numerical value of the variable input at that time is acquired (step S203).
[0067] Using this acquired numerical value as an input variable, the pattern of the number of digits is checked (step S204). From the checked pattern of the number of digits of the numerical value, it is determined whether there is a decimal point (step S205).
[0068] In the case of the numerical value "60" for the age variable, it is determined that there is no decimal point (No in step S205). Next, it is determined whether digit correction is necessary in consideration of the preset attribute of that variable (step S206).
[0069] In the case of the age variable, it is determined that correction is not required unconditionally (NO in step S206). Next, the allowable range of the corresponding variable preset in the input range table 22C is obtained from the next input variable (step S208).
[0070] After the acquisition, it is determined whether the input variable is within the allowable range, that is, whether the input variable is accompanied by an input error or the like and whether it is necessary to perform correction on the input variable (step S209).
[0071] If it is determined that the input variable is within the allowable range and correction of the input variable is not necessary (YES in step S209), next, it is determined whether the input of the variable has ended based on whether there are other variables to be input into the calculation formula at that time (step S210).
[0072] If it is determined that there are other variables to be input into the calculation formula and the input of the variable has not ended, for example, in the calculation formula of creatinine clearance CCr, if it is determined that the input of the weight variable is required after the input of the age variable (NO in step S210), after executing the guide display to prompt the input of the next variable (step S211), the process returns to the process from step S202.
[0073] In FIG. 6(3), "Weight?" is displayed as the status display part, "Kg" as the unit is displayed as the sub-display part, and "0 (zero)", the state where no numerical value corresponding to the variable has been input yet, is displayed as the main display part.
[0074] In FIG. 6(4), corresponding to the display on the display unit 11, when the numerical value "755" for the weight variable is input, the input numerical value "755" is displayed as it is on the main display part. The numerical value "755" input at this time is not commonsense as the weight of a real person and is considered to be the result of forgetting to input the decimal point of "75.5".
[0075] Subsequently, in FIG. 6(5), when the "Input · Next" key 12C is operated, it is determined that the key has been operated (YES in step S202), and the numerical value "755" of the variable input at that time is acquired (step S203).
[0076] Using this acquired numerical value as an input variable, the pattern of the digits of the numerical value is checked (step S204). From the checked digit pattern of the numerical value, it is determined whether there is a decimal point (step S205).
[0077] In the case of the numerical value "755" for the weight variable, it is determined that there is no decimal point (No in step S205). Next, it is determined whether digit correction is necessary in consideration of the preset attribute of that variable (step S206).
[0078] In the case of the weight variable, it is determined that correction is necessary (YES in step S206), and a correction process is executed to assign a decimal point with the uniquely input variable as "1 / 10" (step S207).
[0079] Next, from the input variable, the allowable range of the corresponding variable preset in the input range table 22C is acquired (step S208). After acquisition, it is determined whether it is necessary to re-enter the input variable based on whether the corrected input variable is within the allowable range (step S209).
[0080] If it is determined that the corrected input variable is within the allowable range and there is no need to re-enter the input variable (YES in step S209), then next, it is determined whether the input of the variable has ended based on whether there are other variables to be input into the calculation formula at that time (step S210).
[0081] As a result, based on the operation of the "Input · Next" key 12C in FIG. 6(5), after recognizing the previously input weight numerical value "755" as "75.5", the calculation process continues.
[0082] Also, in step S209, when it is determined that the input variable does not fall within the allowable range and re - input of the input variable is necessary (NO in step S209), for example, in the main display section as the status display section, the numerical value of the corrected variable is displayed, and the unit of that variable is displayed in the sub - display section. At the same time, in the status display section "Do you want to re - enter? Yes: [AC]" As shown above, when an appropriate variable cannot be obtained even by correction and re - input is necessary, a guide display is performed to prompt an operation of the "AC" key for confirmation (step S212).
[0083] After that, it waits for an operation of the "AC" key for confirmation (step S213). When it is determined that the key operation has been performed (YES in step 213), after clearing the corrected variable and setting the numerical value displayed in the main display section to "0 (zero)" (step S214), the process returns to the process from step S202 and enters the re - input state.
[0084] In step S210, when it is determined that there are other variables to be input into the calculation formula and the input of variables has not ended, for example, in the calculation formula of creatinine clearance CCr, when it is determined that the input of the variable of serum creatinine concentration SCr is required after the input of the variable of body weight (NO in step S210), after executing a guide display to prompt the input of the next variable (step S211), the process returns to the process from step S202.
[0085] In FIG. 6(5), as the status display section, "SCr?" is displayed, and as the sub - display section, the unit "mg / dL" is displayed. At the same time, as the main display section, a state "0 (zero)" where no numerical value corresponding to the variable has been input yet is displayed.
[0086] In FIG. 6(6), corresponding to the display on the display section 11, when a numerical value "9" for the variable of serum creatinine concentration SCr is input, the input numerical value "9" is directly displayed as the main display section. At this point, the input numerical value "9" is considered to be the one where the input operation of the decimal point of "0.9" has been forgotten.
[0087] After that, in FIG. 6(7), when the "Input · Next" key 12C is operated, it is determined that the key has been operated (YES in step S202), and the numerical value "9" of the variable being input at that time is acquired (step S203).
[0088] Using this acquired numerical value as the input variable, the pattern of the digits of the numerical value is checked (step S204). From the checked digit pattern of the numerical value, it is determined whether there is a decimal point (step S205).
[0089] In the case of the numerical value "9" for the variable of serum creatinine concentration SCr, it is determined that there is no decimal point (No in step S205). Next, it is determined that digit correction is necessary from the attribute of the serum creatinine concentration SCr as the variable (YES in step S206), and a correction process is executed to add a decimal point to the uniquely input variable as "1 / 10" to make it "0.9" (step S207).
[0090] Next, from the corrected input variable "0.9", the allowable range of the corresponding variable preset in the input range table 22C is acquired (step S208). After acquisition, if it is determined that the corrected input variable "0.9" is within the allowable range and there is no need to re-enter the input variable (YES in step S209), then, depending on whether there are other variables to be input into the calculation formula at that time, it is determined whether the input of the variable has ended (step S210).
[0091] As a result, based on the operation of the "Input · Next" key 12C in FIG. 6(7), after recognizing the numerical value "9" of the serum creatinine concentration SCr input previously as "0.9", the calculation process continues.
[0092] In step S210, if it is determined that the input of all necessary variables has ended (YES in step S210), the professional field calculation selected at that time is executed, the calculation result is displayed on the display unit 11, and the process of FIG. 7 ends.
[0093] In FIG. 6(7), "CCr" is displayed as the status display section, the unit "mL / min" is displayed as the sub-display section, and the numerical value "93.21" of the calculated creatinine clearance is displayed as the main display section.
[0094] In this way, regarding input errors of variables, the presence or absence of a decimal point and its digit pattern are automatically corrected as appropriate based on the attributes of the variables, and the variable input of the calculation formula is continued, so that the calculation in the professional field can be executed smoothly.
[0095] [Modification Example 1 of the First Operation Example] By adding the process shown in FIG. 8 between step S108 and step S109 in the process of FIG. 5 described in the first operation example, not only can the necessary correction process be automatically executed from the deviated direction by referring to the preset range of the variable, but also a more appropriate correction process considering another variable related to the variable can be performed.
[0096] In FIG. 8, in the process of FIG. 5, when the numerical value input as a variable is out of the preset allowable range and, after being corrected by the correction process, a confirmation key operation for the corrected numerical value is performed in step S108, next, the allowable range of another variable related to the corrected variable is acquired from the input range table 22C (step S301).
[0097] After the acquisition, it is determined whether it is necessary to perform correction on another related input variable based on whether the other input variable is within the allowable range (step S302).
[0098] If it is determined that another related input variable is also within the allowable range and there is no need to perform correction on another related input variable (YES in step S302), the process proceeds to step S109 in FIG. 5, and the process moves to determining whether there are other variables to be input into the calculation formula at that time.
[0099] Also, in step S302, when it is determined that another related input variable does not fall within the allowable range and it is necessary to perform correction on another related input variable (NO in step S302), the verification of another related variable is questioned, and the display unit 11 executes a guidance display prompting the corresponding input (step S303).
[0100] It is determined whether a key operation for verifying another related variable is performed for this guidance display (step S304). When a key operation for verifying another related variable is performed (YES in step S304), the process proceeds to step S109 in FIG. 5, and the process shifts to a process of determining whether there are other variables to be input into the calculation formula at that time.
[0101] Also, in step S304, when a key operation for denying another related variable is performed (NO in step S304), after the display unit 11 executes a guidance display prompting the re - input of another related variable, the process returns to the process from step S102 to prepare for the numerical input of another variable.
[0102] Regarding the above - mentioned process, for example, consider the case where during the execution of the calculation formula for creatinine clearance CCr, the numerical value "755" is input as the variable of body weight. The numerical value "755" input as the variable of body weight is outside the preset range. After correcting it to "75.5" by the correction process, if a key operation for verifying the corrected numerical value is performed in step S108, in this first modified example shown in FIG. 8, next, the allowable range is obtained from the range table of another variable related to the corrected body weight variable (step S301).
[0103] In the case of the calculation formula for creatinine clearance CCr, since the numerical value of age should already have been input as another related variable before the input of the body weight variable, by associating and setting in advance the age variable related to the body weight variable, the allowable range of the age variable is obtained in step S301.
[0104] After acquisition, it is determined whether the input variable of age falls within the allowable range (step S302). If it is determined that it does fall within the range (YES in step S302), the process proceeds to step S109 in FIG. 5, and at that point, it shifts to a process of determining whether there are any other variables to be input into the calculation formula.
[0105] Also, in step S302, if it is determined that the input variable of age does not fall within the allowable range (NO in step S302), the verification of the age variable is questioned, and the display unit 11 executes a guidance display prompting corresponding input (step S303), and it is determined whether a key operation for verifying the age variable has been performed (step S304).
[0106] If a key operation for verifying the age variable has been performed (YES in step S304), the process proceeds to step S109 in FIG. 5, and at that point, it shifts to a process of determining whether there are any other variables to be input into the calculation formula.
[0107] Also, in step S304, if a key operation for denying the age variable has been performed (NO in step S304), after the display unit 11 executes a guidance display prompting re - input of the age variable, the process returns to the process from step S102 in preparation for numerical input of age.
[0108] Regarding the correspondence between a certain variable and another variable related to that variable, it is also conceivable to determine a more accurate correspondence relationship. Specifically, the allowable range of the input variable is divided and set into a plurality of zones according to, for example, the human growth stage, the degree of pathological progression, etc., and the allowable ranges of other related variables are also divided and set into a plurality of zones. Then, based on whether the position in the plurality of zones divided within the allowable range of a certain variable matches the position in the plurality of zones divided within the allowable range of another related variable, a more accurate determination can be made for the input variable or the variable after correction processing.
[0109] In this case, the plurality of zones set by classification within the allowable range may be completely set by classification so as to have no overlapping parts with thresholds within the allowable range according to the attributes of the variables, or may be set by classification such that the adjacent boundary parts overlap for each of the plurality of zones.
[0110] By executing the processing corresponding to the plurality of zones described above, for example, when the variable of age is "2 [years old]" and the numerical value "755 [kg]" is input as the variable of weight, after once correcting it to "75.5 [kg]" by the correction processing, it is also possible to execute appropriate re-correction such as making it "7.55 [kg]" by the automatic re-correction processing again.
[0111] In this way, by also considering the correspondence with another related variable accompanying the correction of one variable, it is possible to execute the calculation formula in the specialized field involving the correction processing of variables more accurately and smoothly.
[0112] [Modification Example 2 of the First Operation Example] By replacing the part between step S104 and step S109 in the processing of FIG. 5 described in the first operation example with the processing shown in FIG. 9, it is possible to always check the correspondence of a plurality of related variables regardless of the execution of the correction processing and perform more appropriate correction processing.
[0113] In FIG. 8, in the processing of FIG. 5, taking the numerical value obtained in step S104 as the input variable, the allowable range of the corresponding variable preset in the input range table 22C is acquired, and after acquisition, it is determined whether the input variable is within the allowable range, that is, whether the input variable is accompanied by an input error or the like and whether it is necessary to execute correction for the input variable (step S105).
[0114] If it is determined that the input variable is within the allowable range and it is not necessary to execute correction for the input variable (YES in step S105), next, the allowable range of another variable related to the variable input from the input range table 22C is acquired (step S301).
[0115] Also, in step S105, if it is determined that the numerical value input as a variable is out of the preset allowable range (NO in step S105), it is corrected by the correction process in step S106. After executing the guide display asking for confirmation of the corrected variable in step S107, even if a key operation for confirmation of the corrected numerical value is performed in step S108, next, the allowable range of another variable related to the corrected variable is acquired from the input range table 22C (step S301).
[0116] After the acquisition, it is determined whether it is necessary to execute correction for another related input variable based on whether the other input variable is within the allowable range (step S302).
[0117] If it is determined that the other related input variable is within the allowable range and it is not necessary to execute correction for the other related input variable (YES in step S302), the process proceeds to step S109 in FIG. 5, and the process shifts to determining whether there are other variables to be input to the calculation formula at that time.
[0118] Also, in step S302, if it is determined that the other related input variable is not within the allowable range and it is necessary to execute correction for the other related input variable (NO in step S302), a guide display asking for confirmation of the other related variable and prompting the corresponding input is executed on the display unit 11 (step S303).
[0119] It is determined whether a key operation for confirming the other related variable is performed for this guide display (step S304). If a key operation for confirming the other related variable is performed (YES in step S304), the process proceeds to step S109 in FIG. 5, and the process shifts to determining whether there are other variables to be input to the calculation formula at that time.
[0120] Also, in step S304, if a key operation for denying another related variable is performed (NO in step S304), after the display unit 11 executes a guidance display prompting re-entry of the other related variable, the process returns to the process from step S102 to prepare for numerical input of the other variable.
[0121] In this way, regardless of whether or not the correction process for one variable is executed, by considering the correspondence with other related variables, the calculation formula in the professional field involving the variable correction process can be executed more accurately and smoothly.
[0122] In the process of the second modification example shown in FIG. 9 as well, regarding the correspondence between a certain variable and another variable related to that variable, the allowable ranges of each may be divided and set into a plurality of zones, and a more accurate correspondence relationship may be determined based on whether or not they are the corresponding zone positions.
[0123] [Effects of the Embodiment] As described in detail above, according to this embodiment, it is possible to allow input errors in numerical values and continue the arithmetic processing smoothly.
[0124] Although this embodiment has been described for the case of applying it to a calculator for professional technical calculations used by medical staff, the present invention does not limit the professional field or the calculation formula used within that professional field.
[0125] In addition, the present invention of the present application is not limited to the above-described embodiment, and various modifications can be made without departing from the gist thereof at the implementation stage. Also, the respective embodiments may be combined and implemented as appropriate as much as possible, and in that case, the combined effects can be obtained. Furthermore, the above-described embodiments include inventions at various stages, and various inventions can be extracted by appropriate combinations of the plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment, if the problems described in the column of the problems to be solved by the invention can be solved and the effects described in the column of the effects of the invention can be obtained, the configuration from which these constituent elements are deleted can be extracted as an invention.
[0126] The invention described in the original claims of the present application is appended below. [Claim 1] An input unit for inputting numerical values corresponding to variables in a calculation formula, A correction processing unit that corrects the numerical value when the numerical value input by the input unit is outside the range set for the variable, A calculation processing unit that executes calculation according to the calculation formula using the numerical value corrected by the correction processing unit, An electronic device comprising the same. [Claim 2] Further comprising a display unit that displays the operation key name provided in the input unit for confirming the correction result together with the numerical value corrected by the correction processing unit, When a key operation corresponding to confirmation of the correction is performed, the calculation processing unit executes calculation according to the calculation formula using the numerical value displayed on the display unit, The electronic device according to claim 1. [Claim 3] The electronic device according to claim 1 or 2, further comprising a range setting unit for arbitrarily setting the range of the numerical value corresponding to the variable in the calculation formula. [Claim 4] Numerical values corresponding to a plurality of variables having a relationship with each other are input from the input unit, The correction processing unit executes processing according to whether or not the range set for another variable having a relationship with the variable for which the numerical value has been corrected is outside the range. The electronic device according to any one of claims 1 to 3. [Claim 5] Numerical values corresponding to a plurality of variables having a relationship with each other are input from the input unit, Regardless of whether or not the numerical value is corrected, the correction processing unit executes processing according to whether or not the range set for another variable having a relationship with the variable is outside the range. The electronic device according to any one of claims 1 to 3. [Claim 6] The correction processing unit executes processing according to the correspondence between the position to which the numerical value of the variable belongs among a plurality of zones that divide the set range and the position to which the numerical value of a variable having a relationship with each other belongs among a plurality of zones that divide the set range. The electronic device according to claim 4 or 5. [Claim 7] The correction processing unit corrects the number of digits of the numerical value input by the input unit. The electronic device according to any one of claims 1 to 6. [Claim 8] An input step of inputting a numerical value corresponding to a variable in a calculation formula, A correction processing step of correcting the numerical value when the numerical value input in the input step is outside the range set for the variable, A calculation processing step of performing calculation according to the calculation formula using the numerical value corrected in the correction processing step, An input control method having the above. [Claim 9] A program executed by a computer built in the device, which causes the computer to function as an input unit for inputting a numerical value corresponding to a variable in a calculation formula, A correction processing unit that corrects the numerical value when the numerical value input by the input unit is outside the range set for the variable, A calculation processing unit that performs calculation according to the calculation formula using the numerical value corrected by the correction processing unit, A program that causes the above to function.
Explanation of Signs
[0127] 10... Professional calculator 11... Display unit 11A... Dot matrix display unit 11B... Character-shaped segment display unit 12... Key input unit 12A... Numeric / operation symbol key group 12B... Medical calculation key group 12C... "Input / Next" key 21... CPU 22... ROM 22A... Normal calculation program 22B…Professional field calculation program 22C…Input range table 23…RAM 24…Display drive unit
Claims
1. a correction processing unit that corrects a numerical value input by a user corresponding to a variable in a calculation formula when the numerical value is outside a range that is previously set corresponding to the variable; a display means for displaying the numerical value corrected by the correction processing unit and a guide display asking for approval of the corrected numerical value; An electronic device comprising:
2. A control unit is provided which, when the corrected numerical value presented by the presentation means is approved by the user, executes a calculation using the corrected numerical value according to the calculation formula, and, when the corrected numerical value presented by the presentation means is rejected by the user, clears the corrected numerical value and displays a display prompting the user to input the numerical value.
2. The electronic device according to claim 1 .
3. The electronic device described in Claim 1, characterized in that the correction processing unit corrects the numerical value depending on the direction in which it is outside the range.
4. The range preset in association with the variable is configured to be variable by a numerical value input by a user in association with another variable in the formula.
4. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
5. An input control method executed by an electronic device, comprising: a correction process step of correcting a numerical value input by a user in correspondence with a variable in a formula when the numerical value is outside a range that is preset in correspondence with the variable; a presentation step of presenting the numerical value corrected in the correction processing step and a guide display asking for approval of the corrected numerical value; 13. An input control method comprising:
6. A computer comprising: a correction processing means for correcting a numerical value input by a user in correspondence with a variable in a calculation formula when the numerical value falls outside a range that is preset in correspondence with the variable; a display means for displaying the numerical value corrected by the correction processing means and a guide display asking for approval of the corrected numerical value; A program characterized by causing the program to function as a
Citation Information
Patent Citations
Electronic equipment with calculation function
JP1995210517A
Ten-key window display processing system
JP1997062426A
System and method having web correspondence recognition architecture
JP2003067177A
Information processor and program
JP2013186595A
Management device and management method
JP2014018367A