XDS.b Error Reporting

  1. 參與角色: Document Source Document Registry Document Repository

  2. 指示:
    The Document Registry and Document Repository systems should complete test XDS_Doc_Source_Stores_Document before doing this test.
    Document Registry and Document Repository systems should do one instance of this test. Document Sources are identified as an optional actor because they have a helping role in this test.

  3. 描述:
    This tests errors reported for ITI-42 Register Document Set-b. The Registry actor and Repository actor are required to report errors using a defined set of codes in ITI TF-2: 4.1.13
    This tests a small subset of the error conditions, but Connectathon monitors will be watching for other error conditions which occur during the course of Connectathon testing and may check error codes for those cases as well. Success or failure to properly report errors in any of those conditions are part of this test.
    The Monitor may ask for evidence/logs that you ran this test or ask you to run the test again in person. As you complete the test, you should record log information/evidence in the Kudu chat window for this instance of the test. That would allow you to quickly show the Monitor your log data.

  4. 驗證:
    The Connectathon monitor will evaluation two error conditions:

    1. The Document Source submitted a document for a patient that was not known to the Registry.
      The error reported by the Registry should look like this (the value for errorCode must match, but the contents of codeContext is not mandated by the Technical Framework and may be implementation-specific; this contains a sample of a possible value):

       errorCode="XdsUnknownPatientId" 
       codeContext="Patient ID is not known to the registry"
       location="" 
       severity="Error"/>
      

      pic

    2. The Document Repository failed to connect to the Document Registry.
      The error reported by the Repository should look like this (the value for errorCode must match, but the contents of codeContext is not mandated by the Technical Framework and may be implementation-specific; this contains a sample of a possible value):

       xmlns="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1" status="Failure">
       errorCode="XdsRegistryNotAvailable" 
       codeContext="Unable to connect to the Registry to register document"
       location="" 
       severity="Error"/>
      

      pic