<H3>Special Instructions</H3><p>
 <p>The Document  Registry and Document Repository systems should complete test  <b>XDS_Doc_Source_Stores_Document</b> before doing this test.</p>
 <p>Document Registry and Document Repository systems should do <b><u>one instance</u></b> of this test.  Document Sources are identified as an optional actor because they have a helping role in this test.</p>
 </p><H3>Description</H3
 ><p>This tests errors  reported for ITI-14 Register Document Set.   The Registry actor and Repository actor are required to report errors  using a defined set of codes in <b>ITI TF-2: 4.1.13  </b></p>
 <p>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.</p>
 <p>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.</p>
 <H3>Evaluation</H3>
 <p>The Connectathon  monitor will evaluation two error conditions:</p>
 <p>1. The Document Source submitted a document for a  patient that was not known to the Registry.</p>
 <p>
    The error reported by the Registry should look like this <em>(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)</em>:  </p><strong>
 <p><RegistryResponse 
         xmlns="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1" 
         status="Failure"></p>
 <p>    <RegistryErrorList></p>
 <p>    <RegistryError </p>
 <p>         errorCode="XdsUnknownPatientId" </p>
 <p>        codeContext="Patient ID is not  known to the registry"</p>
 <p>        location="" </p>
 <p>        severity="Error"/></p>
 </strong><p> </p><p>2. (optional steps) The Document Repository failed to connect to the  Document Registry.</p><p>The error reported by the Repository should look like this <em>(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)</em>:  </p><strong>
 <p>  <RegistryResponse </p>
 <p>     xmlns="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1" 
        status="Failure"></p>
 <p>    <RegistryErrorList></p>
 <p>    <RegistryError </p>
 <p>        errorCode="XdsRegistryNotAvailable" </p>
 <p>        codeContext="Unable to connect to  the Registry to register document"</p>
 <p>        location="" </p>
 <p>        severity="Error"/></p>
 </strong>
 