Menu

#24 False uid check

open
nobody
None
5
2012-11-16
2012-07-25
Sovann
No

Regarding the following errors:

- cvc-datatype-valid.1.2.3: 'urn:oid:2.16.840.1.113883.3.596' is not a valid value of union type 'uid'.
- cvc-attribute.3: The value 'urn:oid:2.16.840.1.113883.3.596' of attribute 'root' on element 'id' is not valid with respect to its type, 'uid'.
- Message: Error: MCCI_IN000100UV01 Device id. IHE restriction, id.root SHALL be an ISO OID. See IHE-PIX/PDQ-2010 Table O.1.1-1
Context: /PRPA_IN201306UV02[1]
Test: matches(msg:receiver/msg:device/msg:id/@root,"^[0-2](\.(0|[1-9][0-9]*))*$")

They come from checking this part of the PD response message:

<receiver typeCode="RCV"><device classCode="DEV" determinerCode="INSTANCE"><id root="urn:oid:2.16.840.1.113883.3.596" /><asAgent classCode="AGNT"></asAgent></device></receiver>

Firstly, this value should be an OID, not an UID so the check is wrong. Second, this value MUST be prefixed with an urn:oid so flagging it as an error is wrong.

Discussion


Log in to post a comment.