MDCCD Data Warehouse Data Dictionary

From wiki
Revision as of 16:04, 23 May 2024 by Jeff.tyndall (talk | contribs)
Jump to navigation Jump to search

Overview

This page provides a data dictionary for each table that is held within the MDCCD Data Warehouse.

Medical Devices

MD_INS_CASE

This table holds the main inspection information.

Column Name Key Type DataType Nullable Data Default Example Data Description Comments
INSP_ID Primary VARCHAR2(36 CHAR) No NULL 5c6afa3c-3f8a-4641-8da4-9588ec7769d7 This is the unique record identifier for the inspection.
INSP_NUM VARCHAR2(200 CHAR) No NULL 00070-QUART HEALTHCARE INC. This is the inspection number.
SITE_ID Foreign VARCHAR2(36 CHAR) No NULL 7b06cddd-12d5-ee11-904d-002248b0a560 This is the unique record identifier for the company inspected.
SITE_NAME VARCHAR2(160 CHAR) Yes NULL QUART HEALTHCARE INC. This is the name of the company insepcted.
LICENCE_NO Foreign NUMBER(6,0) Yes NULL 2027 This is the establishment licence number of the company inspected. Use to join with MDS table ESTABLISHMENT.ESTABLISHMENT_ID.
COMPANY_ID Foreign NUMBER(6,0) Yes NULL 107232 This is the internal Health Canada company identifier. Use to join with MDS table ESTABLISHMENT.COMPANY_ID or COMPANY.COMPANY_ID.
REG_FILE_NUMBER VARCHAR2(250 BYTE) Yes NULL HC6-61-123/IM This is the internal program based file identifier.
REGION_CD_EN VARCHAR2(50 CHAR) Yes NULL East This is the operational centre assigned to the inspection in English.
REGION_CD_FR VARCHAR2(50 CHAR) Yes NULL Est This is the operational centre assigned to the inspection in French.
INSP_TYPE_EN VARCHAR2(100 CHAR) Yes NULL Domestic - New - Onsite This is the type of inspection in English.
INSP_TYPE_FR VARCHAR2(100 CHAR) Yes NULL Domestique - Nouvelle - Sur place This is the type of inspection in French.
LEAD_INSPECTOR_ID Foreign VARCHAR2(36 CHAR) Yes NULL 0bb101ab-5009-ee11-8f6e-000d3ae86452 This is the unique record identifier of the lead inspector.
LEAD_INSPECTOR VARCHAR2(200 CHAR) Yes NULL Vanessa Toussaint This is the name of the lead inspector.
LEAD_INSPECTOR_BADGE VARCHAR2(50 BYTE) Yes NULL 54355335 This is the badge number of the lead inspector.
SUPERVISOR_ID Foreign VARCHAR2(36 CHAR) Yes NULL ed91a4cf-777a-ee11-8179-002248b32010 This is the unique record identifier of the supervisor for the inspection.
SUPERVISOR VARCHAR2(200 CHAR) Yes NULL Ada Lai This is the name of the supervisor for the inspection.
INSP_STATUS_EN VARCHAR2(100 CHAR) Yes NULL Open This is the status of the inspection in English.
INSP_STATUS_FR VARCHAR2(100 CHAR) Yes NULL Ouvert This is the status of the inspection in French.
COMP_STANDARD_EN VARCHAR2(100 CHAR) Yes NULL Food & Drugs Act, Medical Device Regulations This is the compliance standard that the site was inspected against in English. Either the FDA or MDR.
COMP_STANDARD_FR VARCHAR2(100 CHAR) Yes NULL Loi sur les aliments et drogues, Règlement sur les instruments médicaux This is the compliance standard that the site was inspected against in French. Either the FDA or MDR.
DRAFT_REPORT_RATING_EN VARCHAR2(100 CHAR) Yes NULL Compliant This is the draft inspection rating in English.
DRAFT_REPORT_RATING_FR VARCHAR2(100 CHAR) Yes NULL Conforme This is the draft inspection rating in French.
DRAFT_REPORT_ISSUE_DATE DATE Yes NULL 24-03-21 This is the date that the draft inspection rating was issued.
FINAL_REPORT_RATING_EN VARCHAR2(100 CHAR) Yes NULL Compliant This is the final inspection rating in English.
FINAL_REPORT_RATING_FR VARCHAR2(100 CHAR) Yes NULL Conforme This is the final inspection rating in French.
FINAL_REPORT_ISSUE_DATE DATE Yes NULL 24-03-21 This is the date that the final inspection rating was issued.
AMENDED_REPORT_ISSUE_DATE DATE Yes NULL 24-03-22 This is the date that an amended inspection report was issued to the company.
SAMPLES_TAKEN VARCHAR2(2000 CHAR) Yes NULL None This indicates if any samples were taken during the inspection.
INSP_START_DATE DATE Yes NULL 24-01-30 This indicates when the inspection was started. Use this to calculate the number of inspections per month for the dashboard.
INSP_END_DATE DATE Yes NULL 24-01-30 This indicates when the inspection was finished. Use this to calculate the number of completed inspections per month/quarterly compliance ratings for the dashboard.
CLOSING_MEETING_DATE DATE Yes NULL 23-11-15 This indicates when the inspector had the closing meeting with the company.
NEXT_INSPECTION_DATE DATE Yes NULL 24-03-15 This indicates when the company is due for its next inspection
AMENDED_CD_EN VARCHAR2(5 CHAR) Yes NULL Yes This indicates whether the inspection report has been amended in English.
AMENDED_CD_FR VARCHAR2(5 CHAR) Yes NULL Oui This indicates whether the inspection report has been amended in French.
AMENDED_BY VARCHAR2(200 CHAR) Yes NULL Vanessa Toussaint This indicates who amended the inspection.
AMENDED_DATE DATE Yes NULL 24-03-01 This indicates when the report was amended.
FIRST_COMM_DATE DATE Yes NULL 24-02-21 This is the date the inspector first communicated with the company for the inspection.
FIRST_COMM_MODE VARCHAR2(100 CHAR) Yes NULL E-mail This is how the inspector first communicated with the company for the inspection.
FIRST_COMM_MODE_EN VARCHAR2(100 CHAR) Yes NULL This is how the inspector first communicated with the company for the inspection in English.
FIRST_COMM_MODE_FR VARCHAR2(100 CHAR) Yes NULL This is how the inspector first communicated with the company for the inspection in French.
EMERGENCY_CONTACT_NAME VARCHAR2(100 CHAR) Yes NULL John Smith This is the name of the emergency contact for the company at the time of inspection.
EMERGENCY_CONTACT_PHONE VARCHAR2(100 CHAR) Yes NULL 514-123-4566 This is the phone number of the emergency contact for the company at the time of inspection.
SENIOR_OFFICIAL_OFFICIAL_ID Foreign VARCHAR2(36 CHAR) Yes NULL 31175da9-efdf-ee11-904c-000d3a847fce This is the unique record identifier of the senior official of the company at the time of insepction.
SENIOR_OFFICIAL_NAME VARCHAR2(200 CHAR) Yes NULL SVEN LILLEDRU This is the name of the senior official for the company at the time of inspection.
SENIOR_OFFICIAL_TITLE VARCHAR2(100 CHAR) Yes NULL G.M. This is the job title of the senior official for the company at the time of inspection.
SITE_CONTACT_ID Foreign VARCHAR2(36 CHAR) Yes NULL c1d2e077-eddf-ee11-904d-002248b0ad37 This is the unique record identifier of the contact of the company at the time of inspection.
SITE_CONTACT_NAME VARCHAR2(200 CHAR) Yes NULL SVEN LILLEORU This is the name of the contact of the company at the time of inspection.
SITE_CONTACT_TITLE VARCHAR2(100 CHAR) Yes NULL MANAGER, COMMERCIAL QUALITY & REG EU & CAN This is the job title of the contact of the company at the time of inspection.
SITE_CONTACT_PHONE VARCHAR2(100 CHAR) Yes NULL 416-765-0345 This is the phone number of the contact of the company at the time of inspection.
SITE_CONTACT_FAX VARCHAR2(100 CHAR) Yes NULL 514-123-4567 This is the fax of the contact of the company at the time of inspection.
SITE_CONTACT_EMAIL VARCHAR2(100 CHAR) Yes NULL sven@quarthealthcare.com This is the e-mail of the contact of the company at the time of inspection.
SITE_ADDRESS_1 VARCHAR2(250 CHAR) Yes NULL 36 NORTHLINE ROAD, SUITE 9 This is the address of the company being inspected.
SITE_ADDRESS_2 VARCHAR2(250 CHAR) Yes NULL Suite 101 This is secondary the address of the company being inspected.
SITE_ADDRESS_3 VARCHAR2(250 CHAR) Yes NULL This is the tertiary address of the company being inspected.
SITE_CITY VARCHAR2(80 CHAR) Yes NULL TORONTO This is the city of the company being inspected.
SITE_PROVINCE VARCHAR2(50 CHAR) Yes NULL ON This is the province of the company being inspected.
SITE_POSTALCODE VARCHAR2(20 CHAR) Yes NULL M4B 3E2 This is the postal code of the company being inspected.
SITE_COUNTRY VARCHAR2(80 CHAR) Yes NULL CANADA This is the country of the company being inspected.
INSPECTION_SUMMARY CLOB Yes NULL La réunion d'ouverture a eu lieu le 29 mars 2023 à distance (via VidCruiter) en présence de Éric Simard (Vice-Président et Secrétaire Trésorier de 1164250921 Quebec Inc Dba Kasla Entreprise Inc.) et My Din Phan (Inspecteur de Santé Canada).    This is the inspectors summary of the inspection.
REPORT_DELIVERED_TO_ID Foreign VARCHAR2(36 CHAR) Yes NULL c7e5bef2-ecdf-ee11-904c-6045bd60a7a2 This is the unique record identifier of the contact of the company who received the final inspection report.
REPORT_DELIVERED_TO VARCHAR2(200 CHAR) Yes NULL MARILU ALEJANDRA VALERIANO This is the name of the contact of the company who received the final inspection report.
RESPONSE_EXPECTED_DATE DATE Yes NULL 24-02-28 This is the date that Health Canada is expecting a response from the company about information captured in the final inspection report.
INTERNAL_CLOSING_COMMENTS CLOB Yes NULL 20230406 Inspector spoke with company to schedule inspection. Follow-up email sent to company This is the inspector's internal comments and recommendations after the completion of the inspection.
PERSONNEL_CHANGES VARCHAR2(2000 BYTE) Yes NULL Change in Regulatory affairs department. Ms. Pace now in charge of complaint handling. This indicates any personnel changes at the company inspected since their previous inspection.
IID_STATUS_EN VARCHAR2(50 CHAR) Yes NULL In Progress This indicates the status of the IID in English. DHPID Transparency IID
IID_STATUS_FR VARCHAR2(50 CHAR) Yes NULL En cours This indicates the status of the IID in French. DHPID Transparency IID
IID_STATUS_DATE DATE Yes NULL 24-03-15 This indicates the status date of the IID. DHPID Transparency IID
IID_REVISION_LOG VARCHAR2(2000 CHAR) Yes NULL Updated deficiency. This indicates any revisions carried out to the IID. DHPID Transparency IID
IRC_STATUS_EN VARCHAR2(50 CHAR) Yes NULL IRC Ready For Publication This indicates the status of the IRC in English. DHPID Transparency IRC
IRC_STATUS_FR VARCHAR2(50 CHAR) Yes NULL IRC prêt pour la publication This indicates the status of the IRC in French. DHPID Transparency IRC
INSP_RATING_EN VARCHAR2(100 CHAR) Yes NULL Compliant This indicates the final inspection report rating for the IRC in English. DHPID Transparency IRC.

