Minor code cleanup

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12506 155a48cc-27b4-b740-adf7-1490e7b4175d
Refactored the MO call to get Vital's information

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12793 155a48cc-27b4-b740-adf7-1490e7b4175d
Added two more section templates to MPage.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12794 155a48cc-27b4-b740-adf7-1490e7b4175d
Various post refactor bug fixes

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12952 155a48cc-27b4-b740-adf7-1490e7b4175d
Changes and improvements suggested by Josh.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12954 155a48cc-27b4-b740-adf7-1490e7b4175d
Checking in the modified config file.
This introduces a new config map to store all eventcodes that belong to blood pressure events.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12955 155a48cc-27b4-b740-adf7-1490e7b4175d
Unit test for EventsReader.splitComplexEvents() method

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12992 155a48cc-27b4-b740-adf7-1490e7b4175d
Bug fix. body positions were incorrectly mapped to complex event codes.
Mapping fixed. 

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@12993 155a48cc-27b4-b740-adf7-1490e7b4175d
Renamed the unit test case for RecordsController

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13029 155a48cc-27b4-b740-adf7-1490e7b4175d
Seperating out the processing of MO Response xml payload from extracting of the MO Response.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13030 155a48cc-27b4-b740-adf7-1490e7b4175d
Unit tests for:

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13031 155a48cc-27b4-b740-adf7-1490e7b4175d
Finishing the comment for last revision
Unit tests for:
Encounter MO Response processing.
Events MO Response processing.
VitalSigns domain objects creation.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13032 155a48cc-27b4-b740-adf7-1490e7b4175d
referring to common encounters using a nodeId instead of repeating them for multiple vitalsigns.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13048 155a48cc-27b4-b740-adf7-1490e7b4175d
Fixed a bug that was preventing events to be matched by "end" and "update" time.
Added test case to test this scenario explicitly.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13125 155a48cc-27b4-b740-adf7-1490e7b4175d
Fix for the empty <bloodPressure> elements in the outgoing RDF

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13132 155a48cc-27b4-b740-adf7-1490e7b4175d
Fix for the issue where "Encounter" column was blank even for records where an encounter type was correctly specified in the RDF.
The rdf:nodeID attribute was misspelled as rdf:NodeId'

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13133 155a48cc-27b4-b740-adf7-1490e7b4175d
Logging optional bp events for which no corresponding systolic/diastolic readings can be found.
Also skipping adding bpSets which contain only optional bp events

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13153 155a48cc-27b4-b740-adf7-1490e7b4175d
removed commented code

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13154 155a48cc-27b4-b740-adf7-1490e7b4175d
improved comment

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13155 155a48cc-27b4-b740-adf7-1490e7b4175d
Fix for "Bug with multiple measurements on the same day"
The application was incorrectly assigning the encounter's start date to all the vitalsigns that were taken within that encounter.
The vitalsigns date is now the "eventEndDate" of it's constituent events/results
This means that all vitalsigns in the rdf should have a unique date. 
Note that there can still be multiple vitalsigns taken on the same day, but at different times.

git-svn-id: https://svn.recomdata.com/repo1/chb/smart@13189 155a48cc-27b4-b740-adf7-1490e7b4175d