Skip to content

Conversation

@phoevos
Copy link
Member

@phoevos phoevos commented Aug 28, 2025

Introduce a MedCAT OPCS-4 service to handle OPCS annotation codes, corresponding to interventions and procedures. The new service mirrors the structure and behaviour of the ICD-10 equivalent, exposing only the OPCS-4 labels among the annotations generated by the underlying MedCAT model, relying on the existence of a cui2opcs4 mapping in the latter's concept database. This commit introduces the new model type and service, adjusts the existing tests accordingly, extends the Docker Compose stack with a 'medcat-opcs4' Docker service, and updates the Grafana/Prometheus configuration to take it into account.

Introduce a MedCAT OPCS-4 service to handle OPCS annotation codes,
corresponding to interventions and procedures. The new service mirrors
the structure and behaviour of the ICD-10 equivalent, exposing only the
OPCS-4 labels among the annotations generated by the underlying MedCAT
model, relying on the existence of a 'cui2opcs4' mapping in the latter's
concept database. This commit introduces the new model type and service,
adjusts the existing tests accordingly, extends the Docker Compose stack
with a 'medcat-opcs4' Docker service, and updates the Grafana/Prometheus
configuration to take it into account.

Signed-off-by: Phoevos Kalemkeris <phoevos.kalemkeris@ucl.ac.uk>
@phoevos phoevos requested a review from baixiac August 28, 2025 17:47
@phoevos phoevos added the enhancement New feature or request label Aug 28, 2025
Copy link
Member

@baixiac baixiac left a comment

Choose a reason for hiding this comment

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

LGTM, just one minor comment.

Signed-off-by: Phoevos Kalemkeris <phoevos.kalemkeris@ucl.ac.uk>
@phoevos phoevos force-pushed the feature-phoevos-opcs branch from 3a93bbf to b4ae76b Compare August 29, 2025 11:25
@phoevos phoevos merged commit 6bb92be into main Aug 29, 2025
7 checks passed
@phoevos phoevos deleted the feature-phoevos-opcs branch August 29, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants