CH ELM (R4)
1.11.0 - release
CH ELM (R4), published by Federal Office of Public Health FOPH. This guide is not an authorized publication; it is the continuous build for version 1.11.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ahdis/ch-elm/ and changes regularly. See the Directory of published versions
Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test101-InvalidCountryCode | Version: 1.11.0 | |||
Active as of 2025-09-08 | Computable Name: Test101InvalidCountryCode | |||
Copyright/Legal: CC0-1.0 |
url: TestScript Test101InvalidCountryCode
version: 1.11.0
name: Test101InvalidCountryCode
status: Active
date: 2025-09-08 10:33:47+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 (12184 bytes base64)
test
name: Test101InvalidCountryCode
description: Test101: Verify that XX raises an error for invalid country code
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