Internal Error: Null - When Passing An Unrecognised Document Status To ITI-18 Query

(Doc ID 2346773.1)

Last updated on JANUARY 09, 2018

Applies to:

Oracle Health Sciences Information Manager - Version 2.0.0 and later
Information in this document applies to any platform.

Symptoms

When performing an ITI-18 query to get a document list for a patient, if an unrecognized status is passed in, the following error is returned:

Internal Error: null



EXPECTED BEHAVIOR
IHE specification says:
"If the Document Registry receives in a Registry Stored Query transaction a value for the $XDSDocumentEntryStatus parameter that it does not understand then the Document Registry shall ignore the value and process the Registry Stored Query transaction as if the not understood value were not specified."
IHE_ITI_TF_Rev8-0_Vol2a_FT_2011-08-19.pdf, https://www.ihe.net/Technical_Framework/upload/IHE_ITI_TF_Rev8-0_Vol2a_FT_2011-08-19.pdf , Line 2415 in Section "3.18.4.1.2.3.6 Valid Document Status Values"

When 2 values are requested for $XDSDocumentEntryStatus (Approved and adfzzz), the expectations were to get an answer containing no documents or at most, the documents with $XDSDocumentEntryStatus StatusType=Approved (given that StatusType adfzzz is not recognized), not an error message.

STEPS
The issue can be reproduced at will with the following steps:
1. Passing this status - 'urn:oasis:names:tc:ebxml-regrep:StatusType:adfzzz'
e.g.:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms