Dates & Time Fields
Every iPCV record includes at least two date/time fields. Choosing the right one depends on whether you need to know when an event happened or when it was processed.
Event-timing fields
Section titled “Event-timing fields”These fields describe the clinical timeline. Note that column names may vary if you have migrated from iPCV v1:
Clinical Event Date
Section titled “Clinical Event Date”(effective_datetime, effective_date)
This records when a clinical event happened. They are entered by the user that is recording the activity and is not a generated column. Historical and future dates can be entered.
The data in this column is presented as-is from the source system and some records can have dates in the distant past that are not clinically possible. Any analysis using the column will need to take this into account.
Use this column when carrying out analytics, e.g. when calculating disease incidence and prevalence.
System Entry Date
Section titled “System Entry Date”(availability_datetime, recorded_datetime, recorded_date, entered_date, entered_time)
Generated in source systems when an entry is first made. It remains static if there are later updates to the record so recent updated records can have historical dates and this does not indicate a delay in data processing.
If an entry is not directly entered into the source system, e.g. an imported record, this column may contain incongruous values. The data in this column is presented as-is from the source system and future dates can be present. We advise caution and a good understanding of the data if this column is used for analytics.
Processing-timing fields
Section titled “Processing-timing fields”These fields describe the data pipeline timeline and are used to manage data ingestion.
Ingestion Date
Section titled “Ingestion Date”(load_datetime)
When a record is ingested from source systems and loaded into the EXA datalake. This is the first step in the iPCV data processing.
Last Processed Date
Section titled “Last Processed Date”(transform_datetime)
When iPCV last processed the record, i.e. when it was last created, changed, or deleted from iPCV. This is the last step in the iPCV data processing and represents when the data is visible to customers.
Use this column when detecting changes in the data, processing deltas and recording up to when you last successfully loaded data.
Legacy Execution Date
Section titled “Legacy Execution Date”(_execution_date)
This carries the same information as transform_datetime as the equivalent
yyyyMMddHHmmss string. This exists to support customers migrating from iPCV v1.
Use transform_datetime over _execution_date for more efficient data filtering.
Frequently asked questions
Section titled “Frequently asked questions”-
Why did a record appear today with an effective date from last year?
Because
effective_dateis entered by the clinician and reflects when the event happened, not when iPCV processed it. See “Event-timing fields” above. -
Which date field do I filter on for a clinical report?
effective_date/effective_datetime— you want to know when the event occurred. -
Should I use
transform_datetimeor_execution_datefor incremental sync?transform_datetime, unless you’re migrating an existing v1 integration that already uses_execution_date. -
How do I use
transform_datetimeto detect data changes and process deltas?See Understanding Deltas.