| | 40 | |
| | 41 | Numeric fields are mapped to the i2b2 Observation Fact table like this |
| | 42 | |
| | 43 | ||i2b2 Field||Source|| |
| | 44 | ||Encounter_Num||i2b2 Patient ID|| |
| | 45 | ||Patient_Num||i2b2 PatientID|| |
| | 46 | ||Concept_Cd||"PTS:{TABLE_NAME}_{COLUMN_ID}"|| |
| | 47 | ||Provider_Id||"@"|| |
| | 48 | ||Start_Date||The source table observation date field (see above)|| |
| | 49 | ||Modifier_Cd||"@"|| |
| | 50 | ||ValType_Cd||"N" (numeric)|| |
| | 51 | ||TVal_Char||"E" (see below)|| |
| | 52 | ||Units_Cd|||| |
| | 53 | ||Location_Cd||"@"|| |
| | 54 | ||Update_Date||The current date using the GETDATE() Function|| |
| | 55 | ||SourceSystem_Cd||"BRICCS"|| |
| | 56 | ||Upload_Id||"1"|| |
| | 57 | |
| | 58 | '''''SOMETIME (RB): Convert Update_Date to use a date parameter. It's just a little quicker.''''' |
| | 59 | |
| | 60 | '''''SOMETIME (RB): Should the SourceSystem_Cd not be "PATS"?''''' |
| | 61 | |
| | 62 | '''''SOMETIME (RB): The Upload_Id is presumably always one because everything is reloaded each time. Might be nice to change this to something more meaningful.''''' |
| | 63 | |
| | 64 | === TVal_Char |
| | 65 | |
| | 66 | The ''TVal_Char'' describes the meaning of the value contained in the ''NVal_Num'' field. |
| | 67 | |
| | 68 | For all values currently the value of ''TVal_Char'' is set to "E", which means equals. That is, the value in the ''NVal_Num'' field is the result of the test. All possible values of ''TVal_Char'' are: |
| | 69 | |
| | 70 | ||Value||Meaning|| |
| | 71 | ||E||Equals|| |
| | 72 | ||NE||Not Equal|| |
| | 73 | ||L||Less Than|| |
| | 74 | ||LE||Less Than or Equals|| |
| | 75 | ||G||Greater Than|| |
| | 76 | ||GE||Greater Than or Equals|| |
| | 77 | |
| | 78 | From a casual look at the data, I think that a value of less than X, or greater than Y is sometimes used for Pathology data. |