Generated Narrative: TestScript Test97-CoaxiellaNoRatio url: TestScript Test97CoaxiellaNoRatio version: 1.13.0 name: Test97CoaxiellaNoRatio status: Active date: 2025-11-25 09:58:53+0000 publisher: Federal Office of Public Health FOPH contact: Federal Office of Public Health FOPH: https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html jurisdiction: Switzerland copyright: CC0-1.0 fixture id inputdata autocreate: false autodelete: false resource: Binary: application/fhir+xml (13560 bytes base64) test name: Test97 description: Test97: Verify that error for missing ratio is raised action Operations - Type Description ContentType EncodeRequestUrl Params SourceId * Test script operation code: validate ($validate) validate application/fhir+json true profile=http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-document-strict inputdata action Asserts - Description Direction ResponseCode WarningOnly * Confirm that the returned HTTP status is 200(OK). response 200 false action Asserts - Description Expression Value WarningOnly * Confirm that the returned resource is an OperationOutcome. is(FHIR.OperationOutcome) true false action Asserts - Description Expression Value WarningOnly * Confirm that we have errors. issue.where(severity='error' or severity='fatal').count()>0 true false action Asserts - Description Expression Value WarningOnly * Check Constraint failed: ch-elm-observation-profile-loinc issue.where(diagnostics.matches('Constraint failed: ch-elm-observation-profile-loinc')).count() > 0 true false
Test97: Verify that error for missing ratio is raised
Confirm that the returned HTTP status is 200(OK).
Confirm that the returned resource is an OperationOutcome.
issue.where(severity='error' or severity='fatal').count()>0
Check Constraint failed: ch-elm-observation-profile-loinc
issue.where(diagnostics.matches('Constraint failed: ch-elm-observation-profile-loinc')).count() > 0