CH ELM (R4)
1.4.0 - release Switzerland flag

This page is part of the Observations of notifiable communicable infectious diseases (v1.4.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

TestScript: Test94 - If warning is ignored for Binding for path (.+) has no source

Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test94-Ignore-Source-Warning Version: 1.4.0
Active as of 2024-08-20 Computable Name: Test94IgnoreSourceWarning

Copyright/Legal: CC0-1.0

Generated Narrative: TestScript Test94-Ignore-Source-Warning

url: TestScript Test94IgnoreSourceWarning

version: 1.4.0

name: Test94IgnoreSourceWarning

status: Active

date: 2024-08-20 16:24: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: 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

-TypeDescriptionContentTypeEncodeRequestUrlParamsSourceId
*Test script operation code validate: $validatevalidateapplication/fhir+jsontrueprofile=http://fhir.ch/ig/ch-elm/StructureDefinition/PublishDocumentReferenceinputdata

action

Asserts

-DescriptionDirectionResponseCodeWarningOnly
*Confirm that the returned HTTP status is 200(OK).response200false

action

Asserts

-DescriptionExpressionValueWarningOnly
*Confirm that the returned resource is an OperationOutcome.is(FHIR.OperationOutcome)truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Confirm that we have no errors.issue.where(severity='error' or severity='fatal').count()=0truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check slicing failsissue.where(severity='information' and diagnostics.matches('Binding for path (.+) has no source, so can\'t be checked')).count() = 0truefalse