The script below produces a significant volume of medication_statement records with a null concept ID value for:
- AuthorisationType concept_id
- Core_concept_ID
SELECT COUNT([LakehouseDateTimeLoaded])
FROM [CDM_masked].[vMedicationStatement]
WHERE [LDSConceptId_AuthorisationType] IS NULL
SELECT COUNT([LakehouseDateTimeLoaded])
FROM [CDM_masked].[vMedicationStatement]
WHERE [LDSConceptId_DatePrecision] IS NULL
SELECT COUNT([LakehouseDateTimeLoaded])
FROM [CDM_masked].[vMedicationStatement]
WHERE [LDSConceptId_Core] IS NULL
SELECT COUNT([LakehouseDateTimeLoaded])
FROM [CDM_masked].[vMedicationStatement]

The script below produces a significant volume of
medication_statementrecords with a null concept ID value for: