System and method for presenting survey data over a network6889230Abstract A computer system and method for generating web pages for displaying formatted customer satisfaction display information and/or presentations on a user computer which may be located remotely and connected to the system by a computer network. The formatted customer satisfaction survey information enables a product or service provider to evaluate the quality of goods and/or services received based on database data obtained by performing surveys of customers, employees, and/or staff. This information can then be compared to normative information, national standards, or other available data. The system utilizes HTML templates, applets, and web servers to generate the web pages. The HTML template process also allows for generation of the HTML templates by programmers. The system and method can be utilized in a quality improvement program. Claims 1. A system for generating a display presentation on a user computer, comprising the steps of: Description BACKGROUND OF THE INVENTION
The system implements this process to provide a local or remote user with graphical displays, tables, and/or multimedia presentations of survey data for use, for example, in a quality improvement process. The design process for generating the SParser module starts with one or two custom-written small components which are executed on client computers (commonly known as lightweight applets). These contain instructions to draw simple statistical displays, such as bar charts, based on specified parameters. The statistical display designer creates a simple hypertext document demonstrating how the lightweight component is to be used. For example, there is an applet to draw a histogram or vertical bar chart, another to draw a horizontal bar chart, another to draw a control chart, one to draw a comparative display element, one to organize an array of comparative displays, etc. The histogram is useful for conveying the general distribution of survey responses that are obtained from the Integrated Communication System, and whether there are enough negative responses to suggest something needs to be done. The control chart is useful for detecting sudden changes or trends in the data. The database programmer then adds an example of data that might be produced by a database query. For a histogram, these might be counts of data in cells and the labels for those cells. A general design programmer may then modify the hypertext layout to produce a pleasing overall appearance. This person may have a bachelors or masters degree and knows HTML and JavaScript. The design programmer has the benefit of being able to work with test data and actually see the results without concern for the database access issues. Finally, the database programmer completes the design process by adding the SParser instructions. This programmer may use visual design tools such as Macromedia DreamWeaver® or Microsoft Front Page®. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the general system design and the overall flow of data through the survey analysis system. FIG. 2 is a block diagram showing the general design of the SParser application. The arrows show the direction in which requests and data flow in the system. FIG. 3 is a block diagram showing the typical layout of an HTML template. FIG. 4 is a flow diagram showing how HTML templates are developed using the SParser system. DETAILED DESCRIPTION OF THE INVENTION The Survey Processing System And Method has two important aspects. The first is a system of data analysis and presentation over Internet or Intranets to end users of the system. The second is a core tool that makes developing and extending the system straightforward and efficient. The Survey Processing System And Method can be utilized by an automated survey system, such as the Integrated Communication System [ICS], described in application Ser. No. 09/871,279 and incorporated herein by reference. The ICS provides a tool that can be used to automate the survey process to reduce the number of human beings utilized in the survey process, to increase the accuracy, reduce the costs, improve the efficiencies, and overcome the shortcomings of current techniques identified above. The ICS combined with the system and method disclosed herein can be implemented in a quality control program in a system such as disclosed in the Physician Office Viewpoint Survey System and Method [POVS] by McEachern, disclosed in co-pending application Ser. No. 10/008,027, incorporated by reference. All of these systems and methods can utilize a quality improvement process and display methodology disclosed in co-pending application Method And System For Presentation Of Survey And Report Data by Neilson, Ser. No. 10/011,014. The system of data analysis discused in the above references and utilized herein, makes a unique use of metadata—data that describes what is being analyzed that is itself a part of the analysis. It also provides a unique simplicity, being implemented for a particular survey using database structures that may be created automatically from the survey script. The system advances the state of the art in terms of interactivity and breadth of the types of data analyzed. The system as a whole utilizes a series of HTML templates that describe how a certain analytical display is produced. The templates and the template processor (described herein as the SParser application) bring together various aspects of the system—the data and the applets. Each template is a blueprint for obtaining the necessary metadata that describes that structure of other data, the other data themselves, and specific set of instructions for laying out a particular type of analytic graph or table, or presenting written or spoken survey response content, plus references to any specific applet or applets to assist the display process. The SParser application, the core tool of the data display aspect of the invention, is shown in FIG. 1. It is a computer program that reads hypertext templates and modifies them prior to sending them to the web server for display by the user's (client) browser. There is one template for each type of display in the system. The number of possible templates is unlimited-they are accessed through web pages or templates that are part of a particular implementation. Teams consisting of a statistical graphics expert, a web page designer, and a database programmer working independently can develop new templates using the development process outlined hereinbelow. The core tool—based on the SParser application—is unique in its ability to divide the labor of a complex design process into three separable tasks that can be performed by distinct individuals with distinct skills who are available for reasonable salaries. The skilled developers—in statistical graphics, web-page design, and database programming—are available for reasonable salaries. The core tool advances the state of the art for visual design of web pages in a data-reliant framework, allowing less skilled computer programmers to develop relatively complicated outputs with relative ease. The system reduces the amount of work required to build or extend the data analysis system by providing common tools and utilizing commonplace programming skills. FIG. 1 shows the major elements of the survey analysis system and the flow of data between them. Requests flow in the opposite direction (opposite the arrow direction). The request passes upward, through the web server 200, into the servlet processor 100, where it is handed off to the SParser application 110. The SParser application 110 reads an HTML template 120 which instructs it what to do. The most important function of the SParser application 110 is to obtain data from a database server 300—first, metadata 310 that elaborate to SParser 110 what to do (supplied by the system programmers using a translated survey script 10). The data in the database server is obtained from a number of sources. Survey data 320 is supplied by survey respondents 20, which can be obtained by utilizing an automated survey system such as the ICS and POVS, referenced above. Administrative data 330 (such as the date of a medical visit that was the subject of a survey, for example) can be provided by the users organization, i.e., a survey client 30. External comparative data and/or normative data 340, can be obtained from surveys or survey clients, or by external analysis 40, such as government or academic studies, or other surveys, providing data similar or related to the particular client whose survey is the subject of analysis. A request comes from a user query—initially, the user types in the name of the site in a web browser, for example, and from there the queries are generated by clicking the mouse on links or graphical elements displayed by the web browser, being operated by the user on a user computer. This computer can be remotely located from the display system, utilizing the Internet for network connectivity. The request is passed up to the web file server 210, which turns it over to the servlet processor 100. The servlet processor 100 invokes a standard servlet (not shown) which immediately brings in the SParser 110. Based on the nature of the request, the SParser 110 finds the correct template 120 and reads it in. Templates are normally written in two parts. The first part looks up the metadata, and the second part looks up the data. The data, combined with HTML from the template, are passed back to the servlet processor 100, which in turn feeds them back to the web file server 210, which serves it to the client computer 50, together with any Java applets which may have been referenced (such as a graphing applet 220, a table producing applet 230, and/or a multimedia applet 240). Thus, the system can flexibly utilize stored data, templates, and applets to generated the desired charts, graphical displays, and reports to the user. The templates, applets, and data structure are all pre-defined by programmers utilizing the programming method described hereinbelow. FIG. 1 shows a server for serving hypertext documents on the Internet (a "web server" 200), a server for handling custom data requests through JAVA programs (a "servlet engine" 130), a database server 300, a system for organizing complex data into a simple format for display ("the SParser application" 110), and database structures to support these components. The system also consists of computer programs for implementing various types of displays ("custom-written applets" 220, 230 & 240, for example), and hypertext [HTML] templates 120 for implementing the displays and connecting to the database server 300. Small clusters of custom-written applets and hypertext pages specify the capabilities of the system as perceived by the client. For example, there is a custom written applet to draw histograms or bar charts with vertical bars and another applet to draw bar charts with horizontal bars. The hypertext documents specify where the histograms or bar charts are to be drawn, and they contain SParser 110 instructions for accessing the data and data descriptors. The SParser application 110 contains a macro language so that the exact data request for the histogram or bar chart is determined when the request for display is received from the end user. Since this system produces histograms or bar charts in general, it applies to any histogram or bar chart that the system designers may wish to produce. There are many small groups of Java applets and hypertext templates. One set, described above, draws histograms and creates control charts. The same applets and other hypertext templates show several histograms or bar charts comparing results of different survey questions for one group of survey respondents or one question for several different groups of survey respondents. Another set produces control chart—displays of performance over time with methods to detect change. Other types of hypertext templates display verbal comments by survey respondents, correlations between survey components, allow the download of parts of the database, assist users in changing passwords, and allow selection of program options, navigation, etc. Database tables that support the display process include a database of completed or partially-completed surveys, survey response data covering all persons on whom surveys were attempted, descriptions of survey data elements and derived variables, sample and/or administrative data, descriptions of data values, normative data values, and user password and preference data. In FIG. 1, the request begins with an HTML query from the user (client) computer 50. This query is ordinarily generated when the user clicks on information transmitted from a previous interaction, such as by using hyperlinked documents. As described above, An HTML query is first processed by the web server 200, which determines from the HTML page, whether it should serve a static web page, or pass the request to the servlet engine 130. The servlet engine 130 then loads a tiny servlet which immediately invokes the SParser 110 system together with a cache of data pertinent to this particular user, such as the identity of the user and restrictions on the data that may be in force. The SParser 110 performs some housekeeping, the system reads the HTML template page and transmits it back to the web server 200 using the logic of the servlet engine 130 until the web server 200 finds a set of instructions meant for it. When it finds SParser 110 instructions, the SParser 110 follows those instructions to locate information stored within or makes the necessary connections to the database to find structural information and/or data summaries. Depending on the instructions, the SParser 110 may invoke special-purpose code in the servlet. Depending on the results, SParser deletes its own instructions and the test data and may set up one or more macro substitution rules, and then it sends to the web server 200 any data that have been requested in web page format. In the Survey Processing System Implementation, these data may consist of survey, sample or administrative databases, normative data, and structural definitions. The actual Implementation of the Survey Processing System is based on the content of the html templates and the database structures. The key database table ("Structure") contains fields which describe the name of the data column containing a piece of data, labels for it in various display contexts, details about its origin, such as the question text, its possible range of values, the types of values employed, and the hierarchical structure of that column in the analytic framework. SParser 110 then continues to read from the HTML template with any modifications due to macro processing, and sends the results to the web server 200. When the page is finished, the web server 200 then sends the produced HTML web page to the Internet user's computer 50 who originated the query, together with the class files from any referenced applets, to the originating browser. The output HTML file together with the applets, are executed by the browser on the user's client computer 50. By clicking on elements of the produced page, the user may initiate another query to the web server, and the process is repeated. The SParser services include, but are not limited to, (a) storing and translating on input simple phrase substitutions based on query elements, stored phrases, or data vectors; (b) executing SQL queries; (c) managing database connections and result sets to minimize server resource consumption; (d) formatting information from queries useable HTML or JavaScript commands, (e) detecting and classifying errors and providing branching logic if they occur, and (f) deleting test data or other HTML. The SParser application is the core tool of the invention. It is a computer program that reads hypertext templates and modifies them prior to sending them to the web server for display by the user's (client) browser. There is one template for each type of display in the system, potentially an infinite number depending on the complexity of the system. The operation of use consists of deleting test data used for design purposes and substituting actual survey data summaries. This is accomplished through compact statements containing Structured Query Language (SQL) queries and instructions about how to display the results through hypertext markup language (html) web pages and JAVA applets. The SQL statements are embedded in a specifically-designed macro language. The SParser module 110 also contains facilities for recognizing and validating user queries, substituting content based on stored information, processing errors, and efficiently executing JAVA-written special purpose instructions. The web server 200, JAVA servlet engine 130, and database server 300 all may be drawn from convenient commercial or freely available choices. The system has been successfully implemented on both a MS Windows® and a Linux platform using the Apache server, JServ JAVA servlet engine, and MySQL database server. FIG. 2 shows some more detail on the interaction between the HTML template 120 and SParser 110. SParser 110 reads and interprets the template 120, but the process can be thought of as one in which the HTML template 120 invokes SParser 110 services. Database services include maintaining connections, issuing Structured Query Language statements, and opening and closing result sets. Context maintenance includes remembering phrases or data that describe user privileges, preferences, and analysis conditions—phrases and data tables may be held in memory for later reference. Macro processing includes the ability to define phrase substitutions that apply to the remainder of the HTML template. Test data identification and deletion allows the template to contain test data and yet still function in an operational environment. Query parsing services standardize, interpret, and decode different types of HTML queries, such as GET and POST queries, multiple-parameter queries. Error processing services create error message structures and provide for query redirection if needed. Output services translate data output in ways suitable to HTML and/or JavaScript. FIG. 3 describes the appearance of an HTML template in block diagram form. The Title information consists of HTML and JavaScript commonly found at the beginning of pages. For example, there may be commands assuring that the page won't be cached, defining the proper page borders, and setting the background appearance. This is followed by as some SParser commands which are viewed as comments by a browser during a test. The SParser commands locate information in tables required to determine the structure of the request—for example, what value labels to use. This is followed by a test version the descriptive data themselves—replaced with real descriptive data when the page is actually generated. The test data usually are created as JavaScript variables and arrays. The fourth section usually consists of SParser commands that are modified by the previous structure request (using macro substitution, where specific phrases are changed to other phrases). These commands generate actual data (such as the counts of surveys with each of the possible responses to a question. The fifth section contains test numerical data that are substituted for when the template is processed-again, definitions of JavaScript variables and arrays. The sixth and last section contains JavaScript and HTML code to call a JAVA applet or display an HTML table. When the SParser generates live data, it deletes test data used for design purposes and substitutes actual survey data summaries. Data acquisition is accomplished through compact statements containing Structured Query Language (SQL) queries to the database. SParser templates contain instructions about how to display the results through hypertext markup language (html) web pages and JAVA applets. The SQL statements are embedded in a specifically-designed macro language that allow an example to represent a family of similar queries. The SParser module also contains facilities for recognizing and validating user queries, substituting content based on stored information, processing errors, and efficiently executing JAVA-written special purpose instructions. The following is an example of a set of SParser commands:
The macro language allows the user to set macros based on query parameters, the results of a query, or from saved context. Once the macro is set, all remaining input from the HTML template is scanned for the macro substitution phrase. If the phrase is observed, the value is substituted. In a typical HTML template, an early sequence of commands is used to obtain metadata, and then the metadata are used to structure the queries for other types of data, as in the example immediately above. FIG. 4 shows the general HTML template design process according to the invention. The development of an SParser html template moves from one person to another in the design cycle. Each programmer can concentrate on his or her area of expertise without necessarily having to interact with the other programmers. The user interface designer modifies a familiar html document using visual interface tools, instead of having to create the effect by writing code that in turn writes html output-something that is very hard for most html programmers to do, but which would be required by competing systems. This system is efficient to build and maintain because different individuals can perform the role of creating statistical display applets, accessing the database, and styling the display. Referring to FIG. 4, an Applet designer 600 is a Java Programmer who knows the rules for producing a correct statistical graph or table. Usually, this is a person with an advanced degree and/or advanced experience. A lightweight JAVA applet is a short piece of Java code designed to produce a graph (such as a bar chart) or table for display to a user on a user computer 50, typically using a web browser. The graph should preferably be customizable in terms of the colors of the bars or the display of the vertical and/or horizontal scale lines, but it can be more flexible about where to place labels. The applet must be short to minimize download and initialization times on the client computer, especially for cases where low bandwidth Internet connections are used (such as a standard modem). In this step, the applet designer 600 also produces a test program 602 using test data to demonstrate how the applet might be used. By separating this step from other steps that require less experienced programmers, the development process costs can be reduced and standardized. A database programmer 602 is a programmer who knows Structured Query Language (SQL), the lingua franka of major databases such as MYSQL®, Oracle®, Microsoft® SQL server, and IBM's DB2®. The database programmer 602 is also familiar with the contents of the databases used by the database server 300. The database programmer 602 understands and adds the SParser instructions necessary to utilized the Java applet using the appropriate data. The database programmer 602 produces a test html page 606, which is an HTML page that combines the test program 602 from the applet designer 600 with an example of data from the database. Apart from the SParser instructions, it is usually a mechanical reformulation of the test code for the applet. The reformulation is needed so that the data are actually passed to the applet. This step is completed when the graph, table, or other display is browsed with the test data (without regard for esthetics). The esthetics or style programmer 608 is a person who is familiar with designing web sites and formatting web pages. This kind of programmer usually knows little about statistics or databases, but may have extensive artistic training. A visual design program (such as Macromedia's DreamWeaver®) may be used at this step as a design tool. A nearly-finished HTML template is thus produced by the programmer 608. Only a final review by the database programmer 604 is necessary to supply any data that may have been missed previously and to ensure that the SParser commands are correct and operational. The final result is a data display 612 that is created by the process described in FIGS. 1-3 for display on a user computer 50. The system and method is ultimately easier to use than current technology because the data may be found in the well-organized hierarchical structure. Data are divided into Satisfaction, Functioning, Cost, and Clinical quality/outcome measures, plus personal data such as age, gender, and diagnosis. Satisfaction data are further divided into categories such as Initiating Care, Receiving Care, Discharge and Billing, and Overall Satisfaction. A nurse, doctor, or quality improvement specialist can easily see performance, compared over medical unit, over time, by age or sex, or by any other variable in the system. The system (in the larger sense) is also easier to maintain since it depends upon database tables rather than hard-coded logic. To implement a new survey, one need only supply a new structure table and the necessary data labels and (if desired) normative information. Indeed, these structure tables can be automatically generated based on survey scripts used in other parts of the applicant's system. In this sense, this application is related to co-pending applications describing the ICS and the POVS, referenced hereinabove. The invention has been described hereinabove using specific examples; however, it will be understood by those skilled in the art that various alternatives may be used and equivalents may be substituted for elements or steps described herein, without deviating from the scope of the invention. Modifications may be necessary to adapt the invention to a particular situation or to particular needs without departing from the scope of the invention. It is intended that the invention not be limited to the particular implementation described herein, but that the claims be given their broadest interpretation to cover all embodiments, literal or equivalent, covered thereby.
|
Same subclass Same class Consider this |
||||||||||
