CRC Tester
Space shortcuts
Space Tools
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


The tests cases are simply the i2b2 request xml message that is sent tot he CRC when a query is run. A set of sample files have been included with the CRC Test plug-in and will work with the i2b2 demo data that is released in 1.6.

Naming Conventions of xml Files


For the purpose of organization and consistency we did use a "naming convention" when creating the sample xml files. You do not need to use this same naming convention when creating your own xml files.


There is one exception to this statement. If you want the Run Query view to check your expected results against the actual results returned then you need to have this information in the name of the xml file. Towards the end of the file name you need to enter the number of patients expected to be returned within square brackets.



Example:




The plug-in looks for the square brackets in the file name and uses the number within them to determine what the expected results are for this test. It then compares the expected results with the actual number of patients returned to see if there is a discrepancy or if they match. If they do not match then the test will be highlighted in yellow.




A table explaining the naming convention used for the sample tests can be found on the Sample XML Naming Convention page.

  • No labels