Method for marking nurse distribution of nurse station on planimetric map of inpatient area
By using CAD software and Fabric.js framework on the smart ward platform combined with UWB positioning technology, the problem that traditional management methods cannot be updated and displayed in time for the distribution of employees in the hospital ward is solved, real-time marking and dynamic reflection of nurse distribution is achieved, and the Management efficiency.
Patent Information
- Application Number
- CN202410894568.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional manual records and simple spreadsheet management methods cannot be updated and effectively displayed in time and the distribution of employees in the hospital wards, and cannot meet the needs of efficient management of smart wards.
Draw the ward floor plan through CAD software, use Fabric.js framework and UWB positioning technology to mark the nurse distribution on the smart ward platform, update the nurse position in real time, and record and push coordinate data through the UWB positioning module and bedside extension and doorway machine .
It realizes intuitively marking the distribution location of nurses on the ward floor plan map, improves the accuracy and timeliness of management, and improves the efficiency of ward management.
Smart Images

Figure CN118656903A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of ward plan maps, and in particular to a method for marking nurse distribution at a nurse station on a ward plan map. Background Art
[0002] In the ward management of modern hospitals, timely and accurate grasp of the distribution of employees in each ward is crucial to improving management efficiency and optimizing resource allocation. Traditional manual records and simple spreadsheet management methods have problems such as untimely data updates and poor visualization effects, which cannot meet the needs of efficient management of smart wards. For this reason, we proposed a method to mark the distribution of nurses in the nurse station on the ward floor map. Summary of the invention
[0003] Based on the technical problems existing in the background technology, the present invention proposes a method for marking the distribution of nurses in a nurse station on a ward plan map.
[0004] The present invention proposes a method for marking the distribution of nurses in a nurse station on a ward plan map, comprising the following steps:
[0005] S1: Draw the ward floor plan using CAD software, select the ward and room, convert it into a picture format, and upload it to the smart ward platform;
[0006] S2: Enter the information of all nurses in the ward through Excel import, including the nurse's name, position, ward, etc.;
[0007] S3: The smart ward platform analyzes the floor plan attributes obtained in S1, sets the width of the floor plan as the maximum value of the x-axis, and the height as the maximum value of the y-axis, to distinguish the limit range of editable coordinate points and edit the coordinate points;
[0008] S4: Use the Fabric.js framework to perform punctuation operations on the specified locations on the floor plan in S3, record the coordinates of the four punctuation points, and bind the ward to generate regional coordinate information;
[0009] S5: Bind the UWB monitoring and positioning module to the bedside extension and door machine of the smart ward, and configure the UWB positioning module on the wristband tag worn by the nurse to detect and locate the current position of the nurse in real time. Each UWB positioning module will be bound to a designated nurse at the nurse station, and set a designated ward and room to prevent other wards and ward staff from interfering with the monitoring behavior. The smart ward bedside extension will record the start and end time points, duration and coordinate points of the entire process from receiving a call from the ward → hanging up and coming to the ward → handling nursing events → leaving the ward, and push it to the smart ward platform server in real time;
[0010] S6: Configure the UWB positioning rule template in the smart ward platform. The smart ward bedside extension and door phone will distinguish the detection radius and duration of the nurse's presence according to the specified positioning rules;
[0011] S7: The current location of the nurse is obtained in real time through the UWB positioning module, and combined with the UWB positioning rule template in S6, it is updated on the plane map;
[0012] S8: The smart ward platform uses Fabric.js to draw the motion trajectory of a single nursing event processing of the designated nurse into the plan view using the historical coordinate data of the nurses recorded in S5, and performs punctuation operations.
[0013] Preferably, in S4, when marking a certain area, it is determined whether the mark made by the user is a correct rectangle by calculating the cross product, and the program code for calculating the cross product is:
[0014] constcheckCircle=(points:Point[])=>{
[0015] const n = points.length
[0016] constp1=points[n-3]
[0017] constp2=points[n-2]
[0018] constp3=points[n-1]
[0019] / / Calculate the cross product
[0020] constcrossProduct=(p1:Point,p2:Point,p3:Point):number=>{
[0021] return(p2.X-p1.x)*(p3.y-p1.y)-(p2.y-p1.y)*(p3.x-p1.x)
[0022] }
[0023] / / Calculate the cross product of three adjacent points in sequence
[0024] constcrossProducts = [
[0025] crossProduct(points[0],points[1],points[2]),
[0026] crossProduct(points[1],points[2],points[3]),
[0027] crossProduct(points[2],points[3],points[0]),
[0028] crossProduct(points[3],points[0],points[1]) 】
[0030] / / Check if all cross products have the same sign
[0031] constisClockwise=crossProducts.every((cp)=>cp>0)
[0032] return isClockwise
[0033] }
[0034] Where points is an array containing Point objects, each of which has x and y coordinates. It is assumed that these points are arranged in order to form a closed polygon; n is the number of points, and this variable is mainly used to obtain the last three points; p1, p2, p3 are the third, second, and first points respectively. This step is to calculate the cross product of the last few points later in the function; the crossProduct function is used to calculate the cross product of the vector formed by three points. The cross product can be used to determine the direction of the three points. By checking whether all the cross products have the same sign, it can be determined whether the four points marked by the user are natural rectangles in a clockwise / counterclockwise direction, thereby avoiding the situation where points are connected and crossed.
[0035] Preferably, in S6, rules such as positioning linkage mode of the designated device, call ending mode, nurse arrival time and nurse bracelet monitoring distance radius are configured in the UWB positioning rule template, wherein the positioning linkage mode includes nursing positioning and medical inspection.
[0036] Preferably, in S8, each mark point includes basic information of the nurse, and by clicking the mark point, detailed information such as the nurse's name and work number can be viewed.
[0037] Preferably, in S4, Fabric.js is an open source JavaScript library for drawing and manipulating 2D graphics on HTML5 canvas, providing developers with a simple and easy-to-use API that can be used to create and process images, texts, graphics (such as rectangles, circles, lines, etc.) and complex vector graphics. With its convenient encapsulation API, it is possible to easily draw graphics corresponding to punctuation coordinates on the ward floor plan.
[0038] Compared with the prior art, the present invention has the following beneficial effects:
[0039] By adopting UWB positioning technology and Fabric.js framework, the present invention can intuitively mark the distribution positions of nurses in the nurse station on the ward floor map, reflect the location of nurses in the nurse station and their dynamic changes in real time, help management personnel to carry out efficient scheduling and management, improve the accuracy and timeliness of management, and greatly improve the efficiency of ward management. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A flow chart of a method for marking the distribution of nurses in a nurse station on a ward plan map proposed by the present invention;
[0041] Figure 2 The invention discloses a ward plan map in a method for marking the distribution of nurses in a nurse station on a ward plan map. DETAILED DESCRIPTION
[0042] The present invention will be further explained below in conjunction with specific embodiments.
[0043] Example
[0044] Reference Figure 1-2 This embodiment proposes a method for marking the distribution of nurses in the nurse station on the ward floor plan, including the following steps:
[0045] S1: Draw the ward floor plan using CAD software, select the ward and room, convert it into a picture format, and upload it to the smart ward platform;
[0046] S2: Enter the information of all nurses in the ward through Excel import, including the nurse's name, position, ward, etc.;
[0047] S3: The smart ward platform analyzes the floor plan attributes obtained in S1, sets the width of the floor plan as the maximum value of the x-axis, and the height as the maximum value of the y-axis, to distinguish the limit range of editable coordinate points and edit the coordinate points;
[0048] S4: Use the Fabric.js framework to perform punctuation operations on the specified positions on the floor plan in S3, record the coordinates of the four punctuation points, and bind the ward to generate regional coordinate information. Fabric.js is an open source JavaScript library for drawing and operating 2D graphics on HTML5 canvas. It provides developers with a simple and easy-to-use API that can be used to create and process images, texts, graphics (such as rectangles, circles, lines, etc.) and complex vector graphics. With its convenient encapsulation API, it is easy to draw graphics corresponding to the punctuation coordinates on the ward floor plan;
[0049] When marking a certain area, the cross product is calculated to determine whether the user's mark is a correct rectangle. The program code for calculating the cross product is:
[0050] constcheckCircle=(points:Point[])=>{
[0051] const n = points.length
[0052] constp1=points[n-3]
[0053] constp2=points[n-2]
[0054] constp3=points[n-1]
[0055] / / Calculate the cross product
[0056] constcrossProduct=(p1:Point,p2:Point,p3:Point):number=>{
[0057] return(p2.X-p1.x)*(p3.y-p1.y)-(p2.y-p1.y)*(p3.x-p1.x)
[0058] }
[0059] / / Calculate the cross product of three adjacent points in sequence
[0060] constcrossProducts = [
[0061] crossProduct(points[0],points[1],points[2]),
[0062] crossProduct(points[1],points[2],points[3]),
[0063] crossProduct(points[2],points[3],points[0]),
[0064] crossProduct(points[3],points[0],points[1]) 】
[0066] / / Check if all cross products have the same sign
[0067] constisClockwise=crossProducts.every((cp)=>cp>0)
[0068] return isClockwise
[0069] }
[0070] Where points is an array containing Point objects, each of which has x and y coordinates. It is assumed that these points are arranged in order to form a closed polygon; n is the number of points, and this variable is mainly used to obtain the last three points; p1, p2, and p3 are the third, second, and first points from the end, respectively. This step is to calculate the cross product of the last few points later in the function; the crossProduct function is used to calculate the cross product of the vector formed by three points. The cross product can be used to determine the direction of the three points. By checking whether all the cross products have the same sign, it can be determined whether the four points marked by the user are natural rectangles in a clockwise / counterclockwise direction, thereby avoiding the situation where the points are connected and cross each other;
[0071] S5: Bind the UWB monitoring and positioning module to the bedside extension and door machine of the smart ward, and configure the UWB positioning module on the wristband tag worn by the nurse to detect and locate the current position of the nurse in real time. Each UWB positioning module will be bound to a designated nurse at the nurse station, and set a designated ward and room to prevent other wards and ward staff from interfering with the monitoring behavior. The smart ward bedside extension will record the start and end time points, duration and coordinate points of the entire process from receiving a call from the ward → hanging up and coming to the ward → handling nursing events → leaving the ward, and push it to the smart ward platform server in real time;
[0072] S6: Configure the UWB positioning rule template in the smart ward platform. The smart ward bedside extension and door phone will distinguish the detection radius and duration of the nurse's arrival according to the specified positioning rules. The positioning linkage mode, call ending mode, nurse arrival duration and nurse wristband monitoring distance radius of the specified device are configured in the UWB positioning rule template. The positioning linkage mode includes nursing positioning and medical inspection.
[0073] S7: The current location of the nurse is obtained in real time through the UWB positioning module, and combined with the UWB positioning rule template in S6, it is updated on the plane map;
[0074] S8: The smart ward platform uses Fabric.js to draw the single nursing event processing motion trajectory of the designated nurse into the plane map based on the historical coordinate data of the nurse recorded in S5, and performs punctuation operations. Each marked point includes the basic information of the nurse. By clicking the marked point, you can view the detailed information of the nurse, such as name and work number;
[0075] This embodiment adopts UWB positioning technology and Fabric.js framework to intuitively mark the distribution locations of nurses in the nurse station on the ward floor map, reflect the location of nurses in the nurse station and their dynamic changes in real time, help management personnel to carry out efficient scheduling and management, improve the accuracy and timeliness of management, and greatly improve the efficiency of ward management.
[0076] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for marking the distribution of nurses in a nurse station on a ward plan map, characterized in that: The following steps are involved: S1: Draw the ward floor plan using CAD software, select the ward and room, convert it into a picture format, and upload it to the smart ward platform; S2: Enter the information of all nurses in the ward through Excel import, including the nurse's name, position, and ward information; S3: The smart ward platform analyzes the floor plan attributes obtained in S1, sets the width of the floor plan as the maximum value of the x-axis, and the height as the maximum value of the y-axis, to distinguish the limit range of editable coordinate points and edit the coordinate points; S4: Use the Fabric.js framework to perform punctuation operations on the specified locations on the floor plan in S3, record the coordinates of the four punctuation points, and bind the ward to generate regional coordinate information; S5: Bind the UWB monitoring and positioning module to the bedside extension and door machine of the smart ward, and configure the UWB positioning module on the wristband tag worn by the nurse to detect and locate the current position of the nurse in real time. Each UWB positioning module will be bound to a designated nurse station and set a designated ward and room. The bedside extension of the smart ward will record the start and end time points, duration and coordinate points of the entire process from receiving a call from the ward → hanging up and coming to the ward → handling nursing events → leaving the ward, and push it to the smart ward platform server in real time; S6: Configure the UWB positioning rule template in the smart ward platform. The smart ward bedside extension and door phone will distinguish the detection radius and duration of the nurse's presence according to the specified positioning rules; S7: The current location of the nurse is obtained in real time through the UWB positioning module, and combined with the UWB positioning rule template in S6, it is updated on the plane map; S8: The smart ward platform uses Fabric.js to draw the motion trajectory of a single nursing event processing of the designated nurse into the plan view using the historical coordinate data of the nurses recorded in S5, and performs punctuation operations.
2. A method for marking the distribution of nurses in a nurse station on a ward plan map according to claim 1, characterized in that: In S4, when marking a certain area, the cross product is calculated to determine whether the user's marking is a correct rectangle. The program code for calculating the cross product is: constcheckCircle=(points:Point[])=>{ const n = points.length constp1=points[n-3] constp2=points[n-2] constp3=points[n-1] / / Calculate the cross product constcrossProduct=(p1:Point,p2:Point,p3:Point):number=>{ return(p2.X-p1.x)*(p3.y-p1.y)-(p2.y-p1.y)*(p3.x-p1.x) } / / Calculate the cross product of three adjacent points in sequence constcrossProducts = [ crossProduct(points[0],points[1],points[2]), crossProduct(points[1],points[2],points[3]), crossProduct(points[2],points[3],points[0]), crossProduct(points[3],points[0],points[1]) 】 / / Check if all cross products have the same sign constisClockwise=crossProducts.every((cp)=>cp>0) return isClockwise } Where points is an array containing Point objects, each of which has x and y coordinates. It is assumed that these points are arranged in order to form a closed polygon; n is the number of points, and this variable is mainly used to obtain the last three points; p1, p2, p3 are the third, second, and first points respectively. This step is to calculate the cross product of the last few points later in the function; the crossProduct function is used to calculate the cross product of the vector formed by three points. The cross product can be used to determine the direction of the three points. By checking whether all the cross products have the same sign, it can be determined whether the four points marked by the user are natural rectangles in a clockwise / counterclockwise direction, thereby avoiding the situation where points are connected and crossed.
3. A method for marking the distribution of nurses in a nurse station on a ward plan map according to claim 1, characterized in that: In S6, the positioning linkage mode of the designated device, the call ending mode, the nurse arrival time and the nurse wristband monitoring distance radius rules are configured in the UWB positioning rule template, wherein the positioning linkage mode includes nursing positioning and medical inspection.
4. A method for marking the distribution of nurses in a nurse station on a ward plan map according to claim 1, characterized in that: In S8, each mark point includes basic information of the nurse, and by clicking the mark point, the name and work number detailed information of the nurse can be viewed.
5. A method for marking the distribution of nurses in a nurse station on a ward plan map according to claim 1, characterized in that: In the S4, Fabric.js is an open source JavaScript library for drawing and manipulating 2D graphics on HTML5 canvas, providing developers with a simple and easy-to-use API that can be used to create and process images, texts, graphics, and complex vector graphics. With its convenient encapsulation API, it is easy to draw graphics corresponding to punctuation coordinates on the ward floor plan.
