Skip to content

Instantly share code, notes, and snippets.

@suntong
Created August 11, 2025 22:41
Show Gist options
  • Save suntong/e9dc12cd684fbe980ec81652f67110d0 to your computer and use it in GitHub Desktop.
Save suntong/e9dc12cd684fbe980ec81652f67110d0 to your computer and use it in GitHub Desktop.

VETtrak Client Table

https://support.vettrak.com.au/DataInsightsHelp/#table1

VETtrak Client Table Field Mapping, by Gemini

Personal & Identification Details

SQL Field SQL Field Type Human Readable Name Description Notes
CLIE_CODE VARCHAR (10) NOT NULL Code Unique VETtrak code of the client. Direct match. CLIE is the standard prefix for the Client table.
CLIE_SURNAME VARCHAR (50) NOT NULL Surname Surname (or single name) of the client. Direct match based on 'surname'.
CLIE_GIVEN VARCHAR (50) NULL Given name Given name of the client. For a single name client, this field must be empty. Direct match based on 'given'.
CLIE_OTHER VARCHAR (50) NULL Other names Other names of the client, such as middle names. Direct match based on 'other'.
CLIE_TITLE VARCHAR (10) NULL Title Title of client (Mr, Mrs, Miss, Ms, Dr etc). Direct match based on 'title'.
CLIE_PREFERRED_NAME VARCHAR (50) NULL Preferred name Preferred name of client. Direct match.
CLIE_FORMER VARCHAR (50) NULL Former surname Former surname of the client. Inferred from 'former'.
CLIE_GENDER INT NOT NULL Gender Gender of the client. Match based on 'gender'. An INT type is used for a lookup list.
CLIE_DOB DATETIME NULL Date of birth Date of birth of the client. Match based on 'DOB' (Date Of Birth) abbreviation.
CLIE_BIRTH_TOWN VARCHAR (50) NULL Town/city of birth Town/city of birth for client. Direct match.
CLIE_NATIONALITY VARCHAR (200) NULL Nationality Nationality of the client. Direct match.
CLIE_PASSPORT VARCHAR (50) NULL Passport number Passport number of the client. Direct match.
CLIE_VISA VARCHAR (50) NULL Visa number Visa number of the client. Direct match.
CLIE_VISA_EFFECTIVE_DATE SMALLDATETIME NULL Visa effective date Effective start date of the client's visa Direct match.
CLIE_VISAEXPIRY SMALLDATETIME NULL Visa expiry date Expiry date of the Visa for the client. Match based on 'visa' and 'expiry'.
CLIE_IDENTIFICATION_FLAG INT NOT NULL Identification confirmed Whether the student's identification details have been confirmed. Match based on 'identification'. INT used as a boolean (Yes/No).
CLIE_IDENTIFICATION_DETAILS VARCHAR (1000) NULL Identification details Details of student identification provided. Direct match.

Contact & Login Details

SQL Field SQL Field Type Human Readable Name Description Notes
CLIE_USERNAME VARCHAR (100) NULL Username Username of the client. Direct match.
CLIE_LOGIN_DISABLE INT NOT NULL Login disabled Whether the client is barred from logging onto any VETtrak software. Match based on 'login' and 'disable'. INT used as a boolean (Yes/No).
CLIE_EMAIL VARCHAR (100) NULL Email Email address of the client. Direct match.
CLIE_EMAIL_2 VARCHAR (100) NULL Email secondary Secondary email address for the client. Match based on _2 suffix indicating secondary field.
CLIE_EMAIL_BOTH INT NOT NULL Email both Whether to send email to both of the client's email addresses. Match based on 'email' and 'both'. INT used as a boolean (Yes/No).
CLIE_MOBILEPHONE VARCHAR (20) NULL Mobile phone Mobile phone number of the client. Direct match.
CLIE_MOBILEPHONE_2 VARCHAR (20) NULL Mobile phone secondary Secondary mobile phone number for the client. Match based on _2 suffix indicating secondary field.
CLIE_SMS_BOTH INT NOT NULL SMS both Whether to send SMS messages to both of the client's mobile phone numbers. Match based on 'SMS' and 'both'. INT used as a boolean (Yes/No).
CLIE_HOMEPHONE VARCHAR (20) NULL Home phone Home phone number of the client. Direct match.
CLIE_WORKPHONE VARCHAR (20) NULL Work phone Work phone number of the client. Direct match.
CLIE_FAXPHONE VARCHAR (20) NULL Fax number Fax number of the client. Direct match.
CLIE_CONTACT_METHOD INT NOT NULL Preferred contact method Preferred contact method for the client. Logical match. An INT type is used for a lookup list.
CLIE_LAST_LOGIN_DATE SMALLDATETIME NULL Last login date Date that the client last logged into any VETtrak application. Direct match.