Matches the FINAL_REPORT_RATING_EN value.

INSP_RATING_FR VARCHAR2(100 CHAR) Yes NULL Conforme This indicates the final inspection report rating for the IRC in French. DHPID Transparency IRC.

Matches the FINAL_REPORT_RATING_FR value.

INSP_OUTCOME_EN VARCHAR2(2000 CHAR) Yes NULL The inspection resulted in a ‘compliant’ inspection rating. A compliant inspection rating allows a company to keep their licence and continue conducting business.  A compliant rating does not mean that there were no observations during the inspection.  If a company receives a compliant inspection rating and if observations were noted, the company is required to develop a plan to correct the observations to prevent them from occurring again. This is a standard line related to the INSP_RATING_EN value. DHPID Transparency IRC
INSP_OUTCOME_FR VARCHAR2(2000 CHAR) Yes NULL Une cote « conforme » a été émise aux termes de l’inspection. \r\n\r\nUne cote d’inspection « conforme » permet à une entreprise de conserver sa licence et de poursuivre ses activités. Une cote « conforme » ne signifie toutefois pas qu’aucune observation n’a été relevée pendant l’inspection. Si une entreprise reçoit une cote d’inspection « conforme » et si des observations ont été relevées, elle doit élaborer un plan pour corriger ces observations et éviter qu’elles ne se reproduisent This is a standard line related to the INSP_RATING_FR value. DHPID Transparency IRC
INSP_REPORT_WAITING VARCHAR2(200 CHAR) Yes NULL Jeff Tyndall This is the inspector's name who sent the inspection report for approval in the record log.
INSP_REPORT_WAITING_DATE DATE Yes NULL 23-11-27 This is the date the inspector sent the inspection report for approval in the recocrd log.
INSP_REPORT_APPROVED_BY VARCHAR2(200 CHAR) Yes NULL Vanessa Toussaint This is the supervisor's name who approved the inspection report in the record log.
INSP_REPORT_APPROVED_BY_DATE DATE Yes NULL 23-11-27 This is the date the supervisor approved the inspection report in the record log.
INSP_CLOSED_WAITING VARCHAR2(200 CHAR) Yes NULL Jeff Tyndall This is the inspector's name who sent the inspection for closure in the record log.
INSP_CLOSED_WAITING_DATE DATE Yes NULL 23-11-29 This is the date the inspector sent the inspection report for closure in the record log.
INSP_CLOSED_APPROVED VARCHAR2(200 CHAR) Yes NULL Vanessa Toussaint This is the supervisor's name who approved the inspection for closure in the record log.
INSP_CLOSED_APPROVED_DATE DATE Yes NULL 23-11-29 This is the date the supervisor approved the inspection for closure in the record log.
CREATEDBYNAME VARCHAR2(100 CHAR) Yes NULL Vanessa Toussaint This identifies the resource that created the record.
CREATEDON DATE Yes NULL 23-08-14 This identifies the date that record was created.
MODIFIEDBYNAME VARCHAR2(100 CHAR) Yes NULL Vanessa Toussaint This identifies the resource that las modified the record.
MODIFIEDON DATE Yes NULL 23-12-25 This identifies the date that record was last modified.

MD_INS_CASE_CAPA

This table holds information about the corrective action plan for an inspection observation.

Column Name Data Type Key Type Nullable Data Default Example Data Description Comments
CAPA_ID VARCHAR2(36 CHAR) Primary No NULL ad5e55f6-8b21-ee11-9966-000d3ae86452 This is the unique record identifier for the CAPA.
INSP_ID VARCHAR2(36 CHAR) Foreign No NULL 3d7a309e-ce46-40c5-a6c2-f3ea80971d48 This is the unique record identifier for the parent inspection. Use to join with MD_INS_CASE.INSP_ID.
INSP_NUM VARCHAR2(200 CHAR) No NULL 00086-BENEMAX DBA. BENEMAX HEALTH AND WELLNESS This is the parent inspection number.
OBS_ID VARCHAR2(36 CHAR) Foreign No NULL 07244e35-fbf1-ee11-a1fe-6045bd6005cc This is the unique record identifier for the parent observation the CAPA is linked to.
CAPA_TYPE VARCHAR2(100 CHAR) Yes NULL Follow Up Plan This is a free text field used to identify the type of CAPA.
CAPA_PLAN VARCHAR2(2000 CHAR) Yes NULL The inspector sent follow-up letter to address Physio-controls response--the manufacturer can have more than one ID on the label as long as it clearly marks what the device identifier is and that this identifier matches what is in the MDALL. March 6, 2024 The company sent follow-up from manufacturer.  The manufacturer has sent in a fax back to Health Canada to include the device ID (11141-000165) under their license. This adequately addresses the observation. This is the CAPA as inputted by the inspector.
CREATEDBYNAME VARCHAR2(100 CHAR) Yes NULL Jeff Tyndall This identifies the resource that created the record.
CREATEDON DATE Yes NULL 22-08-26 This identifies the date that record was created.
MODIFIEDBYNAME VARCHAR2(100 CHAR) Yes NULL Jeff Tyndall This identifies the resource that las modified the record.
MODIFIEDON DATE Yes NULL 22-08-26 This identifies the date that record was last modified.

MD_INS_CASE_DESIGNATION

This table holds information that categorizes or "tags" an inspection.

MD_INS_CASE_ESTACTIVITY

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments
Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_CASE_INSPECTORS

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_CASE_NOTES

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_CASE_OBSERVATIONS

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_CASE_WORKFLOW

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_IID

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_INSPECTORLIST

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_IRC_ENFORCEMENT

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_IRC_MEASURES

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_IRC_OBSERVATIONS

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_SITE

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_SITE_CONTACT

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_LICENCE

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments

MD_INS_INS_SITELICENCEACTIVITY

This table holds information that categorizes or "tags" an inspection.

Column Name Data Type Key Type Nullable Example Data Description Comments