Template:DataDictionaryQuery

From CCMDB Wiki

This template is used by the Data dictionary to help keep data uniformly structured and formatted.

--- This will say something went wrong and that there is no data because here in its definition there are no query criteria - there is nothing wrong with it saying that here.

 FieldDataTypeFieldLengthDataElementDescriptionDataElementStartDateDataElementEndDateFieldCreatedRaw
D ID fieldstring18The unique identifier/index of records in the Critical Care and Medicine Database.11 July 19881 January 2100Raw
Pat ID fieldnumberLong IntegerThe Pat_ID field contains a unique-per-laptop identifying number for patient ward admissions. See Serial number.11 July 19881 January 2100Raw
Person ID fieldnumberlong integerUnique random number id per patient that combines the D_IDs across admissions/encounters.11 July 19881 January 2100Created
L ICD10 IDnumberlongUnique identifier of the L_ICD10 table11 July 19881 January 2100Raw
ICD10 codestring10The actual ICD10 code.11 July 19881 January 2100Raw
Hospitalization IDnumberlong integerNot currently used11 July 19881 January 2100Created
ClientVisitGUID fieldstring16Unique identifier of a hospital admission for a patient for use with multiple encounters and Cognos data.17 June 20211 January 2100Raw
LastName fieldstring40Last Name of patient11 July 19881 January 2100Raw
AgenumberThe number of years between Date of Birth and the last birthday prior to or on (Admit DtTm otherwise).11 July 19881 January 2100Created
FirstName fieldstring40Last Name of patient11 July 19881 January 2100Raw
CCI 1 Codenumberlong integerThe unique identifier/index of CCI Procedure's first component in s_CCI_1 table.1 January 20191 January 2100Raw
PHIN fieldnumberLong IntegerThe patient's PHIN .11 July 19881 January 2100Raw
CBCintegerintegerCBC contains the number of CBCs done during a patient's stay in our unit.11 July 198831 December 2018Raw
PPInumberintegerPPI contains manually collected doses of PPI that were given.12 September 201112 May 2014Raw
Px Datedatenot enteredThe date/time of a CCI procedure11 July 19881 January 2100Raw
Dx Datedatenot enteredThe date/time of an ICD10 diagnosis.11 July 19881 January 2100Raw
CCI 2 Codenumberlong integerThe unique identifier/index of CCI Procedure's second component in s_CCI_2 table.1 January 20191 January 2100Raw
CCI Picklist Codestring20The CCI code for and entry in the L CCI Picklist subform, from s_CCI_Picklist table.1 January 20191 January 2100Raw
Date of Birthdatenot enteredDate of Birth (DOB) is the data a patient was born.11 July 19881 January 2100Raw
PT PTTintegerintegerPT_PTT contains the number of PTs and PTTs done during a patient's stay in our unit.11 July 198817 March 2017Raw
H2-BlockersnumberintegerH2-Blockers contains manually collected doses of H2-Blockers that were given.24 December 200912 May 2014Raw
Dx Date unknownbooleannot enteredTrue for Acquired Diagnosis / Complication when Dx Date legitimately missing.11 July 19881 January 2100Raw
Px Countdatenot enteredThe type of a CCI procedure (comorbid, admit or acquired)11 July 19881 January 2100Raw
Chart numberstring8The number used by medical records to uniquely identify a patient's chart; it is different for the same patients at different hospitals.11 July 19881 January 2100Raw
Heparin SQnumberintegerHeparin SQ contains manually collected doses of Heparin SQ that were given.28 November 201113 May 2014Raw
SentDtTm fielddatenot enteredTime the record was last sent.11 July 19881 January 2100Raw
Dx Typestring8The type of an ICD10 diagnosis (Comorbid Diagnosis, Admit Diagnosis or Acquired Diagnosis / Complication)11 July 19881 January 2100Raw
FFPintegerintegerFresh Frozen Plasma / FFP contains manually collected doses of FFP that were given.11 July 198831 December 2018Raw
LMWHnumberintegerLMWH contains manually collected doses of LMWH that were given.6 December 201131 December 2011Raw
Start Date fielddatenot enteredDate the record was created on the data collector's laptop; created automatically by CCMDB.accdb.25 February 20111 January 2100Raw
Dx PrioritynumbersingleThe priority of an ICD10 diagnosis, used to rank and group.11 July 19881 January 2100Raw
PlateletsintegerintegerPlatelets contains number of doses of platelets that were given.11 July 198831 December 2018Raw
ER Delaydaten/aThe ER Delay is the difference between the pre-ER Boarding Loc and first post-ER Boarding Loc, for patients arriving from the ER.11 July 19881 January 2100Created
Benzodiazepines cont infnumberintegerbenzodiazepines cont inf contains manually collected doses of benzodiazepines cont inf that were given.29 November 201113 May 2014Raw
Start Time fielddatenot enteredTime the record was created on the data collector's laptop; created automatically by CCMDB.accdb.25 February 20111 January 2100Raw
S dispo.loc typestring20The list provides a broader description of service and/ location of the patient's Previous Location,Pre-admit Inpatient Institution or Dispo field and found useful when providing reports.1 July 20161 January 2100Raw
Dx Primarybooleannot enteredCheckbox that is set to true for a single Admit Diagnosis per ward stay that is the Primary Admit Diagnosis11 July 19881 January 2100Raw
Notes fieldmemonot enteredUsed by data collectors to keep notes during collection.11 July 19881 January 2100Raw
Albumin 25pctintegerintegerAlbumin_25pct contains number of doses of 25% Albumin that were given.11 July 198831 December 2018Raw
Opioids cont infnumberintegeropioids cont inf contains manually collected doses of opioids cont inf that were given.6 December 201113 May 2014Raw
Notes field (L PHI)stringnot enteredNotes in L_PHI table is used by the data processor to comment on data ad-hoc where needed.11 July 19881 January 2100Raw
Albumin 5pctintegerintegerAlbumin_5pct contains the number of doses of 5% Albumin that were given.11 July 198831 December 2018Raw
Propofol cont infnumberintegerpropofol cont inf contains manually collected doses of propofol cont inf that were given.6 December 201113 May 2014Raw
FinalCheck fieldbooleannot enteredLegacy; used to be checked when all data is complete, now see RecordStatus field.11 July 198824 May 2013Raw
Px Typestringnot enteredThe type of a CCI Procedure as per CCI Collection, ie admit or acquired11 July 19881 January 2100Raw
Creatinine (labs)integerintegerCreatinine contains the number of creatinines done during a patient's stay in our unit.11 July 198817 March 2017Raw
Insulin cont infnumberintegerinsulin cont inf contains manually collected doses of insulin cont inf that were given.6 December 201113 May 2014Raw
DC Treatmentstring50"DC" for critical care patients if life-support treatment is terminated, blank for all others.11 July 198810 May 2022Raw
Magnesium (labs)integerintegerMagnesium contains the number of magnesiums done during a patient's stay in our unit.11 July 198831 December 2018Raw
Furosemide cont infnumberintegerfurosemide cont inf contains manually collected doses of furosemide cont inf that were given.21 December 20119 May 2014Raw
Mean BPnumbersingleMean Blood Pressure defined by round(((2x Diastolic) + Systolic)) ÷ 3)11 July 19881 January 2100Created
SGPT ALT (labs)integerintegerSGPT_ALT contains the number of SGPTs and ALTs done during a patient's stay in our unit.11 July 198817 March 2017Raw
Azolesnumberintegerazoles contains manually collected doses of azoles that were given.11 July 19881 January 2100Raw
TroponinintegerintegerTroponincontains the number of troponins done during a patient's stay in our unit.11 July 198817 March 2017Raw
Funginsnumberintegerfungins contains manually collected doses of fungins that were given.11 July 19881 January 2100Raw
CXRintegerintegerChest Xrays (CXR) contains the manually counted number of chest xrays (CXR) done during a patient's stay in our unit.11 July 198831 December 2018Raw
Antipseudomonalsnumberintegerantipseudomonals contains manually collected doses of antipseudomonals that were given.11 July 19881 January 2100Raw
Province fieldstring2Province in which the patient is registered with health care. If the patient is not eligible for health care, it records the province that they reside in.11 July 19881 January 2100Raw
CT Scan (labs)integerintegerCT_Scan contains the manually counted number of CT scans done during a patient's stay in our unit.11 July 198831 December 2018Raw
Vancomycinnumberintegervancomycin contains manually collected doses of vancomycin that were given.11 July 19881 January 2100Raw
Sex fieldstring7Biological sex of the patient at birth; options are "male" and "female".11 July 19881 January 2100Raw
Angio coronary fieldintegerintegerAngio coronary contained the manually counted number of coronary angiograms done during a stay in our unit, or on the way there.11 July 19883 April 2017Raw
Fluoroquinolonesnumberintegerfluoroquinolones contains manually collected doses of fluoroquinolones that were given.11 July 19881 January 2100Raw
Angio others fieldintegerintegerAngio_others contained the manually counted number of non-coronary angiograms done during a stay in our unit, or on the way there.11 July 19883 April 2017Raw
Carbapenemsnumberintegercarbapenems contains manually collected doses of carbapenems that were given.11 July 19881 January 2100Raw
Registry Patient Typestring10Service of the attending physician for medicine data, and the type of admit diagnosis for critical care patients.1 April 19979 May 2018Raw
EchocardiogramnumberintegerContains the number of heart ultrasounds (echocardiograms) a client has had during an admission to our unit.11 July 198831 December 2018Raw
Vanco alternativesnumberintegervanco alternatives contains manually collected doses of vanco alternatives that were given.11 July 19881 January 2100Raw
Abdominal ultrasoundintegerintegerContains the number of abdominal ultrasounds a client has had during an admission to our unit.11 July 198831 December 2018Raw
3rd generation cephalosporinsnumberinteger3rd generation cephalosporins contains manually collected doses of 3rd generation cephalosporins that were given.20 October 201111 March 2013Raw
Sputum C+SintegerintegerContains the number of any sputum specimens (including endotracheal secretions) sent for "culture and sensitivity" for bacteria or fungus.11 July 198817 March 2017Raw
Ceftazidimenumberintegerceftazidime contains manually collected doses of ceftazidime that were given.2 January 20128 March 2013Raw
Blood culturenot enteredintegerContains the number of blood cultures a patient has had during an admission to our unit.17 March 2017Raw
Tigecylinenumberintegertigecyline contains manually collected doses of tigecyline that were given.21 July 201226 August 2012Raw
Urine CSintegerintegerUrine_CS contains the number of any urine specimens sent for "culture and sensitivity" for bacteria or fungus.11 July 198817 March 2017Raw
Spare1numberintegerspare1 contains manually collected doses of spare1 that were given.8 December 20128 December 2012Raw
Arterial blood gas (labs)integerlongABG contains manually collected arterial blood gas counts.11 July 198831 December 2018Raw
Spare2numberintegerspare2 contains manually collected doses of spare2 that were given.8 December 20128 December 2012Raw
Spare3numberintegerspare3 contains manually collected doses of spare3 that were given.8 December 20128 December 2012Raw
Venous blood gas (labs)integerlongVBG contains manually collected venous blood gas counts.11 July 198831 December 2018Raw
R Filter Fieldstring10Critical care patients on a long term ventilator (LTV).11 July 19881 January 2019Raw
PentaspanintegerintegerPentaspan contains the number of doses or Pentaspan that were given while in the unit.12 June 2014Raw
Spare4numberintegerspare4 contains manually collected doses of spare4 that were given.8 December 20128 December 2012Raw
MRI (labs)integerintegerMRI contains the manually counted number of MRIs done during a patient's stay in our unit.11 July 198831 December 2018Raw
Spare5numberintegerspare5 contains manually collected doses of spare5 that were given.8 December 20128 December 2012Raw
VoluvenintegerintegerVoluven contains the number of doses or Voluven that were given while in the unit.11 July 198812 June 2014Raw
Spare6numberintegerspare6 contains manually collected doses of spare6 that were given.8 December 20128 December 2012Raw
Postal Code fieldstring6The patient's postal code.1 January 20121 January 2100Raw
AaDO2numberN/AThe patient's Alveolar-arterial oxygen tension difference level in .11 July 19881 January 2100Created
LastOpened DtTm fielddatenot enteredDate/Time the record was last closed with the "Close - with updates" button. This will usually be the last time the collector updated the record.14 April 20161 January 2100Raw
Pre acute living situation fieldnumberlong integerInfo about the living situation of the patient prior to the current hospitalization.1 July 20161 January 2100Raw
Pre-admit Inpatient Institution fieldnumberlong integerThe most recent previous inpatient location of patients who were already inpatients elsewhere and who have been under medical care continuously before coming to our unit.1 July 20161 January 2100Raw
Previous Location fieldnumberlong integerThe most recent previous physical location (with #exceptions) of a patient before arriving at the collection location.1 July 20161 January 2100Raw
Previous Service fieldnumberlong integerThe most recent "originating service" which sends the patients to their current service location.1 July 20167 September 2022Raw
Off ward fieldnumberlong integerChecked/true if the patient who meets the Definition of a Medicine Laptop Admission or Definition of a Critical Care Laptop Admission spent any time in a bed that is not at their actual collection location between "Arrive DtTm" and Dispo DtTm. The patient must be covered by the attending of the service of the home unit that is credited with the "off ward" designation.1 July 201629 January 2020Raw
Service/Location fieldnumberlong integerLegacy field replaced by Boarding Loc and Service tmp entry1 July 20161 January 2100Raw
Dispo fieldnumberlongThe Dispo field contains information about what happens to the patient at the end of their admission.1 July 20161 January 2100Raw
Visit Admit DtTm fielddatenot enteredThe Visit Admit DtTm field is the start of the hospital registration for the current admission. If from ER, this is also the Triage DtTm.1 January 20031 January 2100Raw
EPR Admit DtTm fielddatenot enteredarrival time on the unit as per Cognos/ EPR data27 October 20191 November 2020Raw
Accept DtTm fielddatenot enteredFirst Service tmp entry DtTm for pts who came from the ER department only1 July 201622 April 2022Raw
Accept DtTm missing fieldbooleannot enteredcheckbox is checked/true when no Accept DtTm is documented for a patient who came from from the ER.1 July 20161 January 2100Raw
Arrive DtTm fielddatenot enteredFirst non-ER Boarding location date and time, or start of ( Service Location) for legacy records.1 July 201622 April 2022Raw
Dispo DtTm fielddatenot enteredDate and time when the patient changed status from what is documented in Service/Location field to Dispo field..1 July 20161 January 2100Raw
Transfer Ready DtTm fielddatenot enteredDate and time the intent to discharge a patient to a lower level in the Level of care hierarchy was documented.1 July 201615 October 2020Raw
TR info status fieldstring19Cross-check field that will contain data if Transfer_Ready_DtTm field is empty5 May 201615 October 2020Raw
Ap SapsSysBP fieldnumberlong integer 11 July 198813 May 2014Raw
ADL Bathingstring15Need for help with bathing; component of ADL.1 October 20031 January 2100Raw
ADL Dressingstring15Need for help with dressing; component of ADL.1 October 20031 January 2100Raw
ADL Toilettingstring15Need for help with toiletting; component of ADL1 October 20031 January 2100Raw
ADL Transferingstring15Need for help with transferring; component of ADL1 October 20031 January 2100Raw
ADL Continencestring15Control of urination and bowel movements; component of ADL1 October 20031 January 2100Raw
ADL Feedingstring15Need for help with feeding; component of ADL1 October 20031 January 2100Raw
Admit Type for APACHE IIstring10The Admit Type for APACHE II is a way to classify patients' surgical status and one of the elements used to generate the APACHE score.11 July 19881 January 2100Raw
Chronic Health APACHEstring30Specific chronic pre-existing conditions used for APACHE score.17 February 2022Raw
TemperaturenumbersingleThe patient's Temperature level in °C.11 July 19881 January 2100Raw
AP Sys BP FieldnumbersingleAp_SysBP is the systolic blood pressure.11 July 19881 January 2100Raw
AP Dias BP FieldnumbersingleAp_DiasBP is the diastolic blood pressure.11 July 19881 January 2100Raw
HRnumbersingleThe patient's Heart Rate level in beats/min.11 July 19881 January 2100Raw
RRnumbersingleThe patient's respiratory rate level in breaths/min.11 July 19881 January 2100Raw
AP Eye fieldstring13The eye component of the Glasgow_Coma_Scale.11 July 19881 January 2100Raw
AP Motor fieldstring19The motor component of the Glasgow_Coma_Scale.11 July 19881 January 2100Raw
AP Verbal fieldstring26The verbal component of the Glasgow_Coma_Scale.11 July 19881 January 2100Raw
FiO2numbersingleFIO2 is the fraction of inspired oxygen[1] in the gas mixture breathed by the patient.11 July 19881 January 2100Raw
GCS sedated fieldbooleannot enteredField does not contain any relevant data.22 September 201615 June 2021Raw
PO2numbersinglePO2 is the partial pressure of oxygen in the patient's arterial blood.11 July 19881 January 2100Raw
PCO2numbersinglePCO2 (or PaCO2) is the partial pressure of carbon dioxide (CO2) in the patient's arterial blood in mmol/L.11 July 19881 January 2100Raw
PHnumbersingleThe acidity or basicity of the patient's arterial blood.11 July 19881 January 2100Raw
Serum CO2numbersingleThe patient's Serum CO2 level in mmol/L.11 July 19881 January 2100Raw
NanumbersingleThe patient's Sodium level in mmol/L.11 July 19881 January 2100Raw
KnumbersingleThe patient's Potassium level in mmol/L.11 July 19881 January 2100Raw
HCTnumbersingleThe patient's hematocrit level in percentage.11 July 19881 January 2100Raw
WBCnumbersingleThe patient's White Blood Count level in x109/L.11 July 19881 January 2100Raw
Creatinine (APACHE)numbersingleThe patient's level in .11 July 19881 January 2100Raw
ARF (APACHE)numbersingleThe ARF checkbox is checked/true if patient is in Acute Renal Failure as per the APACHE definition.11 July 19881 January 2100Raw
R Completebooleannot enteredtrue when patient registry data is complete1 January 200031 December 2100Raw
ADL Completebooleannot enteredtrue when patient ADL data is complete1 January 200031 December 2100Raw
RecordStatus fieldstring20status of the data in the record. Possible values are complete, sent, questioned and vetted.24 April 20131 January 2100Raw
Ap Completebooleannot enteredTrue when patient APACH II data is complete1 January 200031 December 2100Raw
ApLab Completebooleannot enteredTrue when patient APACHE II lab data is complete1 January 200031 December 2016Raw
Labs Completebooleannot enteredTrue when patient Labs data is complete1 January 200031 December 2100Raw
Tmp Completebooleannot enteredTrue when patient Tmp data is complete1 January 200031 December 2100Raw
Como Completebooleannot enteredTrue when patient comorbid diagnosis data is complete1 January 200031 December 2100Raw
Diag Completebooleannot enteredTrue when patient diagnosis data is complete1 January 200031 December 2100Raw
Pharm Completebooleannot enteredTrue when patient pharmacy diagnosis data is complete1 January 200031 December 2100Raw
Pharm Flow Completebooleannot enteredUnused field1 January 20004 August 2022Raw
Recordstring8Free choice use by collectors to help collection, this field has no consistent meaning.1 January 190031 December 2100Raw
Room nrstring15Legacy element that was never used consistently.1 January 19004 August 2022Raw
LastChanged DtTm fielddatenot enteredLast time the record was closed with the "Close - with updates" button6 January 202131 December 2999Raw
Pharm Vitamin K antagonists fieldbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Heparin cont infbooleannot enteredTrue if a continuous infusion of Heparin was given1 January 20121 January 2100Raw
Pharm Direct thrombin inhibitorsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Heparinoidsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Factor Xa inhibitorsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Dopamine cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Dobutamine cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Norepinephrine cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Epinephrine cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Phenylephrine cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Vasopressin cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Milrinone cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm Paralytics cont infbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm corticosteroidsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm amphotericin Bbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm macrolidesbooleannot enteredTrue if drug in field name was given1 January 201217 March 2013Raw
Pharm 1st or 2nd generation cephalosporinsbooleannot enteredTrue if drug in field name was given1 January 20127 August 2013Raw
Pharm 4th generation cephalosporinsbooleannot enteredTrue if drug in field name was given1 January 201228 February 2013Raw
Pharm antistaph penicillinsbooleannot enteredTrue if drug in field name was given1 January 201219 February 2013Raw
Pharm aminoglycosidesbooleannot enteredTrue if drug in field name was given1 January 20125 March 2013Raw
Pharm influenza drugsbooleannot enteredTrue if influenza drugs were given1 January 20121 January 2100Raw
Pharm bosentanbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm viagra-type vasodilatorsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm special upper GI bleeding agentsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm amiodaronesbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm anti-TB drugsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm statinsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm PPIbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm H2 blockersbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm furosemidebooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm heparin sqbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm LMWHbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm benzodiazepinesbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm opioidsbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm propofolbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw
Pharm insulinbooleannot enteredTrue if drug in field name was given1 January 20121 January 2100Raw