RecordConnectionIdentifier
Sus CCMDS Measurement - Gestation Length at Delivery
-
Value copied from
GeneratedRecordIdentifier
-
GeneratedRecordIdentifier
CDS specific identifier that binds multiple CDS messages together. CDS RECORD IDENTIFIER
select distinct
apc.NHSNumber,
apc.GeneratedRecordIdentifier,
cc.CriticalCareStartDate as MeasurementDate,
coalesce(cc.CriticalCareStartTime, '00:00:00') as MeasurementDateTime,
cc.GestationLengthAtDelivery as ValueAsNumber
from [omop_staging].[sus_CCMDS] cc
inner join [omop_staging].sus_APC apc on cc.GeneratedRecordID = apc.GeneratedRecordIdentifier
where apc.NHSNumber is not null
and cc.GestationLengthAtDelivery is not null
Comment or raise an issue for this mapping.
Sus CCMDS Measurement - Person Weight
-
Value copied from
GeneratedRecordIdentifier
-
GeneratedRecordIdentifier
CDS specific identifier that binds multiple CDS messages together. CDS RECORD IDENTIFIER
select distinct
apc.NHSNumber,
apc.GeneratedRecordIdentifier,
cc.CriticalCareStartDate as MeasurementDate,
coalesce(cc.CriticalCareStartTime, '00:00:00') as MeasurementDateTime,
cc.PersonWeight as ValueAsNumber
from [omop_staging].[sus_CCMDS] cc
inner join [omop_staging].sus_APC apc on cc.GeneratedRecordID = apc.GeneratedRecordIdentifier
where apc.NHSNumber is not null
and cc.PersonWeight is not null
Comment or raise an issue for this mapping.
Sus APC Measurement
-
Value copied from
GeneratedRecordIdentifier
-
GeneratedRecordIdentifier
CDS specific identifier that binds multiple CDS messages together. CDS RECORD IDENTIFIER
select
distinct
d.DiagnosisICD,
apc.GeneratedRecordIdentifier,
apc.NHSNumber,
apc.CDSActivityDate
from omop_staging.sus_ICDDiagnosis d
inner join omop_staging.sus_APC apc
on d.MessageId = apc.MessageId
where apc.NHSNumber is not null