CH ELM (R4)
1.3.1 - release
This page is part of the Observations of notifiable communicable infectious diseases (v1.3.1: 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
Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test94-Ignore-Source-Warning | Version: 1.3.1 | |||
Active as of 2024-06-17 | Computable Name: Test94IgnoreSourceWarning | |||
Copyright/Legal: CC0-1.0 |
Generated Narrative: TestScript
ResourceTestScript "Test94-Ignore-Source-Warning"
url: http://fhir.ch/ig/ch-elm/TestScript/Test94-Ignore-Source-Warning
version: 1.3.1
name: Test94IgnoreSourceWarning
status: active
date: 2024-06-17 08:47:24+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 (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#CHE)
copyright: CC0-1.0
fixture
id
inputdataautocreate: false
autodelete: false
resource: DocumentReference/1-DocumentReference
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 $validate (Details: Test script operation code code validate = ' $validate ', stated as ' null ') 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