AVETMISS & Government Reporting

SQL Field SQL Field Type Human Readable Name Description Notes
CLIE_USI VARCHAR (10) NULL USI Unique Student Identifier of the client. Direct match.
CLIE_USI_VERIFY_STATUS INT NOT NULL USI verification status Verification status of the client's Unique Student Identifier. Direct match. INT used for a lookup list.
CLIE_USI_VERIFY_DATE SMALLDATETIME NULL USI verification date When this client's USI was last verified. Direct match.
CLIE_USI_EXEMPT INT NOT NULL USI exempt Whether this client is exempt from the USI scheme. Direct match. INT used as a boolean (Yes/No).
CLIE_CITIZENSHIP INT NOT NULL Citizenship status Citizenship status of the client. Match based on 'citizenship'. INT used for a lookup list.
CLIE_CITIZEN_UPDATE_DATE SMALLDATETIME NULL Citizenship effective from date The date on which the RTO receives evidence of a client’s citizenship status. Inferred match. 'Update Date' corresponds to 'Effective From Date'.
CLIE_ABORIGINAL INT NOT NULL Indigenous status Client's indigenous status. Logical inference. ABORIGINAL is the common DB term for this lookup.
CLIE_DISABILITY INT NULL Has disability Whether the client has disabilities. Match based on 'disability'. INT used for a lookup list.
CLIE_PRIORED INT NULL Has prior education Whether the client has prior education. Match based on 'PriorEd' abbreviation. INT used for a lookup list.
CLIE_ATSCHOOL INT NULL At school Whether the client is still at school. Match based on 'AtSchool'. INT used for a lookup list.
CLIE_YEARCOMPLETED INT NULL Year school completed Year client completed school. Direct match.
CLIE_WHERECOMPLETED VARCHAR (50) NULL Where school completed Where client completed school. Direct match.
CLIE_PROF_SPOK_ENG INT NULL Proficiency in spoken English Client's proficiency in spoken English. Match from abbreviation Proficiency Spoken English. INT for a lookup list.
CLIE_JSID VARCHAR (50) NULL Job seeker ID Centrelink Job Seeker ID for the client. Match from 'JSID' abbreviation.
CLIE_CRN VARCHAR (50) NULL Centrelink reference number (CRN) Centrelink Reference Number (CRN) for the client. Match from 'CRN' abbreviation.
CLIE_CRN_EXPIRY SMALLDATETIME NULL CRN expiry date Centrelink Reference Number expiry date for the client. Direct match.

Address Details

SQL Field SQL Field Type Human Readable Name Description Notes
CLIE_ADDRESS_TYPE INT NOT NULL Address type Type of address for the client. Direct match. INT used for a lookup list.
CLIE_ADDR_NONE INT NOT NULL Usual address not specified Indicates whether the client has a usual address. Inferred from ADDR_NONE. INT used as a boolean (Yes/No).
CLIE_ADDR_OVERSEAS INT NOT NULL Usual and postal addresses overseas Indicates that the client has usual and postal adresses which are overseas. Inferred from ADDR_OVERSEAS. INT used as a boolean (Yes/No).
CLIE_SAME_ADDRESSES INT NOT NULL Same usual and postal address Indicates that the client has usual and postal addresses which are the same. Direct match. INT used as a boolean (Yes/No).
CLIE_RADDR_AREA VARCHAR (50) NULL International residential area Client's international address residential area. Inferred match. R = Residential, ADDR_AREA = Address Area.
CLIE_RADDR_DESC VARCHAR (MAX) NULL International residential address Client's international residential address. Inferred match. R = Residential, ADDR_DESC = Address Description.
CLIE_PADDR_AREA VARCHAR (50) NULL International postal area Client's international address postal area. Inferred match. P = Postal, ADDR_AREA = Address Area.
CLIE_PADDR_DESC VARCHAR (MAX) NULL International postal address Client's international postal address. Inferred match. P = Postal, ADDR_DESC = Address Description.

