Skip to content
Partner Developer Portal

Schema

The core schema represents the Codeable Concept schema derived from EMIS source systems.

Column NameData TypesDescriptionExample
is_deletedbooleanIndicates if this record should be considered soft deletedTRUE
code_idbigintThe unique EMIS code identifier for the clinical code, which can be used to map local or legacy concepts to national standards like SNOMED CT or legacy Read Codes.1572871000006117
termvarcharThe description of the EMIS clinical codeSplinter haemorrhage
snomed_concept_idbigintThe unique identifier for concepts within the SNOMED CT clinical terminology.145021000033107
snomed_description_idbigintThe unique identifier for the preferred term that describes the concept within the SNOMED CT clinical terminology.145021000033111
fully_specified_namevarcharThe description of the SNOMED clinical conceptTape (substance)
readv2_codevarcharThe code that provide a standard vocabulary for clinicians to record patient findings and procedures, in health and social care IT systems across primary and secondary care. These codes have been retired since 2016.4A12.00
other_code_systemvarcharOther system http addresshttps://fhir.hl7.org.uk/Id/egton-codes
other_codevarcharThe code from EMIS legacy coding systemALLERGY4070
other_displayvarcharThe description from the legacy EMIS coding systemNature’s Bounty Vitamin E
organisationvarcharSet to ‘EMIS’EMIS
transform_datetimetimestamp(6) with time zoneThe timestamp indicating when the record was last processed and updated in the data model.‘2023-09-01 09:00:00.000000 UTC’
_execution_datevarcharThe transform_datetime formatted as yyyyMMddHHmmss. This column is provided only for backward compatibility.20241015070047

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema.

Column NameData Type
is_deletedboolean
code_idbigint
termvarchar
snomed_concept_idbigint
snomed_description_idbigint
fully_specified_namevarchar
readv2_codevarchar
other_code_systemvarchar
other_codevarchar
other_displayvarchar
organisationvarchar
transform_datetimetimestamp(6) with time zone

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
fully_specified_namevarchar✓✓
other_codevarchar✓✓
other_code_systemvarchar✓✓
other_displayvarchar✓✓
readv2_codevarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
termvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypesData in V1Data in V2Core MappingComments
_record_versionvarchar✓✗
_mkb_versionvarchar✓✗
_ingest_timevarchar✓✗
is_deletedboolean✗✓
emis_code_idbigint✓✓code_id
termvarchar✓✓
snomed_concept_idbigint✓✓
snomed_description_idbigint✓✓
fully_specified_namevarchar✓✓
readv2_codevarchar✓✓
other_code_systemvarchar✓✓
other_codevarchar✓✓
other_displayvarchar✓✓
organisationvarchar✓✓
transform_datetimetimestamp(6) with time zone✗✓
_execution_datevarchar✓✓
data_filterinteger✓✗