Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
_ingest_timevarcharThe datetime that the record was ingested, format YYYYMMDDHHMMSS’20230512143015’
is_deletedbooleanIf this record should be considered soft deletedFALSE
organisation_idbigintThe organisation id is the internal identifier that an organisation uses to identify itself12345
organisation_guidvarcharThe organisation globally unique identifier’550e8400-e29b-41d4-a716-446655440000’
session_idbigintPK Unique identifier for the session, only unique within the source database67890
session_guidvarcharThe EMIS globally unique id for the session’a1b2c3d4-e5f6-4a5b-9c8d-0e1f2a3b4c5d’
session_descriptionvarcharOften used to summarise the purpose for the session’Morning Surgery’
session_start_datedateThe date that the session will start’2023-05-15’
session_start_timevarcharThe time that the session will start’09:00:00’
session_end_datedateThe date that the session will end’2023-05-15’
session_end_timevarcharThe time that the session will end’12:30:00’
session_last_updated_datetimetimestamp(6) with time zoneThe datetime that this session was last updated at source’2023-05-10 14:25:36.000000 UTC’
is_privatebooleanIndicates if this is a private session, often used with administration style sessionsFALSE
session_type_descriptionvarcharDefines the behaviour of the session, whether it has slots, whether it can be booked etc.‘Bookable’
session_category_display_namevarcharFree text display name of the session category’GP Appointments’
location_guidvarcharThe location globally unique identifier where the session takes place’33eea400-f12c-41d4-b146-446255223344’
organisationvarcharAn identifier for the source of data (an organisation) this relates to a given GP practice’CDB-12345’
extract_datetimetimestamp(6) with time zoneThe datetime that the record was last extracted from the source database with a relevant change’2023-05-10 09:30:45.000000 UTC’
load_datetimetimestamp(6) with time zoneFormatted ingest time for filtering’2023-05-12 14:30:15.000000 UTC’
transform_datetimetimestamp(6) with time zoneThe datetime that the data was made available in the model with a relevant change’2023-05-12 14:30:15.000000 UTC’
_execution_datevarcharFormatted transform datetime for versioning’20230512143015’

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedbooleansession_deleted_flagExists in v1 with a different name
load_datetimetimestamp(6) with time zone
emis_session_idbigint
emis_session_guidvarchar
session_emis_organisation_idbigint
session_emis_organisation_guidvarchar
session_descriptionvarchar
session_start_datedate
session_start_timevarchar
session_end_datedate
session_end_timevarchar
last_updatedtimestamp(6) with time zone
private_flagboolean
session_type_descriptionvarchar
session_category_display_namevarchar
emis_location_guidvarchar
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarchar

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedboolean
load_datetimetimestamp(6) with time zone
session_idbigint
emis_session_guidvarchar
session_descriptionvarchar
session_type_descriptionvarchar
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarchar

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedbooleansession_deleted_flagExists in v1 with a different name
load_datetimetimestamp(6) with time zone
emis_session_idbigint
emis_session_guidvarchar
session_emis_organisation_idbigint
session_emis_organisation_guidvarchar
session_descriptionvarchar
session_start_datedate
session_start_timevarchar
session_end_datedate
session_end_timevarchar
last_updatedtimestamp(6) with time zone
session_type_descriptionvarchar
session_category_display_namevarchar
private_flagboolean
emis_location_guidvarchar
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarchar

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedbooleansession_deleted_flagExists in v1 with a different name
load_datetimetimestamp(6) with time zone
emis_session_idbigint
emis_session_guidvarchar
session_emis_organisation_idbigint
session_emis_organisation_guidvarchar
session_descriptionvarchar
session_start_datedate
session_start_timevarchar
session_end_datedate
session_end_timevarchar
last_updatedtimestamp(6) with time zone
private_flagboolean
session_type_descriptionvarchar
session_category_display_namevarchar
emis_location_guidvarchar
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarchar

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedbooleandeletedExists in v1 with a different name
load_datetimetimestamp(6) with time zone
session_idbigint
emis_session_guidvarchar
organisation_idbigint
emis_session_organisation_guidvarchar
emis_location_guidvarchar
session_start_datedate
session_start_timevarchar
session_end_datedate
session_end_timevarchar
session_type_descriptionvarchar
session_category_display_namevarchar
private_flagboolean
processing_idbigintRemoved as it is deprecated in iPCV v1
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarchar

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedbooleandeletedExists in v1 with a different name
load_datetimetimestamp(6) with time zone
session_idbigint
emis_session_guidvarchar
organisation_idbigint
emis_session_organisation_guidvarchar
emis_location_guidvarchar
session_start_datedate
session_start_timevarchar
session_end_datedate
session_end_timevarchar
session_type_descriptionvarchar
session_category_display_namevarchar
private_flagboolean
processing_idbigintRemoved as it is deprecated in iPCV v1
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarcharexecution_date

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedbooleandeletedExists in v1 with a different name
load_datetimetimestamp(6) with time zone
session_idbigint
appointment_session_guidvarchar
organisation_idbigint
organisation_guidvarchar
location_guidvarchar
session_start_datedate
session_start_timevarchar
session_end_datedate
session_end_timevarchar
session_type_descriptionvarchar
privateboolean
processing_idbigintRemoved as it is deprecated in iPCV v1
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarcharexecution_date

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Column NameData TypeData Exists in v1Data Exists in v2Comments
_ingest_timevarchar
is_deletedbooleansession_deleted_flagExists in v1 with a different name
load_datetimetimestamp(6) with time zone
emis_session_idbigint
emis_session_guidvarchar
session_emis_organisation_idbigint
session_emis_organisation_guidvarchar
emis_location_guidvarchar
session_descriptionvarchar
session_start_datedate
session_start_timevarchar
session_end_datedate
session_end_timevarchar
last_updatedtimestamp(6) with time zone
session_type_descriptionvarchar
session_category_display_namevarchar
private_flagboolean
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarchar

Not used in this schema