Skip to content

Check Matching Restrictions in Domains.py #52

Description

@George-D-S

In https://github.com/renalreg/ukrdc-cupid/blob/main/src/ukrdc_cupid/core/audit/domain.py

There are functions such as def address_matched(session): which contain code like -

            PatientRecord.sendingextract == "UKRDC",
            PatientRecord.pid != PatientRecordAlias.pid,
            PatientRecord.ukrdcid != PatientRecordAlias.ukrdcid,

These require that one half of the comparison is a UKRDC record, but don't care about the type of the other kind (i.e. no check on PatientRecordAlias.sendingextract).

Is this intentional?

Metadata

Metadata

Assignees

Labels

non-criticalStuff which isn't required for basic operation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions