Skip to content

MEDICATION_STATEMENT: many records have null concept_id values #13

@BillWoodNHS

Description

@BillWoodNHS

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]

Image

Metadata

Metadata

Labels

Projects

Status

Ready For NCL Retest

Relationships

None yet

Development

No branches or pull requests

Issue actions