Generated Narrative: TestScript Test95-Ignore-Observation-Interpretation-Codes-Warning url: TestScript Test95IgnoreObservationInterpretationCodesWarning version: 1.11.0 name: Test95IgnoreObservationInterpretationCodesWarning status: Active date: 2025-08-13 07:08:59+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: Bundle: identifier = UUID:3401332d-6012-443f-9690-9291adb23aa3; type = document; timestamp = 2024-08-05 12:00:00+0200 test name: Test95 description: Test script to verify that warning None of the codings provided are in the value set 'Observation Interpretation Codes' is ignored 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 no errors. issue.where(severity='error' or severity='fatal').count()=0 true false action Asserts - Description Expression Value WarningOnly * Check warning ignored issue.where(severity='warning' and diagnostics.matches('None of the codings provided are in the value set \'Observation Interpretation Codes\'(.+)')).count() = 0 true false
Test script to verify that warning None of the codings provided are in the value set 'Observation Interpretation Codes' is ignored
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
issue.where(severity='warning' and diagnostics.matches('None of the codings provided are in the value set \'Observation Interpretation Codes\'(.+)')).count() = 0