usnistgov / iheos-toolkit2

XDS Toolkit
https://ihexds.nist.gov
45 stars 25 forks source link

Can't find new formatCode just added to codes.xml #558

Open alvaro-augustho opened 2 years ago

alvaro-augustho commented 2 years ago

Hi,

I added new formatCodes following this document https://hl7.at/wp-content/uploads/2013/10/XDS-FormatCodes-f%C3%BCr-%C3%96sterreich-1-0.pdf to my local codes.xml file

For example, one line is like this

<CodeType name="formatCode" classScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d">
...
   <Code code="urn:ehealth-austria:BMP" display="Windows Bitmap" codingScheme="urn:oid:2.16.840.1.113883.2.16.1.4.10"/>
...
</CodeType>

But when I try to submit a new document using the new formatCode I just added (and I verified through logs and the application itself that codes.xml is loaded with content I expect) I still get an error message:

DocumentEntry(document_13): the code RSNA ISN(urn:ehealth-austria:BMP) is not found in the Affinity Domain configuration

What could be the issue here? I've tried many possible solutions, double-checked logs and my files, and looked for encoding issues. Still no luck.

skbhaskarla commented 2 years ago

@alvaro-augustho, At the top of the XDS Toolkit web user interface, next to Environment, there is a link to Codes. It shows the codes as seen by toolkit. Can you verify that your code appears in the XML document that opens when you open the Codes link? If it does, then I have more questions. What test is being run? If this code is being used by a toolkit test, it is necessary to re-index the test metadata so the codes are updated. More on this here.