Open duncandewhurst opened 1 week ago
That's equivalent to saying that all we know about the legal basis for the procedure is that it was derived from Directive 2014/24. I think that's OK since EU member states must transpose EU directives into national law.
Indeed, I think it's an appropriate model for incomplete data.
The following eForms fields are both mapped to
tender.legalBasis.id
:Whilst both fields share the same description in
guidance.yaml
, the eForms documentation clarifies that:The mapping is likely to cause a conflict in two scenarios:
tender.legalBasis.id
. For example, in the UK (pre-brexit) the Public Contracts Regulations 2015 (ELI: https://www.legislation.gov.uk/id/uksi/2015/102) was the act that implemented EU Directive 2014/24 (CELEX: 32014L0024).tender.legalBasis.id
because the eForms documentation gives the ELI for Directive 2014/24 as an example value for BT-01(c)-Procedure. I think that's a mistake (see https://github.com/OP-TED/eForms-SDK/discussions/1064)), but implementers might follow the example.To resolve the first conflict, @jpmckinney suggested:
That sounds good to me. Here's what it looks like in JSON:
Since BT-01(c)-Procedure isn't mandatory in eForms, we might end up with data that looks like this:
That's equivalent to saying that all we know about the legal basis for the procedure is that it was derived from Directive 2014/24. I think that's OK since EU member states must transpose EU directives into national law. I don't know if a procedure can take place on the legal basis of a directive before that directive is transposed into national law. That's the only scenario I can think of where the above modelling might be incorrect.
To resolve the second conflict @jpmckinney suggested:
I agree that there's no reason to have multiple identifiers. A challenge with the proposed approach is that it leaves it up to OCDS for eForms implementers to identify when an ELI and a CELEX refer to the same thing. We could provide a look-up table based on adding ELIs to the EU's legal basis codelist, but (subject to the outcome of https://github.com/OP-TED/eForms-SDK/discussions/1064) this situation would only occur when there is an error in an eForms implementation so I think providing guidance is sufficient.
We'll also need to update the mapping for BT-01-notice to handle the 'other' code and the mapping for BT-01(c)-Procedure to handle non-ELI identifiers.