Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FHIR Toolkit test setup errors when using relative URLs in Document Recipient's ITI-65 responses #226

Closed
skbhaskarla opened this issue Mar 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@skbhaskarla
Copy link
Collaborator

Negative tests fail when the Document Recipient uses relative URLs for its ITI-65 responses' location fields.

Original issue submitter reference:
https://groups.google.com/g/ihe-mhd-implementors/c/5tWoqA4akNM

Temporary fix:
your_external_cache_directory\FhirTestCollections\Library\DocumentResponderBaseAddress.xml

Source code reference:

The following two assertions should be removed or commented out.
Remove or comment Line 91 to Line 110:

    <action>
            <assert>
                <description value="Verify resource location value has an indexOf 'DocumentReference' is greater than -1."/>
                <expression value="${indexOfdocRefInLocation}"/>
                <operator value="greaterThan"/>
                <value value="-1" />
                <sourceId value="pdb-response"/>
                <warningOnly value="false"/>
            </assert>
        </action>
        <action>
            <assert>
                <description value="Verify Document Responder base address length is greater than zero."/>
                <expression value="${docRespBaseAddress}.length()"/>
                <operator value="greaterThan"/>
                <value value="0" />
                <sourceId value="pdb-response"/>
                <warningOnly value="false"/>
            </assert>
        </action>

Please restart Toolkit after updating the TestScript file.

@skbhaskarla skbhaskarla added the bug Something isn't working label Mar 25, 2024
@skbhaskarla skbhaskarla self-assigned this Mar 25, 2024
@skbhaskarla skbhaskarla added this to the V4.3.0 milestone Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant