ProvideAndRegisterDocumentSetRequest gives Error

Jan 21, 2009 at 4:45 AM

Greetings,

 

I followed all the instruction given in the XDSb Build and Deployment Guide.doc

And tried to ProvideAndRegisterDocumentSetRequest

 

Method Name : ProvideAndRegisterDocumentSetRequest

Client Application : XDSTestHarness

 

It gives below error-

 

<tns:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"><tns:RegistryErrorList highestSeverity=""><tns:RegistryError codeContext="Patient ID referenced in metadata is not known to the Registry actor via the Patient Identity Feed or is unknown because of patient identifier merge.  The codeContext shall include the value of patient ID in question." errorCode="XDSUnknownPatientId" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error" /></tns:RegistryErrorList></tns:RegistryResponse>

 

Has anyone face this problem?

Coordinator
Jan 21, 2009 at 7:04 AM
Hi Bhavesh,

The error is due to unknown patient id, use any of the patient id from the Patient table in the Registry.

Regards,
Sachin
Jan 21, 2009 at 7:14 AM

 

Hi Sachin,

The Patient ID given in the documnet is ‘urn:uuid::ae94516f-570c-41ba-ae95-26ae76e50d45’

In the Registry

Patient   PatientUID

ID

4        498ef443e7ac4a6^^^&1.3.6.1.4.1.21367.2005.3.7&ISO

5        e21007e556864ca^^^&1.3.6.1.4.1.21367.2005.3.7&ISO

6        284c2500d0e949c^^^&1.3.6.1.4.1.21367.2005.3.7&ISO

7        abfb47b943d9426^^^&1.3.6.1.4.1.21367.2005.3.7&ISO

8        1.2.840.114350.1.13.99998.8734^^^34827G409

9        61d26732db0f474^^^&1.3.6.1.4.1.21367.2005.3.7&ISO

10      8fe78ac84449423^^^&1.3.6.1.4.1.21367.2005.3.7&ISO

 

 

What I should do to replace ‘urn:uuid::ae94516f-570c-41ba-ae95-26ae76e50d45’ with 4.

I would be thankful if you guide me.

 

 

Thanks,

Bhavesh

 

Coordinator
Jan 27, 2009 at 9:27 AM
Hi Bhavesh,

Sorry for the delay in reply.

If you want a specific PatientID to be available in Registry then either you can use the XDSTestHarness and the sample messages to add a new PatientID or you can manually add the PatientID in the Patient table of the XDSRegistryDB database.

Regards,
Sachin
Jan 27, 2009 at 12:28 PM

Hello Sachin,
 

Method : ProvideAndRegisterDocumentSetRequest.xml

Filed taken from database 

Patient   PatientUID 

ID

 

4        498ef443e7ac4a6^^^&1.3.6.1.4.1.21367.2005.3.7&ISO

  

I can find that this slot represnet Patient ID..but i donot know how to replace it..^^^ ? I can't understand how i can replace this two values..

<

Slot name="sourcePatientInfo">

 

 

<ValueList>

 

 

<Value>PID-3|pid1^^^domain</Value>

 

 

<Value>PID-5|Doe^John^^^</Value>

 

 

<Value>PID-7|19560527</Value>

 

 

<Value>PID-8|M</Value>

 

 

<Value>PID-11|100 Main St^^Metropolis^Il^44130^USA</Value>

 

 

</ValueList>

 

 

</Slot>

 

I also explored Patient Add Method but in that also I can’t find where I need to replace the Patient ID value 

 

Sorry, I feel sad to say you I don’t have huge domain knowledge;I m new bee in this domain..so few things which are obvious to you may not be for me.

Please guide me.

 

Coordinator
Jan 28, 2009 at 7:56 AM
Hi Bhavesh,

I understand, no problem at all.

Search for below given xml element in PatientRegistryRecordAdded.xml


<subject1>
                    <patient classCode="PAT">
                        <id root="PATIENT-ROOT2" extension="PATIENT-EXTN2"/>
                        <statusCode code="active"/>

So the text in bold is root for your patientid "498ef443e7ac4a6^^^&1.3.6.1.4.1.21367.2005.3.7&ISO", anything before "^^^" is root and anything after "^^^" is extension,

Regards,
Sachin
Jan 29, 2009 at 6:18 AM

Hello Sachin,

 

It works..Thanks….I used the PatientRecordAddMethod and able to add data in the database.

As per your guideline I have changed XML and found that system is adding Patient in the database.

Below are the changes.

<patient classCode="PAT">

                <id root="498ef443e7ac4a6" extension="1.3.6.1.4.1.21367.2005.3.7"/>

 

Value added in the database is

18      1.3.6.1.4.1.21367.2005.3.7^^^&498ef443e7ac4a6&ISO

 

 

Now I tried to Use ProvideAndRegisterDocumentSet.

Without doing any changes in ‘ProvideAndRegisterDocumentSetRequest.xml’ I pass the XML ( as per the instruction given in the document ), I have to pass Patient ID, In sample Patient ID is ‘urn:uuid::ae94516f-570c-41ba-ae95-26ae76e50d45’ , Can please guide me how I can replace my patient id to register document?

 

Regards,

Bhavesh

Coordinator
Jan 30, 2009 at 10:43 AM
Hi Bhavesh,

If you are using XDSTestHarness client to perform P&R transaction then you can provide the PatientID in the "Patient Id" textbox. If you have your own client with ehich you are performing the transaction and you want to use the sample xml file then you will have to lreplace "$PatientId" with your PatientID.

Regards,
Sachin Joshi
Jan 30, 2009 at 11:56 AM
Edited Jan 30, 2009 at 11:58 AM

Hello Sachin,

I am using XDSTestHarness client.

 

As per the document I have to pass : urn:uuid::ae94516f-570c-41ba-ae95-26ae76e50d45’

 

If I do so then it gives error

It gives below error-

 

<tns:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"><tns:RegistryErrorList highestSeverity=""><tns:RegistryError codeContext="Patient ID referenced in metadata is not known to the Registry actor via the Patient Identity Feed or is unknown because of patient identifier merge.  The codeContext shall include the value of patient ID in question." errorCode="XDSUnknownPatientId" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error" /></tns:RegistryErrorList></tns:RegistryResponse>

 

 

Now..as per your guide line I have added below things in the database using XDSTestHarness -PatientRecordAddMethod

<patient classCode="PAT">

                <id root="498ef443e7ac4a6" extension="1.3.6.1.4.1.21367.2005.3.7"/>

 

Value added in the database is

18      1.3.6.1.4.1.21367.2005.3.7^^^&498ef443e7ac4a6&ISO

 

 

Now..I need to format this patient id and pass it to textbox. Can you guide me how to format it.


Regards,
Bhavesh Rana