Tiger FHIR validation evidences

☰ Scenario Read and Validate statutory Coverage by its ID

When Get FHIR resource at "http://fhirserver/Coverage/${data.coverage-read-statutory-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/ISiKVersicherungsverhaeltnisGesetzlich"
And resource has ID "${data.coverage-read-statutory-id}" with error message "The returned Coverage resource has not the expected ID"
INFO
id.replaceMatches('/_history/.+','').matches('\\bCoverage-Read-Statutory-Example$')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "type.coding.where(system='http://fhir.de/CodeSystem/versicherungsart-de-basis' and code = 'GKV').exists()" with error message 'The type does not match the expected value'
INFO
type.coding.where(system='http://fhir.de/CodeSystem/versicherungsart-de-basis' and code = 'GKV').exists()
 
["BooleanType[true]"]
And element "beneficiary" references resource with ID "${data.patient-read-id}" with error message "The referenced patient does not match the expected value."
INFO
beneficiary.reference.replaceMatches('/_history/.+','').matches('\\bPatient-Read-Example$')
 
["BooleanType[true]"]
And TGR current response with attribute "$..status.value" matches "active"
And FHIR current response body evaluates the FHIRPath "payor.identifier.type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'XX').exists()" with error message "The type of the insurer's identifier does not match the expected value"
INFO
payor.identifier.type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'XX').exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "payor.identifier.where(system = 'http://fhir.de/sid/arge-ik/iknr' and value = '108018007').exists()" with error message "The insurer's identifier does not match the expected value"
INFO
payor.identifier.where(system = 'http://fhir.de/sid/arge-ik/iknr' and value = '108018007').exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "payor.display = 'AOK Baden-Württemberg'" with error message "The insurer's display value does not match the expected value"
INFO
payor.display = 'AOK Baden-Württemberg'
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "subscriber.reference.exists()" with error message 'A reference to a RelatedPerson as Subscriber was not found'
INFO
subscriber.reference.exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "subscriber.identifier.type.coding.where(system = 'http://fhir.de/CodeSystem/identifier-type-de-basis' and code = 'KVZ10').exists()" with error message "The subscriber's identifier type does not match the expected value"
INFO
subscriber.identifier.type.coding.where(system = 'http://fhir.de/CodeSystem/identifier-type-de-basis' and code = 'KVZ10').exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "subscriber.identifier.where(system = 'http://fhir.de/sid/gkv/kvid-10' and value = '${data.related-person-identifier-value}').exists()" with error message "The subscriber's identifier does not match the expected value"
INFO
subscriber.identifier.where(system = 'http://fhir.de/sid/gkv/kvid-10' and value = 'A123456789').exists()
 
["BooleanType[true]"]