Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validazione CDA con referto non firmato #1448

Closed
rondellimediam opened this issue Jan 29, 2025 · 2 comments
Closed

Validazione CDA con referto non firmato #1448

rondellimediam opened this issue Jan 29, 2025 · 2 comments
Labels
VALIDAZIONE VERIFY The fixed issue needs to be verified and closed by the user

Comments

@rondellimediam
Copy link

Buongiorno,
stiamo validando il CDA di un Referto di Specialistica Ambulatoriale. La validazione, correggetemi per favore se sbaglio, dovrebbe avvenire prima che il referto venga firmato e quindi il CDA non dovrebbe contenere i dati della firma.
Il gateway ci risponde però con questo errore:

{"traceID":"e51672a220455de3","spanID":"e51672a220455de3","type":"/msg/syntax","title":"Errore di sintassi.","detail":"ERROR: -1,-1 cvc-datatype-valid.1.2.3: '2.16.840.1.113883.2.9.2.030.4.4' is not a valid value of union type 'uid'.,ERROR: -1,-1 cvc-attribute.3: The value '2.16.840.1.113883.2.9.2.030.4.4' of attribute 'root' on element 'id' is not valid with respect to its type, 'uid'.,ERROR: -1,-1 cvc-pattern-valid: Value '[DT_FIRMA]' is not facet-valid with respect to pattern '[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\.[0-9]+)([+\-][0-9]{1,4})?' for type 'ts'.,ERROR: -1,-1 cvc-attribute.3: The value '[DT_FIRMA]' of attribute 'value' on element 'effectiveTime' is not valid with respect to its type, 'ts'.,ERROR: -1,-1 cvc-datatype-valid.1.2.3: '2.16.840.1.113883.2.9.2.030.4.4' is not a valid value of union type 'uid'.,ERROR: -1,-1 cvc-attribute.3: The value '2.16.840.1.113883.2.9.2.030.4.4' of attribute 'root' on element 'setId' is not valid with respect to its type, 'uid'.,ERROR: -1,-1 cvc-pattern-valid: Value '[DT_FIRMA]' is not facet-valid with respect to pattern '[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\.[0-9]+)([+\-][0-9]{1,4})?' for type 'ts'.,ERROR: -1,-1 cvc-attribute.3: The value '[DT_FIRMA]' of attribute 'value' on element 'time' is not valid with respect to its type, 'ts'.,ERROR: -1,-1 cvc-datatype-valid.1.2.3: '2.16.840.1.113883.2.9.2.03092400.4.6' is not a valid value of union type 'uid'.,ERROR: -1,-1 cvc-attribute.3: The value '2.16.840.1.113883.2.9.2.03092400.4.6' of attribute 'root' on element 'id' is not valid with respect to its type, 'uid'.,ERROR: -1,-1 cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'st'.,ERROR: -1,-1 cvc-attribute.3: The value '' of attribute 'displayName' on element 'code' is not valid with respect to its type, 'st'.","status":400,"instance":"/validation/error","workflowInstanceId":"2.16.840.1.113883.2.9.2.030.4.4.a6c305d127809f6f9dd20ade1947b22f21cc392204081345346c728efec40abd.99d10fa407^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"}

Come dovremmo quindi validare i campi relativi alle firma se il referto non è firmato? Allego anche il referto con il CDA allegato.
Grazie per il supporto!

Referto_00000113.pdf

@vigliottim
Copy link

Buongiorno,
si suggerisce, prima di effettuare la validazione, di ipotizzare dei valori in linea con le regole del CDA2, come ad esempio:
<time value="[DT]"/> deve essere di tipo TimeStamp (TS) 🡪 < time value="20220509073749+0100"/>.
Tali valori andranno successivamente confermati/modificati in fase di chiusura del referto.

@vigliottim vigliottim added VERIFY The fixed issue needs to be verified and closed by the user and removed ON-HOLD labels Jan 30, 2025
@vigliottim
Copy link

Buonasera,
non avendo ricevuto ulteriori riscontri, procediamo alla chiusura della presente issue.
Rimaniamo a disposizione per altre richieste di supporto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VALIDAZIONE VERIFY The fixed issue needs to be verified and closed by the user
Projects
None yet
Development

No branches or pull requests

3 participants