Closed SchulzeStTSI closed 3 years ago
Per the latest version of the schema, date of birth MUST be formatted as YYYY-MM-DD, YYYY-MM, or YYYY.
@gabywh, please confirm.
Per the latest version of the schema, date of birth MUST be formatted as YYYY-MM-DD, YYYY-MM, or YYYY.
@gabywh, please confirm.
Yes can confirm, v1.1.0 - but do please note the OP:
valid birth dates from NL which can have the format of XX-XX-1963.
This is not correct for two main reasons:
1963-XX-XX
At the risk of repeating myself:
Two Use Cases for comparison:
Given that the QR code will be scanned, the programmatic comparison will most likely be used in the verification business rules.
Although XX-XX-1963 is indeed a dutch birthdate, it's the yyy-mm-dd version of it (1963-XX-XX) what we'd like to put in the date field. Preferably we can use the actual XX-XX (or 00-00) as that matches exactly what is on the ID card that a verifier would check against. Having support for '1963' only is already a major leap forward in supporting unknown dates, but a verifier would have to know that the '1963' in the DGC and the '1963 xx xx' in the person's ID are the same thing, which is why XX-XX is more ideal.
Sorry, but "1963-XX-XX" does NOT conform to the schema and/or ISO8601. I suggest, that you just use "1963" and a) let your local Validation-App display "1963-XX-XX" in such a case and/or b) leave it to the verifier to recognize, that a birthdate displayed as "1963" is the same as "1963-XX-XX".
in the latest version (https://github.com/eu-digital-green-certificates/dgc-testdata/tree/6c4da5873361081362d599ea55fd6c01cd46d017/NL) we have settled on the following example dates:
T:2021-01-01
T:1963
T:1964-01
T:1963-00
T:1953-09-03
T:2000-02-29
F:1815-08-24
F:2023-01-01
Sorry, but "1963-XX-XX" does NOT conform to the schema and/or ISO8601. I suggest, that you just use "1963" and a) let your local Validation-App display "1963-XX-XX" in such a case and/or b) leave it to the verifier to recognize, that a birthdate displayed as "1963" is the same as "1963-XX-XX".
that is the decision we have taken. we never had XX-XX-1963, but did have 1963-XX-XX in there, which we now settled on.
that is the decision we have taken. we never had XX-XX-1963, but did have 1963-XX-XX in there, which we now settled on.
Whom do you mean by "we"?
that is the decision we have taken. we never had XX-XX-1963, but did have 1963-XX-XX in there, which we now settled on.
Whom do you mean by "we"?
we as in The Netherlands
Sorry, but "1963-XX-XX" does NOT conform to the schema and/or ISO8601. I suggest, that you just use "1963" and a) let your local Validation-App display "1963-XX-XX" in such a case and/or b) leave it to the verifier to recognize, that a birthdate displayed as "1963" is the same as "1963-XX-XX".
that is the decision we have taken. we never had XX-XX-1963, but did have 1963-XX-XX in there, which we now settled on.
Which is just ridiculous and violates (1) an ISO standard, and (2) the eHealthNetwork guidelines for interoperability. I guess any further comment is superfluous
Hey Gabi - as you see here https://github.com/ehn-digital-green-development/ehn-dgc-schema/issues/78#issuecomment-848860527 we are now using completely ISO compliant dates. You will find these in the test cases that we submitted into the testdata repository a couple of days ago and which have subsequently been merged into the set. Sorry for any confusion. Regards, W
Which is just ridiculous and violates (1) an ISO standard, and (2) the eHealthNetwork guidelines for interoperability. I guess any further comment is superfluous
I'm surprised about the communication style among/between collaborators.
We received a lot of requests about valid birth dates from NL which can have the format of XX-XX-1963. This one are rejected by the schema. Is there a way to support it?