State Specific & Other Details

SQL Field SQL Field Type Human Readable Name Description Notes
SUCS_ID INT NULL Status Whether this client is active, inactive, or pending. Inferred match. SUCS_ID is the Foreign Key to the Client Status table.
CLIE_PAYER_FLAG INT NOT NULL Problem payer Whether the client is marked as a problem payer. Match based on 'payer'. INT used as a boolean (Yes/No).
CLIE_MISC_1 VARCHAR (20) NULL STA client number State training authority client identifier... Logical inference. This is a generic field often used for state-specific identifiers.
CLIE_VIC_VSN VARCHAR (10) NULL VIC VSN Victorian Student Number of client. Direct match.
CLIE_VIC_VSN_TYPE INT NOT NULL VIC VSN status Status of VIC VSN. Match on VIC_VSN. TYPE is used for status lookups. INT for lookup list.
CLIE_VIC_INDUSTRY_EMPLOYMENT VARCHAR (1) NULL VIC industry of employment Victorian industry of employment of the client. Direct match.
CLIE_VIC_OCCUPATION INT NOT NULL VIC occupation Victorian occupation of client. Direct match. INT for lookup list.
CLIE_SA_SACE_STUDENT_ID VARCHAR (10) NULL SA SACE student ID South Australian Certificate of Education identifier for the client. Direct match.
CLIE_MARKETING_FLAG INT NOT NULL Exclude from marketing Whether the client should be excluded from marketing emails and SMS messages. Match based on 'marketing'. INT used as a boolean (Yes/No).
REFE_ID INT NULL LLN rating LLN Rating for the client Educated guess. REFE is a foreign key, likely to a reference/lookup table like LLN ratings.
N/A N/A Digital literacy rating Client digital literacy rating No clear match found in the provided SQL schema.
N/A N/A VETenrol data completion date Date and time when the Client was last confirmed via a VETenrol Data Completion. No clear match found in the provided SQL schema.

General, Legacy & System Fields

SQL Field SQL Field Type Human Readable Name Description Notes
CLIE_STAFFFLAG INT NOT NULL Staff member Whether the client is a staff member. Match based on 'staff'. INT used as a boolean (Yes/No).
CLIE_WEBPUBLISH INT NOT NULL Web published Whether the client is web published. Direct match. INT used for a lookup list.
CLIE_DESC VARCHAR (MAX) NULL Notes Notes for client. Match based on 'DESC' (Description). VARCHAR(MAX) for a large text block.
CLIE_DELTA VARCHAR (10) NULL External code (primary) Primary code for this client in an external system. Inferred match. DELTA is commonly used for external system integration keys.
CLIE_EMERGENCYNAME VARCHAR (100) NULL Emergency contact person [Not current] Name of the emergency contact person. Legacy field. Direct match.
CLIE_EMERGENCYRELATIONSHIP VARCHAR (100) NULL Emergency contact relationship [Not current] Relationship of the emergency contact person. Legacy field. Direct match.
CLIE_EMERGENCYPHONE VARCHAR (20) NULL Emergency contact phone [Not current] Phone number of the emergency contact person. Legacy field. Direct match.
CLIE_EMERGENCYMOBILE VARCHAR (20) NULL Emergency contact mobile [Not current] Mobile number of the emergency contact person. Legacy field. Direct match.
CLIE_INSERT_DATE SMALLDATETIME NULL Created date Date the record was created. Standard audit field. INSERT_DATE maps to "Created date".
CLIE_UPDATE_DATE SMALLDATETIME NULL Last updated date Date the record was last updated. Standard audit field. UPDATE_DATE maps to "Last updated date".

VETtrak Client Table Mapping, by Grok

Mapping Table

SQL Field SQL Field Type Human Readable Name Description Notes
CLIE_CODE VARCHAR(10) Code Unique VETtrak code of the client. Direct match based on "Code" abbreviation and unique identifier purpose.
CLIE_SURNAME VARCHAR(50) Surname Surname (or single name) of the client. Direct match; "SURNAME" clearly corresponds.
CLIE_GIVEN VARCHAR(50) Given name Given name of the client. For a single name client, this field must be empty. Direct match; "GIVEN" implies first/given name.
CLIE_OTHER VARCHAR(50) Other names Other names of the client, such as middle names. For a single name client, this field must be empty. Direct match; "OTHER" for middle/other names.
CLIE_TITLE VARCHAR(10) Title Title of client (Mr, Mrs, Miss, Ms, Dr etc). Direct match; "TITLE" matches exactly.
CLIE_PREFERRED_NAME VARCHAR(50) Preferred name Preferred name of client. Direct match; field name explicitly matches.
CLIE_FORMER VARCHAR(50) Former surname Former surname of the client. Direct match; "FORMER" implies previous surname.
CLIE_GENDER INT Gender Gender of the client. Logical match; INT for lookup list (e.g., 0=male, 1=female).
CLIE_DOB DATETIME Date of birth Date of birth of the client. Direct match; "DOB" abbreviation for Date of Birth, data type matches.
CLIE_USERNAME VARCHAR(100) Username Username of the client. Direct match; field name matches.
CLIE_LOGIN_DISABLE INT Login disabled Whether the client is barred from logging onto any VETtrak software. Direct match; INT for yes/no (0/1), "DISABLE" implies barred.
CLIE_STAFFFLAG INT Staff member Whether the client is a staff member. Logical match; "STAFFFLAG" for yes/no flag.
CLIE_ARCHIVED INT Status Whether this client is active, inactive, or pending. Inferred match; "ARCHIVED" likely represents inactive status (INT for lookup), pending might be derived.
CLIE_USI VARCHAR(10) USI Unique Student Identifier of the client. Direct match; "USI" abbreviation matches.
CLIE_USI_VERIFY_STATUS INT USI verification status Verification status of the client's Unique Student Identifier. Direct match; field name and INT for lookup.
CLIE_USI_VERIFY_DATE SMALLDATETIME USI verification date When this client's USI was last verified. Direct match; field name and date type.
CLIE_USI_EXEMPT INT USI exempt Whether this client is exempt from the USI scheme. Direct match; "EXEMPT" and INT for yes/no.
CLIE_EMAIL VARCHAR(100) Email Email address of the client. Direct match; field name matches.
CLIE_EMAIL_2 VARCHAR(100) Email secondary Secondary email address for the client. Logical match; "_2" implies secondary.
CLIE_EMAIL_BOTH INT Email both Whether to send email to both of the client's email addresses. Direct match; "BOTH" and INT for yes/no.
CLIE_MOBILEPHONE VARCHAR(20) Mobile phone Mobile phone number of the client. Direct match; field name matches.
CLIE_MOBILEPHONE_2 VARCHAR(20) Mobile phone secondary Secondary mobile phone number for the client. Logical match; "_2" implies secondary.
CLIE_SMS_BOTH INT SMS both Whether to send SMS messages to both of the client's mobile phone numbers. Direct match; "BOTH" and INT for yes/no.
CLIE_HOMEPHONE VARCHAR(20) Home phone Home phone number of the client. Direct match; "HOMEPHONE" matches.
CLIE_WORKPHONE VARCHAR(20) Work phone Work phone number of the client. Direct match; "WORKPHONE" matches.
CLIE_FAXPHONE VARCHAR(20) Fax number Fax number of the client. Logical match; "FAXPHONE" implies fax.
CLIE_CONTACT_METHOD INT Preferred contact method Preferred contact method for the client. Logical match; "CONTACT_METHOD" and INT for lookup.
CLIE_MARKETING_FLAG INT Exclude from marketing Whether the client should be excluded from marketing emails and SMS messages. Logical match; "MARKETING_FLAG" as yes/no (likely 1=exclude).
CLIE_DESC VARCHAR(MAX) Notes Notes for client. Logical match; "DESC" for description/notes, text block type.
CLIE_DELTA VARCHAR(10) STA client number State training authority client identifier. The exact meaning depends on the state. Inferred match; "DELTA" historically used for VIC identifiers, matches varying state codes.
CLIE_EMERGENCYNAME VARCHAR(100) Emergency contact person [Not current - see Relationships for emergency contact information] Name of the emergency contact person for this client. Direct match; "EMERGENCYNAME" matches, despite deprecation note.
CLIE_EMERGENCYRELATIONSHIP VARCHAR(100) Emergency contact relationship [Not current - see Relationships for emergency contact information] Relationship of the emergency contact person for this client. Direct match; field name matches.
CLIE_EMERGENCYPHONE VARCHAR(20) Emergency contact phone [Not current - see Relationships for emergency contact information] Phone number of the emergency contact person for this client. Direct match; field name matches.
CLIE_EMERGENCYMOBILE VARCHAR(20) Emergency contact mobile [Not current - see Relationships for emergency contact information] Mobile number of the emergency contact person for this client. Direct match; field name matches.
CLIE_CITIZENSHIP INT Citizenship status Citizenship status of the client. Direct match; field name and INT for lookup.
CLIE_CITIZEN_UPDATE_DATE SMALLDATETIME Citizenship effective from date The date on which the RTO receives evidence of a client’s citizenship status. Logical match; "CITIZEN_UPDATE_DATE" implies evidence receipt date.
CLIE_IDENTIFICATION_FLAG INT Identification confirmed Whether the student's identification details have been confirmed. Direct match; "IDENTIFICATION_FLAG" as yes/no.
CLIE_IDENTIFICATION_DETAILS VARCHAR(1000) Identification details Details of student identification provided. Direct match; field name matches.
CLIE_PASSPORT VARCHAR(50) Passport number Passport number of the client. Direct match; "PASSPORT" matches.
CLIE_VISA VARCHAR(50) Visa number Visa number of the client. Direct match; "VISA" matches.
CLIE_VISA_EFFECTIVE_DATE SMALLDATETIME Visa effective date Effective start date of the client's visa. Direct match; field name matches.
CLIE_VISAEXPIRY SMALLDATETIME Visa expiry date Expiry date of the Visa for the client. Direct match; "VISAEXPIRY" matches.
CLIE_ADDRESS_TYPE INT Address type Type of address for the client. Direct match; field name and INT for lookup.
CLIE_PAYER_FLAG INT Problem payer Whether the client is marked as a problem payer. Logical match; "PAYER_FLAG" for yes/no payer issue.
CLIE_ATSCHOOL INT At school Whether the client is still at school. Direct match; "ATSCHOOL" and INT for lookup.
CLIE_YEARCOMPLETED INT Year school completed Year client completed school. Direct match; "YEARCOMPLETED" matches.
CLIE_WHERECOMPLETED VARCHAR(50) Where school completed Where client completed school. Direct match; "WHERECOMPLETED" matches.
CLIE_PROF_SPOK_ENG INT Proficiency in spoken English Client's proficiency in spoken English. Direct match; "PROF_SPOK_ENG" abbreviation matches.
CLIE_ABORIGINAL INT Indigenous status Client's indigenous status. Logical match; "ABORIGINAL" for indigenous lookup.
CLIE_DISABILITY INT Has disability Whether the client has disabilities. Direct match; "DISABILITY" and INT for lookup.
CLIE_PRIORED INT Has prior education Whether the client has prior education. Direct match; "PRIORED" abbreviation for prior education.
CLIE_WEBPUBLISH INT Web published Whether the client is web published. Direct match; "WEBPUBLISH" and INT for lookup.
CLIE_BIRTH_TOWN VARCHAR(50) Town/city of birth Town/city of birth for client. Logical match; "BIRTH_TOWN" matches.
CLIE_RADDR_AREA VARCHAR(50) International residential area Client's international address residential area. Inferred match; "RADDR_AREA" for residential area, international context.
CLIE_RADDR_DESC VARCHAR(MAX) International residential address Client's international residential address. Inferred match; "RADDR_DESC" for residential description/address block.
CLIE_PADDR_AREA VARCHAR(50) International postal area Client's international address postal area. Inferred match; "PADDR_AREA" for postal area.
CLIE_PADDR_DESC VARCHAR(MAX) International postal address Client's international postal address. Inferred match; "PADDR_DESC" for postal description/address block.
CLIE_VIC_VSN VARCHAR(10) VIC VSN Victorian Student Number of client. Direct match; "VIC_VSN" matches.
CLIE_VIC_VSN_TYPE INT VIC VSN status Status of VIC VSN. Logical match; "VSN_TYPE" as status lookup.
CLIE_VIC_INDUSTRY_EMPLOYMENT VARCHAR(1) VIC industry of employment Victorian industry of employment of the client. Direct match; field name matches.
CLIE_VIC_OCCUPATION INT VIC occupation Victorian occupation of client. Direct match; field name matches.
CLIE_SA_SACE_STUDENT_ID VARCHAR(10) SA SACE student ID South Australian Certificate of Education identifier for the client. Direct match; field name matches.
CLIE_NATIONALITY VARCHAR(200) Nationality Nationality of the client. Direct match; field name matches.
CLIE_JSID VARCHAR(50) Job seeker ID Centrelink Job Seeker ID for the client. Direct match; "JSID" abbreviation for Job Seeker ID.
CLIE_CRN VARCHAR(50) Centrelink reference number (CRN) Centrelink Reference Number (CRN) for the client. Direct match; "CRN" abbreviation matches.
CLIE_CRN_EXPIRY SMALLDATETIME CRN expiry date Centrelink Reference Number expiry date for the client. Direct match; "CRN_EXPIRY" matches.
CLIE_ADDR_NONE INT Usual address not specified Indicates whether the client has a usual address. Direct match; "ADDR_NONE" for not specified flag.
CLIE_ADDR_OVERSEAS INT Usual and postal addresses overseas Indicates that the client has usual and postal addresses which are overseas. Direct match; "ADDR_OVERSEAS" matches.
CLIE_SAME_ADDRESSES INT Same usual and postal address Indicates that the client has usual and postal addresses which are the same. Direct match; "SAME_ADDRESSES" matches.
CLIE_LAST_LOGIN_DATE SMALLDATETIME Last login date Date that the client last logged into any VETtrak application. Direct match; field name matches.
CLIE_INSERT_DATE SMALLDATETIME Created date Date the record was created. Logical match; "INSERT_DATE" for creation timestamp.
CLIE_UPDATE_DATE SMALLDATETIME Last updated date Date the record was last updated. Logical match; "UPDATE_DATE" for last update timestamp.
CLIE_PROF_SPOK_ENG INT LLN rating LLN Rating for the client Possible partial match; "PROF_SPOK_ENG" could relate to LLN (Language Literacy Numeracy) via spoken English; may not be exact.
SUCS_ID INT Digital literacy rating Client digital literacy rating Speculative match; "SUCS_ID" might relate to success/digital skills; uncertain, based on remaining INT lookup fields.

Unmapped Fields Notes

  • Some human-readable fields like "VETenrol data completion date" and full "LLN rating" or "Digital literacy rating" lack clear SQL counterparts; they may be derived or in related tables.
  • SQL fields like CLIE_ID, EMPL_ID, etc., are system/internal and not mapped to human-readable fields.
  • Address fields (e.g., CLIE_RCITY, CLIE_RADDR) are present in SQL but not explicitly listed in the provided human-readable fields, possibly handled separately in Data Insights.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment