curl -v -H "accept: application/fhir+xml" -X GET "http://fhirserver/Schedule/Schedule-Read-Example"
SUCCESS
652ms
And resource has ID "Schedule-Read-Example"
SUCCESS
208ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKKalender"
SUCCESS
226ms
And TGR current response with attribute "$..active.value" matches "true"
SUCCESS
208ms
And FHIR current response body evaluates the FHIRPath "serviceType.text.empty().not() and serviceType.coding.where(code='177' and system = 'http://terminology.hl7.org/CodeSystem/service-type').exists()" with error message 'The schedule type does not match the expected value'
SUCCESS
215ms
And FHIR current response body evaluates the FHIRPath "specialty.coding.where(code = 'NEUR' and system ='http://ihe-d.de/CodeSystems/AerztlicheFachrichtungen').exists()" with error message 'The specialty does not match the expected value'
SUCCESS
211ms
And FHIR current response body evaluates the FHIRPath "actor.where(reference.replaceMatches('/_history/.+','').matches('\\bPractitioner-Read-Example$') and display.exists()).exists()" with error message 'The actor is missing or incomplete'
SUCCESS
211ms
And FHIR current response body evaluates the FHIRPath "extension.where(url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Schedule.name' and value.empty().not()).exists()" with error message 'The schedule name is not provided'