Tiger FHIR validation evidences

☰ Scenario Read and Validate alcohol abuse Observation by its ID

When Get FHIR resource at "http://fhirserver/Observation/${data.medication-observation-alcohol-abuse-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/ISiKAlkoholAbusus"
INFO
Code system definition is missing for 'http://snomed.info/sct#15167005'
 
{ "locationCol": 391, "severity": "INFORMATION", "locationString": "Observation.code.coding[0]", "messageId": "Terminology_PassThrough_TX_Message", "locationLine": 2, "message": "Code system definition is missing for 'http://snomed.info/sct#15167005'" }
INFO
Code system definition is missing for 'http://loinc.org#74043-1'
 
{ "locationCol": 593, "severity": "INFORMATION", "locationString": "Observation.code.coding[1]", "messageId": "Terminology_PassThrough_TX_Message", "locationLine": 2, "message": "Code system definition is missing for 'http://loinc.org#74043-1'" }
And resource has ID "${data.medication-observation-alcohol-abuse-read-id}" with error message "The ID does not match the expected value"
INFO
id.replaceMatches('/_history/.+','').matches('\\bAlcohol-Abuse-Read-Example$')
 
["BooleanType[true]"]
And TGR current response with attribute "$..status.value" matches "final"
And FHIR current response body evaluates the FHIRPath "code.coding.where(system = 'http://snomed.info/sct' and code = '15167005' and version = 'http://snomed.info/sct/11000274103/version/${data.snomed-ct-version}' and display.empty().not()).exists()" with error message 'The SNOMED CT code for alcohol abuse does not match the expected value'
INFO
code.coding.where(system = 'http://snomed.info/sct' and code = '15167005' and version = 'http://snomed.info/sct/11000274103/version/20251115' and display.empty().not()).exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "code.coding.where(system = 'http://loinc.org' and code = '74043-1' and version = '${data.loinc-version}' and display.empty().not()).exists()" with error message 'The LOINC code for alcohol abuse does not match the expected value'
INFO
code.coding.where(system = 'http://loinc.org' and code = '74043-1' and version = '2.81' and display.empty().not()).exists()
 
["BooleanType[true]"]
And element "subject" references resource with ID "Patient/${data.patient-read-id}" with error message "The referenced patient does not match the expected value"
INFO
subject.reference.replaceMatches('/_history/.+','').matches('\\bPatient/Patient-Read-Example$')
 
["BooleanType[true]"]
And element "performer" references resource with ID "Practitioner/${data.practitioner-read-id}" with error message "The referenced performer does not match the expected value"
INFO
performer.reference.replaceMatches('/_history/.+','').matches('\\bPractitioner/Practitioner-Read-Example$')
 
["BooleanType[true]"]
And element "encounter" references resource with ID "Encounter/${data.encounter-read-in-progress-id}" with error message "The referenced encounter does not match the expected value"
INFO
encounter.reference.replaceMatches('/_history/.+','').matches('\\bEncounter/Encounter-Read-In-Progress-Example$')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "effective.toString().contains('2026-01-06')" with error message 'The effective date does not match the expected value'
INFO
effective.toString().contains('2026-01-06')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "value.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0532' and code = 'Y' and display = 'Yes').exists()" with error message 'The alcohol abuse value does not match the expected value'
INFO
value.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0532' and code = 'Y' and display = 'Yes').exists()
 
["BooleanType[true]"]