Serenity BDD Report
Home > Requirements > Stufe5 > Vitalparameter > Testing search parameters against a resource of type encounter, according to the definition of isikcapabilitystatementstammdatenrolle (@encounter-search @vitalparameter)
Report generated 01-09-2026 06:57

Feature: Testing search parameters against a resource of type encounter, according to the definition of isikcapabilitystatementstammdatenrolle (@encounter-search @vitalparameter)

Feature Coverage By Scenario

Overview

Scenario: Precondition
Scenario: Read and Validation of the CapabilityStatement
Scenario Outline: Validation of the search parameter definitions in the CapabilityStatement (11 examples)
Scenario: Search for the encounter by ID
Scenario: Search for the Encounter by Count
Scenario: Search for the Encounter by Status and ID
Scenario: Search for the Encounter by Class and Patient
Scenario: Search for the Encounter by Type and Patient
Scenario: Search for the Encounter by Patient and Encounter ID
Scenario: Search for the Encounter by Account ID and Patient
Scenario: Search for the Encounter by Account Identifier
Scenario: Search for the Encounter by Admission Date with 'le' Modifier and Patient
Scenario: Search for the Encounter by Admission Date with 'gt' Modifier and Patient
Scenario: Negative Search for the Encounter by Admission Date and Patient
Scenario: Search for the Encounter by Admission Date with 'ge' und 'le' Modifiers and Patient
Scenario: Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient
Scenario: Search for the Encounter by Admission Date with the Search parameter 'date-start' and Patient
Scenario: Negative Search for the Encounter by Admission Date with the Search parameter 'date-start' and 'ge' Modifier and Patient
Scenario: Negative Search for the Encounter by Admission Date with the Search parameter 'end-date' and 'le' Modifier and Patient
Scenario: Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient
Scenario: Search for the Encounter by Identifier
Scenario: Search for the Encounter by Identifier System

Scenarios

Given the Test Description: "The system under test MUST find a previously created resource when searched using the parameter and return it in the search results (SEARCH)."

Given the Preconditions: - A valid Encounter resource conform to the Profile ISiKKontaktGesundheitseinrichtung and with ID defined in the property 'vitalparameter-encounter-id'

When Get FHIR resource at "http://fhirserver/metadata" with content type "json"

And CapabilityStatement contains interaction "search-type" for resource "Encounter"

And CapabilityStatement contains definition of search parameter "{searchParamValue}" of type "{searchParamType}" for resource "Encounter"

Examples:

searchParamValuesearchParamType
_idtoken
_countnumber
identifiertoken
statustoken
classtoken
typetoken
patientreference
accountreference
datedate
date-startdate
end-datedate

When Get FHIR resource at "http://fhirserver/Encounter/?_id=${data.vitalparameter-encounter-id}" with content type "xml"

And FHIR current response body is a valid CORE resource and conforms to profile "https://hl7.org/fhir/StructureDefinition/Bundle"

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested Encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?_count=2" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0 and entry.resource.count() {= 2' with error message 'The _count parameter was not applied as expected'

When Get FHIR resource at "http://fhirserver/Encounter/?status=in-progress&_id=${data.vitalparameter-encounter-id}" with content type "json"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(status = 'in-progress')" with error message 'There are search results, but they do not fully match the search criteria'

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested Encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?class=http://terminology.hl7.org/CodeSystem/v3-ActCode%7CIMP&patient=Patient/${data.patient-read-id}" with content type "json"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(class.where(code = 'IMP' and system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode').exists())" with error message 'There are search results, but they do not fully match the search criteria'

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested Encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?type=http://fhir.de/CodeSystem/kontaktart-de%7Cnormalstationaer&patient=Patient/${data.patient-read-id}" with content type "json"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(type.coding.where(code = 'normalstationaer' and system = 'http://fhir.de/CodeSystem/kontaktart-de').exists())" with error message 'There are search results, but they do not fully match the search criteria'

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested Encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?patient=Patient/${data.patient-read-id}&_id=${data.vitalparameter-encounter-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And element "subject" in all bundle resources references resource with ID "${data.patient-read-id}"

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested Encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?account=${data.account-read-id}&patient=Patient/${data.account-read-patient-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And element "account" in all bundle resources references resource with ID "${data.account-read-id}"

And response bundle contains resource with ID "${data.encounter-read-finished-id}" with error message "The requested Encounter ${data.encounter-read-finished-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?account:identifier=${data.account-read-identifier-system}%7C${data.account-read-identifier-value}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And element "account" in all bundle resources references resource with ID "${data.account-read-id}"

And response bundle contains resource with ID "${data.encounter-read-finished-id}" with error message "The requested Encounter ${data.encounter-read-finished-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?date=le2050-01-01&patient=Patient/${data.patient-read-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(period.start {= @2050-01-01T23:59:59+01:00 or period.start.empty())" with error message 'There are search results, but they do not fully match the search criteria'

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested Encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?date=gt1999-01-01&patient=Patient/${data.patient-read-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(period.end }= @1999-01-01T00:00:00+01:00 or period.end.empty())" with error message 'There are search results, but they do not fully match the search criteria'

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested Encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?date=2026-01-05&patient=Patient/${data.patient-read-id}" with content type "xml"

And bundle does not contain resource "Encounter" with ID "${data.vitalparameter-encounter-id}" with error message "The requested encounter ${data.vitalparameter-encounter-id} must not be returned here"

When Get FHIR resource at "http://fhirserver/Encounter/?date=ge2026-01-05&date=le2026-01-14&patient=Patient/${data.patient-read-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.select((period.start.exists() and period.start } @2026-01-14T23:59:59+01:00) or (period.end.exists() and period.end { @2026-01-05T00:00:00+01:00)).allFalse()" with error message 'There are search results, but they do not fully match the search criteria'

When Get FHIR resource at "http://fhirserver/Encounter/?end-date=le2050-01-01&patient=Patient/${data.account-read-patient-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(period.end {= @2050-01-01T23:59:59+01:00)" with error message 'There are search results, but they do not fully match the search criteria'

And bundle does not contain resource "Encounter" with ID "${data.vitalparameter-encounter-id}" with error message "The requested encounter ${data.vitalparameter-encounter-id} must not be returned here."

And response bundle contains resource with ID "${data.encounter-read-finished-id}" with error message "The requested encounter ${data.encounter-read-finished-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?date-start=ge1999-01-01&patient=Patient/${data.patient-read-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(period.start }= @1999-01-01T00:00:00+01:00)" with error message 'There are search results, but they do not fully match the search criteria'

And response bundle contains resource with ID "${data.vitalparameter-encounter-id}" with error message "The requested encounter ${data.vitalparameter-encounter-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?date-start=ge2026-01-14&patient=Patient/${data.account-read-patient-id}" with content type "xml"

And bundle does not contain resource "Encounter" with ID "${data.vitalparameter-encounter-id}" with error message "The requested encounter ${data.vitalparameter-encounter-id} must not be returned here."

When Get FHIR resource at "http://fhirserver/Encounter/?end-date=le2026-01-05&patient=Patient/${data.account-read-patient-id}" with content type "xml"

And bundle does not contain resource "Encounter" with ID "${data.encounter-read-finished-id}" with error message "The requested encounter ${data.encounter-read-finished-id} must not be returned here."

When Get FHIR resource at "http://fhirserver/Encounter/?date-start=ge2026-01-05&end-date=le2026-01-14&patient=Patient/${data.account-read-patient-id}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(period.start } @2026-01-05T00:00:00+01:00 and period.end { @2026-01-14T23:59:59+01:00).allTrue()" with error message 'There are search results, but they do not fully match the search criteria'

And bundle does not contain resource "Encounter" with ID "${data.vitalparameter-encounter-id}" with error message "The requested encounter ${data.vitalparameter-encounter-id} must not be returned here."

And response bundle contains resource with ID "${data.encounter-read-finished-id}" with error message "The requested encounter ${data.encounter-read-finished-id} is not contained in the response bundle."

When Get FHIR resource at "http://fhirserver/Encounter/?identifier=${data.vitalparameter-encounter-identifier-system}%7C${data.vitalparameter-encounter-identifier-value}" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(identifier.where(value = '${data.vitalparameter-encounter-identifier-value}' and system = '${data.vitalparameter-encounter-identifier-system}').exists())" with error message 'There are search results, but they do not fully match the search criteria'

When Get FHIR resource at "http://fhirserver/Encounter/?identifier=${data.vitalparameter-encounter-identifier-system}%7C" with content type "xml"

And FHIR current response body evaluates the FHIRPath 'entry.resource.count() } 0' with error message 'No search results were found'

And FHIR current response body evaluates the FHIRPath "entry.resource.all(identifier.where(system = '${data.vitalparameter-encounter-identifier-system}').exists())" with error message 'There are search results, but they do not fully match the search criteria'

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 22 Total Duration 58s
Total Number of Test Cases 32 Fastest Test 314ms
Number of Manual Test Cases 0 Slowest Test 13s
Tests Started Sep 01, 2026 06:57:20 Average Execution Time 1s
Tests Finished Sep 01, 2026 06:58:18 Cumulative Test Time
(sum of all individual test durations)
58s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Precondition 2 06:57:20 4s 020ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Read and Validation of the CapabilityStatement 2 06:57:24 13s 965ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Validation of the search parameter definitions in the CapabilityStatement
11 passing test cases
1 06:57:38 9s 186ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the encounter by ID 3 06:57:47 4s 887ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Count 2 06:57:52 808ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Status and ID 4 06:57:53 974ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Class and Patient 4 06:57:54 1s 050ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Type and Patient 4 06:57:55 6s 023ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Patient and Encounter ID 4 06:58:01 968ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Account ID and Patient 4 06:58:02 966ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Account Identifier 4 06:58:03 977ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Admission Date with 'le' Modifier and Patient 4 06:58:04 966ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Admission Date with 'gt' Modifier and Patient 4 06:58:05 988ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Negative Search for the Encounter by Admission Date and Patient 2 06:58:06 523ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Admission Date with 'ge' und 'le' Modifiers and Patient 3 06:58:06 771ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient 5 06:58:07 1s 157ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Admission Date with the Search parameter 'date-start' and Patient 4 06:58:08 1s 001ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Negative Search for the Encounter by Admission Date with the Search parameter 'date-start' and 'ge' Modifier and Patient 2 06:58:09 563ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Negative Search for the Encounter by Admission Date with the Search parameter 'end-date' and 'le' Modifier and Patient 2 06:58:10 496ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient 5 06:58:10 6s 162ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Identifier 3 06:58:16 831ms SUCCESS
Testing search parameters against a resource of type Encounter, according to the definition of ISiKCapabilityStatementStammdatenRolle (@Encounter-Search @Vitalparameter) Search for the Encounter by Identifier System 3 06:58:17 820ms SUCCESS

Manual Tests

No manual tests were recorded

Evidence

Scenario Title Details
Precondition RBellog 0  Download Evidence
Read and Validation of the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and interaction.where(code = 'search-type').exists()).exists()  Details
Read and Validation of the CapabilityStatement RBellog 0  Download Evidence
Read and Validation of the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = '_id' and type = 'token').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 1  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = '_count' and type = 'number').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 2  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'identifier' and type = 'token').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 3  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'status' and type = 'token').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 4  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'class' and type = 'token').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 5  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'type' and type = 'token').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 6  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'patient' and type = 'reference').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 7  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'account' and type = 'reference').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 8  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'date' and type = 'date').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 9  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'date-start' and type = 'date').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 10  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement INFO - rest.where(mode = 'server').resource.where(type = 'Encounter' and searchParam.where(name = 'end-date' and type = 'date').exists()).exists()  Details
Validation of the search parameter definitions in the CapabilityStatement RBellog 11  Download Evidence
Validation of the search parameter definitions in the CapabilityStatement Evidence Report  Download Evidence
Search for the encounter by ID INFO - None of the codings provided are in the value set 'Admit source' (http://hl7.org/fhir/ValueSet/encounter-admit-source|4.0.1), and a coding is recommended to come from this value set) (codes = http://fhir.de/CodeSystem/dgkev/Aufnahmeanlass#E)  Details
Search for the encounter by ID WARN - Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKKontaktGesundheitseinrichtung' has not been checked because it is unknown  Details
Search for the encounter by ID WARN - Resource meta.profile differs from the passed profile for validation: meta.profile=[]; passed=https://hl7.org/fhir/StructureDefinition/Bundle  Details
Search for the encounter by ID INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the encounter by ID RBellog 0  Download Evidence
Search for the encounter by ID Evidence Report  Download Evidence
Search for the Encounter by Count INFO - entry.resource.count() > 0 and entry.resource.count() <= 2  Details
Search for the Encounter by Count RBellog 0  Download Evidence
Search for the Encounter by Count Evidence Report  Download Evidence
Search for the Encounter by Status and ID INFO - entry.resource.count() > 0  Details
Search for the Encounter by Status and ID INFO - entry.resource.all(status = 'in-progress')  Details
Search for the Encounter by Status and ID INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the Encounter by Status and ID RBellog 0  Download Evidence
Search for the Encounter by Status and ID Evidence Report  Download Evidence
Search for the Encounter by Class and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Class and Patient INFO - entry.resource.all(class.where(code = 'IMP' and system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode').exists())  Details
Search for the Encounter by Class and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the Encounter by Class and Patient RBellog 0  Download Evidence
Search for the Encounter by Class and Patient Evidence Report  Download Evidence
Search for the Encounter by Type and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Type and Patient INFO - entry.resource.all(type.coding.where(code = 'normalstationaer' and system = 'http://fhir.de/CodeSystem/kontaktart-de').exists())  Details
Search for the Encounter by Type and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the Encounter by Type and Patient RBellog 0  Download Evidence
Search for the Encounter by Type and Patient Evidence Report  Download Evidence
Search for the Encounter by Patient and Encounter ID INFO - entry.resource.count() > 0  Details
Search for the Encounter by Patient and Encounter ID INFO - entry.resource.all(subject.reference.replaceMatches('/_history/.+','').matches('\\bPatient-Read-Example$'))  Details
Search for the Encounter by Patient and Encounter ID INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the Encounter by Patient and Encounter ID RBellog 0  Download Evidence
Search for the Encounter by Patient and Encounter ID Evidence Report  Download Evidence
Search for the Encounter by Account ID and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Account ID and Patient INFO - entry.resource.all(account.reference.replaceMatches('/_history/.+','').matches('\\bAccount-Read-Example$'))  Details
Search for the Encounter by Account ID and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Read-Finished-Example$')).count() = 1  Details
Search for the Encounter by Account ID and Patient RBellog 0  Download Evidence
Search for the Encounter by Account ID and Patient Evidence Report  Download Evidence
Search for the Encounter by Account Identifier INFO - entry.resource.count() > 0  Details
Search for the Encounter by Account Identifier INFO - entry.resource.all(account.reference.replaceMatches('/_history/.+','').matches('\\bAccount-Read-Example$'))  Details
Search for the Encounter by Account Identifier INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Read-Finished-Example$')).count() = 1  Details
Search for the Encounter by Account Identifier RBellog 0  Download Evidence
Search for the Encounter by Account Identifier Evidence Report  Download Evidence
Search for the Encounter by Admission Date with 'le' Modifier and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Admission Date with 'le' Modifier and Patient INFO - entry.resource.all(period.start <= @2050-01-01T23:59:59+01:00 or period.start.empty())  Details
Search for the Encounter by Admission Date with 'le' Modifier and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the Encounter by Admission Date with 'le' Modifier and Patient RBellog 0  Download Evidence
Search for the Encounter by Admission Date with 'le' Modifier and Patient Evidence Report  Download Evidence
Search for the Encounter by Admission Date with 'gt' Modifier and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Admission Date with 'gt' Modifier and Patient INFO - entry.resource.all(period.end >= @1999-01-01T00:00:00+01:00 or period.end.empty())  Details
Search for the Encounter by Admission Date with 'gt' Modifier and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the Encounter by Admission Date with 'gt' Modifier and Patient RBellog 0  Download Evidence
Search for the Encounter by Admission Date with 'gt' Modifier and Patient Evidence Report  Download Evidence
Negative Search for the Encounter by Admission Date and Patient INFO - entry.resource.ofType(Encounter).where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 0  Details
Negative Search for the Encounter by Admission Date and Patient RBellog 0  Download Evidence
Negative Search for the Encounter by Admission Date and Patient Evidence Report  Download Evidence
Search for the Encounter by Admission Date with 'ge' und 'le' Modifiers and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Admission Date with 'ge' und 'le' Modifiers and Patient INFO - entry.resource.select((period.start.exists() and period.start > @2026-01-14T23:59:59+01:00) or (period.end.exists() and period.end < @2026-01-05T00:00:00+01:00)).allFalse()  Details
Search for the Encounter by Admission Date with 'ge' und 'le' Modifiers and Patient RBellog 0  Download Evidence
Search for the Encounter by Admission Date with 'ge' und 'le' Modifiers and Patient Evidence Report  Download Evidence
Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient INFO - entry.resource.all(period.end <= @2050-01-01T23:59:59+01:00)  Details
Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient INFO - entry.resource.ofType(Encounter).where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 0  Details
Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Read-Finished-Example$')).count() = 1  Details
Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient RBellog 0  Download Evidence
Search for the Encounter by Admission Date with the Search parameter 'end-date' and Patient Evidence Report  Download Evidence
Search for the Encounter by Admission Date with the Search parameter 'date-start' and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Admission Date with the Search parameter 'date-start' and Patient INFO - entry.resource.all(period.start >= @1999-01-01T00:00:00+01:00)  Details
Search for the Encounter by Admission Date with the Search parameter 'date-start' and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 1  Details
Search for the Encounter by Admission Date with the Search parameter 'date-start' and Patient RBellog 0  Download Evidence
Search for the Encounter by Admission Date with the Search parameter 'date-start' and Patient Evidence Report  Download Evidence
Negative Search for the Encounter by Admission Date with the Search parameter 'date-start' and 'ge' Modifier and Patient INFO - entry.resource.ofType(Encounter).where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 0  Details
Negative Search for the Encounter by Admission Date with the Search parameter 'date-start' and 'ge' Modifier and Patient RBellog 0  Download Evidence
Negative Search for the Encounter by Admission Date with the Search parameter 'date-start' and 'ge' Modifier and Patient Evidence Report  Download Evidence
Negative Search for the Encounter by Admission Date with the Search parameter 'end-date' and 'le' Modifier and Patient INFO - entry.resource.ofType(Encounter).where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Read-Finished-Example$')).count() = 0  Details
Negative Search for the Encounter by Admission Date with the Search parameter 'end-date' and 'le' Modifier and Patient RBellog 0  Download Evidence
Negative Search for the Encounter by Admission Date with the Search parameter 'end-date' and 'le' Modifier and Patient Evidence Report  Download Evidence
Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient INFO - entry.resource.count() > 0  Details
Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient INFO - entry.resource.all(period.start > @2026-01-05T00:00:00+01:00 and period.end < @2026-01-14T23:59:59+01:00).allTrue()  Details
Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient INFO - entry.resource.ofType(Encounter).where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Basic-Role-Example$')).count() = 0  Details
Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient INFO - entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bEncounter-Read-Finished-Example$')).count() = 1  Details
Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient RBellog 0  Download Evidence
Search for the Encounter by Admission Date with both Search parameters 'date-start' and 'end-date' and Patient Evidence Report  Download Evidence
Search for the Encounter by Identifier INFO - entry.resource.count() > 0  Details
Search for the Encounter by Identifier INFO - entry.resource.all(identifier.where(value = '0123456789' and system = 'https://test.krankenhaus.de/fhir/sid/fallnr').exists())  Details
Search for the Encounter by Identifier RBellog 0  Download Evidence
Search for the Encounter by Identifier Evidence Report  Download Evidence
Search for the Encounter by Identifier System INFO - entry.resource.count() > 0  Details
Search for the Encounter by Identifier System INFO - entry.resource.all(identifier.where(system = 'https://test.krankenhaus.de/fhir/sid/fallnr').exists())  Details
Search for the Encounter by Identifier System RBellog 0  Download Evidence
Search for the Encounter by Identifier System Evidence Report  Download Evidence
Serenity BDD version 5.3.10