Skip to content

Conversation

@holtyad
Copy link
Collaborator

@holtyad holtyad commented Dec 17, 2025

No description provided.

@holtyad holtyad marked this pull request as ready for review December 22, 2025 13:16
@holtyad holtyad requested a review from Copilot December 22, 2025 13:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds COSD V8 breast cancer measurement mappings for TNM staging categories (N and M categories) in both Integrated Stage and Final Pre-Treatment Stage variations. It also updates metastasis site and surgical access type lookup tables.

  • Added four new breast measurement transformers for N and M category staging data
  • Updated MetastasisSiteLookup to include code "01" for bone metastasis (retired code)
  • Added "Z" (Other) mapping to SurgicalAccessTypeLungLookup

Reviewed changes

Copilot reviewed 41 out of 45 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
Measurement_nhs_number.md Added 4 new breast measurement mappings for N/M categories with NHS number field documentation
Measurement_measurement_type_concept_id.md Added constant value mappings (32828) for the 4 new breast measurements
Measurement_measurement_source_value.md Added source value documentation for N/M category fields from COSD V8 breast data
Measurement_measurement_source_concept_id.md Added custom concept IDs for the 4 new breast measurement types
Measurement_measurement_datetime.md Added datetime transformation logic for the 4 new measurements
Measurement_measurement_date.md Added date transformation logic for the 4 new measurements
Measurement_measurement_concept_id.md Added lookup tables mapping N/M category codes to OMOP concepts
Measurement.md Added references to the 4 new measurement transformation diagrams
CosdV8BreastMeasurement*.json Added 4 new JSON configuration files for the breast measurements
CosdV8BreastMeasurement*.svg Added 4 new SVG diagram files visualizing the transformations
MetastasisSiteLookup.cs Added code "01" for bone metastasis (retired) and added clarifying comments
SurgicalAccessTypeLungLookup.cs Added mapping for "Z" code to concept "0" (Other)
CosdTransformer.cs Integrated 4 new breast measurement transformers into the transformation pipeline
CosdV8BreastMeasurement*Record.cs Added 4 new record classes to hold source data
CosdV8BreastMeasurement*.xml Added 4 new XML query files extracting breast staging data
CosdV8BreastMeasurement*.cs Added 4 new transformer classes mapping source to OMOP measurement format
OmopTransformer.csproj Added file copy directives for the 4 new XML query files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Dec 22, 2025

@holtyad I've opened a new pull request, #312, to work on those changes. Once the pull request is ready, I'll request review from you.

@holtyad holtyad merged commit 87d605f into main Dec 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants