curl -v -H "accept: application/fhir+xml" -X GET "http://fhirserver/RelatedPerson/RelatedPerson-Read-Example"
SUCCESS
494ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKAngehoeriger"
SUCCESS
237ms
And resource has ID "RelatedPerson-Read-Example" with error message "The ID does not match the expected value"
SUCCESS
211ms
And TGR current response with attribute "$..name.given.value" matches "Maxine"
SUCCESS
215ms
And TGR current response with attribute "$..name.family.value" matches "Mustermann"
SUCCESS
216ms
And FHIR current response body evaluates the FHIRPath "address.where(type = 'both' and city = 'Berlin' and postalCode = '13187' and country = 'DE' and line = 'Musterstraße 3' and line.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName' and value = 'Musterstraße').exists() and line.extension.where(url = 'http://hl... with error message 'The address does not match the expected value'
SUCCESS
220ms
And FHIR current response body evaluates the FHIRPath "relationship.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' and code = 'DAUC').exists()" with error message 'The patient-related person relationship does not match the expected value'
SUCCESS
208ms
And FHIR current response body evaluates the FHIRPath "telecom.where(system = 'phone' and value = '030 1234567').exists()" with error message 'The phone number does not match the expected value'
SUCCESS
213ms
And element "patient" references resource with ID "Patient-Read-Example" with error message "Patient-Read-Example is not registered as patient"