...
If an error occurs at this stage, QuickSnap will log a 'Property Error'. Property errors which you may encounter are:
Error | Explanation |
---|---|
Property, Not a valid number, Phase Type, x | This is a 'Property Error', the description is 'Not a valid number', the affected data item is 'Phase Type', and the value it encountered in the file was 'x' |
Property, Not in the range of correct values for this data item (4 to 18), RUG_ADL, 100 | The value of 100 was provided in the RUG_ADL column, but RUG_ADL can only accept a value between 4 and 18 |
Property, Not a valid date, DateOfBirth, 1/01/190x | The value of '1/1/190x' was provided in the DateofBirth column and QuickSnap was not able to convert this to a date date |
If there is a property error with a data item, QuickSnap may still be able to group that record. It depends whether the flow chart for that Episode/Case Type requires that data item for grouping.
Logic Errors
QuickSnap next checks for logic errors in your file. The errors that may occur here are:
Error | Explanation |
---|---|
DateOfBirth is after DateStart | Age is calculated based on Date of Birth and Episode/Phase Start Date. Obviously the episode/phase must start after DateOfbirth |
DateStart is after DateEnd | Length of stay is calculated based on DateStart, DateEnd and LeaveDays. Obviously the end date needs to be after the start date |
'LeaveDays' exceeds the difference between Start and End dates | 'Length of stay = date end - date start - leave days'. if Leave Days exceeds 'date end - date start' this would result in a negative length of stay |
Grouping Errors
After performing these checks QuickSnap has determined whether each data item is:
- Valid
- Invalid: there was some property or logic error in processing or deriving this data item
- Missing: the data item was not supplied
- Unknown: the data item used some code set value which mapped to 'Unknown', making it effectively unusable for grouping
- an example of this is that the DSS Assessment Only Flag code set accepts a value of 3 'Unknown'
For each record in the file, QuickSnap follows the SNAP grouping flow chart. If it reaches a point where it requires a data item which is not valid, it will raise one of the following errors
Error | Explanation |
---|---|
Required Data Item is Invalid, <data_item_name> | A property or logic error occurred when reading or deriving this data item from the source file (e.g. an x provided where a number was expected) |
Required Data Item is Missing, <data_item_name> | A data item which was required is not included in the file (it's column was left blank) |
Required Data Item is Unknown, <data_item_name> | A data item which was required mapped to a value of 'Unknown' so QuickSnap is unable to choose a path to follow on the flow chart |
Remember that these errors are only raised when the data item is required.