Tiger FHIR validation evidences

☰ Scenario Read and Validate Bed Placement Location by its ID

When Get FHIR resource at "http://fhirserver/Location/${data.location-bed-placement-read-id}" with content type "xml"
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKStandortBettenstellplatz"
And resource has ID "${data.location-bed-placement-read-id}" with error message "The ID does not match the expected value"
INFO
id.replaceMatches('/_history/.+','').matches('\\bLocation-Bed-Placement-Read-Example$')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "name = 'B022'" with error message 'The Location name does not match the expected value'
INFO
name = 'B022'
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "operationalStatus.where(code = 'O' and system = 'http://terminology.hl7.org/CodeSystem/v2-0116').exists()" with error message 'The Location operational status code does not match the expected value'
INFO
operationalStatus.where(code = 'O' and system = 'http://terminology.hl7.org/CodeSystem/v2-0116').exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "physicalType.coding.where(system = 'http://terminology.hl7.org/CodeSystem/location-physical-type' and code = 'bd').exists()" with error message 'The Location physical type code does not match the expected value'
INFO
physicalType.coding.where(system = 'http://terminology.hl7.org/CodeSystem/location-physical-type' and code = 'bd').exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "managingOrganization.where(reference = 'Organization/${data.organization-read-id}').exists()" with error message 'The Location managing organization reference does not match the expected value'
INFO
managingOrganization.where(reference = 'Organization/Organization-Read-Example').exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "partOf.where(reference = 'Location/${data.location-room-read-id}').exists()" with error message 'The Location partOf reference does not match the expected value'
INFO
partOf.where(reference = 'Location/Location-Room-Read-Example').exists()
 
["BooleanType[true]"]