Given the Test Description: "The system under test MUST be able to resolve the patients and Encounters referenced in the Composition by their identifiers."
Given the Preconditions: - The Encounter-Read-In-Progress test case must have been executed successfully beforehand.
Given TGR set default header "Content-Type" to "application/fhir+json"
When TGR send POST request to "http://fhirserver/" with body "!{file('src/test/resources/features/Stufe5/Basis/fixtures/Composition-Post-CorrectCompositionBundle.json')}"
And TGR find the last request
Then TGR current response with attribute "$.responseCode" matches "20\d"
Given TGR set default header "Content-Type" to "application/fhir+json"
When TGR send POST request to "http://fhirserver/" with body "!{file('src/test/resources/features/Stufe5/Basis/fixtures/{inputFile}')}"
And TGR find the last request
Then TGR current response with attribute "$.responseCode" matches "{responseCode}"
And FHIR current response body evaluates the FHIRPath "issue.where(severity = 'error' or 'fatal').count() }= 1" with error message 'The OperationOutcome does not contain the expected issue(s).'
| Number of Scenarios | 3 | Total Duration | 6s |
| Total Number of Test Cases | 5 | Fastest Test | 422ms |
| Number of Manual Test Cases | 0 | Slowest Test | 1s |
| Tests Started | März 23, 2026 09:37:42 | Average Execution Time | 1s |
| Tests Finished | März 23, 2026 09:37:48 | Total Execution Time | 6s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Upload of a Document Bundle with POST Operation (@Composition-Post) | Precondition | 2 | 09:37:42 | 422ms | ||
| Upload of a Document Bundle with POST Operation (@Composition-Post) | Upload of a DocumentBundle with known patients and Encounters with the POST Operation | 4 | 09:37:43 | 1s 368ms | ||
| Upload of a Document Bundle with POST Operation (@Composition-Post) |
Upload of an incorrect DocumentBundle with the POST Operation
3 passing test cases |
5 | 09:37:44 | 4s 212ms |