Skip to content
Partner Developer Portal

Changes in iPCV V2

Several columns as detailed below have been decommissioned in the consultation models.

Affected columns:

Deprecated ColumnReplacement ID / ColumnReason / Extended Data Model to be Referred
other_codeconsultation_source_code_idcodeable_concept_v2
other_code_systemconsultation_source_code_idcodeable_concept_v2
other_displayconsultation_source_code_idcodeable_concept_v2
readv2_codeconsultation_source_code_idcodeable_concept_v2
snomed_concept_idconsultation_source_code_idcodeable_concept_v2
snomed_description_idconsultation_source_code_idcodeable_concept_v2
confidential_patient_flagpatient_idpatient_v2
dummy_patient_flagpatient_idpatient_v2
regular_patient_flagpatient_idpatient_v2
sensitive_patient_flagpatient_idpatient_v2
opt_out_93c1_flagpatient_idpatient_v2
opt_out_9nd19nu09nu4_flagpatient_idpatient_v2
opt_out_9nd19nu0_flagpatient_idpatient_v2
opt_out_9nu0_flagpatient_idpatient_v2
non_regular_and_current_active_flagpatient_idpatient_v2
regular_and_current_active_flagpatient_idpatient_v2
regular_current_active_and_inactive_flagpatient_idpatient_v2
_record_versionN/ANo longer available in v2
_update_dateN/ANo longer available in v2
_update_hourN/ANo longer available in v2

Why?

These columns have been removed to streamline the data model and maintain a single source of truth for reference data. By moving specific attributes to their own models, data redundancy is reduced, and maintainability is improved. This allows for more focused information within the extended models, that increases the performance of iPCV v2.

Customer Benefit

  • Ease of Use: Simplified data model with fewer (rarely-used) columns to manage.
  • Improved Performance: A leaner consultation model can lead to faster query performance.
  • Enhanced Scalability: Decoupled models are easier to maintain and extend independently.
  • Data Consistency: Centralising specific attributes in their own models ensures a single source of truth.

Customer Action

  • Validate downstream systems or reports to ensure they can utilise the new columns effectively
  • No immediate action required if consuming the fields directly from the v2 model

Several columns in the observation table now consistently return NULL values and have been retained for backward compatibility.

These columns apply to both consultation and consultation section with the exception of sensitive_flag that only applied to consultation.

These include:

Deprecated ColumnReplacement ID / ColumnReason / Extended Data Model to be Referred
emis_enteredby_userinrole_guidentered_by_user_in_role_iduser_in_role_v2
emis_authorising_userinrole_guidauthorising_user_in_role_iduser_in_role_v2
registration_ods_codeods_codeorganisation_v2
sensitive_flagN/AAlways NULL as it is deprecated in v2

These decommissioned NULL value columns will be removed in a future iPCV release; plan migrations accordingly.

Why?

These columns are retained to maintain backward compatibility while returning NULL values to ensure consistent behaviour in downstream processes.

Customer Benefit

  • Reduced risk of unexpected behaviour in downstream processes
  • Clear distinction between deprecated columns and new standardised relationships

Customer Action

  • Validate downstream systems or reports to ensure they can utilise the new columns effectively
  • No immediate action required if consuming the fields directly from the v2 model

New columns have been added to enhance auditability and relationships. Selected foreign key and identifier columns have been added directly to the consultation models, so contextual identifiers are available without relying on joins. In most cases below, the GUID column has been preserved.

The models now include the below columns:

Column NameConsultation ModelConsultation Section Model
consultation_idx✓
consultation_uuid✓✓
consultation_section_idx✓
consultation_section_uuidx✓
patient_uuid✓✓
patient_organisation_id✓✓
patient_organisation_uuid✓✓
consultation_organisation_id✓✓
consultation_organisation_uuid✓✓
location_id✓✓
location_uuid✓✓
location_type_id✓✓
appointment_slot_id✓✓
appointment_slot_uuid✓✓
entered_by_user_in_role_id✓✓
entered_by_user_in_role_uuid✓✓
authorising_user_in_role_id✓✓
authorising_user_in_role_uuid✓✓
event_uuidx✓

Why?

  • To include related contextual identifiers, without requiring a join back to related entities.
  • To enable auditing and lineage tracking by providing standardised foreign keys

Customer Benefit

  • Improved data consistency through standardised foreign key relationships, making the model more self-contained.
  • More flexible filtering and reporting on context and relationships

Customer Action

  • Validate downstream systems or reports to ensure they can utilise the new columns effectively
  • No immediate action required if consuming the fields directly from the v2 model

The columns below have been renamed in the consultation model.

Renamed ColumnColumn Name in v2Comment
deletedis_deletedRenamed to make it consistent with all models
execution_date_execution_dateRenamed to make it consistent with all models
organisation_guidpatient_organisation_guidRenamed to differentiate the organisation set against the patient and the consultation.
emis_appoinment_slot_guidemis_appointment_slot_guidRenamed to fix spelling

Why?

Column names were renamed to improve consistency and clarity across care record models and flavour outputs.

Customer benefit

  • More consistent naming patterns across models, reducing ambiguity in joins and transformations
  • Lower risk of mapping errors during migration from v1 naming conventions

Customer action

  • Review any processes or integrations that relied on the renamed columns
  • Ensure that any necessary mappings or transformations are adjusted accordingly