CH ELM (R4)
1.9.0 - release
This page is part of the Observations of notifiable communicable infectious diseases (v1.9.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test99-CoaxiellaZeroDenominator | Version: 1.9.0 | |||
Active as of 2025-03-18 | Computable Name: Test99CoaxiellaZeroDenominator | |||
Copyright/Legal: CC0-1.0 |
Generated Narrative: TestScript Test99-CoaxiellaZeroDenominator
url: TestScript Test99CoaxiellaZeroDenominator
version: 1.9.0
name: Test99CoaxiellaZeroDenominator
status: Active
date: 2025-03-18 17:14:46+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
inputdataautocreate: false
autodelete: false
resource: Binary: application/fhir+json (11932 bytes base64)
test
name: Test99
description: Test99: Verify that error for denominator not positive 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