Generated Narrative: TestScript Test94-Ignore-Source-Warning url: TestScript Test94IgnoreSourceWarning version: 1.14.1 name: Test94IgnoreSourceWarning status: Active date: 2026-07-01 19:15:23+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 description: Test script to verify that warning Binding for path (.+) has no source, so can't be checked jurisdiction: Switzerland copyright: CC0-1.0 fixture id inputdata autocreate: false autodelete: false resource: DocumentReference: identifier = UUID:1901332d-6012-443f-9690-9291adb2e19d; status = current test name: Test94 description: Test script to verify that warning Binding for path (.+) has no source, so can't be checked 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/PublishDocumentReference 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 slicing fails issue.where(severity='information' and diagnostics.matches('Binding for path (.+) has no source, so can\'t be checked')).count() = 0 true false
Test script to verify that warning Binding for path (.+) has no source, so can't be checked
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='information' and diagnostics.matches('Binding for path (.+) has no source, so can\'t be checked')).count() = 0