Data dictionary › Patient identity & demographics

PAT_FLAGS

Patient status and preferences: active flag, deceased indicator, contact preferences, consents, risk flags, guarantor and legal representative. Single Population

File
data/PAT_FLAGS.csv
Category
patient
Primary key
ACCOUNT
Columns
74

01Relates to the patient

ACCOUNT is the patient's ACCOUNT

Single-patient export: the patient's rows.

02References

03Columns

#ColumnTypeSource typeNullNotes
1ACCOUNT PKstringvarchar(12)no
2PAT_MORTALITY_INDstringchar(1)yes
3AS_NOTIFYstringchar(1)yes
4STATEMENT_FLAGstringchar(1)yes
5PAT_ACTIVEstringchar(1)yesY = active patient, N = inactive (including records merged into another account).
6PAT_MARITAL_STATUSstringchar(1)yes
7EMPLOYMENT_STATUSstringvarchar(2)yes
8PAT_STUDENT_STATUSstringchar(1)yes
9WORK_RELATEDstringchar(1)yes
10COPAY_EXCEPTIONstringchar(1)yes
11EMP_NAMEstringvarchar(30)yes
12DATE_OF_DEATHdatetimedatetimeyes
13SIGNATURE_SOURCEstringchar(1)yes
14LEGAL_REP_ACCOUNTstringvarchar(12)yes
15SEQUENCE_NUMBERstringvarchar(10)yes
16BENEFIT_CODEstringvarchar(10)yes
17PROVIDER_CODEstringvarchar(20)yes
18INCLUDE_FORM_Bstringchar(1)yes
19SCHOOL_NAMEstringvarchar(30)yes
20PAT_CLASSstringvarchar(15)yes
21RESP_ACCOUNTstringvarchar(12)yesAccount of the patient's guarantor (responsible party).
22AMB_TRAVEL_CODEstringvarchar(2)yes
23PERSON_IS_PATIENTstringchar(1)yes
24INCLUDE_CLAIMstringchar(1)yes
25PAT_PARTICPdecimaldecimal(19,4)yes
26HEAD_OF_HOUSEHOLDstringchar(1)yes
27THERAPY_TYPEstringvarchar(2)yes
28SUPV_PROVIDER_CODEstringvarchar(20)yes
29TIERstringvarchar(5)yes
30DO_NOT_BILLstringchar(1)yes
31DO_NOT_CALLstringchar(1)yes
32DO_NOT_LV_MSGstringchar(1)yes
33OK_CALL_HOMEstringchar(1)yes
34OK_CALL_WORKstringchar(1)yes
35OK_CALL_MOBILEstringchar(1)yes
36OK_LV_MSG_HOME_ANSstringchar(1)yes
37OK_LV_MSG_FAMILYstringchar(1)yes
38OK_LV_MSG_WORKstringchar(1)yes
39OK_LV_MSG_MOBILEstringchar(1)yes
40OK_EMAILstringchar(1)yes
41OK_FAXstringchar(1)yes
42OK_WRITTEN_MAILstringchar(1)yes
43OK_SMS_MOBILEstringchar(1)yes
44PORTAL_ACCESSstringchar(1)yes
45NO_KNOWN_PROBLEMSbooleanbityes
46NO_ACTIVE_MEDICATIONSbooleanbityes
47NO_KNOWN_MED_ALLERGIESbooleanbityes
48PCP_PROV_CODEstringvarchar(20)yes
49HOMICIDAL_RISK_LEVELstringvarchar(40)yes
50SUICIDAL_RISK_LEVELstringvarchar(40)yes
51HIGH_RISKstringchar(1)yes
52PHARMACY_CODEstringvarchar(20)yes
53HIGH_RISK_REASONstringvarchar(40)yes
54SEXUALLY_ACTIVEbooleanbityes
55HEALTH_HOMEstringvarchar(20)yes
56CONTACT_IDstringvarchar(12)yes
57CQIbooleanbityes
58ADMIN_CHILD_SERVICESbooleanbityes
59FAMILY_PLANNING_SERVICESbooleanbityes
60HUGS_PATIENTbooleanbityes
61RHIO_CONSENTbooleanbityes
62HIGH_RISK_DATEdatetimedatetimeyes
63PHI_CONSENTbooleanbityes
64APPT_REMINDER_OK_CALL_HOMEbooleanbityes
65APPT_REMINDER_OK_SMSbooleanbityes
66APPT_REMINDER_OK_CALL_MOBILEbooleanbityes
67APPT_REMINDER_OK_EMAILbooleanbityes
68PSYCHESbooleanbityes
69RISK_LEVELintegerintyes
70CLINICAL_RISKbooleanbityes
71ADMIN_RISKstringchar(1)yes
72ADMIN_RISK_REASONstringvarchar(40)yes
73OK_SEND_MAILstringchar(1)yes
74SEND_WHITE_ENVELOPEstringchar(1)yes