curl -v -H "accept: application/fhir+xml" -X GET "http://fhirserver/Procedure/Procedure-Read-Example"
SUCCESS
502ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKProzedur"
SUCCESS
21s 689ms
And resource has ID "Procedure-Read-Example"
SUCCESS
208ms
And TGR current response with attribute "$..status.value" matches "completed"
SUCCESS
212ms
And FHIR current response body evaluates the FHIRPath 'category.coding.where(code = "387713003" and system = "http://snomed.info/sct" and version = "http://snomed.info/sct/11000274103/version/20251115").exists()' with error message 'The Procedure resource does not contain a correct categorization'
SUCCESS
210ms
And FHIR current response body evaluates the FHIRPath 'code.coding.where(code = "5-470.11" and system = "http://fhir.de/CodeSystem/bfarm/ops" and version.exists()).exists()' with error message 'The Procedure resource does not contain a correct OPS coding'
SUCCESS
206ms
And FHIR current response body evaluates the FHIRPath "code.coding.where(code = '6025007' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/20251115').exists()" with error message 'The Procedure resource does not contain a correct SNOMED-CT coding'
SUCCESS
212ms
And element "subject" references resource with ID "Patient-Read-Example" with error message "The referenced Patient does not match the expected value"
SUCCESS
208ms
And element "encounter" references resource with ID "Encounter-Read-In-Progress-Example" with error message "Referenced Encounter does not match the expected value"
SUCCESS
211ms
And FHIR current response body evaluates the FHIRPath "performed.toString().contains('2026-01-05') or ( performed.start.toString().contains('2026-01-05') and performed.end.toString().contains('2026-01-05') )" with error message "The Procedure does not contain a performed date"
SUCCESS
209ms
And FHIR current response body evaluates the FHIRPath 'note.where(text = "Test note").exists()' with error message 'The note does not match the expected value'
SUCCESS
207ms
And FHIR current response body evaluates the FHIRPath 'extension.where(url = "http://fhir.de/StructureDefinition/ProzedurDokumentationsdatum" and value.toString().contains("2026-01-05")).exists()' with error message 'The documentation date does not match the expected value'